Class: Google::Apis::AndroidmanagementV1::ProvisioningInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProvisioningInfo

Returns a new instance of ProvisioningInfo.



5153
5154
5155
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#api_levelFixnum

The API level of the Android platform version running on the device. Corresponds to the JSON property apiLevel

Returns:

  • (Fixnum)


5098
5099
5100
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5098

def api_level
  @api_level
end

#authenticated_user_emailString

The email address of the authenticated user (only present for Google Account provisioning method). Corresponds to the JSON property authenticatedUserEmail

Returns:

  • (String)


5104
5105
5106
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5104

def authenticated_user_email
  @authenticated_user_email
end

#brandString

The brand of the device. For example, Google. Corresponds to the JSON property brand

Returns:

  • (String)


5109
5110
5111
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5109

def brand
  @brand
end

#enterpriseString

The name of the enterprise in the form enterprises/enterprise. Corresponds to the JSON property enterprise

Returns:

  • (String)


5114
5115
5116
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5114

def enterprise
  @enterprise
end

#imeiString

For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212. Corresponds to the JSON property imei

Returns:

  • (String)


5120
5121
5122
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5120

def imei
  @imei
end

#management_modeString

The management mode of the device or profile. Corresponds to the JSON property managementMode

Returns:

  • (String)


5125
5126
5127
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5125

def management_mode
  @management_mode
end

#meidString

For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1. Corresponds to the JSON property meid

Returns:

  • (String)


5131
5132
5133
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5131

def meid
  @meid
end

#modelString

The model of the device. For example, Asus Nexus 7. Corresponds to the JSON property model

Returns:

  • (String)


5136
5137
5138
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5136

def model
  @model
end

#nameString

The name of this resource in the form provisioningInfo/provisioning_info. Corresponds to the JSON property name

Returns:

  • (String)


5141
5142
5143
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5141

def name
  @name
end

#ownershipString

Ownership of the managed device. Corresponds to the JSON property ownership

Returns:

  • (String)


5146
5147
5148
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5146

def ownership
  @ownership
end

#serial_numberString

For corporate-owned devices, The device serial number. Corresponds to the JSON property serialNumber

Returns:

  • (String)


5151
5152
5153
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5151

def serial_number
  @serial_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 5158

def update!(**args)
  @api_level = args[:api_level] if args.key?(:api_level)
  @authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
  @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