Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class TokenBased.
Read more about Looker access tokens here: https://developers.looker.com/api/advanced-usage/looker-api-oauth
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.OAuthCredentials.TokenBased
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1beta \ OAuthCredentialsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ access_token |
string
Required. The name of the secret containing the access token. |
getAccessToken
Required. The name of the secret containing the access token.
Returns | |
---|---|
Type | Description |
string |
setAccessToken
Required. The name of the secret containing the access token.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |