Struct google_androidenterprise1::ManagedconfigurationsforuserMethods
[−]
[src]
pub struct ManagedconfigurationsforuserMethods<'a, C, A> where
C: 'a,
A: 'a, { /* fields omitted */ }
A builder providing access to all methods supported on managedconfigurationsforuser 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.managedconfigurationsforuser();
Methods
impl<'a, C, A> ManagedconfigurationsforuserMethods<'a, C, A>
[src]
fn patch(
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserPatchCall<'a, C, A>
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics.
Arguments
request
- No description provided.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.managedConfigurationForUserId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".
fn delete(
&self,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserDeleteCall<'a, C, A>
&self,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Removes a per-user managed configuration for an app for the specified user.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.managedConfigurationForUserId
- 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
) -> ManagedconfigurationsforuserListCall<'a, C, A>
&self,
enterprise_id: &str,
user_id: &str
) -> ManagedconfigurationsforuserListCall<'a, C, A>
Create a builder to help you perform the following task:
Lists all the per-user managed configurations for the specified user. Only the ID is set.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.
fn update(
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserUpdateCall<'a, C, A>
&self,
request: ManagedConfiguration,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Adds or updates a per-user managed configuration for an app for the specified user.
Arguments
request
- No description provided.enterpriseId
- The ID of the enterprise.userId
- The ID of the user.managedConfigurationForUserId
- 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,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserGetCall<'a, C, A>
&self,
enterprise_id: &str,
user_id: &str,
managed_configuration_for_user_id: &str
) -> ManagedconfigurationsforuserGetCall<'a, C, A>
Create a builder to help you perform the following task:
Retrieves details of a per-user managed configuration for an app for the specified user.
Arguments
enterpriseId
- The ID of the enterprise.userId
- The ID of the user.managedConfigurationForUserId
- The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".