DevicesResource class

Constructors

DevicesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(QueryRequest request, {String? $fields}) Future<QueryResponse>
Gets the current states in Home Graph for the given set of the third-party user's devices.
reportStateAndNotification(ReportStateAndNotificationRequest request, {String? $fields}) Future<ReportStateAndNotificationResponse>
Reports device state and optionally sends device notifications.
requestSync(RequestSyncDevicesRequest request, {String? $fields}) Future<RequestSyncDevicesResponse>
Requests Google to send an action.devices.SYNC intent to your smart home Action to update device metadata for the given user.
sync(SyncRequest request, {String? $fields}) Future<SyncResponse>
Gets all the devices associated with the given third-party user.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited