class SystemapksVariants extends Resource (View source)

The "variants" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $variants = $androidpublisherService->systemapks_variants;

Methods

create(string $packageName, string $versionCode, Variant $postBody, array $optParams = [])

Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. (variants.create)

download(string $packageName, string $versionCode, string $variantId, array $optParams = [])

Downloads a previously created system APK which is suitable for inclusion in a system image. (variants.download)

get(string $packageName, string $versionCode, string $variantId, array $optParams = [])

Returns a previously created system APK variant. (variants.get)

listSystemapksVariants(string $packageName, string $versionCode, array $optParams = [])

Returns the list of previously created system APK variants.

Details

Variant create(string $packageName, string $versionCode, Variant $postBody, array $optParams = [])

Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. (variants.create)

Parameters

string $packageName

Package name of the app.

string $versionCode

The version code of the App Bundle.

Variant $postBody
array $optParams

Optional parameters.

Return Value

Variant

Exceptions

Exception

download(string $packageName, string $versionCode, string $variantId, array $optParams = [])

Downloads a previously created system APK which is suitable for inclusion in a system image. (variants.download)

Parameters

string $packageName

Package name of the app.

string $versionCode

The version code of the App Bundle.

string $variantId

The ID of a previously created system APK variant.

array $optParams

Optional parameters.

Exceptions

Exception

Variant get(string $packageName, string $versionCode, string $variantId, array $optParams = [])

Returns a previously created system APK variant. (variants.get)

Parameters

string $packageName

Package name of the app.

string $versionCode

The version code of the App Bundle.

string $variantId

The ID of a previously created system APK variant.

array $optParams

Optional parameters.

Return Value

Variant

Exceptions

Exception

SystemApksListResponse listSystemapksVariants(string $packageName, string $versionCode, array $optParams = [])

Returns the list of previously created system APK variants.

(variants.listSystemapksVariants)

Parameters

string $packageName

Package name of the app.

string $versionCode

The version code of the App Bundle.

array $optParams

Optional parameters.

Return Value

SystemApksListResponse

Exceptions

Exception