[][src]Struct gcp_client::google::cloud::asset::v1::ExportAssetsRequest

pub struct ExportAssetsRequest {
    pub parent: String,
    pub read_time: Option<Timestamp>,
    pub asset_types: Vec<String>,
    pub content_type: i32,
    pub output_config: Option<OutputConfig>,
}

Export asset request.

Fields

parent: String

Required. The relative name of the root asset. This 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"), or a folder number (such as "folders/123").

read_time: Option<Timestamp>

Timestamp to take an asset snapshot. This can only be set to a timestamp between the current time and the current time minus 35 days (inclusive). If not specified, the current time will be used. Due to delays in resource data collection and indexing, there is a volatile window during which running the same query may get different results.

asset_types: Vec<String>

A list of asset types of which to take a snapshot for. For example: "compute.googleapis.com/Disk". If specified, only matching assets will be returned. See Introduction to Cloud Asset Inventory for all supported asset types.

content_type: i32

Asset content type. If not specified, no content but the asset name will be returned.

output_config: Option<OutputConfig>

Required. Output configuration indicating where the results will be output to. All results will be in newline delimited JSON format.

Implementations

impl ExportAssetsRequest[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 ExportAssetsRequest[src]

impl Debug for ExportAssetsRequest[src]

impl Default for ExportAssetsRequest[src]

impl Message for ExportAssetsRequest[src]

impl PartialEq<ExportAssetsRequest> for ExportAssetsRequest[src]

impl StructuralPartialEq for ExportAssetsRequest[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]