class Media extends Resource (View source)

The "media" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $media = $artifactregistryService->media;

Methods

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

Download a file. (media.download)

Details

DownloadFileResponse download(string $name, array $optParams = [])

Download a file. (media.download)

Parameters

string $name

Required. The name of the file to download.

array $optParams

Optional parameters.

Return Value

DownloadFileResponse

Exceptions

Exception