Class: Google::Apis::IamV1::UndeleteRoleRequest

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

Overview

The request to undelete an existing role.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UndeleteRoleRequest

Returns a new instance of UndeleteRoleRequest.



2662
2663
2664
# File 'lib/google/apis/iam_v1/classes.rb', line 2662

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

Instance Attribute Details

#etagString

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.

Returns:

  • (String)


2660
2661
2662
# File 'lib/google/apis/iam_v1/classes.rb', line 2660

def etag
  @etag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2667
2668
2669
# File 'lib/google/apis/iam_v1/classes.rb', line 2667

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