class ProjectsLocationsRegistriesDevicesStates extends Resource (View source)

The "states" collection of methods.

Typical usage is:

 $cloudiotService = new Google\Service\CloudIot(...);
 $states = $cloudiotService->projects_locations_registries_devices_states;

Methods

listProjectsLocationsRegistriesDevicesStates(string $name, array $optParams = [])

Lists the last few versions of the device state in descending order (i.e.: newest first). (states.listProjectsLocationsRegistriesDevicesStates)

Details

ListDeviceStatesResponse listProjectsLocationsRegistriesDevicesStates(string $name, array $optParams = [])

Lists the last few versions of the device state in descending order (i.e.: newest first). (states.listProjectsLocationsRegistriesDevicesStates)

Parameters

string $name

Required. The name of the device. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0 or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

array $optParams

Optional parameters.

Return Value

ListDeviceStatesResponse