Class: Google::Apis::BackupdrV1::FetchAccessTokenRequest

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

Overview

Request message for FetchAccessToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchAccessTokenRequest

Returns a new instance of FetchAccessTokenRequest.



3388
3389
3390
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3388

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

Instance Attribute Details

#generation_idFixnum

Required. The generation of the backup to update. Corresponds to the JSON property generationId

Returns:

  • (Fixnum)


3386
3387
3388
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3386

def generation_id
  @generation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3393
3394
3395
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3393

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