Show / Hide Table of Contents

Class Component

Component of a provider device.

Inheritance
object
Component
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class Component : IDirectResponseSchema

Properties

ChildComponents

Optional. Child components.

Declaration
[JsonProperty("childComponents")]
public virtual IList<Component> ChildComponents { get; set; }
Property Value
Type Description
IList<Component>

DeviceTypes

Required. List of Device types associated with this component. Supported device types are defined in cs//depot/google3/home/homeservicelayer/uddm/types/uddm_device_types.proto and the type string is the enum name, for example: ON_OFF_LIGHT =&gt; "ON_OFF_LIGHT".

Declaration
[JsonProperty("deviceTypes")]
public virtual IList<string> DeviceTypes { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Required. ID of the component from the device provider.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

TraitData

Required. List of trait data associated with the component.

Declaration
[JsonProperty("traitData")]
public virtual IList<TraitData> TraitData { get; set; }
Property Value
Type Description
IList<TraitData>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX