Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::IamBinding (v0.2.0)

Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::IamBinding.

Represents a particular IAM binding, which captures a member's role addition, removal, or state.

Inherits

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::Google::Cloud::SecurityCenter::V2::IamBinding::Action
Returns

#action=

def action=(value) -> ::Google::Cloud::SecurityCenter::V2::IamBinding::Action
Parameter
Returns

#member

def member() -> ::String
Returns
  • (::String) — A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".

#member=

def member=(value) -> ::String
Parameter
  • value (::String) — A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".
Returns
  • (::String) — A single identity requesting access for a Cloud Platform resource, for example, "foo@google.com".

#role

def role() -> ::String
Returns
  • (::String) — Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".

#role=

def role=(value) -> ::String
Parameter
  • value (::String) — Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".
Returns
  • (::String) — Role that is assigned to "members". For example, "roles/viewer", "roles/editor", or "roles/owner".