google_api_android_management v0.10.0 GoogleApi.AndroidManagement.V1.Model.PolicyEnforcementRule View Source
A rule that defines the actions to take if a device or work profile is not compliant with the policy specified in settingName.
Attributes
blockAction
(type:GoogleApi.AndroidManagement.V1.Model.BlockAction.t
, default:nil
) - An action to block access to apps and data on a fully managed device or in a work profile. This action also triggers a user-facing notification with information (where possible) on how to correct the compliance issue. Note: wipeAction must also be specified.settingName
(type:String.t
, default:nil
) - The top-level policy to enforce. For example, applications or passwordPolicies.wipeAction
(type:GoogleApi.AndroidManagement.V1.Model.WipeAction.t
, default:nil
) - An action to reset a fully managed device or delete a work profile. Note: blockAction must also be specified.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.AndroidManagement.V1.Model.PolicyEnforcementRule{
blockAction: GoogleApi.AndroidManagement.V1.Model.BlockAction.t(),
settingName: String.t(),
wipeAction: GoogleApi.AndroidManagement.V1.Model.WipeAction.t()
}
t() :: %GoogleApi.AndroidManagement.V1.Model.PolicyEnforcementRule{ blockAction: GoogleApi.AndroidManagement.V1.Model.BlockAction.t(), settingName: String.t(), wipeAction: GoogleApi.AndroidManagement.V1.Model.WipeAction.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.