Class CreatePolicyRequest (1.11.0)

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

The request sent to the [CreatePolicyRequest] [google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy] method.

Attributes

NameDescription
parent str
Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms: - projects/{project_number} - projects/{project_id} - folders/{folder_id} - organizations/{organization_id}
policy google.cloud.orgpolicy_v2.types.Policy
Required. Policy to create.