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 hyper_rustls; 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::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), <MemoryStorage as Default>::default(), None); let mut hub = Directory::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 `action(...)`, `delete(...)`, `get(...)` and `list(...)` // to build up your call. let rb = hub.mobiledevices();
Methods
impl<'a, C, A> MobiledeviceMethods<'a, C, A>
[src]
impl<'a, C, A> MobiledeviceMethods<'a, C, A>
pub fn get(
&self,
customer_id: &str,
resource_id: &str
) -> MobiledeviceGetCall<'a, C, A>
[src]
pub fn get(
&self,
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 G Suite accountresourceId
- Immutable ID of Mobile Device
pub fn list(&self, customer_id: &str) -> MobiledeviceListCall<'a, C, A>
[src]
pub 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 G Suite account
pub fn delete(
&self,
customer_id: &str,
resource_id: &str
) -> MobiledeviceDeleteCall<'a, C, A>
[src]
pub fn delete(
&self,
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 G Suite accountresourceId
- Immutable ID of Mobile Device
pub fn action(
&self,
request: MobileDeviceAction,
customer_id: &str,
resource_id: &str
) -> MobiledeviceActionCall<'a, C, A>
[src]
pub fn action(
&self,
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 G Suite accountresourceId
- Immutable ID of Mobile Device
Trait Implementations
impl<'a, C, A> MethodsBuilder for MobiledeviceMethods<'a, C, A>
[src]
impl<'a, C, A> MethodsBuilder for MobiledeviceMethods<'a, C, A>
Auto Trait Implementations
impl<'a, C, A> !Send for MobiledeviceMethods<'a, C, A>
impl<'a, C, A> !Send for MobiledeviceMethods<'a, C, A>
impl<'a, C, A> !Sync for MobiledeviceMethods<'a, C, A>
impl<'a, C, A> !Sync for MobiledeviceMethods<'a, C, A>