v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1334381316.7 KB
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