Google Cloud Ai Platform V1 Client - Class DeleteArtifactRequest (0.10.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

Methods

__construct

Constructor.

Parameters
NameDescription
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}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The resource name of the Artifact to delete.

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

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$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.

Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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.

Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this