- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates an existing PostureDeployment.
To prevent concurrent updates from overwriting each other, always follow the read-modify-write pattern when you update a posture deployment:
- Call
postureDeployments.getto get the current version of the deployment. - Update the fields in the deployment as needed.
- Call
postureDeployments.patchto update the deployment. Ensure that your request includes theetagvalue from thepostureDeployments.getresponse.
Important: If you omit the etag when you call postureDeployments.patch, then the updated deployment unconditionally overwrites the existing deployment.
HTTP request
PATCH https://securityposture.googleapis.com/v1/{postureDeployment.name=organizations/*/locations/*/postureDeployments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
postureDeployment.name |
Required. Identifier. The name of the posture deployment, in the format |
Query parameters
| Parameters | |
|---|---|
updateMask |
Required. The fields in the You can update only the following fields: This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of PostureDeployment.
Response body
If successful, the response body contains an instance of Operation.
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:
securityposture.postureDeployments.update
For more information, see the IAM documentation.