Class: Google::Iam::V3beta::CreatePolicyBindingRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/iam/v3beta/policy_bindings_service.rb

Overview

Request message for CreatePolicyBinding method.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns 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}


51
52
53
54
# File 'proto_docs/google/iam/v3beta/policy_bindings_service.rb', line 51

class CreatePolicyBindingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#policy_binding::Google::Iam::V3beta::PolicyBinding

Returns Required. The policy binding to create.

Returns:



51
52
53
54
# File 'proto_docs/google/iam/v3beta/policy_bindings_service.rb', line 51

class CreatePolicyBindingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#policy_binding_id::String

Returns 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}/.



51
52
53
54
# File 'proto_docs/google/iam/v3beta/policy_bindings_service.rb', line 51

class CreatePolicyBindingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

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



51
52
53
54
# File 'proto_docs/google/iam/v3beta/policy_bindings_service.rb', line 51

class CreatePolicyBindingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end