class ProjectsLocationsMetadataStoresArtifacts extends Resource (View source)

The "artifacts" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $artifacts = $aiplatformService->projects_locations_metadataStores_artifacts;

Methods

create(string $parent, GoogleCloudAiplatformV1Artifact $postBody, array $optParams = [])

Creates an Artifact associated with a MetadataStore. (artifacts.create)

delete(string $name, array $optParams = [])

Deletes an Artifact. (artifacts.delete)

get(string $name, array $optParams = [])

Retrieves a specific Artifact. (artifacts.get)

listProjectsLocationsMetadataStoresArtifacts(string $parent, array $optParams = [])

Lists Artifacts in the MetadataStore.

patch(string $name, GoogleCloudAiplatformV1Artifact $postBody, array $optParams = [])

Updates a stored Artifact. (artifacts.patch)

purge(string $parent, GoogleCloudAiplatformV1PurgeArtifactsRequest $postBody, array $optParams = [])

Purges Artifacts. (artifacts.purge)

queryArtifactLineageSubgraph(string $artifact, array $optParams = [])

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

Details

GoogleCloudAiplatformV1Artifact create(string $parent, GoogleCloudAiplatformV1Artifact $postBody, array $optParams = [])

Creates an Artifact associated with a MetadataStore. (artifacts.create)

Parameters

string $parent

Required. The resource name of the MetadataStore where the Artifact should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

GoogleCloudAiplatformV1Artifact $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1Artifact

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes an Artifact. (artifacts.delete)

Parameters

string $name

Required. The resource name of the Artifact to delete. Format: projects/{project}/locations/{location}/metadataStores/{metadatastor e}/artifacts/{artifact}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1Artifact get(string $name, array $optParams = [])

Retrieves a specific Artifact. (artifacts.get)

Parameters

string $name

Required. The resource name of the Artifact to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastor e}/artifacts/{artifact}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1Artifact

Exceptions

Exception

GoogleCloudAiplatformV1ListArtifactsResponse listProjectsLocationsMetadataStoresArtifacts(string $parent, array $optParams = [])

Lists Artifacts in the MetadataStore.

(artifacts.listProjectsLocationsMetadataStoresArtifacts)

Parameters

string $parent

Required. The MetadataStore whose Artifacts should be listed. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListArtifactsResponse

Exceptions

Exception

GoogleCloudAiplatformV1Artifact patch(string $name, GoogleCloudAiplatformV1Artifact $postBody, array $optParams = [])

Updates a stored Artifact. (artifacts.patch)

Parameters

string $name

Output only. The resource name of the Artifact.

GoogleCloudAiplatformV1Artifact $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1Artifact

Exceptions

Exception

GoogleLongrunningOperation purge(string $parent, GoogleCloudAiplatformV1PurgeArtifactsRequest $postBody, array $optParams = [])

Purges Artifacts. (artifacts.purge)

Parameters

string $parent

Required. The metadata store to purge Artifacts from. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

GoogleCloudAiplatformV1PurgeArtifactsRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1LineageSubgraph queryArtifactLineageSubgraph(string $artifact, array $optParams = [])

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

(artifacts.queryArtifactLineageSubgraph)

Parameters

string $artifact

Required. The resource name of the Artifact whose Lineage needs to be retrieved as a LineageSubgraph. Format: projects/{projec t}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact} The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000.

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1LineageSubgraph

Exceptions

Exception