Reference documentation and code samples for the Identity and Access Management (IAM) V3 API class Google::Iam::V3::CreatePolicyBindingRequest.
Request message for CreatePolicyBinding method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
-
(::String) —
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}
#parent=
def parent=(value) -> ::String
-
value (::String) —
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}
-
(::String) —
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
def policy_binding() -> ::Google::Iam::V3::PolicyBinding
- (::Google::Iam::V3::PolicyBinding) — Required. The policy binding to create.
#policy_binding=
def policy_binding=(value) -> ::Google::Iam::V3::PolicyBinding
- value (::Google::Iam::V3::PolicyBinding) — Required. The policy binding to create.
- (::Google::Iam::V3::PolicyBinding) — Required. The policy binding to create.
#policy_binding_id
def policy_binding_id() -> ::String
-
(::String) — 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_id=
def policy_binding_id=(value) -> ::String
-
value (::String) — 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}/.
-
(::String) — 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}/.
#validate_only
def validate_only() -> ::Boolean
- (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.
#validate_only=
def validate_only=(value) -> ::Boolean
- value (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.
- (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.