Identity and Access Management (IAM) V3 API - Class Google::Iam::V3::CreatePolicyBindingRequest (v0.1.0)

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
Returns
  • (::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
Parameter
  • 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}
Returns
  • (::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
Returns

#policy_binding=

def policy_binding=(value) -> ::Google::Iam::V3::PolicyBinding
Parameter
Returns

#policy_binding_id

def policy_binding_id() -> ::String
Returns
  • (::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
Parameter
  • 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}/.

Returns
  • (::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
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.

#validate_only=

def validate_only=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.
Returns
  • (::Boolean) — Optional. If set, validate the request and preview the creation, but do not actually post it.