[−][src]Struct google_cloudasset1::MethodMethods
A builder providing access to all free methods, which are not associated with a particular resource.
It is not used directly, but through the CloudAsset
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_cloudasset1 as cloudasset1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use cloudasset1::CloudAsset; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = CloudAsset::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `batch_get_assets_history(...)` and `export_assets(...)` // to build up your call. let rb = hub.methods();
Methods
impl<'a, C, A> MethodMethods<'a, C, A>
[src]
pub fn batch_get_assets_history(
&self,
parent: &str
) -> MethodBatchGetAssetsHistoryCall<'a, C, A>
[src]
&self,
parent: &str
) -> MethodBatchGetAssetsHistoryCall<'a, C, A>
Create a builder to help you perform the following task:
Batch gets the update history of assets that overlap a time window. For RESOURCE content, this API outputs history with asset in both non-delete or deleted status. For IAM_POLICY content, this API outputs history when the asset and its attached IAM POLICY both exist. This can create gaps in the output history. If a specified asset does not exist, this API returns an INVALID_ARGUMENT error.
Arguments
parent
- 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").
pub fn export_assets(
&self,
request: ExportAssetsRequest,
parent: &str
) -> MethodExportAssetCall<'a, C, A>
[src]
&self,
request: ExportAssetsRequest,
parent: &str
) -> MethodExportAssetCall<'a, C, A>
Create a builder to help you perform the following task:
Exports assets with time and resource types to a given Cloud Storage location. The output format is newline-delimited JSON. This API implements the google.longrunning.Operation API allowing you to keep track of the export.
Arguments
request
- No description provided.parent
- 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").
Trait Implementations
impl<'a, C, A> MethodsBuilder for MethodMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for MethodMethods<'a, C, A>
impl<'a, C, A> Unpin for MethodMethods<'a, C, A>
impl<'a, C, A> !Sync for MethodMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for MethodMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for MethodMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,