Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ApiAuthentication (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ApiAuthentication.

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::Ces::V1beta::ApiKeyConfig
Returns
  • (::Google::Cloud::Ces::V1beta::ApiKeyConfig) — Optional. Config for API key auth.

    Note: The following fields are mutually exclusive: api_key_config, oauth_config, service_agent_id_token_auth_config, service_account_auth_config, bearer_token_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::Ces::V1beta::ApiKeyConfig
Parameter
  • value (::Google::Cloud::Ces::V1beta::ApiKeyConfig) — Optional. Config for API key auth.

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

Returns
  • (::Google::Cloud::Ces::V1beta::ApiKeyConfig) — Optional. Config for API key auth.

    Note: The following fields are mutually exclusive: api_key_config, oauth_config, service_agent_id_token_auth_config, service_account_auth_config, bearer_token_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::Ces::V1beta::BearerTokenConfig
Returns
  • (::Google::Cloud::Ces::V1beta::BearerTokenConfig) — Optional. Config for bearer token auth.

    Note: The following fields are mutually exclusive: bearer_token_config, api_key_config, oauth_config, service_agent_id_token_auth_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=(value) -> ::Google::Cloud::Ces::V1beta::BearerTokenConfig
Parameter
  • value (::Google::Cloud::Ces::V1beta::BearerTokenConfig) — Optional. Config for bearer token auth.

    Note: The following fields are mutually exclusive: bearer_token_config, api_key_config, oauth_config, service_agent_id_token_auth_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::Ces::V1beta::BearerTokenConfig) — Optional. Config for bearer token auth.

    Note: The following fields are mutually exclusive: bearer_token_config, api_key_config, oauth_config, service_agent_id_token_auth_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() -> ::Google::Cloud::Ces::V1beta::OAuthConfig
Returns
  • (::Google::Cloud::Ces::V1beta::OAuthConfig) — Optional. Config for OAuth.

    Note: The following fields are mutually exclusive: oauth_config, api_key_config, service_agent_id_token_auth_config, service_account_auth_config, bearer_token_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::Ces::V1beta::OAuthConfig
Parameter
  • value (::Google::Cloud::Ces::V1beta::OAuthConfig) — Optional. Config for OAuth.

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

Returns
  • (::Google::Cloud::Ces::V1beta::OAuthConfig) — Optional. Config for OAuth.

    Note: The following fields are mutually exclusive: oauth_config, api_key_config, service_agent_id_token_auth_config, service_account_auth_config, bearer_token_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::Ces::V1beta::ServiceAccountAuthConfig
Returns
  • (::Google::Cloud::Ces::V1beta::ServiceAccountAuthConfig) — Optional. Config for service account authentication.

    Note: The following fields are mutually exclusive: service_account_auth_config, api_key_config, oauth_config, service_agent_id_token_auth_config, bearer_token_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=(value) -> ::Google::Cloud::Ces::V1beta::ServiceAccountAuthConfig
Parameter
  • value (::Google::Cloud::Ces::V1beta::ServiceAccountAuthConfig) — Optional. Config for service account authentication.

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

Returns
  • (::Google::Cloud::Ces::V1beta::ServiceAccountAuthConfig) — Optional. Config for service account authentication.

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

#service_agent_id_token_auth_config

def service_agent_id_token_auth_config() -> ::Google::Cloud::Ces::V1beta::ServiceAgentIdTokenAuthConfig
Returns
  • (::Google::Cloud::Ces::V1beta::ServiceAgentIdTokenAuthConfig) — Optional. Config for ID token auth generated from CES service agent.

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

#service_agent_id_token_auth_config=

def service_agent_id_token_auth_config=(value) -> ::Google::Cloud::Ces::V1beta::ServiceAgentIdTokenAuthConfig
Parameter
  • value (::Google::Cloud::Ces::V1beta::ServiceAgentIdTokenAuthConfig) — Optional. Config for ID token auth generated from CES service agent.

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

Returns
  • (::Google::Cloud::Ces::V1beta::ServiceAgentIdTokenAuthConfig) — Optional. Config for ID token auth generated from CES service agent.

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