Struct google_api_proto::google::shopping::merchant::inventories::v1beta::ListLocalInventoriesRequest
source · pub struct ListLocalInventoriesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for the ListLocalInventories
method.
Fields§
§parent: String
Required. The name
of the parent product to list local inventories for.
Format:
accounts/{account}/products/{product}
page_size: i32
The maximum number of LocalInventory
resources for the given
product to return. The service returns fewer than this value if the number
of inventories for the given product is less that than the pageSize
. The
default value is 25000. The maximum value is 25000; If a value higher than
the maximum is specified, then the pageSize
will default to the maximum
page_token: String
A page token, received from a previous ListLocalInventories
call.
Provide the page token to retrieve the subsequent page.
When paginating, all other parameters provided to ListLocalInventories
must match the call that provided the page token. The token returned as
[nextPageToken][google.shopping.merchant.inventories.v1beta.ListLocalInventoriesResponse.next_page_token]
in the response to the previous request.
Trait Implementations§
source§impl Clone for ListLocalInventoriesRequest
impl Clone for ListLocalInventoriesRequest
source§fn clone(&self) -> ListLocalInventoriesRequest
fn clone(&self) -> ListLocalInventoriesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListLocalInventoriesRequest
impl Debug for ListLocalInventoriesRequest
source§impl Message for ListLocalInventoriesRequest
impl Message for ListLocalInventoriesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListLocalInventoriesRequest
impl PartialEq for ListLocalInventoriesRequest
source§fn eq(&self, other: &ListLocalInventoriesRequest) -> bool
fn eq(&self, other: &ListLocalInventoriesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListLocalInventoriesRequest
Auto Trait Implementations§
impl Freeze for ListLocalInventoriesRequest
impl RefUnwindSafe for ListLocalInventoriesRequest
impl Send for ListLocalInventoriesRequest
impl Sync for ListLocalInventoriesRequest
impl Unpin for ListLocalInventoriesRequest
impl UnwindSafe for ListLocalInventoriesRequest
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