Struct google_androidenterprise1::InstallMethods [] [src]

pub struct InstallMethods<'a, C, A> where C: 'a, A: 'a { /* fields omitted */ }

A builder providing access to all methods supported on install resources. It is not used directly, but through the AndroidEnterprise hub.

Example

Instantiate a resource builder

extern crate hyper;
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::new(),
                              <MemoryStorage as Default>::default(), None);
let mut hub = AndroidEnterprise::new(hyper::Client::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.installs();

Methods

impl<'a, C, A> InstallMethods<'a, C, A>
[src]

Create a builder to help you perform the following task:

Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary. 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.
  • installId - The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Create a builder to help you perform the following task:

Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.

Arguments

  • enterpriseId - The ID of the enterprise.
  • userId - The ID of the user.
  • deviceId - The Android ID of the device.
  • installId - The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Create a builder to help you perform the following task:

Retrieves details of an installation of an app on a device.

Arguments

  • enterpriseId - The ID of the enterprise.
  • userId - The ID of the user.
  • deviceId - The Android ID of the device.
  • installId - The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Create a builder to help you perform the following task:

Retrieves the details of all apps installed on the specified device.

Arguments

  • enterpriseId - The ID of the enterprise.
  • userId - The ID of the user.
  • deviceId - The Android ID of the device.

Create a builder to help you perform the following task:

Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary.

Arguments

  • request - No description provided.
  • enterpriseId - The ID of the enterprise.
  • userId - The ID of the user.
  • deviceId - The Android ID of the device.
  • installId - The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Trait Implementations

impl<'a, C, A> MethodsBuilder for InstallMethods<'a, C, A>
[src]