class EditsExpansionfiles extends Resource (View source)

The "expansionfiles" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $expansionfiles = $androidpublisherService->edits_expansionfiles;

Methods

get(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, array $optParams = [])

Fetches the expansion file configuration for the specified APK.

patch(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, ExpansionFile $postBody, array $optParams = [])

Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

update(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, ExpansionFile $postBody, array $optParams = [])

Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

upload(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, array $optParams = [])

Uploads a new expansion file and attaches to the specified APK.

Details

ExpansionFile get(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, array $optParams = [])

Fetches the expansion file configuration for the specified APK.

(expansionfiles.get)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

int $apkVersionCode

The version code of the APK whose expansion file configuration is being read or modified.

string $expansionFileType

The file type of the file configuration which is being read or modified.

array $optParams

Optional parameters.

Return Value

ExpansionFile

Exceptions

Exception

ExpansionFile patch(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, ExpansionFile $postBody, array $optParams = [])

Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

(expansionfiles.patch)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

int $apkVersionCode

The version code of the APK whose expansion file configuration is being read or modified.

string $expansionFileType

The file type of the expansion file configuration which is being updated.

ExpansionFile $postBody
array $optParams

Optional parameters.

Return Value

ExpansionFile

Exceptions

Exception

ExpansionFile update(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, ExpansionFile $postBody, array $optParams = [])

Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

(expansionfiles.update)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

int $apkVersionCode

The version code of the APK whose expansion file configuration is being read or modified.

string $expansionFileType

The file type of the file configuration which is being read or modified.

ExpansionFile $postBody
array $optParams

Optional parameters.

Return Value

ExpansionFile

Exceptions

Exception

ExpansionFilesUploadResponse upload(string $packageName, string $editId, int $apkVersionCode, string $expansionFileType, array $optParams = [])

Uploads a new expansion file and attaches to the specified APK.

(expansionfiles.upload)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

int $apkVersionCode

The version code of the APK whose expansion file configuration is being read or modified.

string $expansionFileType

The file type of the expansion file configuration which is being updated.

array $optParams

Optional parameters.

Return Value

ExpansionFilesUploadResponse

Exceptions

Exception