Skip to main content

kfp_artifacts

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

Overview​

Namekfp_artifacts
TypeResource
Idgoogle.artifactregistry.kfp_artifacts

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
uploadexecprojectsId, locationsId, repositoriesIdDirectly uploads a KFP artifact. The returned Operation will complete once the resource is uploaded. Package, Version, and File resources will be created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will be overwritten.

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

Lifecycle Methods​

Directly uploads a KFP artifact. The returned Operation will complete once the resource is uploaded. Package, Version, and File resources will be created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will be overwritten.

EXEC google.artifactregistry.kfp_artifacts.upload
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@repositoriesId='{{ repositoriesId }}' --required
@@json=
'{
"description": "{{ description }}",
"tags": "{{ tags }}"
}'
;