class EditsImages extends Resource (View source)

The "images" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $images = $androidpublisherService->edits_images;

Methods

delete(string $packageName, string $editId, string $language, string $imageType, string $imageId, array $optParams = [])

Deletes the image (specified by id) from the edit. (images.delete)

deleteall(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Deletes all images for the specified language and image type. Returns an empty response if no images are found. (images.deleteall)

listEditsImages(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Lists all images. The response may be empty. (images.listEditsImages)

upload(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Uploads an image of the specified language and image type, and adds to the edit. (images.upload)

Details

delete(string $packageName, string $editId, string $language, string $imageType, string $imageId, array $optParams = [])

Deletes the image (specified by id) from the edit. (images.delete)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $language

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German).

string $imageType

Type of the Image.

string $imageId

Unique identifier an image within the set of images attached to this edit.

array $optParams

Optional parameters.

Exceptions

Exception

ImagesDeleteAllResponse deleteall(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Deletes all images for the specified language and image type. Returns an empty response if no images are found. (images.deleteall)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $language

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.

string $imageType

Type of the Image. Providing an image type that refers to no images is a no-op.

array $optParams

Optional parameters.

Return Value

ImagesDeleteAllResponse

Exceptions

Exception

ImagesListResponse listEditsImages(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Lists all images. The response may be empty. (images.listEditsImages)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $language

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). There must be a store listing for the specified language.

string $imageType

Type of the Image. Providing an image type that refers to no images will return an empty response.

array $optParams

Optional parameters.

Return Value

ImagesListResponse

Exceptions

Exception

ImagesUploadResponse upload(string $packageName, string $editId, string $language, string $imageType, array $optParams = [])

Uploads an image of the specified language and image type, and adds to the edit. (images.upload)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $language

Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op.

string $imageType

Type of the Image.

array $optParams

Optional parameters.

Return Value

ImagesUploadResponse

Exceptions

Exception