Class ListDevicesRequest (1.0.0)

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

Request for ListDevices.

Inheritance

System.Object > ListDevicesRequest

Implements

Google.Protobuf.IMessage<ListDevicesRequest>, System.IEquatable<ListDevicesRequest>, Google.Protobuf.IDeepCloneable<ListDevicesRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage, Google.Api.Gax.Grpc.IPageRequest

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
Google.Protobuf.Collections.RepeatedField<System.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
Google.Protobuf.Collections.RepeatedField<System.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.

Property Value
TypeDescription
Google.Protobuf.WellKnownTypes.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
System.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
System.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
System.String

ParentAsRegistryName

public RegistryName ParentAsRegistryName { get; set; }

RegistryName-typed view over the Parent resource name property.

Property Value
TypeDescription
RegistryName