• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="deploymentmanager_alpha.html">Google Cloud Deployment Manager Alpha API</a> . <a href="deploymentmanager_alpha.typeProviders.html">typeProviders</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(project, typeProvider)</a></code></p>
79<p class="firstline">Deletes a type provider.</p>
80<p class="toc_element">
81  <code><a href="#get">get(project, typeProvider)</a></code></p>
82<p class="firstline">Gets information about a specific type provider.</p>
83<p class="toc_element">
84  <code><a href="#getType">getType(project, typeProvider, type)</a></code></p>
85<p class="firstline">Gets a type info for a type provided by a TypeProvider.</p>
86<p class="toc_element">
87  <code><a href="#insert">insert(project, body)</a></code></p>
88<p class="firstline">Creates a type provider.</p>
89<p class="toc_element">
90  <code><a href="#list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
91<p class="firstline">Lists all resource type providers for Deployment Manager.</p>
92<p class="toc_element">
93  <code><a href="#listTypes">listTypes(project, typeProvider, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
94<p class="firstline">Lists all the type info for a TypeProvider.</p>
95<p class="toc_element">
96  <code><a href="#listTypes_next">listTypes_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
99  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
100<p class="firstline">Retrieves the next page of results.</p>
101<p class="toc_element">
102  <code><a href="#patch">patch(project, typeProvider, body)</a></code></p>
103<p class="firstline">Updates a type provider. This method supports patch semantics.</p>
104<p class="toc_element">
105  <code><a href="#update">update(project, typeProvider, body)</a></code></p>
106<p class="firstline">Updates a type provider.</p>
107<h3>Method Details</h3>
108<div class="method">
109    <code class="details" id="delete">delete(project, typeProvider)</code>
110  <pre>Deletes a type provider.
111
112Args:
113  project: string, The project ID for this request. (required)
114  typeProvider: string, The name of the type provider for this request. (required)
115
116Returns:
117  An object of the form:
118
119    { # An Operation resource, used to manage asynchronous API requests.
120    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
121    "clientOperationId": "A String", # [Output Only] Reserved for future use.
122    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
123    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
124    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
125    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
126    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
127    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
128    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
129    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
130    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
131    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
132    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
133    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
134      {
135        "message": "A String", # [Output Only] A human-readable description of the warning code.
136        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
137        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
138            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
139          {
140            "value": "A String", # [Output Only] A warning data value corresponding to the key.
141            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
142          },
143        ],
144      },
145    ],
146    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
147    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
148    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
149    "name": "A String", # [Output Only] Name of the resource.
150    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
151    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
152      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
153        {
154          "message": "A String", # [Output Only] An optional, human-readable error message.
155          "code": "A String", # [Output Only] The error type identifier for this error.
156          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
157        },
158      ],
159    },
160    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
161    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
162    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
163  }</pre>
164</div>
165
166<div class="method">
167    <code class="details" id="get">get(project, typeProvider)</code>
168  <pre>Gets information about a specific type provider.
169
170Args:
171  project: string, The project ID for this request. (required)
172  typeProvider: string, The name of the type provider for this request. (required)
173
174Returns:
175  An object of the form:
176
177    { # A type provider that describes a service-backed Type.
178      "credential": { # Credential used by ConfigurableResourceTypes. # Credential used when interacting with this type.
179        "basicAuth": { # Basic Auth used as a credential. # Basic Auth Credentials for this Type.
180          "password": "A String",
181          "user": "A String",
182        },
183      },
184      "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
185      "labels": [ # Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
186        {
187          "value": "A String",
188          "key": "A String",
189        },
190      ],
191      "options": { # Options allows customized resource handling by Deployment Manager. # Options to apply when handling any resources in this service.
192        "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
193          "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
194          "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
195        },
196        "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
197        "inputMappings": [ # The mappings that apply for requests.
198          { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
199            "fieldName": "A String", # The name of the field that is going to be injected.
200            "location": "A String", # The location where this mapping applies.
201            "value": "A String", # A jsonPath expression to select an element.
202            "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
203          },
204        ],
205      },
206      "collectionOverrides": [ # Allows resource handling overrides for specific collections
207        { # CollectionOverride allows resource handling overrides for specific resources within a BaseType
208          "options": { # Options allows customized resource handling by Deployment Manager. # The options to apply to this resource-level override
209            "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
210              "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
211              "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
212            },
213            "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
214            "inputMappings": [ # The mappings that apply for requests.
215              { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
216                "fieldName": "A String", # The name of the field that is going to be injected.
217                "location": "A String", # The location where this mapping applies.
218                "value": "A String", # A jsonPath expression to select an element.
219                "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
220              },
221            ],
222          },
223          "collection": "A String", # The collection that identifies this resource within its service.
224        },
225      ],
226      "insertTime": "A String", # [Output Only] Timestamp when the type provider was created, in RFC3339 text format.
227      "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this type provider.
228        "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
229        "clientOperationId": "A String", # [Output Only] Reserved for future use.
230        "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
231        "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
232        "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
233        "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
234        "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
235        "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
236        "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
237        "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
238        "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
239        "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
240        "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
241        "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
242          {
243            "message": "A String", # [Output Only] A human-readable description of the warning code.
244            "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
245            "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
246                # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
247              {
248                "value": "A String", # [Output Only] A warning data value corresponding to the key.
249                "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
250              },
251            ],
252          },
253        ],
254        "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
255        "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
256        "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
257        "name": "A String", # [Output Only] Name of the resource.
258        "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
259        "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
260          "errors": [ # [Output Only] The array of errors encountered while processing this operation.
261            {
262              "message": "A String", # [Output Only] An optional, human-readable error message.
263              "code": "A String", # [Output Only] The error type identifier for this error.
264              "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
265            },
266          ],
267        },
268        "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
269        "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
270        "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
271      },
272      "descriptorUrl": "A String", # Descriptor Url for the this type provider.
273      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
274      "selfLink": "A String", # [Output Only] Self link for the type provider.
275      "name": "A String", # Name of the type provider.
276    }</pre>
277</div>
278
279<div class="method">
280    <code class="details" id="getType">getType(project, typeProvider, type)</code>
281  <pre>Gets a type info for a type provided by a TypeProvider.
282
283Args:
284  project: string, The project ID for this request. (required)
285  typeProvider: string, The name of the type provider for this request. (required)
286  type: string, The name of the type provider for this request. (required)
287
288Returns:
289  An object of the form:
290
291    { # Contains detailed information about a composite type, base type, or base type with specific collection.
292    "kind": "deploymentmanager#typeInfo", # [Output Only] Type of the output. Always deploymentManager#TypeInfo for TypeInfo.
293    "description": "A String", # The description of the type.
294    "title": "A String", # The title on the API descriptor URL provided.
295    "name": "A String", # The base type or composite type name.
296    "documentationLink": "A String", # For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty.
297    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
298    "schema": { # For base types with a collection, we return a schema and documentation link For template types, we return only a schema
299      "input": "A String", # The properties that this composite type or base type collection accept as input, represented as a json blob, format is: JSON Schema Draft V4
300      "output": "A String", # The properties that this composite type or base type collection exposes as output, these properties can be used for references, represented as json blob, format is: JSON Schema Draft V4
301    },
302  }</pre>
303</div>
304
305<div class="method">
306    <code class="details" id="insert">insert(project, body)</code>
307  <pre>Creates a type provider.
308
309Args:
310  project: string, The project ID for this request. (required)
311  body: object, The request body. (required)
312    The object takes the form of:
313
314{ # A type provider that describes a service-backed Type.
315    "credential": { # Credential used by ConfigurableResourceTypes. # Credential used when interacting with this type.
316      "basicAuth": { # Basic Auth used as a credential. # Basic Auth Credentials for this Type.
317        "password": "A String",
318        "user": "A String",
319      },
320    },
321    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
322    "labels": [ # Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
323      {
324        "value": "A String",
325        "key": "A String",
326      },
327    ],
328    "options": { # Options allows customized resource handling by Deployment Manager. # Options to apply when handling any resources in this service.
329      "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
330        "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
331        "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
332      },
333      "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
334      "inputMappings": [ # The mappings that apply for requests.
335        { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
336          "fieldName": "A String", # The name of the field that is going to be injected.
337          "location": "A String", # The location where this mapping applies.
338          "value": "A String", # A jsonPath expression to select an element.
339          "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
340        },
341      ],
342    },
343    "collectionOverrides": [ # Allows resource handling overrides for specific collections
344      { # CollectionOverride allows resource handling overrides for specific resources within a BaseType
345        "options": { # Options allows customized resource handling by Deployment Manager. # The options to apply to this resource-level override
346          "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
347            "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
348            "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
349          },
350          "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
351          "inputMappings": [ # The mappings that apply for requests.
352            { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
353              "fieldName": "A String", # The name of the field that is going to be injected.
354              "location": "A String", # The location where this mapping applies.
355              "value": "A String", # A jsonPath expression to select an element.
356              "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
357            },
358          ],
359        },
360        "collection": "A String", # The collection that identifies this resource within its service.
361      },
362    ],
363    "insertTime": "A String", # [Output Only] Timestamp when the type provider was created, in RFC3339 text format.
364    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this type provider.
365      "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
366      "clientOperationId": "A String", # [Output Only] Reserved for future use.
367      "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
368      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
369      "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
370      "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
371      "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
372      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
373      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
374      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
375      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
376      "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
377      "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
378      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
379        {
380          "message": "A String", # [Output Only] A human-readable description of the warning code.
381          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
382          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
383              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
384            {
385              "value": "A String", # [Output Only] A warning data value corresponding to the key.
386              "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
387            },
388          ],
389        },
390      ],
391      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
392      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
393      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
394      "name": "A String", # [Output Only] Name of the resource.
395      "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
396      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
397        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
398          {
399            "message": "A String", # [Output Only] An optional, human-readable error message.
400            "code": "A String", # [Output Only] The error type identifier for this error.
401            "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
402          },
403        ],
404      },
405      "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
406      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
407      "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
408    },
409    "descriptorUrl": "A String", # Descriptor Url for the this type provider.
410    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
411    "selfLink": "A String", # [Output Only] Self link for the type provider.
412    "name": "A String", # Name of the type provider.
413  }
414
415
416Returns:
417  An object of the form:
418
419    { # An Operation resource, used to manage asynchronous API requests.
420    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
421    "clientOperationId": "A String", # [Output Only] Reserved for future use.
422    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
423    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
424    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
425    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
426    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
427    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
428    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
429    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
430    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
431    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
432    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
433    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
434      {
435        "message": "A String", # [Output Only] A human-readable description of the warning code.
436        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
437        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
438            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
439          {
440            "value": "A String", # [Output Only] A warning data value corresponding to the key.
441            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
442          },
443        ],
444      },
445    ],
446    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
447    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
448    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
449    "name": "A String", # [Output Only] Name of the resource.
450    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
451    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
452      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
453        {
454          "message": "A String", # [Output Only] An optional, human-readable error message.
455          "code": "A String", # [Output Only] The error type identifier for this error.
456          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
457        },
458      ],
459    },
460    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
461    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
462    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
463  }</pre>
464</div>
465
466<div class="method">
467    <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
468  <pre>Lists all resource type providers for Deployment Manager.
469
470Args:
471  project: string, The project ID for this request. (required)
472  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
473
474You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
475
476Currently, only sorting by name or creationTimestamp desc is supported.
477  maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
478  pageToken: string, Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
479  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.
480
481The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
482
483For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
484
485You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.
486
487To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.
488
489Returns:
490  An object of the form:
491
492    { # A response that returns all Type Providers supported by Deployment Manager
493    "nextPageToken": "A String", # A token used to continue a truncated list request.
494    "typeProviders": [ # [Output Only] A list of resource type providers supported by Deployment Manager.
495      { # A type provider that describes a service-backed Type.
496          "credential": { # Credential used by ConfigurableResourceTypes. # Credential used when interacting with this type.
497            "basicAuth": { # Basic Auth used as a credential. # Basic Auth Credentials for this Type.
498              "password": "A String",
499              "user": "A String",
500            },
501          },
502          "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
503          "labels": [ # Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
504            {
505              "value": "A String",
506              "key": "A String",
507            },
508          ],
509          "options": { # Options allows customized resource handling by Deployment Manager. # Options to apply when handling any resources in this service.
510            "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
511              "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
512              "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
513            },
514            "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
515            "inputMappings": [ # The mappings that apply for requests.
516              { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
517                "fieldName": "A String", # The name of the field that is going to be injected.
518                "location": "A String", # The location where this mapping applies.
519                "value": "A String", # A jsonPath expression to select an element.
520                "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
521              },
522            ],
523          },
524          "collectionOverrides": [ # Allows resource handling overrides for specific collections
525            { # CollectionOverride allows resource handling overrides for specific resources within a BaseType
526              "options": { # Options allows customized resource handling by Deployment Manager. # The options to apply to this resource-level override
527                "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
528                  "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
529                  "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
530                },
531                "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
532                "inputMappings": [ # The mappings that apply for requests.
533                  { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
534                    "fieldName": "A String", # The name of the field that is going to be injected.
535                    "location": "A String", # The location where this mapping applies.
536                    "value": "A String", # A jsonPath expression to select an element.
537                    "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
538                  },
539                ],
540              },
541              "collection": "A String", # The collection that identifies this resource within its service.
542            },
543          ],
544          "insertTime": "A String", # [Output Only] Timestamp when the type provider was created, in RFC3339 text format.
545          "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this type provider.
546            "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
547            "clientOperationId": "A String", # [Output Only] Reserved for future use.
548            "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
549            "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
550            "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
551            "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
552            "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
553            "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
554            "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
555            "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
556            "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
557            "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
558            "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
559            "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
560              {
561                "message": "A String", # [Output Only] A human-readable description of the warning code.
562                "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
563                "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
564                    # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
565                  {
566                    "value": "A String", # [Output Only] A warning data value corresponding to the key.
567                    "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
568                  },
569                ],
570              },
571            ],
572            "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
573            "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
574            "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
575            "name": "A String", # [Output Only] Name of the resource.
576            "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
577            "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
578              "errors": [ # [Output Only] The array of errors encountered while processing this operation.
579                {
580                  "message": "A String", # [Output Only] An optional, human-readable error message.
581                  "code": "A String", # [Output Only] The error type identifier for this error.
582                  "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
583                },
584              ],
585            },
586            "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
587            "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
588            "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
589          },
590          "descriptorUrl": "A String", # Descriptor Url for the this type provider.
591          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
592          "selfLink": "A String", # [Output Only] Self link for the type provider.
593          "name": "A String", # Name of the type provider.
594        },
595    ],
596  }</pre>
597</div>
598
599<div class="method">
600    <code class="details" id="listTypes">listTypes(project, typeProvider, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
601  <pre>Lists all the type info for a TypeProvider.
602
603Args:
604  project: string, The project ID for this request. (required)
605  typeProvider: string, The name of the type provider for this request. (required)
606  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
607
608You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
609
610Currently, only sorting by name or creationTimestamp desc is supported.
611  maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
612  pageToken: string, Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.
613  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.
614
615The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
616
617For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
618
619You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.
620
621To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.
622
623Returns:
624  An object of the form:
625
626    {
627    "nextPageToken": "A String", # A token used to continue a truncated list request.
628    "types": [ # [Output Only] A list of resource type info.
629      { # Contains detailed information about a composite type, base type, or base type with specific collection.
630        "kind": "deploymentmanager#typeInfo", # [Output Only] Type of the output. Always deploymentManager#TypeInfo for TypeInfo.
631        "description": "A String", # The description of the type.
632        "title": "A String", # The title on the API descriptor URL provided.
633        "name": "A String", # The base type or composite type name.
634        "documentationLink": "A String", # For swagger 2.0 externalDocs field will be used. For swagger 1.2 this field will be empty.
635        "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
636        "schema": { # For base types with a collection, we return a schema and documentation link For template types, we return only a schema
637          "input": "A String", # The properties that this composite type or base type collection accept as input, represented as a json blob, format is: JSON Schema Draft V4
638          "output": "A String", # The properties that this composite type or base type collection exposes as output, these properties can be used for references, represented as json blob, format is: JSON Schema Draft V4
639        },
640      },
641    ],
642  }</pre>
643</div>
644
645<div class="method">
646    <code class="details" id="listTypes_next">listTypes_next(previous_request, previous_response)</code>
647  <pre>Retrieves the next page of results.
648
649Args:
650  previous_request: The request for the previous page. (required)
651  previous_response: The response from the request for the previous page. (required)
652
653Returns:
654  A request object that you can call 'execute()' on to request the next
655  page. Returns None if there are no more items in the collection.
656    </pre>
657</div>
658
659<div class="method">
660    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
661  <pre>Retrieves the next page of results.
662
663Args:
664  previous_request: The request for the previous page. (required)
665  previous_response: The response from the request for the previous page. (required)
666
667Returns:
668  A request object that you can call 'execute()' on to request the next
669  page. Returns None if there are no more items in the collection.
670    </pre>
671</div>
672
673<div class="method">
674    <code class="details" id="patch">patch(project, typeProvider, body)</code>
675  <pre>Updates a type provider. This method supports patch semantics.
676
677Args:
678  project: string, The project ID for this request. (required)
679  typeProvider: string, The name of the type provider for this request. (required)
680  body: object, The request body. (required)
681    The object takes the form of:
682
683{ # A type provider that describes a service-backed Type.
684    "credential": { # Credential used by ConfigurableResourceTypes. # Credential used when interacting with this type.
685      "basicAuth": { # Basic Auth used as a credential. # Basic Auth Credentials for this Type.
686        "password": "A String",
687        "user": "A String",
688      },
689    },
690    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
691    "labels": [ # Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
692      {
693        "value": "A String",
694        "key": "A String",
695      },
696    ],
697    "options": { # Options allows customized resource handling by Deployment Manager. # Options to apply when handling any resources in this service.
698      "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
699        "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
700        "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
701      },
702      "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
703      "inputMappings": [ # The mappings that apply for requests.
704        { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
705          "fieldName": "A String", # The name of the field that is going to be injected.
706          "location": "A String", # The location where this mapping applies.
707          "value": "A String", # A jsonPath expression to select an element.
708          "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
709        },
710      ],
711    },
712    "collectionOverrides": [ # Allows resource handling overrides for specific collections
713      { # CollectionOverride allows resource handling overrides for specific resources within a BaseType
714        "options": { # Options allows customized resource handling by Deployment Manager. # The options to apply to this resource-level override
715          "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
716            "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
717            "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
718          },
719          "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
720          "inputMappings": [ # The mappings that apply for requests.
721            { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
722              "fieldName": "A String", # The name of the field that is going to be injected.
723              "location": "A String", # The location where this mapping applies.
724              "value": "A String", # A jsonPath expression to select an element.
725              "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
726            },
727          ],
728        },
729        "collection": "A String", # The collection that identifies this resource within its service.
730      },
731    ],
732    "insertTime": "A String", # [Output Only] Timestamp when the type provider was created, in RFC3339 text format.
733    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this type provider.
734      "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
735      "clientOperationId": "A String", # [Output Only] Reserved for future use.
736      "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
737      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
738      "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
739      "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
740      "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
741      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
742      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
743      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
744      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
745      "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
746      "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
747      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
748        {
749          "message": "A String", # [Output Only] A human-readable description of the warning code.
750          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
751          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
752              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
753            {
754              "value": "A String", # [Output Only] A warning data value corresponding to the key.
755              "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
756            },
757          ],
758        },
759      ],
760      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
761      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
762      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
763      "name": "A String", # [Output Only] Name of the resource.
764      "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
765      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
766        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
767          {
768            "message": "A String", # [Output Only] An optional, human-readable error message.
769            "code": "A String", # [Output Only] The error type identifier for this error.
770            "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
771          },
772        ],
773      },
774      "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
775      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
776      "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
777    },
778    "descriptorUrl": "A String", # Descriptor Url for the this type provider.
779    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
780    "selfLink": "A String", # [Output Only] Self link for the type provider.
781    "name": "A String", # Name of the type provider.
782  }
783
784
785Returns:
786  An object of the form:
787
788    { # An Operation resource, used to manage asynchronous API requests.
789    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
790    "clientOperationId": "A String", # [Output Only] Reserved for future use.
791    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
792    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
793    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
794    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
795    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
796    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
797    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
798    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
799    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
800    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
801    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
802    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
803      {
804        "message": "A String", # [Output Only] A human-readable description of the warning code.
805        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
806        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
807            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
808          {
809            "value": "A String", # [Output Only] A warning data value corresponding to the key.
810            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
811          },
812        ],
813      },
814    ],
815    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
816    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
817    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
818    "name": "A String", # [Output Only] Name of the resource.
819    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
820    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
821      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
822        {
823          "message": "A String", # [Output Only] An optional, human-readable error message.
824          "code": "A String", # [Output Only] The error type identifier for this error.
825          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
826        },
827      ],
828    },
829    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
830    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
831    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
832  }</pre>
833</div>
834
835<div class="method">
836    <code class="details" id="update">update(project, typeProvider, body)</code>
837  <pre>Updates a type provider.
838
839Args:
840  project: string, The project ID for this request. (required)
841  typeProvider: string, The name of the type provider for this request. (required)
842  body: object, The request body. (required)
843    The object takes the form of:
844
845{ # A type provider that describes a service-backed Type.
846    "credential": { # Credential used by ConfigurableResourceTypes. # Credential used when interacting with this type.
847      "basicAuth": { # Basic Auth used as a credential. # Basic Auth Credentials for this Type.
848        "password": "A String",
849        "user": "A String",
850      },
851    },
852    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
853    "labels": [ # Map of labels; provided by the client when the resource is created or updated. Specifically: Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
854      {
855        "value": "A String",
856        "key": "A String",
857      },
858    ],
859    "options": { # Options allows customized resource handling by Deployment Manager. # Options to apply when handling any resources in this service.
860      "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
861        "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
862        "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
863      },
864      "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
865      "inputMappings": [ # The mappings that apply for requests.
866        { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
867          "fieldName": "A String", # The name of the field that is going to be injected.
868          "location": "A String", # The location where this mapping applies.
869          "value": "A String", # A jsonPath expression to select an element.
870          "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
871        },
872      ],
873    },
874    "collectionOverrides": [ # Allows resource handling overrides for specific collections
875      { # CollectionOverride allows resource handling overrides for specific resources within a BaseType
876        "options": { # Options allows customized resource handling by Deployment Manager. # The options to apply to this resource-level override
877          "validationOptions": { # Options for how to validate and process properties on a resource. # Options for how to validate and process properties on a resource.
878            "undeclaredProperties": "A String", # Specify what to do with extra properties when executing a request.
879            "schemaValidation": "A String", # Customize how deployment manager will validate the resource against schema errors.
880          },
881          "nameProperty": "A String", # The json path to the field in the resource JSON body into which the resource name should be mapped. Leaving this empty indicates that there should be no mapping performed.
882          "inputMappings": [ # The mappings that apply for requests.
883            { # InputMapping creates a 'virtual' property that will be injected into the properties before sending the request to the underlying API.
884              "fieldName": "A String", # The name of the field that is going to be injected.
885              "location": "A String", # The location where this mapping applies.
886              "value": "A String", # A jsonPath expression to select an element.
887              "methodMatch": "A String", # Regex to evaluate on method to decide if input applies.
888            },
889          ],
890        },
891        "collection": "A String", # The collection that identifies this resource within its service.
892      },
893    ],
894    "insertTime": "A String", # [Output Only] Timestamp when the type provider was created, in RFC3339 text format.
895    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this type provider.
896      "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
897      "clientOperationId": "A String", # [Output Only] Reserved for future use.
898      "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
899      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
900      "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
901      "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
902      "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
903      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
904      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
905      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
906      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
907      "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
908      "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
909      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
910        {
911          "message": "A String", # [Output Only] A human-readable description of the warning code.
912          "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
913          "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
914              # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
915            {
916              "value": "A String", # [Output Only] A warning data value corresponding to the key.
917              "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
918            },
919          ],
920        },
921      ],
922      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
923      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
924      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
925      "name": "A String", # [Output Only] Name of the resource.
926      "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
927      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
928        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
929          {
930            "message": "A String", # [Output Only] An optional, human-readable error message.
931            "code": "A String", # [Output Only] The error type identifier for this error.
932            "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
933          },
934        ],
935      },
936      "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
937      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
938      "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
939    },
940    "descriptorUrl": "A String", # Descriptor Url for the this type provider.
941    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
942    "selfLink": "A String", # [Output Only] Self link for the type provider.
943    "name": "A String", # Name of the type provider.
944  }
945
946
947Returns:
948  An object of the form:
949
950    { # An Operation resource, used to manage asynchronous API requests.
951    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
952    "clientOperationId": "A String", # [Output Only] Reserved for future use.
953    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
954    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
955    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
956    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
957    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
958    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
959    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
960    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found.
961    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
962    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
963    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
964    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
965      {
966        "message": "A String", # [Output Only] A human-readable description of the warning code.
967        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
968        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
969            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
970          {
971            "value": "A String", # [Output Only] A warning data value corresponding to the key.
972            "key": "A String", # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
973          },
974        ],
975      },
976    ],
977    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
978    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
979    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
980    "name": "A String", # [Output Only] Name of the resource.
981    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
982    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
983      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
984        {
985          "message": "A String", # [Output Only] An optional, human-readable error message.
986          "code": "A String", # [Output Only] The error type identifier for this error.
987          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
988        },
989      ],
990    },
991    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
992    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
993    "targetLink": "A String", # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
994  }</pre>
995</div>
996
997</body></html>