Class SystemapksResource.VariantsResource
The "variants" collection of methods.
Inheritance
System.Object
SystemapksResource.VariantsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AndroidPublisher.v3
Assembly: Google.Apis.AndroidPublisher.v3.dll
Syntax
public class VariantsResource
Constructors
VariantsResource(IClientService)
Constructs a new resource.
Declaration
public VariantsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Variant, String, Int64)
Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.
Declaration
public virtual SystemapksResource.VariantsResource.CreateRequest Create(Variant body, string packageName, long versionCode)
Parameters
Type | Name | Description |
---|---|---|
Variant | body | The body of the request. |
System.String | packageName | Package name of the app. |
System.Int64 | versionCode | The version code of the App Bundle. |
Returns
Type | Description |
---|---|
SystemapksResource.VariantsResource.CreateRequest |
Download(String, Int64, Int64)
Downloads a previously created system APK which is suitable for inclusion in a system image.
Declaration
public virtual SystemapksResource.VariantsResource.DownloadRequest Download(string packageName, long versionCode, long variantId)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
System.Int64 | versionCode | The version code of the App Bundle. |
System.Int64 | variantId | The ID of a previously created system APK variant. |
Returns
Type | Description |
---|---|
SystemapksResource.VariantsResource.DownloadRequest |
Get(String, Int64, Int64)
Returns a previously created system APK variant.
Declaration
public virtual SystemapksResource.VariantsResource.GetRequest Get(string packageName, long versionCode, long variantId)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
System.Int64 | versionCode | The version code of the App Bundle. |
System.Int64 | variantId | The ID of a previously created system APK variant. |
Returns
Type | Description |
---|---|
SystemapksResource.VariantsResource.GetRequest |
List(String, Int64)
Returns the list of previously created system APK variants.
Declaration
public virtual SystemapksResource.VariantsResource.ListRequest List(string packageName, long versionCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | packageName | Package name of the app. |
System.Int64 | versionCode | The version code of the App Bundle. |
Returns
Type | Description |
---|---|
SystemapksResource.VariantsResource.ListRequest |