Show / Hide Table of Contents

Class InstallsResource

The "installs" collection of methods.

Inheritance
object
InstallsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class InstallsResource

Constructors

InstallsResource(IClientService)

Constructs a new resource.

Declaration
public InstallsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string, string, string, string)

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. A successful response indicates that a removal request has been sent to the device. The call will be considered successful even if the app is not present on the device (e.g. it was never installed, or was removed by the user).

Declaration
public virtual InstallsResource.DeleteRequest Delete(string enterpriseId, string userId, string deviceId, string installId)
Parameters
Type Name Description
string enterpriseId

The ID of the enterprise.

string userId

The ID of the user.

string deviceId

The Android ID of the device.

string installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Returns
Type Description
InstallsResource.DeleteRequest

Get(string, string, string, string)

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

Declaration
public virtual InstallsResource.GetRequest Get(string enterpriseId, string userId, string deviceId, string installId)
Parameters
Type Name Description
string enterpriseId

The ID of the enterprise.

string userId

The ID of the user.

string deviceId

The Android ID of the device.

string installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Returns
Type Description
InstallsResource.GetRequest

List(string, string, string)

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

Declaration
public virtual InstallsResource.ListRequest List(string enterpriseId, string userId, string deviceId)
Parameters
Type Name Description
string enterpriseId

The ID of the enterprise.

string userId

The ID of the user.

string deviceId

The Android ID of the device.

Returns
Type Description
InstallsResource.ListRequest

Update(Install, string, string, string, string)

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.

Declaration
public virtual InstallsResource.UpdateRequest Update(Install body, string enterpriseId, string userId, string deviceId, string installId)
Parameters
Type Name Description
Install body

The body of the request.

string enterpriseId

The ID of the enterprise.

string userId

The ID of the user.

string deviceId

The Android ID of the device.

string installId

The ID of the product represented by the install, e.g. "app:com.google.android.gm".

Returns
Type Description
InstallsResource.UpdateRequest
In this article
Back to top Generated by DocFX