google-cloud-talent 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/talent/v4beta1.rb +2 -1
  3. data/lib/google/cloud/talent/v4beta1/application_pb.rb +1 -0
  4. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +8 -11
  5. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +1 -0
  6. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -33
  7. data/lib/google/cloud/talent/v4beta1/common_pb.rb +30 -0
  8. data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -0
  9. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +11 -14
  10. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +1 -0
  11. data/lib/google/cloud/talent/v4beta1/completion_client.rb +10 -10
  12. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +1 -0
  13. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +17 -19
  14. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +10 -15
  15. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +200 -49
  16. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +15 -15
  17. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +13 -18
  18. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +10 -16
  19. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +11 -12
  20. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +2 -4
  21. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +210 -177
  22. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -4
  23. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +47 -54
  24. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +92 -100
  25. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +168 -114
  26. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +55 -36
  27. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +4 -4
  28. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +7 -10
  29. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +6 -4
  30. data/lib/google/cloud/talent/v4beta1/event_pb.rb +1 -0
  31. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +2 -4
  32. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +1 -0
  33. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +8 -0
  34. data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -0
  35. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +76 -97
  36. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +11 -1
  37. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +6 -6
  38. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +9 -0
  39. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +50 -27
  40. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +3 -0
  41. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -0
  42. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +5 -6
  43. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +1 -0
  44. data/lib/google/cloud/talent/version.rb +1 -1
  45. metadata +22 -2
@@ -17,8 +17,6 @@ module Google
17
17
  module Cloud
18
18
  module Talent
19
19
  module V4beta1
20
- # Input Only.
21
- #
22
20
  # The histogram request.
23
21
  # @!attribute [rw] histogram_query
24
22
  # @return [String]
@@ -32,8 +30,6 @@ module Google
32
30
  # for details about syntax.
33
31
  class HistogramQuery; end
34
32
 
35
- # Output only.
36
- #
37
33
  # Histogram result that matches
38
34
  # {Google::Cloud::Talent::V4beta1::HistogramQuery HistogramQuery} specified in
39
35
  # searches.
@@ -29,11 +29,11 @@ module Google
29
29
  # job is created.
30
30
  #
31
31
  # The format is
32
- # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
33
- # example, "projects/api-test-project/tenants/foo/jobs/1234".
32
+ # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
33
+ # example, "projects/foo/tenants/bar/jobs/baz".
34
34
  #
35
- # Tenant id is optional and the default tenant is used if unspecified, for
36
- # example, "projects/api-test-project/jobs/1234".
35
+ # If tenant id is unspecified, the default tenant is used. For
36
+ # example, "projects/foo/jobs/bar".
37
37
  #
38
38
  # Use of this field in job queries and API calls is preferred over the use of
39
39
  # {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id} since this
@@ -43,11 +43,11 @@ module Google
43
43
  # Required. The resource name of the company listing the job.
44
44
  #
45
45
  # The format is
46
- # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
47
- # example, "projects/api-test-project/tenants/foo/companies/bar".
46
+ # "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}". For
47
+ # example, "projects/foo/tenants/bar/companies/baz".
48
48
  #
49
- # Tenant id is optional and the default tenant is used if unspecified, for
50
- # example, "projects/api-test-project/companies/bar".
49
+ # If tenant id is unspecified, the default tenant is used. For
50
+ # example, "projects/foo/companies/bar".
51
51
  # @!attribute [rw] requisition_id
52
52
  # @return [String]
53
53
  # Required. The requisition ID, also referred to as the posting ID, is
@@ -79,7 +79,7 @@ module Google
79
79
  # The maximum number of allowed characters is 100,000.
80
80
  # @!attribute [rw] addresses
81
81
  # @return [Array<String>]
82
- # Optional but strongly recommended for the best service experience.
82
+ # Strongly recommended for the best service experience.
83
83
  #
84
84
  # Location(s) where the employer is looking to hire for this job posting.
85
85
  #
@@ -102,18 +102,18 @@ module Google
102
102
  # The maximum number of allowed characters is 500.
103
103
  # @!attribute [rw] application_info
104
104
  # @return [Google::Cloud::Talent::V4beta1::Job::ApplicationInfo]
105
- # Optional. Job application information.
105
+ # Job application information.
106
106
  # @!attribute [rw] job_benefits
