Class: Google::Apis::AndroiddeviceprovisioningV1::Dpc
- Inherits:
-
Object
- Object
- Google::Apis::AndroiddeviceprovisioningV1::Dpc
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androiddeviceprovisioning_v1/classes.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb,
generated/google/apis/androiddeviceprovisioning_v1/representations.rb
Overview
An EMM's DPC (device policy
controller).
Zero-touch enrollment installs a DPC (listed in the Configuration
) on a
device to maintain the customer's mobile policies. All the DPCs listed by the
API support zero-touch enrollment and are available in Google Play.
Instance Attribute Summary collapse
-
#dpc_name ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#package_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dpc
constructor
A new instance of Dpc.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Dpc
Returns a new instance of Dpc
762 763 764 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dpc_name ⇒ String
Output only. The title of the DPC app in Google Play. For example, Google
Apps Device Policy. Useful in an application's user interface.
Corresponds to the JSON property dpcName
745 746 747 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 745 def dpc_name @dpc_name end |
#name ⇒ String
Output only. The API resource name in the format
customers/[CUSTOMER_ID]/dpcs/[DPC_ID]
. Assigned by
the server. To maintain a reference to a DPC across customer accounts,
persist and match the last path component (DPC_ID
).
Corresponds to the JSON property name
753 754 755 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 753 def name @name end |
#package_name ⇒ String
Output only. The DPC's Android application ID that looks like a Java
package name. Zero-touch enrollment installs the DPC app onto a device
using this identifier.
Corresponds to the JSON property packageName
760 761 762 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 760 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
767 768 769 770 771 |
# File 'generated/google/apis/androiddeviceprovisioning_v1/classes.rb', line 767 def update!(**args) @dpc_name = args[:dpc_name] if args.key?(:dpc_name) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) end |