Class: Google::Apis::IamV1::BindingDelta
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::IamV1::BindingDelta
 
 
- 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
- 
  
    
      #action  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The action that was performed on a Binding.
 - 
  
    
      #condition  ⇒ Google::Apis::IamV1::Expr 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Represents an expression text.
 - 
  
    
      #member  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A single identity requesting access for a Cloud Platform resource.
 - 
  
    
      #role  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Role that is assigned to
members. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BindingDelta 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BindingDelta.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BindingDelta
Returns a new instance of BindingDelta
      263 264 265  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 263 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#action ⇒ String
The action that was performed on a Binding.
Required
Corresponds to the JSON property action
      239 240 241  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 239 def action @action end  | 
  
#condition ⇒ Google::Apis::IamV1::Expr
Represents an expression text. Example:
title: "User account presence"
description: "Determines whether the request has a user account"
expression: "size(request.user) > 0"
Corresponds to the JSON property condition
      247 248 249  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 247 def condition @condition end  | 
  
#member ⇒ String
A single identity requesting access for a Cloud Platform resource.
Follows the same format of Binding.members.
Required
Corresponds to the JSON property member
      254 255 256  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 254 def member @member end  | 
  
#role ⇒ String
Role that is assigned to members.
For example, roles/viewer, roles/editor, or roles/owner.
Required
Corresponds to the JSON property role
      261 262 263  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 261 def role @role end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      268 269 270 271 272 273  | 
    
      # File 'generated/google/apis/iam_v1/classes.rb', line 268 def update!(**args) @action = args[:action] if args.key?(:action) @condition = args[:condition] if args.key?(:condition) @member = args[:member] if args.key?(:member) @role = args[:role] if args.key?(:role) end  |