Class: Google::Apis::ConnectorsV2::RefreshAccessTokenRequest

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

Overview

RefreshAccessTokenRequest includes the refresh token.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RefreshAccessTokenRequest

Returns a new instance of RefreshAccessTokenRequest.



1372
1373
1374
# File 'lib/google/apis/connectors_v2/classes.rb', line 1372

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

Instance Attribute Details

#refresh_tokenString

Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager. Corresponds to the JSON property refreshToken

Returns:

  • (String)


1370
1371
1372
# File 'lib/google/apis/connectors_v2/classes.rb', line 1370

def refresh_token
  @refresh_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1377
1378
1379
# File 'lib/google/apis/connectors_v2/classes.rb', line 1377

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