Class CreatePolicyRequest (1.3.3)

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 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.