Struct google_api_proto::google::cloud::iot::v1::ListDevicesRequest
source · pub struct ListDevicesRequest {
pub parent: String,
pub device_num_ids: Vec<u64>,
pub device_ids: Vec<String>,
pub field_mask: Option<FieldMask>,
pub gateway_list_options: Option<GatewayListOptions>,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request for ListDevices
.
Fields§
§parent: String
Required. The device registry path. Required. For example,
projects/my-project/locations/us-central1/registries/my-registry
.
device_num_ids: Vec<u64>
A list of device numeric IDs. If empty, this field is ignored. Maximum IDs: 10,000.
device_ids: Vec<String>
A list of device string IDs. For example, \['device0', 'device12'\]
.
If empty, this field is ignored. Maximum IDs: 10,000
field_mask: Option<FieldMask>
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
.
gateway_list_options: Option<GatewayListOptions>
Options related to gateways.
page_size: i32
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.
page_token: String
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.
Trait Implementations§
source§impl Clone for ListDevicesRequest
impl Clone for ListDevicesRequest
source§fn clone(&self) -> ListDevicesRequest
fn clone(&self) -> ListDevicesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDevicesRequest
impl Debug for ListDevicesRequest
source§impl Default for ListDevicesRequest
impl Default for ListDevicesRequest
source§impl Message for ListDevicesRequest
impl Message for ListDevicesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListDevicesRequest
impl PartialEq for ListDevicesRequest
source§fn eq(&self, other: &ListDevicesRequest) -> bool
fn eq(&self, other: &ListDevicesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDevicesRequest
Auto Trait Implementations§
impl Freeze for ListDevicesRequest
impl RefUnwindSafe for ListDevicesRequest
impl Send for ListDevicesRequest
impl Sync for ListDevicesRequest
impl Unpin for ListDevicesRequest
impl UnwindSafe for ListDevicesRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request