Class: Google::Apis::JobsV2::BatchDeleteJobsRequest

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

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



41
42
43
# File 'generated/google/apis/jobs_v2/classes.rb', line 41

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 = "companies/123" AND requisitionId = "req-1" Corresponds to the JSON property filter

Returns:

  • (String)


39
40
41
# File 'generated/google/apis/jobs_v2/classes.rb', line 39

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46
47
48
# File 'generated/google/apis/jobs_v2/classes.rb', line 46

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