Method: projects.locations.repositories.files.get

Gets a file.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The name of the file to retrieve.

Authorization requires the following IAM permission on the specified resource name:

  • artifactregistry.files.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of File.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following Cloud IAM permission on the name resource:

  • artifactregistry.files.get

For more information, see the Cloud IAM Documentation.