Class: Google::Apis::BackupdrV1::FetchAccessTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::FetchAccessTokenRequest
- 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
-
#generation_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchAccessTokenRequest
constructor
A new instance of FetchAccessTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchAccessTokenRequest
Returns a new instance of FetchAccessTokenRequest.
2024 2025 2026 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generation_id ⇒ Fixnum
Required. The generation of the backup to update.
Corresponds to the JSON property generationId
2022 2023 2024 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2022 def generation_id @generation_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2029 2030 2031 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 2029 def update!(**args) @generation_id = args[:generation_id] if args.key?(:generation_id) end |