projects

Create a ContentPolicy.

post/v2/{+parent}/contentPolicies

Path parameters

parentstring required

Required. Parent resource name. The format of this value varies depending on the scope of the request (project or organization): + Projects scope: projects/{project_id}/locations/{location_id} + Organizations scope: organizations/{org_id}/locations/{location_id}

Request body

contentPolicyIdstring

Optional. The content policy ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+. The maximum length is 100 characters. If empty, the system will generate a random id.

Response

Successful response

Changes

No recorded changes to this endpoint across all 1 revision of this API.