class ProjectsLocationsRepositoriesKfpArtifacts extends Resource (View source)

The "kfpArtifacts" collection of methods.

Typical usage is:

 $artifactregistryService = new Google\Service\ArtifactRegistry(...);
 $kfpArtifacts = $artifactregistryService->projects_locations_repositories_kfpArtifacts;

Methods

upload(string $parent, UploadKfpArtifactRequest $postBody, array $optParams = [])

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. (kfpArtifacts.upload)

Details

UploadKfpArtifactMediaResponse upload(string $parent, UploadKfpArtifactRequest $postBody, array $optParams = [])

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. (kfpArtifacts.upload)

Parameters

string $parent

The resource name of the repository where the KFP artifact will be uploaded.

UploadKfpArtifactRequest $postBody
array $optParams

Optional parameters.

Return Value

UploadKfpArtifactMediaResponse

Exceptions

Exception