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
- (::Google::Cloud::SecurityCenter::V2::IamBinding::Action) — The action that was performed on a Binding.
#action=
def action=(value) -> ::Google::Cloud::SecurityCenter::V2::IamBinding::Action
Parameter
- value (::Google::Cloud::SecurityCenter::V2::IamBinding::Action) — The action that was performed on a Binding.
Returns
- (::Google::Cloud::SecurityCenter::V2::IamBinding::Action) — The action that was performed on a Binding.
#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".