107
107
  # @return [Array<Google::Cloud::Talent::V4beta1::JobBenefit>]
108
- # Optional. The benefits included with the job.
108
+ # The benefits included with the job.
109
109
  # @!attribute [rw] compensation_info
110
110
  # @return [Google::Cloud::Talent::V4beta1::CompensationInfo]
111
- # Optional. Job compensation information (a.k.a. "pay rate") i.e., the
112
- # compensation that will paid to the employee.
111
+ # Job compensation information (a.k.a. "pay rate") i.e., the compensation
112
+ # that will paid to the employee.
113
113
  # @!attribute [rw] custom_attributes
114
114
  # @return [Hash{String => Google::Cloud::Talent::V4beta1::CustomAttribute}]
115
- # Optional. A map of fields to hold both filterable and non-filterable custom
116
- # job attributes that are not covered by the provided structured fields.
115
+ # A map of fields to hold both filterable and non-filterable custom job
116
+ # attributes that are not covered by the provided structured fields.
117
117
  #
118
118
  # The keys of the map are strings up to 64 bytes and must match the
119
119
  # pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
@@ -126,28 +126,27 @@ module Google
126
126
  # is 50KB.
127
127
  # @!attribute [rw] degree_types
128
128
  # @return [Array<Google::Cloud::Talent::V4beta1::DegreeType>]
129
- # Optional. The desired education degrees for the job, such as Bachelors,
130
- # Masters.
129
+ # The desired education degrees for the job, such as Bachelors, Masters.
131
130
  # @!attribute [rw] department
132
131
  # @return [String]
133
- # Optional. The department or functional area within the company with the
134
- # open position.
132
+ # The department or functional area within the company with the open
133
+ # position.
135
134
  #
136
135
  # The maximum number of allowed characters is 255.
137
136
  # @!attribute [rw] employment_types
138
137
  # @return [Array<Google::Cloud::Talent::V4beta1::EmploymentType>]
139
- # Optional. The employment type(s) of a job, for example,
138
+ # The employment type(s) of a job, for example,
140
139
  # {Google::Cloud::Talent::V4beta1::EmploymentType::FULL_TIME full time} or
141
140
  # {Google::Cloud::Talent::V4beta1::EmploymentType::PART_TIME part time}.
142
141
  # @!attribute [rw] incentives
143
142
  # @return [String]
144
- # Optional. A description of bonus, commission, and other compensation
143
+ # A description of bonus, commission, and other compensation
145
144
  # incentives associated with the job not including salary or pay.
146
145
  #
147
146
  # The maximum number of allowed characters is 10,000.
148
147
  # @!attribute [rw] language_code
149
148
  # @return [String]
150
- # Optional. The language of the posting. This field is distinct from
149
+ # The language of the posting. This field is distinct from
151
150
  # any requirements for fluency that are associated with the job.
152
151
  #
153
152
  # Language codes must be in BCP-47 format, such as "en-US" or "sr-Latn".
@@ -162,11 +161,10 @@ module Google
162
161
  # otherwise defaults to 'en_US'.
163
162
  # @!attribute [rw] job_level
164
163
  # @return [Google::Cloud::Talent::V4beta1::JobLevel]
165
- # Optional. The experience level associated with the job, such as "Entry
166
- # Level".
164
+ # The experience level associated with the job, such as "Entry Level".
167
165
  # @!attribute [rw] promotion_value
168
166
  # @return [Integer]
169
- # Optional. A promotion value of the job, as determined by the client.
167
+ # A promotion value of the job, as determined by the client.
170
168
  # The value determines the sort order of the jobs returned when searching for
171
169
  # jobs using the featured jobs search call, with higher promotional values
172
170
  # being returned first and ties being resolved by relevance sort. Only the
@@ -175,7 +173,7 @@ module Google
175
173
  # Default value is 0, and negative values are treated as 0.
176
174
  # @!attribute [rw] qualifications
177
175
  # @return [String]
178
- # Optional. A description of the qualifications required to perform the
176
+ # A description of the qualifications required to perform the
179
177
  # job. The use of this field is recommended
180
178
  # as an alternative to using the more general
181
179
  # {Google::Cloud::Talent::V4beta1::Job#description description} field.
@@ -186,7 +184,7 @@ module Google
186
184
  # The maximum number of allowed characters is 10,000.
187
185
  # @!attribute [rw] responsibilities
188
186
  # @return [String]
189
- # Optional. A description of job responsibilities. The use of this field is
187
+ # A description of job responsibilities. The use of this field is
190
188
  # recommended as an alternative to using the more general
191
189
  # {Google::Cloud::Talent::V4beta1::Job#description description} field.
192
190
  #
@@ -196,12 +194,12 @@ module Google
196
194
  # The maximum number of allowed characters is 10,000.
197
195
  # @!attribute [rw] posting_region
198
196
  # @return [Google::Cloud::Talent::V4beta1::PostingRegion]
199
- # Optional. The job
200
- # {Google::Cloud::Talent::V4beta1::PostingRegion PostingRegion} (for example,
201
- # state, country) throughout which the job is available. If this field is
202
- # set, a {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in a
203
- # search query within the job region finds this job posting if an exact
204
- # location match isn't specified. If this field is set to
197
+ # The job {Google::Cloud::Talent::V4beta1::PostingRegion PostingRegion} (for
198
+ # example, state, country) throughout which the job is available. If this
199
+ # field is set, a
200
+ # {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in a search
201
+ # query within the job region finds this job posting if an exact location
202
+ # match isn't specified. If this field is set to
205
203
  # {Google::Cloud::Talent::V4beta1::PostingRegion::NATION PostingRegion::NATION} or
206
204
  # {Google::Cloud::Talent::V4beta1::PostingRegion::ADMINISTRATIVE_AREA PostingRegion::ADMINISTRATIVE_AREA},
207
205
  # setting job {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses} to
@@ -217,21 +215,20 @@ module Google
217
215
  # if not specified.
218
216
  # @!attribute [rw] job_start_time
219
217
  # @return [Google::Protobuf::Timestamp]
220
- # Optional. The start timestamp of the job in UTC time zone. Typically this
221
- # field is used for contracting engagements. Invalid timestamps are ignored.
218
+ # The start timestamp of the job in UTC time zone. Typically this field
219
+ # is used for contracting engagements. Invalid timestamps are ignored.
222
220
  # @!attribute [rw] job_end_time
223
221
  # @return [Google::Protobuf::Timestamp]
224
- # Optional. The end timestamp of the job. Typically this field is used for
225
- # contracting engagements. Invalid timestamps are ignored.
222
+ # The end timestamp of the job. Typically this field is used for contracting
223
+ # engagements. Invalid timestamps are ignored.
226
224
  # @!attribute [rw] posting_publish_time
227
225
  # @return [Google::Protobuf::Timestamp]
228
- # Optional. The timestamp this job posting was most recently published. The
229
- # default value is the time the request arrives at the server. Invalid
230
- # timestamps are ignored.
226
+ # The timestamp this job posting was most recently published. The default
227
+ # value is the time the request arrives at the server. Invalid timestamps are
228
+ # ignored.
231
229
  # @!attribute [rw] posting_expire_time
232
230
  # @return [Google::Protobuf::Timestamp]
233
- # Optional but strongly recommended for the best service
234
- # experience.
231
+ # Strongly recommended for the best service experience.
235
232
  #
236
233
  # The expiration timestamp of the job. After this timestamp, the
237
234
  # job is marked as expired, and it no longer appears in search results. The
@@ -295,19 +292,19 @@ module Google
295
292
  # Output only. Derived details about the job posting.
296
293
  # @!attribute [rw] processing_options
297
294
  # @return [Google::Cloud::Talent::V4beta1::Job::ProcessingOptions]
298
- # Optional. Options for job processing.
295
+ # Options for job processing.
299
296
  class Job
300
297
  # Application related details of a job posting.
301
298
  # @!attribute [rw] emails
302
299
  # @return [Array<String>]
303
- # Optional. Use this field to specify email address(es) to which resumes or
300
+ # Use this field to specify email address(es) to which resumes or
304
301
  # applications can be sent.
305
302
  #
306
303
  # The maximum number of allowed characters for each entry is 255.
307
304
  # @!attribute [rw] instruction
308
305
  # @return [String]
309
- # Optional. Use this field to provide instructions, such as "Mail your
310
- # application to ...", that a candidate can follow to apply for the job.
306
+ # Use this field to provide instructions, such as "Mail your application
307
+ # to ...", that a candidate can follow to apply for the job.
311
308
  #
