class Google::Apis::AndroidmanagementV1::PersonalUsagePolicies
Policies controlling personal usage on a company-owned device with a work profile.
Attributes
Account types that can't be managed by the user. Corresponds to the JSON property `accountTypesWithManagementDisabled` @return [Array<String>]
Whether camera is disabled. Corresponds to the JSON property `cameraDisabled` @return [Boolean]
Whether camera is disabled. Corresponds to the JSON property `cameraDisabled` @return [Boolean]
Controls how long the work profile can stay off. The duration must be at least 3 days. Corresponds to the JSON property `maxDaysWithWorkOff` @return [Fixnum]
Policy
applied to applications in the personal profile. Corresponds to the JSON property `personalApplications` @return [Array<Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy>]
Used together with personalApplications to control how apps in the personal profile are allowed or blocked. Corresponds to the JSON property `personalPlayStoreMode` @return [String]
Whether screen capture is disabled. Corresponds to the JSON property `screenCaptureDisabled` @return [Boolean]
Whether screen capture is disabled. Corresponds to the JSON property `screenCaptureDisabled` @return [Boolean]
Public Class Methods
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2603 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2608 def update!(**args) @account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled) @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled) @max_days_with_work_off = args[:max_days_with_work_off] if args.key?(:max_days_with_work_off) @personal_applications = args[:personal_applications] if args.key?(:personal_applications) @personal_play_store_mode = args[:personal_play_store_mode] if args.key?(:personal_play_store_mode) @screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled) end