Cloud Security Command Center V1 API - Class Google::Cloud::SecurityCenter::V1::IamBinding (v0.24.0)

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

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

#action=

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

#member

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

#member=

def member=(value) -> ::String
Parameter
  • value (::String) — A single identity requesting access for a Cloud Platform resource, e.g. "foo@google.com".
Returns
  • (::String) — A single identity requesting access for a Cloud Platform resource, e.g. "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".