class Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1ParentRelation

Represents device relationships, for instance, structure/room to which the device is assigned to.

Attributes

display_name[RW]

Output only. The custom name of the relation – e.g., structure/room where the device is assigned to. Corresponds to the JSON property `displayName` @return [String]

parent[RW]

Output only. The name of the relation – e.g., structure/room where the device is assigned to. For example: “enterprises/XYZ/structures/ABC” or “enterprises/ XYZ/structures/ABC/rooms/123” Corresponds to the JSON property `parent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/smartdevicemanagement_v1/classes.rb, line 207
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 212
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @parent = args[:parent] if args.key?(:parent)
end