Google Cloud Ai Platform V1 Client - Class DeleteArtifactRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DeleteArtifactRequest.

Request message for MetadataService.DeleteArtifact.

Generated from protobuf message google.cloud.aiplatform.v1.DeleteArtifactRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ etag string

Optional. The etag of the Artifact to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.

getName

Required. The resource name of the Artifact to delete.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Returns
Type Description
string

setName

Required. The resource name of the Artifact to delete.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Parameter
Name Description
var string
Returns
Type Description
$this

getEtag

Optional. The etag of the Artifact to delete.

If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.

Returns
Type Description
string

setEtag

Optional. The etag of the Artifact to delete.

If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the Artifact to delete. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact} Please see Google\Cloud\AIPlatform\V1\MetadataServiceClient::artifactName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\DeleteArtifactRequest