- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a custom cloud control in a given parent resource. You can't create built-in cloud controls because those are managed by Google.
HTTP request
POST https://cloudsecuritycompliance.googleapis.com/v1/{parent=organizations/*/locations/*}/cloudControls
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name, in the format |
Query parameters
Parameters | |
---|---|
cloudControlId |
Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is |
Request body
The request body contains an instance of CloudControl
.
Response body
If successful, the response body contains a newly created instance of CloudControl
.
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 parent
resource:
cloudsecuritycompliance.cloudControls.create
For more information, see the IAM documentation.