Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Config for auth using Dialogflow service agent.
Instance Attribute Summary collapse
-
#service_agent_auth ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
constructor
A new instance of GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig
Returns a new instance of GoogleCloudDialogflowV2ToolAuthenticationServiceAgentAuthConfig.
18966 18967 18968 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18966 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
18964 18965 18966 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18964 def service_agent_auth @service_agent_auth end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18971 18972 18973 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18971 def update!(**args) @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth) end |