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.



12905
12906
12907
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12905

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

Instance Attribute Details

#oauth_tokenString

Corresponds to the JSON property oauthToken

Returns:

  • (String)


12903
12904
12905
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12903

def oauth_token
  @oauth_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12910
12911
12912
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12910

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