Class: Google::Apis::AndroidmanagementV1::DpcMigrationInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::DpcMigrationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
Information related to whether this device was migrated from being managed by another Device Policy Controller (DPC).
Instance Attribute Summary collapse
-
#additional_data ⇒ String
Output only.
-
#previous_dpc ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DpcMigrationInfo
constructor
A new instance of DpcMigrationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DpcMigrationInfo
Returns a new instance of DpcMigrationInfo.
2087 2088 2089 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2087 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_data ⇒ String
Output only. If this device was migrated from another DPC, the additionalData
field of the migration token is populated here.
Corresponds to the JSON property additionalData
2079 2080 2081 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2079 def additional_data @additional_data end |
#previous_dpc ⇒ String
Output only. If this device was migrated from another DPC, this is its package
name. Not populated otherwise.
Corresponds to the JSON property previousDpc
2085 2086 2087 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2085 def previous_dpc @previous_dpc end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2092 2093 2094 2095 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2092 def update!(**args) @additional_data = args[:additional_data] if args.key?(:additional_data) @previous_dpc = args[:previous_dpc] if args.key?(:previous_dpc) end |