Skip to main content

files

Overview

Namefiles
TypeResource
Idgoogle.artifactregistry.files

Fields

NameDatatypeDescription
namestringThe name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
createTimestringOutput only. The time when the File was created.
fetchTimestringOutput only. The time when the last attempt to refresh the file's data was made. Only set when the repository is remote.
hashesarrayThe hashes of the file content.
ownerstringThe name of the Package or Version that owns this file, if any.
sizeBytesstringThe size of the File in bytes.
updateTimestringOutput only. The time when the File was last updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTfilesId, locationsId, projectsId, repositoriesIdGets a file.
listSELECTlocationsId, projectsId, repositoriesIdLists files.
_listEXEClocationsId, projectsId, repositoriesIdLists files.