Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthentication

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolAuthentication

Returns a new instance of GoogleCloudDialogflowCxV3ToolAuthentication.



7961
7962
7963
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7961

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

Instance Attribute Details

#api_key_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationApiKeyConfig

Corresponds to the JSON property apiKeyConfig



7939
7940
7941
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7939

def api_key_config
  @api_key_config
end

#bearer_token_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationBearerTokenConfig

Corresponds to the JSON property bearerTokenConfig



7944
7945
7946
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7944

def bearer_token_config
  @bearer_token_config
end

#oauth_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig

Corresponds to the JSON property oauthConfig



7949
7950
7951
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7949

def oauth_config
  @oauth_config
end

#service_account_auth_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig

Corresponds to the JSON property serviceAccountAuthConfig



7954
7955
7956
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7954

def 
  @service_account_auth_config
end

#service_agent_auth_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig

Corresponds to the JSON property serviceAgentAuthConfig



7959
7960
7961
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7959

def service_agent_auth_config
  @service_agent_auth_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7966
7967
7968
7969
7970
7971
7972
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7966

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