- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.patch
Updates an Instance.
HTTP request
Path parameters
Parameters | |
---|---|
instance.name |
Identifier. The resource name of this instance. Format: |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. The list of fields to update. 1. If updateMask is not included in the request, error will be returned. 2. If updateMask is present and paths includes only "*" then all the fields which are supported by instances.patch will be updated irrespective of whether they are present in the request or not. Fields which are not present in the request will be set to nil/false value. 3. To update partial flags in instanceConfig, the relevant flags should be provided like instanceConfig. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Instance
.
Response body
If successful, the response body contains an instance of Instance
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
chronicle.instances.update
For more information, see the IAM documentation.