Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_AndroidPublisher_EditsImages_Resource Class Reference

The "images" collection of methods. More...

Inheritance diagram for Google_Service_AndroidPublisher_EditsImages_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($packageName, $editId, $language, $imageType, $imageId, $optParams=array())
 Deletes the image (specified by id) from the edit.
 
 deleteall ($packageName, $editId, $language, $imageType, $optParams=array())
 Deletes all images for the specified language and image type.
 
 listEditsImages ($packageName, $editId, $language, $imageType, $optParams=array())
 Lists all images for the specified language and image type.
 
 upload ($packageName, $editId, $language, $imageType, $optParams=array())
 Uploads a new image and adds it to the list of images for the specified language and image type.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "images" collection of methods.

Typical usage is: $androidpublisherService = new Google_Service_AndroidPublisher(...); $images = $androidpublisherService->images;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_AndroidPublisher_EditsImages_Resource::delete ( $packageName,
$editId,
$language,
$imageType,
$imageId,
$optParams = array() )

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

(images.delete)

Parameters
string$packageNameUnique identifier for the Android app that is being updated; for example, "com.spiffygame".
string$editIdUnique identifier for this edit.
string$languageThe language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".
string$imageType
string$imageIdUnique identifier an image within the set of images attached to this edit.
array$optParamsOptional parameters.

◆ deleteall()

Google_Service_AndroidPublisher_EditsImages_Resource::deleteall ( $packageName,
$editId,
$language,
$imageType,
$optParams = array() )

Deletes all images for the specified language and image type.

(images.deleteall)

Parameters
string$packageNameUnique identifier for the Android app that is being updated; for example, "com.spiffygame".
string$editIdUnique identifier for this edit.
string$languageThe language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".
string$imageType
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_ImagesDeleteAllResponse

◆ listEditsImages()

Google_Service_AndroidPublisher_EditsImages_Resource::listEditsImages ( $packageName,
$editId,
$language,
$imageType,
$optParams = array() )

Lists all images for the specified language and image type.

(images.listEditsImages)

Parameters
string$packageNameUnique identifier for the Android app that is being updated; for example, "com.spiffygame".
string$editIdUnique identifier for this edit.
string$languageThe language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".
string$imageType
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_ImagesListResponse

◆ upload()

Google_Service_AndroidPublisher_EditsImages_Resource::upload ( $packageName,
$editId,
$language,
$imageType,
$optParams = array() )

Uploads a new image and adds it to the list of images for the specified language and image type.

(images.upload)

Parameters
string$packageNameUnique identifier for the Android app that is being updated; for example, "com.spiffygame".
string$editIdUnique identifier for this edit.
string$languageThe language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".
string$imageType
array$optParamsOptional parameters.
Return values
Google_Service_AndroidPublisher_ImagesUploadResponse

The documentation for this class was generated from the following file: