Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig.



12917
12918
12919
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12917

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

Instance Attribute Details

#oauth_tokenString

Corresponds to the JSON property oauthToken

Returns:

  • (String)


12915
12916
12917
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12915

def oauth_token
  @oauth_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12922
12923
12924
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12922

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