Class: Google::Apis::IamV1::UndeleteRoleRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::IamV1::UndeleteRoleRequest
 
- 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
The request to undelete an existing role.
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Used to perform a consistent read-modify-write. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UndeleteRoleRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UndeleteRoleRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UndeleteRoleRequest
Returns a new instance of UndeleteRoleRequest
| 1200 1201 1202 | # File 'generated/google/apis/iam_v1/classes.rb', line 1200 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
Used to perform a consistent read-modify-write.
Corresponds to the JSON property etag
NOTE: Values are automatically base64 encoded/decoded in the client library.
| 1198 1199 1200 | # File 'generated/google/apis/iam_v1/classes.rb', line 1198 def etag @etag end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1205 1206 1207 | # File 'generated/google/apis/iam_v1/classes.rb', line 1205 def update!(**args) @etag = args[:etag] if args.key?(:etag) end |