Struct google_clouduseraccountsvm_beta::GlobalAccountsOperationMethods
[−]
[src]
pub struct GlobalAccountsOperationMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on globalAccountsOperation resources.
It is not used directly, but through the CloudUserAccounts
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_clouduseraccountsvm_beta as clouduseraccountsvm_beta; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use clouduseraccountsvm_beta::CloudUserAccounts; 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 = CloudUserAccounts::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 `delete(...)`, `get(...)` and `list(...)` // to build up your call. let rb = hub.global_accounts_operations();
Methods
impl<'a, C, A> GlobalAccountsOperationMethods<'a, C, A>
[src]
fn delete(
&self,
project: &str,
operation: &str
) -> GlobalAccountsOperationDeleteCall<'a, C, A>
[src]
&self,
project: &str,
operation: &str
) -> GlobalAccountsOperationDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes the specified operation resource.
Arguments
project
- Project ID for this request.operation
- Name of the Operations resource to delete.
fn list(&self, project: &str) -> GlobalAccountsOperationListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Retrieves the list of operation resources contained within the specified project.
Arguments
project
- Project ID for this request.
fn get(
&self,
project: &str,
operation: &str
) -> GlobalAccountsOperationGetCall<'a, C, A>
[src]
&self,
project: &str,
operation: &str
) -> GlobalAccountsOperationGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves the specified operation resource.
Arguments
project
- Project ID for this request.operation
- Name of the Operations resource to return.