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. -
#imei ⇒ String
For corporate-owned devices, IMEI number of the GSM device.
-
#management_mode ⇒ String
The management mode of the device or profile.
-
#meid ⇒ String
For corporate-owned devices, MEID number of the CDMA device.
-
#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.
-
#serial_number ⇒ String
For corporate-owned devices, The device serial number.
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.
5046 5047 5048 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5046 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
4997 4998 4999 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4997 def api_level @api_level end |
#brand ⇒ String
The brand of the device. For example, Google.
Corresponds to the JSON property brand
5002 5003 5004 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5002 def brand @brand end |
#enterprise ⇒ String
The name of the enterprise in the form enterprises/enterprise.
Corresponds to the JSON property enterprise
5007 5008 5009 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5007 def enterprise @enterprise end |
#imei ⇒ String
For corporate-owned devices, IMEI number of the GSM device. For example,
A1000031212.
Corresponds to the JSON property imei
5013 5014 5015 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5013 def imei @imei end |
#management_mode ⇒ String
The management mode of the device or profile.
Corresponds to the JSON property managementMode
5018 5019 5020 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5018 def management_mode @management_mode end |
#meid ⇒ String
For corporate-owned devices, MEID number of the CDMA device. For example,
A00000292788E1.
Corresponds to the JSON property meid
5024 5025 5026 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5024 def meid @meid end |
#model ⇒ String
The model of the device. For example, Asus Nexus 7.
Corresponds to the JSON property model
5029 5030 5031 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5029 def model @model end |
#name ⇒ String
The name of this resource in the form provisioningInfo/provisioning_info.
Corresponds to the JSON property name
5034 5035 5036 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5034 def name @name end |
#ownership ⇒ String
Ownership of the managed device.
Corresponds to the JSON property ownership
5039 5040 5041 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5039 def ownership @ownership end |
#serial_number ⇒ String
For corporate-owned devices, The device serial number.
Corresponds to the JSON property serialNumber
5044 5045 5046 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5044 def serial_number @serial_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5051 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) @imei = args[:imei] if args.key?(:imei) @management_mode = args[:management_mode] if args.key?(:management_mode) @meid = args[:meid] if args.key?(:meid) @model = args[:model] if args.key?(:model) @name = args[:name] if args.key?(:name) @ownership = args[:ownership] if args.key?(:ownership) @serial_number = args[:serial_number] if args.key?(:serial_number) end |