312
309
  # This field accepts and sanitizes HTML input, and also accepts
313
310
  # bold, italic, ordered list, and unordered list markup tags.
@@ -315,14 +312,12 @@ module Google
315
312
  # The maximum number of allowed characters is 3,000.
316
313
  # @!attribute [rw] uris
317
314
  # @return [Array<String>]
318
- # Optional. Use this URI field to direct an applicant to a website, for
319
- # example to link to an online application form.
315
+ # Use this URI field to direct an applicant to a website, for example to
316
+ # link to an online application form.
320
317
  #
321
318
  # The maximum number of allowed characters for each entry is 2,000.
322
319
  class ApplicationInfo; end
323
320
 
324
- # Output only.
325
- #
326
321
  # Derived details about the job posting.
327
322
  # @!attribute [rw] locations
328
323
  # @return [Array<Google::Cloud::Talent::V4beta1::Location>]
@@ -340,16 +335,14 @@ module Google
340
335
  # {Google::Cloud::Talent::V4beta1::Job#description Job#description}.
341
336
  class DerivedInfo; end
342
337
 
343
- # Input only.
344
- #
345
338
  # Options for job processing.
346
339
  # @!attribute [rw] disable_street_address_resolution
347
340
  # @return [true, false]
348
- # Optional. If set to `true`, the service does not attempt to resolve a
341
+ # If set to `true`, the service does not attempt to resolve a
349
342
  # more precise address for the job.
350
343
  # @!attribute [rw] html_sanitization
351
344
  # @return [Google::Cloud::Talent::V4beta1::HtmlSanitization]
352
- # Optional. Option for job HTML content sanitization. Applied fields are:
345
+ # Option for job HTML content sanitization. Applied fields are:
353
346
  #
354
347
  # * description
355
348
  # * applicationInfo.instruction
@@ -17,48 +17,39 @@ module Google
17
17
  module Cloud
18
18
  module Talent
19
19
  module V4beta1
20
- # Input only.
21
- #
22
20
  # Create job request.
23
21
  # @!attribute [rw] parent
24
22
  # @return [String]
25
23
  # Required. The resource name of the tenant under which the job is created.
26
24
  #
27
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
28
- # "projects/api-test-project/tenant/foo".
29
- #
30
- # Tenant id is optional and a default tenant is created if unspecified, for
31
- # example, "projects/api-test-project".
25
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
26
+ # "projects/foo/tenant/bar". If tenant id is unspecified a default tenant
27
+ # is created. For example, "projects/foo".
32
28
  # @!attribute [rw] job
33
29
  # @return [Google::Cloud::Talent::V4beta1::Job]
34
30
  # Required. The Job to be created.
35
31
  class CreateJobRequest; end
36
32
 
37
- # Input only.
38
- #
39
33
  # Get job request.
40
34
  # @!attribute [rw] name
41
35
  # @return [String]
42
36
  # Required. The resource name of the job to retrieve.
43
37
  #
44
38
  # The format is
45
- # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
46
- # example, "projects/api-test-project/tenants/foo/jobs/1234".
39
+ # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
40
+ # example, "projects/foo/tenants/bar/jobs/baz".
47
41
  #
48
- # Tenant id is optional and the default tenant is used if unspecified, for
49
- # example, "projects/api-test-project/jobs/1234".
42
+ # If tenant id is unspecified, the default tenant is used. For
43
+ # example, "projects/foo/jobs/bar".
50
44
  class GetJobRequest; end
51
45
 
52
- # Input only.
53
- #
54
46
  # Update job request.
55
47
  # @!attribute [rw] job
56
48
  # @return [Google::Cloud::Talent::V4beta1::Job]
57
49
  # Required. The Job to be updated.
58
50
  # @!attribute [rw] update_mask
59
51
  # @return [Google::Protobuf::FieldMask]
60
- # Optional but strongly recommended to be provided for the best service
61
- # experience.
52
+ # Strongly recommended for the best service experience.
62
53
  #
63
54
  # If {Google::Cloud::Talent::V4beta1::UpdateJobRequest#update_mask update_mask}
64
55
  # is provided, only the specified fields in
@@ -69,33 +60,27 @@ module Google
69
60
  # top level fields of {Google::Cloud::Talent::V4beta1::Job Job} are supported.
70
61
  class UpdateJobRequest; end
71
62
 
72
- # Input only.
73
- #
74
63
  # Delete job request.
75
64
  # @!attribute [rw] name
76
65
  # @return [String]
77
66
  # Required. The resource name of the job to be deleted.
78
67
  #
79
68
  # The format is
80
- # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
81
- # example, "projects/api-test-project/tenants/foo/jobs/1234".
69
+ # "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For
70
+ # example, "projects/foo/tenants/bar/jobs/baz".
82
71
  #
83
- # Tenant id is optional and the default tenant is used if unspecified, for
84
- # example, "projects/api-test-project/jobs/1234".
72
+ # If tenant id is unspecified, the default tenant is used. For
73
+ # example, "projects/foo/jobs/bar".
85
74
  class DeleteJobRequest; end
86
75
 
87
- # Input only.
88
- #
89
76
  # Batch delete jobs request.
90
77
  # @!attribute [rw] parent
91
78
  # @return [String]
92
79
  # Required. The resource name of the tenant under which the job is created.
93
80
  #
94
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
95
- # "projects/api-test-project/tenant/foo".
96
- #
97
- # Tenant id is optional and the default tenant is used if unspecified, for
98
- # example, "projects/api-test-project".
81
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
82
+ # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
83
+ # is created. For example, "projects/foo".
99
84
  # @!attribute [rw] filter
100
85
  # @return [String]
101
86
  # Required. The filter string specifies the jobs to be deleted.
@@ -107,22 +92,18 @@ module Google
107
92
  # * `companyName` (Required)
108
93
  # * `requisitionId` (Required)
109
94
  #
110
- # Sample Query: companyName = "projects/api-test-project/companies/123" AND
95
+ # Sample Query: companyName = "projects/foo/companies/bar" AND
111
96
  # requisitionId = "req-1"
112
97
  class BatchDeleteJobsRequest; end
113
98
 
114
- # Input only.
115
- #
116
99
  # List jobs request.
117
100
  # @!attribute [rw] parent
118
101
  # @return [String]
119
102
  # Required. The resource name of the tenant under which the job is created.
120
103
  #
121
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
122
- # "projects/api-test-project/tenant/foo".
123
- #
124
- # Tenant id is optional and the default tenant is used if unspecified, for
125
- # example, "projects/api-test-project".
104
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
105
+ # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
106
+ # is created. For example, "projects/foo".
126
107
  # @!attribute [rw] filter
127
108
  # @return [String]
128
109
  # Required. The filter string specifies the jobs to be enumerated.
@@ -132,23 +113,23 @@ module Google
132
113
  # The fields eligible for filtering are:
133
114
  #
134
115
  # * `companyName` (Required)
135
- # * `requisitionId` (Optional)
136
- # * `status` (Optional) Available values: OPEN, EXPIRED, ALL. Defaults to
116
+ # * `requisitionId`
117
+ # * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
137
118
  # OPEN if no value is specified.
138
119
  #
139
120
  # Sample Query:
140
121
  #
141
- # * companyName = "projects/api-test-project/tenants/foo/companies/bar"
142
- # * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
122
+ # * companyName = "projects/foo/tenants/bar/companies/baz"
123
+ # * companyName = "projects/foo/tenants/bar/companies/baz" AND
143
124
  # requisitionId = "req-1"
144
- # * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
125
+ # * companyName = "projects/foo/tenants/bar/companies/baz" AND
145
126
  # status = "EXPIRED"
146
127
  # @!attribute [rw] page_token
147
128
  # @return [String]
148
- # Optional. The starting point of a query result.
129
+ # The starting point of a query result.
149
130
  # @!attribute [rw] page_size
150
131
  # @return [Integer]
151
- # Optional. The maximum number of jobs to be returned per page of results.
132
+ # The maximum number of jobs to be returned per page of results.
152
133
  #
153
134
  # If {Google::Cloud::Talent::V4beta1::ListJobsRequest#job_view job_view} is set
154
135
  # to
@@ -159,14 +140,12 @@ module Google
159
140
  # Default is 100 if empty or a number < 1 is specified.
160
141
  # @!attribute [rw] job_view
161
142
  # @return [Google::Cloud::Talent::V4beta1::JobView]
