Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#oauth2
defoauth2()->::Google::Cloud::Iap::V1::OAuth2
Returns
(::Google::Cloud::Iap::V1::OAuth2) — OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity
federation services.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::WorkforceIdentitySettings (v1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [1.4.0](/ruby/docs/reference/google-cloud-iap-v1/1.4.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [1.3.1](/ruby/docs/reference/google-cloud-iap-v1/1.3.1/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [1.2.0](/ruby/docs/reference/google-cloud-iap-v1/1.2.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [1.1.0](/ruby/docs/reference/google-cloud-iap-v1/1.1.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [1.0.1](/ruby/docs/reference/google-cloud-iap-v1/1.0.1/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.12.0](/ruby/docs/reference/google-cloud-iap-v1/0.12.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.11.2](/ruby/docs/reference/google-cloud-iap-v1/0.11.2/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.10.1](/ruby/docs/reference/google-cloud-iap-v1/0.10.1/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.9.0](/ruby/docs/reference/google-cloud-iap-v1/0.9.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.8.1](/ruby/docs/reference/google-cloud-iap-v1/0.8.1/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.7.0](/ruby/docs/reference/google-cloud-iap-v1/0.7.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.6.0](/ruby/docs/reference/google-cloud-iap-v1/0.6.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.5.0](/ruby/docs/reference/google-cloud-iap-v1/0.5.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.4.0](/ruby/docs/reference/google-cloud-iap-v1/0.4.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.3.0](/ruby/docs/reference/google-cloud-iap-v1/0.3.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.2.0](/ruby/docs/reference/google-cloud-iap-v1/0.2.0/Google-Cloud-Iap-V1-WorkforceIdentitySettings)\n- [0.1.3](/ruby/docs/reference/google-cloud-iap-v1/0.1.3/Google-Cloud-Iap-V1-WorkforceIdentitySettings) \nReference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::WorkforceIdentitySettings.\n\nWorkforceIdentitySettings allows customers to configure workforce pools and\nOAuth 2.0 settings to gate their applications using a third-party IdP with\naccess control. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #oauth2\n\n def oauth2() -\u003e ::Google::Cloud::Iap::V1::OAuth2\n\n**Returns**\n\n- ([::Google::Cloud::Iap::V1::OAuth2](./Google-Cloud-Iap-V1-OAuth2)) --- OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.\n\n### #oauth2=\n\n def oauth2=(value) -\u003e ::Google::Cloud::Iap::V1::OAuth2\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Iap::V1::OAuth2](./Google-Cloud-Iap-V1-OAuth2)) --- OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services. \n**Returns**\n\n- ([::Google::Cloud::Iap::V1::OAuth2](./Google-Cloud-Iap-V1-OAuth2)) --- OAuth 2.0 settings for IAP to perform OIDC flow with workforce identity federation services.\n\n### #workforce_pools\n\n def workforce_pools() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- The workforce pool resources. Only one workforce pool is accepted.\n\n### #workforce_pools=\n\n def workforce_pools=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- The workforce pool resources. Only one workforce pool is accepted. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- The workforce pool resources. Only one workforce pool is accepted."]]