Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.StatesResource

The "states" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.StatesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudIot.v1
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class StatesResource

Constructors

StatesResource(IClientService)

Constructs a new resource.

Declaration
public StatesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

List(String)

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

Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.StatesResource.ListRequest List(string name)
Parameters
Type Name Description
System.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}.

Returns
Type Description
ProjectsResource.LocationsResource.RegistriesResource.DevicesResource.StatesResource.ListRequest
In This Article
Back to top