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="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.regionTargetHttpProxies.html">regionTargetHttpProxies</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#delete">delete(project, region, targetHttpProxy, requestId=None)</a></code></p> 79<p class="firstline">Deletes the specified TargetHttpProxy resource.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(project, region, targetHttpProxy)</a></code></p> 82<p class="firstline">Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(project, region, body, requestId=None)</a></code></p> 85<p class="firstline">Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(project, region, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p> 88<p class="firstline">Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.</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="#setUrlMap">setUrlMap(project, region, targetHttpProxy, body, requestId=None)</a></code></p> 94<p class="firstline">Changes the URL map for TargetHttpProxy.</p> 95<p class="toc_element"> 96 <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body)</a></code></p> 97<p class="firstline">Returns permissions that a caller has on the specified resource.</p> 98<h3>Method Details</h3> 99<div class="method"> 100 <code class="details" id="delete">delete(project, region, targetHttpProxy, requestId=None)</code> 101 <pre>Deletes the specified TargetHttpProxy resource. 102 103Args: 104 project: string, Project ID for this request. (required) 105 region: string, Name of the region scoping this request. (required) 106 targetHttpProxy: string, Name of the TargetHttpProxy resource to delete. (required) 107 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. 108 109For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. 110 111The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 112 113Returns: 114 An object of the form: 115 116 { # Represents an Operation resource. 117 # 118 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. 119 # 120 # Operations can be global, regional or zonal. 121 # - For global operations, use the globalOperations resource. 122 # - For regional operations, use the regionOperations resource. 123 # - For zonal operations, use the zonalOperations resource. 124 # 125 # For more information, read Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 126 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 127 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 128 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 129 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 130 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. 131 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 132 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 133 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 134 "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. 135 "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. 136 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 137 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 138 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 139 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 140 { 141 "message": "A String", # [Output Only] A human-readable description of the warning code. 142 "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. 143 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 144 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 145 { 146 "value": "A String", # [Output Only] A warning data value corresponding to the key. 147 "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). 148 }, 149 ], 150 }, 151 ], 152 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 153 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 154 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 155 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 156 "name": "A String", # [Output Only] Name of the resource. 157 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. 158 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 159 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 160 { 161 "message": "A String", # [Output Only] An optional, human-readable error message. 162 "code": "A String", # [Output Only] The error type identifier for this error. 163 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 164 }, 165 ], 166 }, 167 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 168 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 169 "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. 170 }</pre> 171</div> 172 173<div class="method"> 174 <code class="details" id="get">get(project, region, targetHttpProxy)</code> 175 <pre>Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request. 176 177Args: 178 project: string, Project ID for this request. (required) 179 region: string, Name of the region scoping this request. (required) 180 targetHttpProxy: string, Name of the TargetHttpProxy resource to return. (required) 181 182Returns: 183 An object of the form: 184 185 { # A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) 186 "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 187 "description": "A String", # An optional description of this resource. Provide this property when you create the resource. 188 "region": "A String", # [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 189 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 190 "proxyBind": True or False, # This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. When set to true the Envoy binds on the IP address specified by the forwarding rule. Default is false. 191 "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. 192 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. 193 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 194 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 195 "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 196 }</pre> 197</div> 198 199<div class="method"> 200 <code class="details" id="insert">insert(project, region, body, requestId=None)</code> 201 <pre>Creates a TargetHttpProxy resource in the specified project and region using the data included in the request. 202 203Args: 204 project: string, Project ID for this request. (required) 205 region: string, Name of the region scoping this request. (required) 206 body: object, The request body. (required) 207 The object takes the form of: 208 209{ # A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) 210 "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 211 "description": "A String", # An optional description of this resource. Provide this property when you create the resource. 212 "region": "A String", # [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 213 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 214 "proxyBind": True or False, # This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. When set to true the Envoy binds on the IP address specified by the forwarding rule. Default is false. 215 "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. 216 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. 217 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 218 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 219 "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 220 } 221 222 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. 223 224For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. 225 226The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 227 228Returns: 229 An object of the form: 230 231 { # Represents an Operation resource. 232 # 233 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. 234 # 235 # Operations can be global, regional or zonal. 236 # - For global operations, use the globalOperations resource. 237 # - For regional operations, use the regionOperations resource. 238 # - For zonal operations, use the zonalOperations resource. 239 # 240 # For more information, read Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 241 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 242 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 243 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 244 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 245 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. 246 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 247 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 248 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 249 "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. 250 "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. 251 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 252 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 253 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 254 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 255 { 256 "message": "A String", # [Output Only] A human-readable description of the warning code. 257 "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. 258 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 259 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 260 { 261 "value": "A String", # [Output Only] A warning data value corresponding to the key. 262 "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). 263 }, 264 ], 265 }, 266 ], 267 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 268 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 269 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 270 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 271 "name": "A String", # [Output Only] Name of the resource. 272 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. 273 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 274 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 275 { 276 "message": "A String", # [Output Only] An optional, human-readable error message. 277 "code": "A String", # [Output Only] The error type identifier for this error. 278 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 279 }, 280 ], 281 }, 282 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 283 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 284 "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. 285 }</pre> 286</div> 287 288<div class="method"> 289 <code class="details" id="list">list(project, region, orderBy=None, maxResults=None, pageToken=None, filter=None)</code> 290 <pre>Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region. 291 292Args: 293 project: string, Project ID for this request. (required) 294 region: string, Name of the region scoping this request. (required) 295 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. 296 297You 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. 298 299Currently, only sorting by name or creationTimestamp desc is supported. 300 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) 301 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. 302 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 <. 303 304For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. 305 306You 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. 307 308To 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). 309 310Returns: 311 An object of the form: 312 313 { # A list of TargetHttpProxy resources. 314 "nextPageToken": "A String", # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. 315 "kind": "compute#targetHttpProxyList", # Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. 316 "items": [ # A list of TargetHttpProxy resources. 317 { # A TargetHttpProxy resource. This resource defines an HTTP proxy. (== resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies ==) 318 "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. 319 "description": "A String", # An optional description of this resource. Provide this property when you create the resource. 320 "region": "A String", # [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. 321 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 322 "proxyBind": True or False, # This field only applies when the loadBalancingScheme is INTERNAL_SELF_MANAGED. When set to true the Envoy binds on the IP address specified by the forwarding rule. Default is false. 323 "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. 324 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. 325 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 326 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 327 "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 328 }, 329 ], 330 "warning": { # [Output Only] Informational warning message. 331 "message": "A String", # [Output Only] A human-readable description of the warning code. 332 "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. 333 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 334 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 335 { 336 "value": "A String", # [Output Only] A warning data value corresponding to the key. 337 "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). 338 }, 339 ], 340 }, 341 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. 342 "selfLink": "A String", # [Output Only] Server-defined URL for this resource. 343 }</pre> 344</div> 345 346<div class="method"> 347 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 348 <pre>Retrieves the next page of results. 349 350Args: 351 previous_request: The request for the previous page. (required) 352 previous_response: The response from the request for the previous page. (required) 353 354Returns: 355 A request object that you can call 'execute()' on to request the next 356 page. Returns None if there are no more items in the collection. 357 </pre> 358</div> 359 360<div class="method"> 361 <code class="details" id="setUrlMap">setUrlMap(project, region, targetHttpProxy, body, requestId=None)</code> 362 <pre>Changes the URL map for TargetHttpProxy. 363 364Args: 365 project: string, Project ID for this request. (required) 366 region: string, Name of the region scoping this request. (required) 367 targetHttpProxy: string, Name of the TargetHttpProxy to set a URL map for. (required) 368 body: object, The request body. (required) 369 The object takes the form of: 370 371{ 372 "urlMap": "A String", 373 } 374 375 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. 376 377For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. 378 379The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). 380 381Returns: 382 An object of the form: 383 384 { # Represents an Operation resource. 385 # 386 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. 387 # 388 # Operations can be global, regional or zonal. 389 # - For global operations, use the globalOperations resource. 390 # - For regional operations, use the regionOperations resource. 391 # - For zonal operations, use the zonalOperations resource. 392 # 393 # For more information, read Global, Regional, and Zonal Resources. (== resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==) (== resource_for v1.regionOperations ==) (== resource_for beta.regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for beta.zoneOperations ==) 394 "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. 395 "clientOperationId": "A String", # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. 396 "creationTimestamp": "A String", # [Deprecated] This field is deprecated. 397 "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server. 398 "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. 399 "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format. 400 "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on. 401 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. 402 "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. 403 "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. 404 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation. 405 "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. 406 "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created. 407 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated. 408 { 409 "message": "A String", # [Output Only] A human-readable description of the warning code. 410 "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. 411 "data": [ # [Output Only] Metadata about this warning in key: value format. For example: 412 # "data": [ { "key": "scope", "value": "zones/us-east1-d" } 413 { 414 "value": "A String", # [Output Only] A warning data value corresponding to the key. 415 "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). 416 }, 417 ], 418 }, 419 ], 420 "selfLinkWithId": "A String", # [Output Only] Server-defined URL for this resource with the resource id. 421 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com. 422 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. 423 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources. 424 "name": "A String", # [Output Only] Name of the resource. 425 "region": "A String", # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. 426 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated. 427 "errors": [ # [Output Only] The array of errors encountered while processing this operation. 428 { 429 "message": "A String", # [Output Only] An optional, human-readable error message. 430 "code": "A String", # [Output Only] The error type identifier for this error. 431 "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional. 432 }, 433 ], 434 }, 435 "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format. 436 "selfLink": "A String", # [Output Only] Server-defined URL for the resource. 437 "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. 438 }</pre> 439</div> 440 441<div class="method"> 442 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body)</code> 443 <pre>Returns permissions that a caller has on the specified resource. 444 445Args: 446 project: string, Project ID for this request. (required) 447 region: string, The name of the region for this request. (required) 448 resource: string, Name or id of the resource for this request. (required) 449 body: object, The request body. (required) 450 The object takes the form of: 451 452{ 453 "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. 454 "A String", 455 ], 456 } 457 458 459Returns: 460 An object of the form: 461 462 { 463 "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. 464 "A String", 465 ], 466 }</pre> 467</div> 468 469</body></html>