Class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ListRoomsResponse

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

Overview

Response message for SmartDeviceManagementService.ListRooms

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleHomeEnterpriseSdmV1ListRoomsResponse

Returns a new instance of GoogleHomeEnterpriseSdmV1ListRoomsResponse.



140
141
142
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 140

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

Instance Attribute Details

#roomsArray<Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room>

The list of rooms. Corresponds to the JSON property rooms



138
139
140
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 138

def rooms
  @rooms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



145
146
147
# File 'lib/google/apis/smartdevicemanagement_v1/classes.rb', line 145

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