Google Cloud Ces V1 Client - Class ApiAuthentication (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class ApiAuthentication.

Authentication information required for API calls.

Generated from protobuf message google.cloud.ces.v1.ApiAuthentication

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ api_key_config
ApiKeyConfig

Optional. Config for API key auth.

↳ oauth_config
OAuthConfig

Optional. Config for OAuth.

↳ service_agent_id_token_auth_config
ServiceAgentIdTokenAuthConfig

Optional. Config for ID token auth generated from CES service agent.

↳ service_account_auth_config
ServiceAccountAuthConfig

Optional. Config for service account authentication.

↳ bearer_token_config
BearerTokenConfig

Optional. Config for bearer token auth.

getApiKeyConfig

Optional. Config for API key auth.

Returns
Type
Description
ApiKeyConfig |null

hasApiKeyConfig

setApiKeyConfig

Optional. Config for API key auth.

Parameter
Name
Description
Returns
Type
Description
$this

getOauthConfig

Optional. Config for OAuth.

Returns
Type
Description
OAuthConfig |null

hasOauthConfig

setOauthConfig

Optional. Config for OAuth.

Parameter
Name
Description
Returns
Type
Description
$this

getServiceAgentIdTokenAuthConfig

Optional. Config for ID token auth generated from CES service agent.

Returns
Type
Description

hasServiceAgentIdTokenAuthConfig

setServiceAgentIdTokenAuthConfig

Optional. Config for ID token auth generated from CES service agent.

Parameter
Name
Description
Returns
Type
Description
$this

getServiceAccountAuthConfig

Optional. Config for service account authentication.

Returns
Type
Description

hasServiceAccountAuthConfig

setServiceAccountAuthConfig

Optional. Config for service account authentication.

Parameter
Name
Description
Returns
Type
Description
$this

getBearerTokenConfig

Optional. Config for bearer token auth.

Returns
Type
Description

hasBearerTokenConfig

setBearerTokenConfig

Optional. Config for bearer token auth.

Parameter
Name
Description
Returns
Type
Description
$this

getAuthConfig

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: