Reference documentation and code samples for the Google Cloud Ces V1 Client class BearerTokenConfig.
Configurations for authentication with a bearer token.
Generated from protobuf message google.cloud.ces.v1.BearerTokenConfig
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ token |
string
Required. The bearer token. Must be in the format |
getToken
Required. The bearer token.
Must be in the format $context.variables.<name_of_variable>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setToken
Required. The bearer token.
Must be in the format $context.variables.<name_of_variable>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|