Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListDevicesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/smartdevicemanagement_v1/classes.rb,
generated/google/apis/smartdevicemanagement_v1/representations.rb,
generated/google/apis/smartdevicemanagement_v1/representations.rb
Overview
Response message for SmartDeviceManagementService.ListDevices
Instance Attribute Summary collapse
-
#devices ⇒ Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device>
The list of devices.
-
#next_page_token ⇒ String
The pagination token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListDevicesResponse
constructor
A new instance of GoogleHomeEnterpriseSdmV1ListDevicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListDevicesResponse
Returns a new instance of GoogleHomeEnterpriseSdmV1ListDevicesResponse.
126 127 128 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#devices ⇒ Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Device>
The list of devices.
Corresponds to the JSON property devices
119 120 121 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 119 def devices @devices end |
#next_page_token ⇒ String
The pagination token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
124 125 126 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 124 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 131 def update!(**args) @devices = args[:devices] if args.key?(:devices) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |