Class ListDevicesRequest (1.1.0)

public sealed class ListDevicesRequest : IMessage<ListDevicesRequest>, IEquatable<ListDevicesRequest>, IDeepCloneable<ListDevicesRequest>, IBufferMessage, IMessage, IPageRequest

Request for ListDevices.

Inheritance

Object > ListDevicesRequest

Namespace

Google.Cloud.Iot.V1

Assembly

Google.Cloud.Iot.V1.dll

Constructors

ListDevicesRequest()

public ListDevicesRequest()

ListDevicesRequest(ListDevicesRequest)

public ListDevicesRequest(ListDevicesRequest other)
Parameter
NameDescription
otherListDevicesRequest

Properties

DeviceIds

public RepeatedField<string> DeviceIds { get; }

A list of device string IDs. For example, [&apos;device0&apos;, &apos;device12&apos;]. If empty, this field is ignored. Maximum IDs: 10,000

Property Value
TypeDescription
RepeatedField<String>

DeviceNumIds

public RepeatedField<ulong> DeviceNumIds { get; }

A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.

Property Value
TypeDescription
RepeatedField<UInt64>

FieldMask

public FieldMask FieldMask { get; set; }

The fields of the Device resource to be returned in the response. The fields id and num_id are always returned, along with any other fields specified in snake_case format, for example: last_heartbeat_time.

Property Value
TypeDescription
FieldMask

GatewayListOptions

public GatewayListOptions GatewayListOptions { get; set; }

Options related to gateways.

Property Value
TypeDescription
GatewayListOptions

PageSize

public int PageSize { get; set; }

The maximum number of devices to return in the response. If this value is zero, the service will select a default size. A call may return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

Property Value
TypeDescription
Int32

PageToken

public string PageToken { get; set; }

The value returned by the last ListDevicesResponse; indicates that this is a continuation of a prior ListDevices call and the system should return the next page of data.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The device registry path. Required. For example, projects/my-project/locations/us-central1/registries/my-registry.

Property Value
TypeDescription
String

ParentAsRegistryName

public RegistryName ParentAsRegistryName { get; set; }

RegistryName-typed view over the Parent resource name property.

Property Value
TypeDescription
RegistryName