Class: Google::Cloud::SecurityCenter::V1::IamBinding

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1/iam_binding.rb

Overview

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

Defined Under Namespace

Modules: Action

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Cloud::SecurityCenter::V1::IamBinding::Action

Returns The action that was performed on a Binding.

Returns:



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'proto_docs/google/cloud/securitycenter/v1/iam_binding.rb', line 37

class IamBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of action performed on a Binding in a policy.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # Addition of a Binding.
    ADD = 1

    # Removal of a Binding.
    REMOVE = 2
  end
end

#member::String

Returns A single identity requesting access for a Cloud Platform resource, for example, "[email protected]".

Returns:

  • (::String)

    A single identity requesting access for a Cloud Platform resource, for example, "[email protected]".



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'proto_docs/google/cloud/securitycenter/v1/iam_binding.rb', line 37

class IamBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of action performed on a Binding in a policy.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # Addition of a Binding.
    ADD = 1

    # Removal of a Binding.
    REMOVE = 2
  end
end

#role::String

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



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'proto_docs/google/cloud/securitycenter/v1/iam_binding.rb', line 37

class IamBinding
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of action performed on a Binding in a policy.
  module Action
    # Unspecified.
    ACTION_UNSPECIFIED = 0

    # Addition of a Binding.
    ADD = 1

    # Removal of a Binding.
    REMOVE = 2
  end
end