class Media extends Resource (View source)

The "media" collection of methods.

Typical usage is:

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

Methods

upload(string $app, GoogleFirebaseAppdistroV1UploadReleaseRequest $postBody, array $optParams = [])

Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists. (media.upload)

Details

GoogleLongrunningOperation upload(string $app, GoogleFirebaseAppdistroV1UploadReleaseRequest $postBody, array $optParams = [])

Uploads a binary. Uploading a binary can result in a new release being created, an update to an existing release, or a no-op if a release with the same binary already exists. (media.upload)

Parameters

string $app

The name of the app resource. Format: projects/{project_number}/apps/{app_id}

GoogleFirebaseAppdistroV1UploadReleaseRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception