Class: Google::Apis::JobsV2::DeleteJobsByFilterRequest
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::DeleteJobsByFilterRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb
Overview
Deprecated. Use BatchDeleteJobsRequest instead. Input only. Delete job by filter request. The job typically becomes unsearchable within 10 seconds, but it may take up to 5 minutes.
Instance Attribute Summary collapse
-
#disable_fast_process ⇒ Boolean
(also: #disable_fast_process?)
Optional.
-
#filter ⇒ Google::Apis::JobsV2::Filter
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteJobsByFilterRequest
constructor
A new instance of DeleteJobsByFilterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteJobsByFilterRequest
Returns a new instance of DeleteJobsByFilterRequest
1014 1015 1016 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_fast_process ⇒ Boolean Also known as: disable_fast_process?
Optional.
If set to true, this call waits for all processing steps to complete
before the job is cleaned up. Otherwise, the call returns while some
steps are still taking place asynchronously, hence faster.
Corresponds to the JSON property disableFastProcess
1004 1005 1006 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1004 def disable_fast_process @disable_fast_process end |
#filter ⇒ Google::Apis::JobsV2::Filter
Deprecated. Use BatchDeleteJobsRequest instead.
Input only.
Filter for jobs to be deleted.
Corresponds to the JSON property filter
1012 1013 1014 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1012 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1019 1020 1021 1022 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1019 def update!(**args) @disable_fast_process = args[:disable_fast_process] if args.key?(:disable_fast_process) @filter = args[:filter] if args.key?(:filter) end |