Struct google_androidenterprise1::ManagedconfigurationsfordeviceMethods
[−]
[src]
pub struct ManagedconfigurationsfordeviceMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on managedconfigurationsfordevice resources.
It is not used directly, but through the AndroidEnterprise
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_androidenterprise1 as androidenterprise1; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use androidenterprise1::AndroidEnterprise; 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 = AndroidEnterprise::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(...)`, `list(...)`, `patch(...)` and `update(...)` // to build up your call. let rb = hub.managedconfigurationsfordevice();
Methods
impl<'a, C, A> ManagedconfigurationsfordeviceMethods<'a, C, A>
[src]
fn delete(
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceDeleteCall<'a, C, A>
[src]
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Removes a per-device managed configuration for an app for the specified device.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The Android ID of the device.managedConfigurationForDeviceId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".
fn list(
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str
) -> ManagedconfigurationsfordeviceListCall<'a, C, A>
[src]
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str
) -> ManagedconfigurationsfordeviceListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all the per-device managed configurations for the specified device. Only the ID is set.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The Android ID of the device.
fn update(
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceUpdateCall<'a, C, A>
[src]
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Adds or updates a per-device managed configuration for an app for the specified device.
Arguments
request
- No description provided.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The Android ID of the device.managedConfigurationForDeviceId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".
fn get(
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceGetCall<'a, C, A>
[src]
&self,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordeviceGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves details of a per-device managed configuration.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The Android ID of the device.managedConfigurationForDeviceId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".
fn patch(
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordevicePatchCall<'a, C, A>
[src]
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
device_id: &str,
managed_configuration_for_device_id: &str
) -> ManagedconfigurationsfordevicePatchCall<'a, C, A>
Create a builder to help you perform the following task:
Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.
Arguments
request
- No description provided.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.deviceId
- The Android ID of the device.managedConfigurationForDeviceId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".