162
- # Optional. The desired job attributes returned for jobs in the
143
+ # The desired job attributes returned for jobs in the
163
144
  # search response. Defaults to
164
145
  # {Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_FULL JobView::JOB_VIEW_FULL}
165
146
  # if no value is specified.
166
147
  class ListJobsRequest; end
167
148
 
168
- # Output only.
169
- #
170
149
  # List jobs response.
171
150
  # @!attribute [rw] jobs
172
151
  # @return [Array<Google::Cloud::Talent::V4beta1::Job>]
@@ -183,21 +162,17 @@ module Google
183
162
  # tracking id.
184
163
  class ListJobsResponse; end
185
164
 
186
- # Input only.
187
- #
188
165
  # The Request body of the `SearchJobs` call.
189
166
  # @!attribute [rw] parent
190
167
  # @return [String]
191
168
  # Required. The resource name of the tenant to search within.
192
169
  #
193
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
194
- # "projects/api-test-project/tenant/foo".
195
- #
196
- # Tenant id is optional and the default tenant is used if unspecified, for
197
- # example, "projects/api-test-project".
170
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
171
+ # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
172
+ # is created. For example, "projects/foo".
198
173
  # @!attribute [rw] search_mode
199
174
  # @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::SearchMode]
200
- # Optional. Mode of a search.
175
+ # Mode of a search.
201
176
  #
202
177
  # Defaults to
203
178
  # {Google::Cloud::Talent::V4beta1::SearchJobsRequest::SearchMode::JOB_SEARCH SearchMode::JOB_SEARCH}.
@@ -208,19 +183,18 @@ module Google
208
183
  # `user_id`) are provided by users, and must be unique and consistent.
209
184
  # @!attribute [rw] job_query
210
185
  # @return [Google::Cloud::Talent::V4beta1::JobQuery]
211
- # Optional. Query used to search against jobs, such as keyword, location
212
- # filters, etc.
186
+ # Query used to search against jobs, such as keyword, location filters, etc.
213
187
  # @!attribute [rw] enable_broadening
214
188
  # @return [true, false]
215
- # Optional. Controls whether to broaden the search when it produces sparse
216
- # results. Broadened queries append results to the end of the matching
217
- # results list.
189
+ # Controls whether to broaden the search when it produces sparse results.
190
+ # Broadened queries append results to the end of the matching results
191
+ # list.
218
192
  #
219
193
  # Defaults to false.
220
194
  # @!attribute [rw] require_precise_result_size
221
195
  # @return [true, false]
222
- # Optional. Controls if the search job request requires the return of a
223
- # precise count of the first 300 results. Setting this to `true` ensures
196
+ # Controls if the search job request requires the return of a precise
197
+ # count of the first 300 results. Setting this to `true` ensures
224
198
  # consistency in the number of results per page. Best practice is to set this
225
199
  # value to true if a client allows users to jump directly to a
226
200
  # non-sequential search results page.
@@ -230,8 +204,7 @@ module Google
230
204
  # Defaults to false.
231
205
  # @!attribute [rw] histogram_queries
232
206
  # @return [Array<Google::Cloud::Talent::V4beta1::HistogramQuery>]
233
- # Optional. An expression specifies a histogram request against matching
234
- # jobs.
207
+ # An expression specifies a histogram request against matching jobs.
235
208
  #
236
209
  # Expression syntax is an aggregation function call with histogram facets and
237
210
  # other options.
@@ -340,14 +313,14 @@ module Google
340
313
  # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
341
314
  # @!attribute [rw] job_view
342
315
  # @return [Google::Cloud::Talent::V4beta1::JobView]
343
- # Optional. The desired job attributes returned for jobs in the search
344
- # response. Defaults to
316
+ # The desired job attributes returned for jobs in the search response.
317
+ # Defaults to
345
318
  # {Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_SMALL JobView::JOB_VIEW_SMALL}
346
319
  # if no value is specified.
347
320
  # @!attribute [rw] offset
348
321
  # @return [Integer]
349
- # Optional. An integer that specifies the current offset (that is, starting
350
- # result location, amongst the jobs deemed by the API as relevant) in search
322
+ # An integer that specifies the current offset (that is, starting result
323
+ # location, amongst the jobs deemed by the API as relevant) in search
351
324
  # results. This field is only considered if
