Class CreatePolicyBindingRequest (2.19.0)

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

Request message for CreatePolicyBinding method.

Attributes

Name Description
parent str
Required. The parent resource where this policy binding will be created. The binding parent is the closest Resource Manager resource (project, folder or organization) to the binding target. Format: - projects/{project_id}/locations/{location} - projects/{project_number}/locations/{location} - folders/{folder_id}/locations/{location} - organizations/{organization_id}/locations/{location}
policy_binding_id str
Required. The ID to use for the policy binding, which will become the final component of the policy binding's resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, hyphens, or dots. Pattern, /a-z][a-z0-9-.]{2,62}/.
policy_binding google.cloud.iam_v3beta.types.PolicyBinding
Required. The policy binding to create.
validate_only bool
Optional. If set, validate the request and preview the creation, but do not actually post it.