Class: Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Overview
The Android Device Policy configuration of an enterprise.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#state ⇒ String
The state of Android Device Policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidDevicePolicyConfig
constructor
A new instance of AndroidDevicePolicyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidDevicePolicyConfig
Returns a new instance of AndroidDevicePolicyConfig
126 127 128 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#androidDevicePolicyConfig".
Corresponds to the JSON property kind
117 118 119 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 117 def kind @kind end |
#state ⇒ String
The state of Android Device Policy. "enabled" indicates that Android Device
Policy is enabled for the enterprise and the EMM is allowed to manage devices
with Android Device Policy, while "disabled" means that it cannot.
Corresponds to the JSON property state
124 125 126 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 124 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 131 def update!(**args) @kind = args[:kind] if args.key?(:kind) @state = args[:state] if args.key?(:state) end |