GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1ParentRelation (google_api_smart_device_management v0.6.0) View Source

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

Attributes

  • displayName (type: String.t, default: nil) - Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to.
  • parent (type: String.t, default: nil) - 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"

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.SmartDeviceManagement.V1.Model.GoogleHomeEnterpriseSdmV1ParentRelation{
    displayName: String.t() | nil,
    parent: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.