Struct gapi_grpc::google::cloud::osconfig::v1alpha::ListInventoriesRequest[][src]

pub struct ListInventoriesRequest {
    pub parent: String,
    pub view: i32,
    pub page_size: i32,
    pub page_token: String,
    pub filter: String,
}

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/{instance}

For {project}, either project-number or project-id can be provided. For {instance}, only hyphen or dash character is supported to list inventories across VMs.

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

impl ListInventoriesRequest[src]

pub fn view(&self) -> InventoryView[src]

Returns the enum value of view, or the default if the field is set to an invalid enum value.

pub fn set_view(&mut self, value: InventoryView)[src]

Sets view to the provided enum value.

Trait Implementations

impl Clone for ListInventoriesRequest[src]

impl Debug for ListInventoriesRequest[src]

impl Default for ListInventoriesRequest[src]

impl Message for ListInventoriesRequest[src]

impl PartialEq<ListInventoriesRequest> for ListInventoriesRequest[src]

impl StructuralPartialEq for ListInventoriesRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ListInventoriesRequest

impl Send for ListInventoriesRequest

impl Sync for ListInventoriesRequest

impl Unpin for ListInventoriesRequest

impl UnwindSafe for ListInventoriesRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]