class Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Room
Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.
Attributes
name[RW]
Output only. The resource name of the room. For example: “enterprises/XYZ/ structures/ABC/rooms/123”. Corresponds to the JSON property `name` @return [String]
traits[RW]
Room traits. Corresponds to the JSON property `traits` @return [Hash<String,Object>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/smartdevicemanagement_v1/classes.rb, line 234 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/smartdevicemanagement_v1/classes.rb, line 239 def update!(**args) @name = args[:name] if args.key?(:name) @traits = args[:traits] if args.key?(:traits) end