Class: Google::Apis::IamV1::BindingDelta

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iam_v1/classes.rb,
generated/google/apis/iam_v1/representations.rb,
generated/google/apis/iam_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BindingDelta

Returns a new instance of BindingDelta.



627
628
629
# File 'generated/google/apis/iam_v1/classes.rb', line 627

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionString

The action that was performed on a Binding. Required Corresponds to the JSON property action

Returns:

  • (String)


613
614
615
# File 'generated/google/apis/iam_v1/classes.rb', line 613

def action
  @action
end

#memberString

A single identity requesting access for a Cloud Platform resource. Follows the same format of Binding.members. Required Corresponds to the JSON property member

Returns:

  • (String)


625
626
627
# File 'generated/google/apis/iam_v1/classes.rb', line 625

def member
  @member
end

#roleString

Role that is assigned to members. For example, roles/viewer, roles/editor , or roles/owner. Required Corresponds to the JSON property role

Returns:

  • (String)


619
620
621
# File 'generated/google/apis/iam_v1/classes.rb', line 619

def role
  @role
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
635
636
# File 'generated/google/apis/iam_v1/classes.rb', line 632

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @role = args[:role] if args.key?(:role)
  @member = args[:member] if args.key?(:member)
end