Class InstallsResource.UpdateRequest
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.
Inheritance
InstallsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class InstallsResource.UpdateRequest : AndroidEnterpriseBaseServiceRequest<Install>, IClientServiceRequest<Install>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Install, string, string, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Install body, string enterpriseId, string userId, string deviceId, string installId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Install | body | |
string | enterpriseId | |
string | userId | |
string | deviceId | |
string | installId |
Properties
DeviceId
The Android ID of the device.
Declaration
[RequestParameter("deviceId", RequestParameterType.Path)]
public virtual string DeviceId { get; }
Property Value
Type | Description |
---|---|
string |
EnterpriseId
The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
InstallId
The ID of the product represented by the install, e.g. "app:com.google.android.gm".
Declaration
[RequestParameter("installId", RequestParameterType.Path)]
public virtual string InstallId { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UserId
The ID of the user.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()