352
325
  # {Google::Cloud::Talent::V4beta1::SearchJobsRequest#page_token page_token} is
353
326
  # unset.
@@ -358,19 +331,18 @@ module Google
358
331
  # from the second page).
359
332
  # @!attribute [rw] page_size
360
333
  # @return [Integer]
361
- # Optional. A limit on the number of jobs returned in the search results.
334
+ # A limit on the number of jobs returned in the search results.
362
335
  # Increasing this value above the default value of 10 can increase search
363
336
  # response time. The value can be between 1 and 100.
364
337
  # @!attribute [rw] page_token
365
338
  # @return [String]
366
- # Optional. The token specifying the current offset within
339
+ # The token specifying the current offset within
367
340
  # search results. See
368
341
  # {Google::Cloud::Talent::V4beta1::SearchJobsResponse#next_page_token SearchJobsResponse#next_page_token}
369
342
  # for an explanation of how to obtain the next set of query results.
370
343
  # @!attribute [rw] order_by
371
344
  # @return [String]
372
- # Optional. The criteria determining how search results are sorted. Default
373
- # is
345
+ # The criteria determining how search results are sorted. Default is
374
346
  # `"relevance desc"`.
375
347
  #
376
348
  # Supported options are:
@@ -426,8 +398,8 @@ module Google
426
398
  # {Google::Cloud::Talent::V4beta1::SearchJobsRequest#diversification_level diversification_level}.
427
399
  # @!attribute [rw] diversification_level
428
400
  # @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::DiversificationLevel]
429
- # Optional. Controls whether highly similar jobs are returned next to each
430
- # other in the search results. Jobs are identified as highly similar based on
401
+ # Controls whether highly similar jobs are returned next to each other in
402
+ # the search results. Jobs are identified as highly similar based on
431
403
  # their titles, job categories, and locations. Highly similar results are
432
404
  # clustered so that only one representative job of the cluster is
433
405
  # displayed to the job seeker higher up in the results, with the other jobs
@@ -438,11 +410,11 @@ module Google
438
410
  # if no value is specified.
439
411
  # @!attribute [rw] custom_ranking_info
440
412
  # @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo]
441
- # Optional. Controls over how job documents get ranked on top of existing
442
- # relevance score (determined by API algorithm).
413
+ # Controls over how job documents get ranked on top of existing relevance
414
+ # score (determined by API algorithm).
443
415
  # @!attribute [rw] disable_keyword_match
444
416
  # @return [true, false]
445
- # Optional. Controls whether to disable exact keyword match on
417
+ # Controls whether to disable exact keyword match on
446
418
  # {Google::Cloud::Talent::V4beta1::Job#title Job#title},
447
419
  # {Google::Cloud::Talent::V4beta1::Job#description Job#description},
448
420
  # {Google::Cloud::Talent::V4beta1::Job#company_display_name Job#company_display_name},
@@ -467,8 +439,6 @@ module Google
467
439
  #
468
440
  # Defaults to false.
469
441
  class SearchJobsRequest
470
- # Input only.
471
- #
472
442
  # Custom ranking information for
473
443
  # {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
474
444
  # @!attribute [rw] importance_level
@@ -561,7 +531,8 @@ module Google
561
531
  # A string-represented enumeration of the job search mode. The service
562
532
  # operate differently for different modes of service.
563
533
  module SearchMode
564
- # The mode of the search method isn't specified.
534
+ # The mode of the search method isn't specified. The default search
535
+ # behavior is identical to JOB_SEARCH search behavior.
565
536
  SEARCH_MODE_UNSPECIFIED = 0
566
537
 
567
538
  # The job search matches against all jobs, and featured jobs
@@ -577,8 +548,6 @@ module Google
577
548
  end
578
549
  end
579
550
 
580
- # Output only.
581
- #
582
551
  # Response for SearchJob method.
583
552
  # @!attribute [rw] matching_jobs
584
553
  # @return [Array<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>]
@@ -629,8 +598,6 @@ module Google
629
598
  # @return [Google::Cloud::Talent::V4beta1::SpellingCorrection]
630
599
  # The spell checking result, and correction.
631
600
  class SearchJobsResponse
632
- # Output only.
633
- #
634
601
  # Job entry with metadata inside
635
602
  # {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
636
603
  # @!attribute [rw] job
