Class: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb
Overview
Contains settings for Google-provided user authentication.
Instance Attribute Summary collapse
-
#dedicated_devices_allowed ⇒ String
Whether dedicated devices are allowed.
-
#google_authentication_required ⇒ String
Whether Google authentication is required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAuthenticationSettings
constructor
A new instance of GoogleAuthenticationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAuthenticationSettings
Returns a new instance of GoogleAuthenticationSettings.
1122 1123 1124 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1122 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dedicated_devices_allowed ⇒ String
Whether dedicated devices are allowed.
Corresponds to the JSON property dedicatedDevicesAllowed
1115 1116 1117 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1115 def dedicated_devices_allowed @dedicated_devices_allowed end |
#google_authentication_required ⇒ String
Whether Google authentication is required.
Corresponds to the JSON property googleAuthenticationRequired
1120 1121 1122 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1120 def google_authentication_required @google_authentication_required end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1127 1128 1129 1130 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1127 def update!(**args) @dedicated_devices_allowed = args[:dedicated_devices_allowed] if args.key?(:dedicated_devices_allowed) @google_authentication_required = args[:google_authentication_required] if args.key?(:google_authentication_required) end |