Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ClientCredentialsOAuthFlow.
ClientCredentialsOAuthFlow defines a client credentials OAuth flow.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ClientCredentialsOAuthFlow
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ token_url |
string
Optional. The token URL to be used for this flow. |
↳ refresh_url |
string
Optional. The URL to be used for obtaining refresh tokens. |
↳ scopes |
array|Google\Protobuf\Internal\MapField
The available scopes for the OAuth2 security scheme. |
getTokenUrl
Optional. The token URL to be used for this flow.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTokenUrl
Optional. The token URL to be used for this flow.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRefreshUrl
Optional. The URL to be used for obtaining refresh tokens.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRefreshUrl
Optional. The URL to be used for obtaining refresh tokens.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScopes
The available scopes for the OAuth2 security scheme.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setScopes
The available scopes for the OAuth2 security scheme.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|