Class: Google::Apis::AndroidenterpriseV1::ListDevicesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb

Overview

The device resources for the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListDevicesResponse

Returns a new instance of ListDevicesResponse.


583
584
585
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 583

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

Instance Attribute Details

#deviceArray<Google::Apis::AndroidenterpriseV1::Device>

A managed device. Corresponds to the JSON property device


575
576
577
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 575

def device
  @device
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " androidenterprise#devicesListResponse". Corresponds to the JSON property kind

Returns:

  • (String)

581
582
583
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 581

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


588
589
590
591
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 588

def update!(**args)
  @device = args[:device] if args.key?(:device)
  @kind = args[:kind] if args.key?(:kind)
end