Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthentication
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthentication
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#api_key_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig
Corresponds to the JSON property
apiKeyConfig. -
#bearer_token_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig
Corresponds to the JSON property
bearerTokenConfig. -
#oauth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig
Corresponds to the JSON property
oauthConfig. -
#service_account_auth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig
Corresponds to the JSON property
serviceAccountAuthConfig. -
#service_agent_auth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig
Corresponds to the JSON property
serviceAgentAuthConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolAuthentication
constructor
A new instance of GoogleCloudDialogflowCxV3ToolAuthentication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolAuthentication
Returns a new instance of GoogleCloudDialogflowCxV3ToolAuthentication.
7955 7956 7957 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7955 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_key_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig
Corresponds to the JSON property apiKeyConfig
7933 7934 7935 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7933 def api_key_config @api_key_config end |
#bearer_token_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig
Corresponds to the JSON property bearerTokenConfig
7938 7939 7940 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7938 def bearer_token_config @bearer_token_config end |
#oauth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig
Corresponds to the JSON property oauthConfig
7943 7944 7945 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7943 def oauth_config @oauth_config end |
#service_account_auth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig
Corresponds to the JSON property serviceAccountAuthConfig
7948 7949 7950 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7948 def service_account_auth_config @service_account_auth_config end |
#service_agent_auth_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig
Corresponds to the JSON property serviceAgentAuthConfig
7953 7954 7955 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7953 def service_agent_auth_config @service_agent_auth_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7960 7961 7962 7963 7964 7965 7966 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7960 def update!(**args) @api_key_config = args[:api_key_config] if args.key?(:api_key_config) @bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config) @oauth_config = args[:oauth_config] if args.key?(:oauth_config) @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config) @service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config) end |