Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class OAuthFlows.
OAuthFlows contains configuration information for supported OAuth flows.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.OAuthFlows
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ authorization_code |
AuthorizationCodeOAuthFlow
Authorization code flow. |
↳ client_credentials |
ClientCredentialsOAuthFlow
Client credentials flow. |
↳ implicit |
ImplicitOAuthFlow
Implicit flow. |
↳ password |
PasswordOAuthFlow
Resource owner password credentials flow. |
getAuthorizationCode
Authorization code flow.
| Returns | |
|---|---|
| Type | Description |
AuthorizationCodeOAuthFlow|null |
|
hasAuthorizationCode
setAuthorizationCode
Authorization code flow.
| Parameter | |
|---|---|
| Name | Description |
var |
AuthorizationCodeOAuthFlow
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getClientCredentials
Client credentials flow.
| Returns | |
|---|---|
| Type | Description |
ClientCredentialsOAuthFlow|null |
|
hasClientCredentials
setClientCredentials
Client credentials flow.
| Parameter | |
|---|---|
| Name | Description |
var |
ClientCredentialsOAuthFlow
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImplicit
Implicit flow.
| Returns | |
|---|---|
| Type | Description |
ImplicitOAuthFlow|null |
|
hasImplicit
setImplicit
Implicit flow.
| Parameter | |
|---|---|
| Name | Description |
var |
ImplicitOAuthFlow
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPassword
Resource owner password credentials flow.
| Returns | |
|---|---|
| Type | Description |
PasswordOAuthFlow|null |
|
hasPassword
setPassword
Resource owner password credentials flow.
| Parameter | |
|---|---|
| Name | Description |
var |
PasswordOAuthFlow
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFlow
| Returns | |
|---|---|
| Type | Description |
string |
|