Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Tool::Authentication (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Tool::Authentication.

Authentication information required for API calls

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_key_config

def api_key_config() -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ApiKeyConfig
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ApiKeyConfig) — Config for API key auth.

    Note: The following fields are mutually exclusive: api_key_config, oauth_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#api_key_config=

def api_key_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ApiKeyConfig
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ApiKeyConfig) — Config for API key auth.

    Note: The following fields are mutually exclusive: api_key_config, oauth_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ApiKeyConfig) — Config for API key auth.

    Note: The following fields are mutually exclusive: api_key_config, oauth_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#bearer_token_config

def bearer_token_config() -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::BearerTokenConfig
Returns

#bearer_token_config=

def bearer_token_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::BearerTokenConfig
Parameter
Returns

#oauth_config

def oauth_config() -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::OAuthConfig
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::OAuthConfig) — Config for OAuth.

    Note: The following fields are mutually exclusive: oauth_config, api_key_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#oauth_config=

def oauth_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::OAuthConfig
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::OAuthConfig) — Config for OAuth.

    Note: The following fields are mutually exclusive: oauth_config, api_key_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::OAuthConfig) — Config for OAuth.

    Note: The following fields are mutually exclusive: oauth_config, api_key_config, service_agent_auth_config, bearer_token_config, service_account_auth_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

#service_account_auth_config

def service_account_auth_config() -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAccountAuthConfig
Returns

#service_account_auth_config=

def service_account_auth_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAccountAuthConfig
Parameter
Returns

#service_agent_auth_config

def service_agent_auth_config() -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAgentAuthConfig
Returns

#service_agent_auth_config=

def service_agent_auth_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Tool::Authentication::ServiceAgentAuthConfig
Parameter
Returns