Google Cloud Ai Platform V1 Client - Class PurgeArtifactsRequest (0.11.1)

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

Request message for MetadataService.PurgeArtifacts.

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ filter string

Required. A required filter matching the Artifacts to be purged. E.g., update_time <= 2020年11月19日T11:30:00-04:00.

↳ force bool

Optional. Flag to indicate to actually perform the purge. If force is set to false, the method will return a sample of Artifact names that would be deleted.

getParent

Required. The metadata store to purge Artifacts from.

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

Returns
Type Description
string

setParent

Required. The metadata store to purge Artifacts from.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Required. A required filter matching the Artifacts to be purged.

E.g., update_time <= 2020年11月19日T11:30:00-04:00.

Returns
Type Description
string

setFilter

Required. A required filter matching the Artifacts to be purged.

E.g., update_time <= 2020年11月19日T11:30:00-04:00.

Parameter
Name Description
var string
Returns
Type Description
$this

getForce

Optional. Flag to indicate to actually perform the purge.

If force is set to false, the method will return a sample of Artifact names that would be deleted.

Returns
Type Description
bool

setForce

Optional. Flag to indicate to actually perform the purge.

If force is set to false, the method will return a sample of Artifact names that would be deleted.

Parameter
Name Description
var bool
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月13日 UTC.