@@ -661,8 +628,6 @@ module Google
661
628
  # {Google::Cloud::Talent::V4beta1::CommuteFilter CommuteFilter}.
662
629
  class MatchingJob; end
663
630
 
664
- # Output only.
665
- #
666
631
  # Commute details related to this job.
667
632
  # @!attribute [rw] job_location
668
633
  # @return [Google::Cloud::Talent::V4beta1::Location]
@@ -681,11 +646,9 @@ module Google
681
646
  # @return [String]
682
647
  # Required. The resource name of the tenant under which the job is created.
683
648
  #
684
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
685
- # "projects/api-test-project/tenant/foo".
686
- #
687
- # Tenant id is optional and a default tenant is created if unspecified, for
688
- # example, "projects/api-test-project".
649
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
650
+ # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
651
+ # is created. For example, "projects/foo".
689
652
  # @!attribute [rw] jobs
690
653
  # @return [Array<Google::Cloud::Talent::V4beta1::Job>]
691
654
  # Required. The jobs to be created.
@@ -696,18 +659,16 @@ module Google
696
659
  # @return [String]
697
660
  # Required. The resource name of the tenant under which the job is created.
698
661
  #
699
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
700
- # "projects/api-test-project/tenant/foo".
701
- #
702
- # Tenant id is optional and the default tenant is used if unspecified, for
703
- # example, "projects/api-test-project".
662
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
663
+ # "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
664
+ # is created. For example, "projects/foo".
704
665
  # @!attribute [rw] jobs
705
666
  # @return [Array<Google::Cloud::Talent::V4beta1::Job>]
706
- # Required. The jobs to be updated.
667
+ # The jobs to be updated.
707
668
  # @!attribute [rw] update_mask
708
669
  # @return [Google::Protobuf::FieldMask]
709
- # Optional but strongly recommended to be provided for the best service
710
- # experience, also increase latency when checking status of batch operation.
670
+ # Strongly recommended for the best service experience. Be aware that it will
671
+ # also increase latency when checking the status of a batch operation.
711
672
  #
712
673
  # If
713
674
  # {Google::Cloud::Talent::V4beta1::BatchUpdateJobsRequest#update_mask update_mask}
@@ -727,6 +688,37 @@ module Google
727
688
  # which can yield a very large response.
728
689
  class BatchUpdateJobsRequest; end
729
690
 
691
+ # The result of
692
+ # {Google::Cloud::Talent::V4beta1::JobService::BatchCreateJobs JobService::BatchCreateJobs}
693
+ # or
694
+ # {Google::Cloud::Talent::V4beta1::JobService::BatchUpdateJobs JobService::BatchUpdateJobs}
695
+ # APIs. It's used to replace
696
+ # {Google::Longrunning::Operation#response}
697
+ # in case of success.
698
+ # @!attribute [rw] job_results
699
+ # @return [Array<Google::Cloud::Talent::V4beta1::JobOperationResult::JobResult>]
700
+ # List of job mutation results from a batch mutate operation. It can change
701
+ # until operation status is FINISHED, FAILED or CANCELLED.
702
+ class JobOperationResult
703
+ # Mutation result of a job.
704
+ # @!attribute [rw] job
705
+ # @return [Google::Cloud::Talent::V4beta1::Job]
706
+ # Here {Google::Cloud::Talent::V4beta1::Job Job} only contains basic
707
+ # information including {Google::Cloud::Talent::V4beta1::Job#name name},
708
+ # {Google::Cloud::Talent::V4beta1::Job#company company},
709
+ # {Google::Cloud::Talent::V4beta1::Job#language_code language_code} and
710
+ # {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}, use
711
+ # getJob method to retrieve detailed information of the created/updated
712
+ # job.
713
+ # @!attribute [rw] status
714
+ # @return [Google::Rpc::Status]
715
+ # The status of the job processed. This field is populated if the
716
+ # processing of the
717
+ # {Google::Cloud::Talent::V4beta1::JobOperationResult::JobResult#job job}
718
+ # fails.
719
+ class JobResult; end
720
+ end
721
+
730
722
  # An enum that specifies the job attributes that are returned in the
731
723
  # {Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob#job MatchingJob#job}
732
724
  # or {Google::Cloud::Talent::V4beta1::ListJobsResponse#jobs ListJobsResponse#jobs}