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

Overview

Oauth 2.0 Authorization Code authentication configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolEndUserAuthConfigOauth2AuthCodeConfig.



14732
14733
14734
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14732

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

Instance Attribute Details

#oauth_tokenString

Required. Oauth token value or parameter name to pass it through. Corresponds to the JSON property oauthToken

Returns:

  • (String)


14730
14731
14732
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14730

def oauth_token
  @oauth_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14737
14738
14739
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14737

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