class EditsTracks extends Resource (View source)

The "tracks" collection of methods.

Typical usage is:

 $androidpublisherService = new Google\Service\AndroidPublisher(...);
 $tracks = $androidpublisherService->edits_tracks;

Methods

create(string $packageName, string $editId, TrackConfig $postBody, array $optParams = [])

Creates a new track. (tracks.create)

get(string $packageName, string $editId, string $track, array $optParams = [])

Gets a track. (tracks.get)

listEditsTracks(string $packageName, string $editId, array $optParams = [])

Lists all tracks. (tracks.listEditsTracks)

patch(string $packageName, string $editId, string $track, Track $postBody, array $optParams = [])

Patches a track. (tracks.patch)

update(string $packageName, string $editId, string $track, Track $postBody, array $optParams = [])

Updates a track. (tracks.update)

Details

Track create(string $packageName, string $editId, TrackConfig $postBody, array $optParams = [])

Creates a new track. (tracks.create)

Parameters

string $packageName

Required. Package name of the app.

string $editId

Required. Identifier of the edit.

TrackConfig $postBody
array $optParams

Optional parameters.

Return Value

Track

Exceptions

Exception

Track get(string $packageName, string $editId, string $track, array $optParams = [])

Gets a track. (tracks.get)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $track

Identifier of the track. More on track name

array $optParams

Optional parameters.

Return Value

Track

Exceptions

Exception

TracksListResponse listEditsTracks(string $packageName, string $editId, array $optParams = [])

Lists all tracks. (tracks.listEditsTracks)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

array $optParams

Optional parameters.

Return Value

TracksListResponse

Exceptions

Exception

Track patch(string $packageName, string $editId, string $track, Track $postBody, array $optParams = [])

Patches a track. (tracks.patch)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $track

Identifier of the track. More on track name

Track $postBody
array $optParams

Optional parameters.

Return Value

Track

Exceptions

Exception

Track update(string $packageName, string $editId, string $track, Track $postBody, array $optParams = [])

Updates a track. (tracks.update)

Parameters

string $packageName

Package name of the app.

string $editId

Identifier of the edit.

string $track

Identifier of the track. More on track name

Track $postBody
array $optParams

Optional parameters.

Return Value

Track

Exceptions

Exception