Class QueryRequest
Request type for the Query call.
Implements
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1.Data
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class QueryRequest : IDirectResponseSchema
Properties
AgentUserId
Required. Third-party user ID.
Declaration
[JsonProperty("agentUserId")]
public virtual string AgentUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DeviceView
Optional. Specifies the type of device data to be returned in the response. This allows callers to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If unspecified, defaults to SMART_HOME_TRAIT_ONLY.
Declaration
[JsonProperty("deviceView")]
public virtual string DeviceView { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IncludeDeviceMetadata
Optional. If true, the response will include device metadata in the device_metadata field.
Declaration
[JsonProperty("includeDeviceMetadata")]
public virtual bool? IncludeDeviceMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Inputs
Required. Inputs containing third-party device IDs for which to get the device states.
Declaration
[JsonProperty("inputs")]
public virtual IList<QueryRequestInput> Inputs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<QueryRequestInput> |
RequestId
Request ID used for debugging.
Declaration
[JsonProperty("requestId")]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |