Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig

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

Overview

Config for auth using Dialogflow service agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig

Returns a new instance of GoogleCloudDialogflowV2beta1ToolAuthenticationServiceAgentAuthConfig.



23668
23669
23670
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23668

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

Instance Attribute Details

#service_agent_authString

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header. Corresponds to the JSON property serviceAgentAuth

Returns:

  • (String)


23666
23667
23668
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23666

def service_agent_auth
  @service_agent_auth
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23673
23674
23675
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23673

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