Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
- Inherits:
-
Object
- Object
- Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse
- 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.ListRooms
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The pagination token to retrieve the next page of results.
-
#rooms ⇒ Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room>
The list of rooms.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListRoomsResponse
constructor
A new instance of GoogleHomeEnterpriseSdmV1ListRoomsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListRoomsResponse
Returns a new instance of GoogleHomeEnterpriseSdmV1ListRoomsResponse.
152 153 154 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The pagination token to retrieve the next page of results. If this field is
omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
145 146 147 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 145 def next_page_token @next_page_token end |
#rooms ⇒ Array<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room>
The list of rooms.
Corresponds to the JSON property rooms
150 151 152 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 150 def rooms @rooms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
157 158 159 160 |
# File 'generated/google/apis/smartdevicemanagement_v1/classes.rb', line 157 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @rooms = args[:rooms] if args.key?(:rooms) end |