class Google::Apis::CloudidentityV1beta1::AndroidAttributes

Resource representing the Android specific attributes of a Device.

Attributes

enabled_unknown_sources[RW]

Whether applications from unknown sources can be installed on device. Corresponds to the JSON property `enabledUnknownSources` @return [Boolean]

enabled_unknown_sources?[RW]

Whether applications from unknown sources can be installed on device. Corresponds to the JSON property `enabledUnknownSources` @return [Boolean]

owner_profile_account[RW]

Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. Corresponds to the JSON property `ownerProfileAccount` @return [Boolean]

owner_profile_account?[RW]

Whether this account is on an owner/primary profile. For phones, only true for owner profiles. Android 4+ devices can have secondary or restricted user profiles. Corresponds to the JSON property `ownerProfileAccount` @return [Boolean]

ownership_privilege[RW]

Ownership privileges on device. Corresponds to the JSON property `ownershipPrivilege` @return [String]

supports_work_profile[RW]

Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the “Enforce Work Profile” policy. Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]

supports_work_profile?[RW]

Whether device supports Android work profiles. If false, this service will not block access to corp data even if an administrator turns on the “Enforce Work Profile” policy. Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 56
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 61
def update!(**args)
  @enabled_unknown_sources = args[:enabled_unknown_sources] if args.key?(:enabled_unknown_sources)
  @owner_profile_account = args[:owner_profile_account] if args.key?(:owner_profile_account)
  @ownership_privilege = args[:ownership_privilege] if args.key?(:ownership_privilege)
  @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)
end