Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
- 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
Config for auth using Diglogflow service agent.
Instance Attribute Summary collapse
-
#service_agent_auth ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig.
13135 13136 13137 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13135 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_agent_auth ⇒ String
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
13133 13134 13135 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13133 def service_agent_auth @service_agent_auth end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13140 13141 13142 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13140 def update!(**args) @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth) end |