View Source GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies (google_api_android_management v0.57.0)

Policies controlling personal usage on a company-owned device with a work profile.

Attributes

  • accountTypesWithManagementDisabled (type: list(String.t), default: nil) - Account types that can't be managed by the user.
  • cameraDisabled (type: boolean(), default: nil) - If true, the camera is disabled on the personal profile.
  • maxDaysWithWorkOff (type: integer(), default: nil) - Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. Note: If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.
  • personalApplications (type: list(GoogleApi.AndroidManagement.V1.Model.PersonalApplicationPolicy.t), default: nil) - Policy applied to applications in the personal profile.
  • personalPlayStoreMode (type: String.t, default: nil) - Used together with personalApplications to control how apps in the personal profile are allowed or blocked.
  • privateSpacePolicy (type: String.t, default: nil) - Optional. Controls whether a private space is allowed on the device.
  • screenCaptureDisabled (type: boolean(), default: nil) - If true, screen capture is disabled for all users.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies{
  accountTypesWithManagementDisabled: [String.t()] | nil,
  cameraDisabled: boolean() | nil,
  maxDaysWithWorkOff: integer() | nil,
  personalApplications:
    [GoogleApi.AndroidManagement.V1.Model.PersonalApplicationPolicy.t()] | nil,
  personalPlayStoreMode: String.t() | nil,
  privateSpacePolicy: String.t() | nil,
  screenCaptureDisabled: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.