Struct google_api_proto::google::cloud::osconfig::v1alpha::ListInventoriesRequest
source · pub struct ListInventoriesRequest {
pub parent: String,
pub view: i32,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
A request message for listing inventory data for all VMs in the specified location.
Fields§
§parent: String
Required. The parent resource name.
Format: projects/{project}/locations/{location}/instances/-
For {project}
, either project-number
or project-id
can be provided.
view: i32
Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.
page_size: i32
The maximum number of results to return.
page_token: String
A pagination token returned from a previous call to
ListInventories
that indicates where this listing
should continue from.
filter: String
If provided, this field specifies the criteria that must be met by a
Inventory
API resource to be included in the response.
Implementations§
source§impl ListInventoriesRequest
impl ListInventoriesRequest
sourcepub fn view(&self) -> InventoryView
pub fn view(&self) -> InventoryView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: InventoryView)
pub fn set_view(&mut self, value: InventoryView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListInventoriesRequest
impl Clone for ListInventoriesRequest
source§fn clone(&self) -> ListInventoriesRequest
fn clone(&self) -> ListInventoriesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListInventoriesRequest
impl Debug for ListInventoriesRequest
source§impl Default for ListInventoriesRequest
impl Default for ListInventoriesRequest
source§impl Message for ListInventoriesRequest
impl Message for ListInventoriesRequest
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 ListInventoriesRequest
impl PartialEq for ListInventoriesRequest
source§fn eq(&self, other: &ListInventoriesRequest) -> bool
fn eq(&self, other: &ListInventoriesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListInventoriesRequest
Auto Trait Implementations§
impl Freeze for ListInventoriesRequest
impl RefUnwindSafe for ListInventoriesRequest
impl Send for ListInventoriesRequest
impl Sync for ListInventoriesRequest
impl Unpin for ListInventoriesRequest
impl UnwindSafe for ListInventoriesRequest
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