class ProjectsAppsReleases extends Resource (View source)

The "releases" collection of methods.

Typical usage is:

 $firebaseappdistributionService = new Google\Service\FirebaseAppDistribution(...);
 $releases = $firebaseappdistributionService->projects_apps_releases;

Methods

batchDelete(string $parent, GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest $postBody, array $optParams = [])

Deletes releases. A maximum of 100 releases can be deleted per request.

distribute(string $name, GoogleFirebaseAppdistroV1DistributeReleaseRequest $postBody, array $optParams = [])

Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a INVALID_ARGUMENT if it contains a group that doesn't exist.

get(string $name, array $optParams = [])

Gets a release. (releases.get)

listProjectsAppsReleases(string $parent, array $optParams = [])

Lists releases. By default, sorts by createTime in descending order.

patch(string $name, GoogleFirebaseAppdistroV1Release $postBody, array $optParams = [])

Updates a release. (releases.patch)

Details

GoogleProtobufEmpty batchDelete(string $parent, GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest $postBody, array $optParams = [])

Deletes releases. A maximum of 100 releases can be deleted per request.

(releases.batchDelete)

Parameters

string $parent

Required. The name of the app resource, which is the parent of the release resources. Format: projects/{project_number}/apps/{app_id}

GoogleFirebaseAppdistroV1BatchDeleteReleasesRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleFirebaseAppdistroV1DistributeReleaseResponse distribute(string $name, GoogleFirebaseAppdistroV1DistributeReleaseRequest $postBody, array $optParams = [])

Distributes a release to testers. This call does the following: 1. Creates testers for the specified emails, if none exist. 2. Adds the testers and groups to the release. 3. Sends new testers an invitation email. 4. Sends existing testers a new release email. The request will fail with a INVALID_ARGUMENT if it contains a group that doesn't exist.

(releases.distribute)

Parameters

string $name

Required. The name of the release resource to distribute. Format: projects/{project_number}/apps/{app_id}/releases/{release_id}

GoogleFirebaseAppdistroV1DistributeReleaseRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppdistroV1DistributeReleaseResponse

Exceptions

Exception

GoogleFirebaseAppdistroV1Release get(string $name, array $optParams = [])

Gets a release. (releases.get)

Parameters

string $name

Required. The name of the release resource to retrieve. Format: projects/{project_number}/apps/{app_id}/releases/{release_id}

array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppdistroV1Release

Exceptions

Exception

GoogleFirebaseAppdistroV1ListReleasesResponse listProjectsAppsReleases(string $parent, array $optParams = [])

Lists releases. By default, sorts by createTime in descending order.

(releases.listProjectsAppsReleases)

Parameters

string $parent

Required. The name of the app resource, which is the parent of the release resources. Format: projects/{project_number}/apps/{app_id}

array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppdistroV1ListReleasesResponse

Exceptions

Exception

GoogleFirebaseAppdistroV1Release patch(string $name, GoogleFirebaseAppdistroV1Release $postBody, array $optParams = [])

Updates a release. (releases.patch)

Parameters

string $name

The name of the release resource. Format: projects/{project_number}/apps/{app_id}/releases/{release_id}

GoogleFirebaseAppdistroV1Release $postBody
array $optParams

Optional parameters.

Return Value

GoogleFirebaseAppdistroV1Release

Exceptions

Exception