Google Cloud Ai Platform V1 Client - Class UpdateArtifactRequest (0.10.0)

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

Request message for MetadataService.UpdateArtifact.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ artifact Google\Cloud\AIPlatform\V1\Artifact

Required. The Artifact containing updates. The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

↳ update_mask Google\Protobuf\FieldMask

Optional. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported.

↳ allow_missing bool

If set to true, and the Artifact is not found, a new Artifact is created.

getArtifact

Required. The Artifact containing updates.

The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\Artifact|null

hasArtifact

clearArtifact

setArtifact

Required. The Artifact containing updates.

The Artifact's Artifact.name field is used to identify the Artifact to be updated. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\Artifact
Returns
TypeDescription
$this

getUpdateMask

Optional. A FieldMask indicating which fields should be updated.

Functionality of this field is not yet supported.

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

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. A FieldMask indicating which fields should be updated.

Functionality of this field is not yet supported.

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

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getAllowMissing

If set to true, and the Artifact is not found, a new Artifact is created.

Generated from protobuf field bool allow_missing = 3;

Returns
TypeDescription
bool

setAllowMissing

If set to true, and the Artifact is not found, a new Artifact is created.

Generated from protobuf field bool allow_missing = 3;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this