prewarmed_artifacts
Creates, updates, deletes, gets or lists a prewarmed_artifacts resource.
Overview
| Name | prewarmed_artifacts |
| Type | Resource |
| Id | google.artifactregistry.prewarmed_artifacts |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
expirationTime | string (google-datetime) | The expiration time of the prewarmed artifact. |
location | string | The location of the prewarmed artifact. |
uri | string | URL 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | projectsId, locationsId, repositoriesId | pageToken, filter, pageSize | Lists 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
repositoriesId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- list
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 }}'
;