Class: Google::Apis::AndroidmanagementV1::ProvisioningInfo
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ProvisioningInfo
- 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 about a device that is available during setup.
Instance Attribute Summary collapse
-
#api_level ⇒ Fixnum
The API level of the Android platform version running on the device.
-
#brand ⇒ String
The brand of the device.
-
#enterprise ⇒ String
The name of the enterprise in the form enterprises/
enterprise. -
#management_mode ⇒ String
The management mode of the device or profile.
-
#model ⇒ String
The model of the device.
-
#name ⇒ String
The name of this resource in the form provisioningInfo/
provisioning_info. -
#ownership ⇒ String
Ownership of the managed device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProvisioningInfo
constructor
A new instance of ProvisioningInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProvisioningInfo
Returns a new instance of ProvisioningInfo.
4745 4746 4747 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_level ⇒ Fixnum
The API level of the Android platform version running on the device.
Corresponds to the JSON property apiLevel
4713 4714 4715 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4713 def api_level @api_level end |
#brand ⇒ String
The brand of the device. For example, Google.
Corresponds to the JSON property brand
4718 4719 4720 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4718 def brand @brand end |
#enterprise ⇒ String
The name of the enterprise in the form enterprises/enterprise.
Corresponds to the JSON property enterprise
4723 4724 4725 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4723 def enterprise @enterprise end |
#management_mode ⇒ String
The management mode of the device or profile.
Corresponds to the JSON property managementMode
4728 4729 4730 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4728 def management_mode @management_mode end |
#model ⇒ String
The model of the device. For example, Asus Nexus 7.
Corresponds to the JSON property model
4733 4734 4735 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4733 def model @model end |
#name ⇒ String
The name of this resource in the form provisioningInfo/provisioning_info.
Corresponds to the JSON property name
4738 4739 4740 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4738 def name @name end |
#ownership ⇒ String
Ownership of the managed device.
Corresponds to the JSON property ownership
4743 4744 4745 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4743 def ownership @ownership end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4750 4751 4752 4753 4754 4755 4756 4757 4758 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4750 def update!(**args) @api_level = args[:api_level] if args.key?(:api_level) @brand = args[:brand] if args.key?(:brand) @enterprise = args[:enterprise] if args.key?(:enterprise) @management_mode = args[:management_mode] if args.key?(:management_mode) @model = args[:model] if args.key?(:model) @name = args[:name] if args.key?(:name) @ownership = args[:ownership] if args.key?(:ownership) end |