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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDevicesResponse

Returns a new instance of ListDevicesResponse.



868
869
870
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 868

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

Instance Attribute Details

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

A managed device. Corresponds to the JSON property device



866
867
868
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 866

def device
  @device
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



873
874
875
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 873

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