Class: Google::Apis::AndroidenterpriseV1::ListDevicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ListDevicesResponse
- 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
-
#device ⇒ Array<Google::Apis::AndroidenterpriseV1::Device>
A managed device.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDevicesResponse
constructor
A new instance of ListDevicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListDevicesResponse
Returns a new instance of ListDevicesResponse
736 737 738 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device ⇒ Array<Google::Apis::AndroidenterpriseV1::Device>
A managed device.
Corresponds to the JSON property device
728 729 730 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 728 def device @device end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#devicesListResponse".
Corresponds to the JSON property kind
734 735 736 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 734 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
741 742 743 744 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 741 def update!(**args) @device = args[:device] if args.key?(:device) @kind = args[:kind] if args.key?(:kind) end |