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_v2beta.html">Google Cloud Deployment Manager API V2Beta Methods</a> . <a href="deploymentmanager_v2beta.compositeTypes.html">compositeTypes</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#delete">delete(project, compositeType)</a></code></p> 79<p class="firstline">Deletes a composite type.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(project, compositeType)</a></code></p> 82<p class="firstline">Gets information about a specific composite type.</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(project, body)</a></code></p> 85<p class="firstline">Creates a composite type.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p> 88<p class="firstline">Lists all composite types for Deployment Manager.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#patch">patch(project, compositeType, body)</a></code></p> 94<p class="firstline">Updates a composite type. This method supports patch semantics.</p> 95<p class="toc_element"> 96 <code><a href="#update">update(project, compositeType, body)</a></code></p> 97<p class="firstline">Updates a composite type.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="delete">delete(project, compositeType)</code> 101 <pre>Deletes a composite type. 102 103Args: 104 project: string, The project ID for this request. (required) 105 compositeType: string, The name of the type for this request. (required) 106 107Returns: 108 An object of the form: 109 110 { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 111 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 112 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 113 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 114 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 115 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 116 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 117 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 118 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 119 "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. 120 "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. 121 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 122 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 123 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 124 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 125 { 126 "message": "A String", # [Output Only] A human-readable description of the warning code. 127 "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. 128 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 129 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 130 { 131 "value": "A String", # [Output Only] A warning data value corresponding to the key. 132 "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). 133 }, 134 ], 135 }, 136 ], 137 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 138 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 139 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 140 "name": "A String", # [Output Only] Name of the resource. 141 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 142 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 143 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 144 { 145 "message": "A String", # [Output Only] An optional, human-readable error message. 146 "code": "A String", # [Output Only] The error type identifier for this error. 147 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 148 }, 149 ], 150 }, 151 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 152 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 153 "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. 154 }</pre> 155</div> 156 157<div class="method"> 158 <code class="details" id="get">get(project, compositeType)</code> 159 <pre>Gets information about a specific composite type. 160 161Args: 162 project: string, The project ID for this request. (required) 163 compositeType: string, The name of the composite type for this request. (required) 164 165Returns: 166 An object of the form: 167 168 { # Holds the composite type. 169 "status": "A String", 170 "name": "A String", # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?. 171 "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])?)? 172 { 173 "value": "A String", 174 "key": "A String", 175 }, 176 ], 177 "templateContents": { # Files that make up the template contents of a template type. # Files for the template type. 178 "imports": [ # Import files referenced by the main template. 179 { 180 "content": "A String", # The contents of the file. 181 "name": "A String", # The name of the file. 182 }, 183 ], 184 "schema": "A String", # The contents of the template schema. 185 "mainTemplate": "A String", # The filename of the mainTemplate 186 "template": "A String", # The contents of the main template file. 187 "interpreter": "A String", # Which interpreter (python or jinja) should be used during expansion. 188 }, 189 "insertTime": "A String", # Output only. Creation timestamp in RFC3339 text format. 190 "operation": { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) # Output only. The Operation that most recently ran, or is currently running, on this composite type. 191 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 192 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 193 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 194 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 195 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 196 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 197 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 198 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 199 "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. 200 "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. 201 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 202 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 203 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 204 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 205 { 206 "message": "A String", # [Output Only] A human-readable description of the warning code. 207 "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. 208 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 209 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 210 { 211 "value": "A String", # [Output Only] A warning data value corresponding to the key. 212 "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). 213 }, 214 ], 215 }, 216 ], 217 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 218 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 219 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 220 "name": "A String", # [Output Only] Name of the resource. 221 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 222 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 223 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 224 { 225 "message": "A String", # [Output Only] An optional, human-readable error message. 226 "code": "A String", # [Output Only] The error type identifier for this error. 227 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 228 }, 229 ], 230 }, 231 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 232 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 233 "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. 234 }, 235 "id": "A String", 236 "selfLink": "A String", # Output only. Server defined URL for the resource. 237 "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. 238 }</pre> 239</div> 240 241<div class="method"> 242 <code class="details" id="insert">insert(project, body)</code> 243 <pre>Creates a composite type. 244 245Args: 246 project: string, The project ID for this request. (required) 247 body: object, The request body. (required) 248 The object takes the form of: 249 250{ # Holds the composite type. 251 "status": "A String", 252 "name": "A String", # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?. 253 "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])?)? 254 { 255 "value": "A String", 256 "key": "A String", 257 }, 258 ], 259 "templateContents": { # Files that make up the template contents of a template type. # Files for the template type. 260 "imports": [ # Import files referenced by the main template. 261 { 262 "content": "A String", # The contents of the file. 263 "name": "A String", # The name of the file. 264 }, 265 ], 266 "schema": "A String", # The contents of the template schema. 267 "mainTemplate": "A String", # The filename of the mainTemplate 268 "template": "A String", # The contents of the main template file. 269 "interpreter": "A String", # Which interpreter (python or jinja) should be used during expansion. 270 }, 271 "insertTime": "A String", # Output only. Creation timestamp in RFC3339 text format. 272 "operation": { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) # Output only. The Operation that most recently ran, or is currently running, on this composite type. 273 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 274 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 275 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 276 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 277 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 278 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 279 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 280 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 281 "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. 282 "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. 283 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 284 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 285 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 286 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 287 { 288 "message": "A String", # [Output Only] A human-readable description of the warning code. 289 "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. 290 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 291 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 292 { 293 "value": "A String", # [Output Only] A warning data value corresponding to the key. 294 "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). 295 }, 296 ], 297 }, 298 ], 299 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 300 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 301 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 302 "name": "A String", # [Output Only] Name of the resource. 303 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 304 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 305 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 306 { 307 "message": "A String", # [Output Only] An optional, human-readable error message. 308 "code": "A String", # [Output Only] The error type identifier for this error. 309 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 310 }, 311 ], 312 }, 313 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 314 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 315 "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. 316 }, 317 "id": "A String", 318 "selfLink": "A String", # Output only. Server defined URL for the resource. 319 "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. 320 } 321 322 323Returns: 324 An object of the form: 325 326 { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 327 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 328 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 329 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 330 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 331 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 332 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 333 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 334 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 335 "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. 336 "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. 337 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 338 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 339 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 340 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 341 { 342 "message": "A String", # [Output Only] A human-readable description of the warning code. 343 "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. 344 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 345 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 346 { 347 "value": "A String", # [Output Only] A warning data value corresponding to the key. 348 "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). 349 }, 350 ], 351 }, 352 ], 353 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 354 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 355 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 356 "name": "A String", # [Output Only] Name of the resource. 357 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 358 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 359 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 360 { 361 "message": "A String", # [Output Only] An optional, human-readable error message. 362 "code": "A String", # [Output Only] The error type identifier for this error. 363 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 364 }, 365 ], 366 }, 367 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 368 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 369 "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. 370 }</pre> 371</div> 372 373<div class="method"> 374 <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code> 375 <pre>Lists all composite types for Deployment Manager. 376 377Args: 378 project: string, The project ID for this request. (required) 379 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. 380 381You 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. 382 383Currently, only sorting by name or creationTimestamp desc is supported. 384 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) 385 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. 386 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. 387 388For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. 389 390You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. 391 392To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). 393 394Returns: 395 An object of the form: 396 397 { # A response that returns all Composite Types supported by Deployment Manager 398 "nextPageToken": "A String", # A token used to continue a truncated list request. 399 "compositeTypes": [ # Output only. A list of resource composite types supported by Deployment Manager. 400 { # Holds the composite type. 401 "status": "A String", 402 "name": "A String", # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?. 403 "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])?)? 404 { 405 "value": "A String", 406 "key": "A String", 407 }, 408 ], 409 "templateContents": { # Files that make up the template contents of a template type. # Files for the template type. 410 "imports": [ # Import files referenced by the main template. 411 { 412 "content": "A String", # The contents of the file. 413 "name": "A String", # The name of the file. 414 }, 415 ], 416 "schema": "A String", # The contents of the template schema. 417 "mainTemplate": "A String", # The filename of the mainTemplate 418 "template": "A String", # The contents of the main template file. 419 "interpreter": "A String", # Which interpreter (python or jinja) should be used during expansion. 420 }, 421 "insertTime": "A String", # Output only. Creation timestamp in RFC3339 text format. 422 "operation": { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) # Output only. The Operation that most recently ran, or is currently running, on this composite type. 423 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 424 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 425 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 426 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 427 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 428 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 429 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 430 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 431 "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. 432 "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. 433 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 434 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 435 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 436 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 437 { 438 "message": "A String", # [Output Only] A human-readable description of the warning code. 439 "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. 440 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 441 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 442 { 443 "value": "A String", # [Output Only] A warning data value corresponding to the key. 444 "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). 445 }, 446 ], 447 }, 448 ], 449 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 450 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 451 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 452 "name": "A String", # [Output Only] Name of the resource. 453 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 454 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 455 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 456 { 457 "message": "A String", # [Output Only] An optional, human-readable error message. 458 "code": "A String", # [Output Only] The error type identifier for this error. 459 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 460 }, 461 ], 462 }, 463 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 464 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 465 "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. 466 }, 467 "id": "A String", 468 "selfLink": "A String", # Output only. Server defined URL for the resource. 469 "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. 470 }, 471 ], 472 }</pre> 473</div> 474 475<div class="method"> 476 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 477 <pre>Retrieves the next page of results. 478 479Args: 480 previous_request: The request for the previous page. (required) 481 previous_response: The response from the request for the previous page. (required) 482 483Returns: 484 A request object that you can call 'execute()' on to request the next 485 page. Returns None if there are no more items in the collection. 486 </pre> 487</div> 488 489<div class="method"> 490 <code class="details" id="patch">patch(project, compositeType, body)</code> 491 <pre>Updates a composite type. This method supports patch semantics. 492 493Args: 494 project: string, The project ID for this request. (required) 495 compositeType: string, The name of the composite type for this request. (required) 496 body: object, The request body. (required) 497 The object takes the form of: 498 499{ # Holds the composite type. 500 "status": "A String", 501 "name": "A String", # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?. 502 "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])?)? 503 { 504 "value": "A String", 505 "key": "A String", 506 }, 507 ], 508 "templateContents": { # Files that make up the template contents of a template type. # Files for the template type. 509 "imports": [ # Import files referenced by the main template. 510 { 511 "content": "A String", # The contents of the file. 512 "name": "A String", # The name of the file. 513 }, 514 ], 515 "schema": "A String", # The contents of the template schema. 516 "mainTemplate": "A String", # The filename of the mainTemplate 517 "template": "A String", # The contents of the main template file. 518 "interpreter": "A String", # Which interpreter (python or jinja) should be used during expansion. 519 }, 520 "insertTime": "A String", # Output only. Creation timestamp in RFC3339 text format. 521 "operation": { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) # Output only. The Operation that most recently ran, or is currently running, on this composite type. 522 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 523 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 524 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 525 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 526 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 527 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 528 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 529 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 530 "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. 531 "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. 532 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 533 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 534 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 535 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 536 { 537 "message": "A String", # [Output Only] A human-readable description of the warning code. 538 "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. 539 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 540 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 541 { 542 "value": "A String", # [Output Only] A warning data value corresponding to the key. 543 "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). 544 }, 545 ], 546 }, 547 ], 548 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 549 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 550 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 551 "name": "A String", # [Output Only] Name of the resource. 552 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 553 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 554 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 555 { 556 "message": "A String", # [Output Only] An optional, human-readable error message. 557 "code": "A String", # [Output Only] The error type identifier for this error. 558 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 559 }, 560 ], 561 }, 562 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 563 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 564 "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. 565 }, 566 "id": "A String", 567 "selfLink": "A String", # Output only. Server defined URL for the resource. 568 "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. 569 } 570 571 572Returns: 573 An object of the form: 574 575 { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 576 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 577 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 578 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 579 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 580 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 581 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 582 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 583 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 584 "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. 585 "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. 586 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 587 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 588 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 589 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 590 { 591 "message": "A String", # [Output Only] A human-readable description of the warning code. 592 "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. 593 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 594 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 595 { 596 "value": "A String", # [Output Only] A warning data value corresponding to the key. 597 "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). 598 }, 599 ], 600 }, 601 ], 602 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 603 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 604 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 605 "name": "A String", # [Output Only] Name of the resource. 606 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 607 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 608 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 609 { 610 "message": "A String", # [Output Only] An optional, human-readable error message. 611 "code": "A String", # [Output Only] The error type identifier for this error. 612 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 613 }, 614 ], 615 }, 616 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 617 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 618 "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. 619 }</pre> 620</div> 621 622<div class="method"> 623 <code class="details" id="update">update(project, compositeType, body)</code> 624 <pre>Updates a composite type. 625 626Args: 627 project: string, The project ID for this request. (required) 628 compositeType: string, The name of the composite type for this request. (required) 629 body: object, The request body. (required) 630 The object takes the form of: 631 632{ # Holds the composite type. 633 "status": "A String", 634 "name": "A String", # Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]{0,61}[a-z0-9])?. 635 "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])?)? 636 { 637 "value": "A String", 638 "key": "A String", 639 }, 640 ], 641 "templateContents": { # Files that make up the template contents of a template type. # Files for the template type. 642 "imports": [ # Import files referenced by the main template. 643 { 644 "content": "A String", # The contents of the file. 645 "name": "A String", # The name of the file. 646 }, 647 ], 648 "schema": "A String", # The contents of the template schema. 649 "mainTemplate": "A String", # The filename of the mainTemplate 650 "template": "A String", # The contents of the main template file. 651 "interpreter": "A String", # Which interpreter (python or jinja) should be used during expansion. 652 }, 653 "insertTime": "A String", # Output only. Creation timestamp in RFC3339 text format. 654 "operation": { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) # Output only. The Operation that most recently ran, or is currently running, on this composite type. 655 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 656 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 657 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 658 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 659 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 660 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 661 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 662 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 663 "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. 664 "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. 665 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 666 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 667 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 668 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 669 { 670 "message": "A String", # [Output Only] A human-readable description of the warning code. 671 "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. 672 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 673 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 674 { 675 "value": "A String", # [Output Only] A warning data value corresponding to the key. 676 "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). 677 }, 678 ], 679 }, 680 ], 681 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 682 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 683 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 684 "name": "A String", # [Output Only] Name of the resource. 685 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 686 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 687 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 688 { 689 "message": "A String", # [Output Only] An optional, human-readable error message. 690 "code": "A String", # [Output Only] The error type identifier for this error. 691 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 692 }, 693 ], 694 }, 695 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 696 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 697 "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. 698 }, 699 "id": "A String", 700 "selfLink": "A String", # Output only. Server defined URL for the resource. 701 "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. 702 } 703 704 705Returns: 706 An object of the form: 707 708 { # An Operation resource, used to manage asynchronous API requests. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 709 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 710 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 711 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 712 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 713 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 714 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 715 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 716 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 717 "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. 718 "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. 719 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 720 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 721 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 722 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 723 { 724 "message": "A String", # [Output Only] A human-readable description of the warning code. 725 "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. 726 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 727 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 728 { 729 "value": "A String", # [Output Only] A warning data value corresponding to the key. 730 "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). 731 }, 732 ], 733 }, 734 ], 735 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 736 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 737 "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 738 "name": "A String", # [Output Only] Name of the resource. 739 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 740 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 741 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 742 { 743 "message": "A String", # [Output Only] An optional, human-readable error message. 744 "code": "A String", # [Output Only] The error type identifier for this error. 745 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 746 }, 747 ], 748 }, 749 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 750 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 751 "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. 752 }</pre> 753</div> 754 755</body></html>