class Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1Structure
Structure resource represents an instance of enterprise managed home or hotel room.
Attributes
name[RW]
Output only. The resource name of the structure. For example: “enterprises/XYZ/ structures/ABC”. Corresponds to the JSON property `name` @return [String]
traits[RW]
Structure 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 261 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 266 def update!(**args) @name = args[:name] if args.key?(:name) @traits = args[:traits] if args.key?(:traits) end