Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class SecretBased.
The name of the secret containing the access token.
Represents secret-based OAuth credentials.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.OAuthCredentials.SecretBased
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1beta \ OAuthCredentialsMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ client_id |
string
Required. An OAuth client ID. |
↳ client_secret |
string
Required. An OAuth client secret. |
getClientId
Required. An OAuth client ID.
Returns | |
---|---|
Type | Description |
string |
setClientId
Required. An OAuth client ID.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getClientSecret
Required. An OAuth client secret.
Returns | |
---|---|
Type | Description |
string |
setClientSecret
Required. An OAuth client secret.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |