[−][src]Struct google_androidenterprise1::ManagedconfigurationsfordeviceMethods
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]
pub 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".
pub 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".
pub 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.
pub 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".
pub 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".
Trait Implementations
impl<'a, C, A> MethodsBuilder for ManagedconfigurationsfordeviceMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !Send for ManagedconfigurationsfordeviceMethods<'a, C, A>
impl<'a, C, A> !Sync for ManagedconfigurationsfordeviceMethods<'a, C, A>
impl<'a, C, A> Unpin for ManagedconfigurationsfordeviceMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for ManagedconfigurationsfordeviceMethods<'a, C, A>
impl<'a, C, A> !RefUnwindSafe for ManagedconfigurationsfordeviceMethods<'a, C, A>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,