Skip to main content

prewarmed_artifacts

Creates, updates, deletes, gets or lists a prewarmed_artifacts resource.

Overview

Nameprewarmed_artifacts
TypeResource
Idgoogle.artifactregistry.prewarmed_artifacts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
expirationTimestring (google-datetime)The expiration time of the prewarmed artifact.
locationstringThe location of the prewarmed artifact.
uristringURL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsId, repositoriesIdpageToken, filter, pageSizeLists all streamed artifacts in a repository.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
repositoriesIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Lists all streamed artifacts in a repository.

SELECT
expirationTime,
location,
uri
FROM google.artifactregistry.prewarmed_artifacts
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND repositoriesId = '{{ repositoriesId }}' -- required
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
;