Class: Google::Apis::IamV1::AccessRestrictions
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::AccessRestrictions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Access related restrictions on the workforce pool.
Instance Attribute Summary collapse
-
#allowed_services ⇒ Array<Google::Apis::IamV1::ServiceConfig>
Optional.
-
#disable_programmatic_signin ⇒ Boolean
(also: #disable_programmatic_signin?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessRestrictions
constructor
A new instance of AccessRestrictions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessRestrictions
Returns a new instance of AccessRestrictions.
43 44 45 |
# File 'lib/google/apis/iam_v1/classes.rb', line 43 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_services ⇒ Array<Google::Apis::IamV1::ServiceConfig>
Optional. Immutable. Services allowed for web sign-in with the workforce pool.
If not set by default there are no restrictions.
Corresponds to the JSON property allowedServices
33 34 35 |
# File 'lib/google/apis/iam_v1/classes.rb', line 33 def allowed_services @allowed_services end |
#disable_programmatic_signin ⇒ Boolean Also known as: disable_programmatic_signin?
Optional. Disable programmatic sign-in by disabling token issue via the
Security Token API endpoint. See Security Token Service API.
Corresponds to the JSON property disableProgrammaticSignin
40 41 42 |
# File 'lib/google/apis/iam_v1/classes.rb', line 40 def disable_programmatic_signin @disable_programmatic_signin end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
48 49 50 51 |
# File 'lib/google/apis/iam_v1/classes.rb', line 48 def update!(**args) @allowed_services = args[:allowed_services] if args.key?(:allowed_services) @disable_programmatic_signin = args[:disable_programmatic_signin] if args.key?(:disable_programmatic_signin) end |