src/apis/homegraph/v1.ts
constructor(context: APIRequestContext)
|
||||||
Defined in src/apis/homegraph/v1.ts:563
|
||||||
Parameters :
|
context |
Type : APIRequestContext
|
Defined in src/apis/homegraph/v1.ts:563
|
query | ||||||||||||
query(params: Params$Resource$Devices$Query, options: StreamMethodOptions)
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:626
|
||||||||||||
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
Parameters :
Example :
Returns :
GaxiosPromise<Readable>
A promise if used with async/await, or void if used with a callback. |
query | |||||||||
query(params?: Params$Resource$Devices$Query, options?: MethodOptions)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:630
|
|||||||||
Parameters :
Returns :
GaxiosPromise<Schema$QueryResponse>
|
query | ||||||||||||
query(params: Params$Resource$Devices$Query, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:634
|
||||||||||||
Parameters :
Returns :
void
|
query | ||||||||||||
query(params: Params$Resource$Devices$Query, options: MethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:639
|
||||||||||||
Parameters :
Returns :
void
|
query | |||||||||
query(params: Params$Resource$Devices$Query, callback: BodyResponseCallback<Schema$QueryResponse>)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:644
|
|||||||||
Parameters :
Returns :
void
|
query | ||||||
query(callback: BodyResponseCallback<Schema$QueryResponse>)
|
||||||
Defined in src/apis/homegraph/v1.ts:648
|
||||||
Parameters :
Returns :
void
|
query | ||||||||||||
query(paramsOrCallback?: Params$Resource$Devices$Query | BodyResponseCallback<Schema$QueryResponse> | BodyResponseCallback<Readable>, optionsOrCallback?: MethodOptions | StreamMethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:649
|
||||||||||||
Parameters :
Returns :
void | GaxiosPromise | GaxiosPromise
|
reportStateAndNotification | ||||||||||||
reportStateAndNotification(params: Params$Resource$Devices$Reportstateandnotification, options: StreamMethodOptions)
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:760
|
||||||||||||
Reports device state and optionally sends device notifications. Called by your smart home Action when the state of a third-party device changes or you need to send a notification about the device. See Implement Report State for more information. This method updates the device state according to its declared traits. Publishing a new state value outside of these traits will result in an
Parameters :
Example :
Returns :
GaxiosPromise<Readable>
A promise if used with async/await, or void if used with a callback. |
reportStateAndNotification | |||||||||
reportStateAndNotification(params?: Params$Resource$Devices$Reportstateandnotification, options?: MethodOptions)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:764
|
|||||||||
Parameters :
|
reportStateAndNotification | ||||||||||||
reportStateAndNotification(params: Params$Resource$Devices$Reportstateandnotification, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:768
|
||||||||||||
Parameters :
Returns :
void
|
reportStateAndNotification | ||||||||||||
reportStateAndNotification(params: Params$Resource$Devices$Reportstateandnotification, options: MethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:773
|
||||||||||||
Parameters :
Returns :
void
|
reportStateAndNotification | |||||||||
reportStateAndNotification(params: Params$Resource$Devices$Reportstateandnotification, callback: BodyResponseCallback<Schema$ReportStateAndNotificationResponse>)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:780
|
|||||||||
Parameters :
Returns :
void
|
reportStateAndNotification | ||||||
reportStateAndNotification(callback: BodyResponseCallback<Schema$ReportStateAndNotificationResponse>)
|
||||||
Defined in src/apis/homegraph/v1.ts:784
|
||||||
Parameters :
Returns :
void
|
reportStateAndNotification | ||||||||||||
reportStateAndNotification(paramsOrCallback?: Params$Resource$Devices$Reportstateandnotification | BodyResponseCallback<Schema$ReportStateAndNotificationResponse> | BodyResponseCallback<Readable>, optionsOrCallback?: MethodOptions | StreamMethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:787
|
||||||||||||
Parameters :
Returns :
void | GaxiosPromise | GaxiosPromise
|
requestSync | ||||||||||||
requestSync(params: Params$Resource$Devices$Requestsync, options: StreamMethodOptions)
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:902
|
||||||||||||
Requests Google to send an
Parameters :
Example :
Returns :
GaxiosPromise<Readable>
A promise if used with async/await, or void if used with a callback. |
requestSync | |||||||||
requestSync(params?: Params$Resource$Devices$Requestsync, options?: MethodOptions)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:906
|
|||||||||
Parameters :
|
requestSync | ||||||||||||
requestSync(params: Params$Resource$Devices$Requestsync, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:910
|
||||||||||||
Parameters :
Returns :
void
|
requestSync | ||||||||||||
requestSync(params: Params$Resource$Devices$Requestsync, options: MethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:915
|
||||||||||||
Parameters :
Returns :
void
|
requestSync | |||||||||
requestSync(params: Params$Resource$Devices$Requestsync, callback: BodyResponseCallback<Schema$RequestSyncDevicesResponse>)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:922
|
|||||||||
Parameters :
Returns :
void
|
requestSync | ||||||
requestSync(callback: BodyResponseCallback<Schema$RequestSyncDevicesResponse>)
|
||||||
Defined in src/apis/homegraph/v1.ts:926
|
||||||
Parameters :
Returns :
void
|
requestSync | ||||||||||||
requestSync(paramsOrCallback?: Params$Resource$Devices$Requestsync | BodyResponseCallback<Schema$RequestSyncDevicesResponse> | BodyResponseCallback<Readable>, optionsOrCallback?: MethodOptions | StreamMethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:929
|
||||||||||||
Parameters :
Returns :
void | GaxiosPromise | GaxiosPromise
|
sync | ||||||||||||
sync(params: Params$Resource$Devices$Sync, options: StreamMethodOptions)
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:1045
|
||||||||||||
Gets all the devices associated with the given third-party user. The third-party user's identity is passed in via the
Parameters :
Example :
Returns :
GaxiosPromise<Readable>
A promise if used with async/await, or void if used with a callback. |
sync | |||||||||
sync(params?: Params$Resource$Devices$Sync, options?: MethodOptions)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:1049
|
|||||||||
Parameters :
Returns :
GaxiosPromise<Schema$SyncResponse>
|
sync | ||||||||||||
sync(params: Params$Resource$Devices$Sync, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:1053
|
||||||||||||
Parameters :
Returns :
void
|
sync | ||||||||||||
sync(params: Params$Resource$Devices$Sync, options: MethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:1058
|
||||||||||||
Parameters :
Returns :
void
|
sync | |||||||||
sync(params: Params$Resource$Devices$Sync, callback: BodyResponseCallback<Schema$SyncResponse>)
|
|||||||||
Defined in src/apis/homegraph/v1.ts:1063
|
|||||||||
Parameters :
Returns :
void
|
sync | ||||||
sync(callback: BodyResponseCallback<Schema$SyncResponse>)
|
||||||
Defined in src/apis/homegraph/v1.ts:1067
|
||||||
Parameters :
Returns :
void
|
sync | ||||||||||||
sync(paramsOrCallback?: Params$Resource$Devices$Sync | BodyResponseCallback<Schema$SyncResponse> | BodyResponseCallback<Readable>, optionsOrCallback?: MethodOptions | StreamMethodOptions | BodyResponseCallback
|
||||||||||||
Defined in src/apis/homegraph/v1.ts:1068
|
||||||||||||
Parameters :
Returns :
void | GaxiosPromise | GaxiosPromise
|