Reference documentation and code samples for the Google Cloud Iap V1 Client class WorkforceIdentitySettings.
WorkforceIdentitySettings allows customers to configure workforce pools and OAuth 2.0 settings to gate their applications using a third-party IdP with access control.
Generated from protobuf message google.cloud.iap.v1.WorkforceIdentitySettings
Namespace
Google \ Cloud \ Iap \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ workforce_pools |
array
The workforce pool resources. Only one workforce pool is accepted. |
↳ oauth2 |
OAuth2
OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services. |
getWorkforcePools
The workforce pool resources. Only one workforce pool is accepted.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setWorkforcePools
The workforce pool resources. Only one workforce pool is accepted.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOauth2
OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
| Returns | |
|---|---|
| Type | Description |
OAuth2|null |
|
hasOauth2
clearOauth2
setOauth2
OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.
| Parameter | |
|---|---|
| Name | Description |
var |
OAuth2
|
| Returns | |
|---|---|
| Type | Description |
$this |
|