Struct google_cloudasset1_beta1::api::ExportAssetsRequest
source · pub struct ExportAssetsRequest {
pub asset_types: Option<Vec<String>>,
pub content_type: Option<String>,
pub output_config: Option<OutputConfig>,
pub read_time: Option<DateTime<Utc>>,
}
Expand description
Export asset request.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- export assets folders (request)
- export assets organizations (request)
- export assets projects (request)
Fields§
§asset_types: Option<Vec<String>>
A list of asset types of which to take a snapshot for. For example: “google.compute.Disk”. If specified, only matching assets will be returned. See Introduction to Cloud Asset Inventory for all supported asset types.
content_type: Option<String>
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.
read_time: Option<DateTime<Utc>>
Timestamp to take an asset snapshot. This can only be set to a timestamp between 2018-10-02 UTC (inclusive) and the current time. 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.
Trait Implementations§
source§impl Clone for ExportAssetsRequest
impl Clone for ExportAssetsRequest
source§fn clone(&self) -> ExportAssetsRequest
fn clone(&self) -> ExportAssetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportAssetsRequest
impl Debug for ExportAssetsRequest
source§impl Default for ExportAssetsRequest
impl Default for ExportAssetsRequest
source§fn default() -> ExportAssetsRequest
fn default() -> ExportAssetsRequest
source§impl<'de> Deserialize<'de> for ExportAssetsRequest
impl<'de> Deserialize<'de> for ExportAssetsRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for ExportAssetsRequest
impl Serialize for ExportAssetsRequest
impl RequestValue for ExportAssetsRequest
Auto Trait Implementations§
impl Freeze for ExportAssetsRequest
impl RefUnwindSafe for ExportAssetsRequest
impl Send for ExportAssetsRequest
impl Sync for ExportAssetsRequest
impl Unpin for ExportAssetsRequest
impl UnwindSafe for ExportAssetsRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more