Struct google_replicapoolupdater1_beta1::ZoneOperationMethods
[−]
[src]
pub struct ZoneOperationMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }
A builder providing access to all methods supported on zoneOperation resources.
It is not used directly, but through the Replicapoolupdater
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate yup_oauth2 as oauth2; extern crate google_replicapoolupdater1_beta1 as replicapoolupdater1_beta1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use replicapoolupdater1_beta1::Replicapoolupdater; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::new(), <MemoryStorage as Default>::default(), None); let mut hub = Replicapoolupdater::new(hyper::Client::new(), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `get(...)` and `list(...)` // to build up your call. let rb = hub.zone_operations();
Methods
impl<'a, C, A> ZoneOperationMethods<'a, C, A>
[src]
fn get(&self,
project: &str,
zone: &str,
operation: &str)
-> ZoneOperationGetCall<'a, C, A>
project: &str,
zone: &str,
operation: &str)
-> ZoneOperationGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves the specified zone-specific operation resource.
Arguments
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.operation
- Name of the operation resource to return.
fn list(&self, project: &str, zone: &str) -> ZoneOperationListCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves the list of Operation resources contained within the specified zone.
Arguments
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.