Class: Google::Apis::IapV1::WorkforceIdentitySettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::WorkforceIdentitySettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/google/apis/iap_v1/representations.rb
Overview
WorkforceIdentitySettings allows customers to configure workforce pools and OAuth 2.0 settings to gate their applications using a third-party IdP with access control.
Instance Attribute Summary collapse
-
#oauth2 ⇒ Google::Apis::IapV1::OAuth2
The OAuth 2.0 Settings Corresponds to the JSON property
oauth2
. -
#workforce_pools ⇒ Array<String>
The workforce pool resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkforceIdentitySettings
constructor
A new instance of WorkforceIdentitySettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkforceIdentitySettings
Returns a new instance of WorkforceIdentitySettings.
1362 1363 1364 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1362 def initialize(**args) update!(**args) end |
Instance Attribute Details
#oauth2 ⇒ Google::Apis::IapV1::OAuth2
The OAuth 2.0 Settings
Corresponds to the JSON property oauth2
1355 1356 1357 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1355 def oauth2 @oauth2 end |
#workforce_pools ⇒ Array<String>
The workforce pool resources. Only one workforce pool is accepted.
Corresponds to the JSON property workforcePools
1360 1361 1362 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1360 def workforce_pools @workforce_pools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1367 1368 1369 1370 |
# File 'lib/google/apis/iap_v1/classes.rb', line 1367 def update!(**args) @oauth2 = args[:oauth2] if args.key?(:oauth2) @workforce_pools = args[:workforce_pools] if args.key?(:workforce_pools) end |