Struct google_admin1_directory::MobiledeviceMethods
[−]
[src]
pub struct MobiledeviceMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }
A builder providing access to all methods supported on mobiledevice resources.
It is not used directly, but through the Directory
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate yup_oauth2 as oauth2; extern crate google_admin1_directory as admin1_directory; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use admin1_directory::Directory; let secret: ApplicationSecret = Default::default(); let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate, hyper::Client::new(), <MemoryStorage as Default>::default(), None); let mut hub = Directory::new(hyper::Client::new(), auth); // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* // like `action(...)`, `delete(...)`, `get(...)` and `list(...)` // to build up your call. let rb = hub.mobiledevices();
Methods
impl<'a, C, A> MobiledeviceMethods<'a, C, A>
[src]
fn get(&self,
customer_id: &str,
resource_id: &str)
-> MobiledeviceGetCall<'a, C, A>
customer_id: &str,
resource_id: &str)
-> MobiledeviceGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieve Mobile Device
Arguments
customerId
- Immutable id of the Google Apps accountresourceId
- Immutable id of Mobile Device
fn list(&self, customer_id: &str) -> MobiledeviceListCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieve all Mobile Devices of a customer (paginated)
Arguments
customerId
- Immutable id of the Google Apps account
fn delete(&self,
customer_id: &str,
resource_id: &str)
-> MobiledeviceDeleteCall<'a, C, A>
customer_id: &str,
resource_id: &str)
-> MobiledeviceDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Delete Mobile Device
Arguments
customerId
- Immutable id of the Google Apps accountresourceId
- Immutable id of Mobile Device
fn action(&self,
request: MobileDeviceAction,
customer_id: &str,
resource_id: &str)
-> MobiledeviceActionCall<'a, C, A>
request: MobileDeviceAction,
customer_id: &str,
resource_id: &str)
-> MobiledeviceActionCall<'a, C, A>
Create a builder to help you perform the following task:
Take action on Mobile Device
Arguments
request
- No description provided.customerId
- Immutable id of the Google Apps accountresourceId
- Immutable id of Mobile Device