Class: Google::Apis::JobsV3::BatchDeleteJobsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/representations.rb

Overview

Input only. Batch delete jobs request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchDeleteJobsRequest

Returns a new instance of BatchDeleteJobsRequest.


89
90
91
# File 'generated/google/apis/jobs_v3/classes.rb', line 89

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

Instance Attribute Details

#filterString

Required. The filter string specifies the jobs to be deleted. Supported operator: =, AND The fields eligible for filtering are:

  • companyName (Required)
  • requisitionId (Required) Sample Query: companyName = "projects/api-test-project/companies/123" AND requisitionId = "req-1" Corresponds to the JSON property filter

Returns:

  • (String)

87
88
89
# File 'generated/google/apis/jobs_v3/classes.rb', line 87

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


94
95
96
# File 'generated/google/apis/jobs_v3/classes.rb', line 94

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