Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeArtifactsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeArtifactsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Request message for MetadataService.PurgeArtifacts.
Instance Attribute Summary collapse
-
#filter ⇒ String
Required.
-
#force ⇒ Boolean
(also: #force?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PurgeArtifactsRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1PurgeArtifactsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PurgeArtifactsRequest
Returns a new instance of GoogleCloudAiplatformV1beta1PurgeArtifactsRequest.
21752 21753 21754 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21752 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
Required. A required filter matching the Artifacts to be purged. E.g.,
update_time <= 2020-11-19T11:30:00-04:00
.
Corresponds to the JSON property filter
21743 21744 21745 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21743 def filter @filter end |
#force ⇒ Boolean Also known as: force?
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.
Corresponds to the JSON property force
21749 21750 21751 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21749 def force @force end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21757 21758 21759 21760 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21757 def update!(**args) @filter = args[:filter] if args.key?(:filter) @force = args[:force] if args.key?(:force) end |