[][src]Struct gcp_client::google::cloud::asset::v1beta1::BatchGetAssetsHistoryRequest

pub struct BatchGetAssetsHistoryRequest {
    pub parent: String,
    pub asset_names: Vec<String>,
    pub content_type: i32,
    pub read_time_window: Option<TimeWindow>,
}

Batch get assets history request.

Fields

parent: String

Required. The relative name of the root asset. It can only be an organization number (such as "organizations/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

asset_names: Vec<String>

A list of the full names of the assets. For example: //compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1. See Resource Names for more info.

The request becomes a no-op if the asset name list is empty, and the max size of the asset name list is 100 in one request.

content_type: i32

Optional. The content type.

read_time_window: Option<TimeWindow>

Optional. The time window for the asset history. Both start_time and end_time are optional and if set, it must be after 2018-10-02 UTC. If end_time is not set, it is default to current timestamp. If start_time is not set, the snapshot of the assets at end_time will be returned. The returned results contain all temporal assets whose time window overlap with read_time_window.

Implementations

impl BatchGetAssetsHistoryRequest[src]

pub fn content_type(&self) -> ContentType[src]

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

pub fn set_content_type(&mut self, value: ContentType)[src]

Sets content_type to the provided enum value.

Trait Implementations

impl Clone for BatchGetAssetsHistoryRequest[src]

impl Debug for BatchGetAssetsHistoryRequest[src]

impl Default for BatchGetAssetsHistoryRequest[src]

impl Message for BatchGetAssetsHistoryRequest[src]

impl PartialEq<BatchGetAssetsHistoryRequest> for BatchGetAssetsHistoryRequest[src]

impl StructuralPartialEq for BatchGetAssetsHistoryRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]