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.



4771
4772
4773
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4771

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)


4739
4740
4741
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4739

def api_level
  @api_level
end

#brandString

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

Returns:

  • (String)


4744
4745
4746
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4744

def brand
  @brand
end

#enterpriseString

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

Returns:

  • (String)


4749
4750
4751
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4749

def enterprise
  @enterprise
end

#management_modeString

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

Returns:

  • (String)


4754
4755
4756
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4754

def management_mode
  @management_mode
end

#modelString

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

Returns:

  • (String)


4759
4760
4761
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4759

def model
  @model
end

#nameString

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

Returns:

  • (String)


4764
4765
4766
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4764

def name
  @name
end

#ownershipString

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

Returns:

  • (String)


4769
4770
4771
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4769

def ownership
  @ownership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4776
4777
4778
4779
4780
4781
4782
4783
4784
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4776

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