Class: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAuthenticationSettings

Returns a new instance of GoogleAuthenticationSettings.



1097
1098
1099
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1097

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dedicated_devices_allowedString

Whether dedicated devices are allowed. Corresponds to the JSON property dedicatedDevicesAllowed

Returns:

  • (String)


1090
1091
1092
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1090

def dedicated_devices_allowed
  @dedicated_devices_allowed
end

#google_authentication_requiredString

Whether Google authentication is required. Corresponds to the JSON property googleAuthenticationRequired

Returns:

  • (String)


1095
1096
1097
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1095

def google_authentication_required
  @google_authentication_required
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
1105
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 1102

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