Google Cloud Developer Connect V1 Client - Class BearerTokenAuthentication (0.6.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class BearerTokenAuthentication.

Bearer token authentication with a token.

Generated from protobuf message google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication

Namespace

Google \ Cloud \ DeveloperConnect \ V1 \ GenericHTTPEndpointConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ token_secret_version string

Optional. The token SecretManager secret version to authenticate as.

getTokenSecretVersion

Optional. The token SecretManager secret version to authenticate as.

Returns
Type Description
string

hasTokenSecretVersion

setTokenSecretVersion

Optional. The token SecretManager secret version to authenticate as.

Parameter
Name Description
var string
Returns
Type Description
$this

getToken

Returns
Type Description
string