Class CreateContentPolicyRequest (3.40.0)

CreateContentPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for CreateContentPolicy.

Attributes

Name Description
parent str
Required. Parent resource name. The format of this value varies depending on the scope of the request (project): - Projects scope: projects/{project_id}/locations/{location_id}
content_policy google.cloud.dlp_v2.types.ContentPolicy
Required. The content_policy resource.
content_policy_id str
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.