Class: Google::Iam::V1::BindingDelta

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb,
lib/google/cloud/spanner/admin/instance/v1/doc/google/iam/v1/policy.rb

Overview

One delta entry for Binding. Each individual change (only one member in each entry) to a binding will be a separate entry.

Defined Under Namespace

Modules: Action

Instance Attribute Summary collapse

Instance Attribute Details

#actionGoogle::Iam::V1::BindingDelta::Action

Returns The action that was performed on a Binding. Required

Returns:



124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb', line 124

class BindingDelta
  # 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

#memberString

Returns A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required

Returns:

  • (String)

    A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required



124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb', line 124

class BindingDelta
  # 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

#roleString

Returns Role that is assigned to +members+. For example, +roles/viewer+, +roles/editor+, or +roles/owner+. Required

Returns:

  • (String)

    Role that is assigned to +members+. For example, +roles/viewer+, +roles/editor+, or +roles/owner+. Required



124
125
126
127
128
129
130
131
132
133
134
135
136
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/iam/v1/policy.rb', line 124

class BindingDelta
  # 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