Class DevicesResource.QueryRequest
Gets the current states in Home Graph for the given set of the third-party user's devices. The third-party
user's identity is passed in via the agent_user_id
(see QueryRequest). This request must be authorized
using service account credentials from your Actions console project.
Inheritance
DevicesResource.QueryRequest
Inherited Members
Namespace: Google.Apis.HomeGraphService.v1
Assembly: Google.Apis.HomeGraphService.v1.dll
Syntax
public class DevicesResource.QueryRequest : HomeGraphServiceBaseServiceRequest<QueryResponse>, IClientServiceRequest<QueryResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, QueryRequest)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, QueryRequest body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
QueryRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.QueryResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.QueryResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.QueryResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HomeGraphService.v1.Data.QueryResponse>.GetBody()
InitParameters()
Initializes Query parameter list.
Declaration
protected override void InitParameters()