Reference documentation and code samples for the Google Cloud Agent Registry V1 Client class AuthProviderBinding.
The AuthProvider of the Binding.
Generated from protobuf message google.cloud.agentregistry.v1.Binding.AuthProviderBinding
Namespace
Google \ Cloud \ AgentRegistry \ V1 \ BindingMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ auth_provider |
string
Required. The resource name of the target AuthProvider. Format: * * |
↳ scopes |
string[]
Optional. The list of OAuth2 scopes of the AuthProvider. |
↳ continue_uri |
string
Optional. The continue URI of the AuthProvider. The URI is used to reauthenticate the user and finalize the managed OAuth flow. |
getAuthProvider
Required. The resource name of the target AuthProvider.
Format:
projects/{project}/locations/{location}/authProviders/{auth_provider}
| Returns | |
|---|---|
| Type | Description |
string |
|
setAuthProvider
Required. The resource name of the target AuthProvider.
Format:
projects/{project}/locations/{location}/authProviders/{auth_provider}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScopes
Optional. The list of OAuth2 scopes of the AuthProvider.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setScopes
Optional. The list of OAuth2 scopes of the AuthProvider.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContinueUri
Optional. The continue URI of the AuthProvider.
The URI is used to reauthenticate the user and finalize the managed OAuth flow.
| Returns | |
|---|---|
| Type | Description |
string |
|
setContinueUri
Optional. The continue URI of the AuthProvider.
The URI is used to reauthenticate the user and finalize the managed OAuth flow.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|