- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Creates a custom framework in a given parent resource. You can't create built-in frameworks because those are managed by Google.
HTTP request
POST https://cloudsecuritycompliance.googleapis.com/v1/{parent=organizations/*/locations/*}/frameworks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name, in the format |
Query parameters
Parameters | |
---|---|
frameworkId |
Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework. |
Request body
The request body contains an instance of Framework
.
Response body
If successful, the response body contains a newly created instance of Framework
.
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.frameworks.create
For more information, see the IAM documentation.