Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PurgeExecutionsRequest

Inherits:
Object
  • Object
show all
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.PurgeExecutions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1PurgeExecutionsRequest

Returns a new instance of GoogleCloudAiplatformV1beta1PurgeExecutionsRequest.



19015
19016
19017
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19015

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#filterString

Required. A required filter matching the Executions to be purged. E.g., update_time <= 2020-11-19T11:30:00-04:00. Corresponds to the JSON property filter

Returns:

  • (String)


19005
19006
19007
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19005

def filter
  @filter
end

#forceBoolean 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 Execution names that would be deleted. Corresponds to the JSON property force

Returns:

  • (Boolean)


19012
19013
19014
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19012

def force
  @force
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19020
19021
19022
19023
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19020

def update!(**args)
  @filter = args[:filter] if args.key?(:filter)
  @force = args[:force] if args.key?(:force)
end