google-cloud-talent 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/talent.rb +28 -0
- data/lib/google/cloud/talent/v4beta1.rb +57 -0
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +1 -2
- data/lib/google/cloud/talent/v4beta1/application_service_client.rb +26 -24
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +30 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +28 -29
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +36 -32
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +14 -33
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +18 -27
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +144 -135
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +19 -36
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +20 -32
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +30 -32
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +121 -41
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +3 -7
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +239 -281
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +9 -3
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +129 -142
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +280 -215
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +198 -338
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +128 -108
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +11 -13
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +16 -27
- data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +51 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +87 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +13 -10
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +6 -1
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +528 -301
- data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +10 -0
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +13 -0
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +16 -8
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +118 -91
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +3 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +3 -1
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +24 -24
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +1 -0
- data/lib/google/cloud/talent/version.rb +22 -0
- metadata +8 -9
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/resume_service.rb +0 -98
- data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +0 -296
- data/lib/google/cloud/talent/v4beta1/resume_service_client_config.json +0 -31
- data/lib/google/cloud/talent/v4beta1/resume_service_pb.rb +0 -37
- data/lib/google/cloud/talent/v4beta1/resume_service_services_pb.rb +0 -75
@@ -59,6 +59,16 @@
|
|
59
59
|
"timeout_millis": 30000,
|
60
60
|
"retry_codes_name": "non_idempotent",
|
61
61
|
"retry_params_name": "default"
|
62
|
+
},
|
63
|
+
"BatchCreateJobs": {
|
64
|
+
"timeout_millis": 60000,
|
65
|
+
"retry_codes_name": "non_idempotent",
|
66
|
+
"retry_params_name": "default"
|
67
|
+
},
|
68
|
+
"BatchUpdateJobs": {
|
69
|
+
"timeout_millis": 60000,
|
70
|
+
"retry_codes_name": "non_idempotent",
|
71
|
+
"retry_params_name": "default"
|
62
72
|
}
|
63
73
|
}
|
64
74
|
}
|
@@ -5,6 +5,8 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/cloud/talent/v4beta1/batch_pb'
|
8
10
|
require 'google/cloud/talent/v4beta1/common_pb'
|
9
11
|
require 'google/cloud/talent/v4beta1/filters_pb'
|
10
12
|
require 'google/cloud/talent/v4beta1/histogram_pb'
|
@@ -106,6 +108,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
106
108
|
optional :job_location, :message, 1, "google.cloud.talent.v4beta1.Location"
|
107
109
|
optional :travel_duration, :message, 2, "google.protobuf.Duration"
|
108
110
|
end
|
111
|
+
add_message "google.cloud.talent.v4beta1.BatchCreateJobsRequest" do
|
112
|
+
optional :parent, :string, 1
|
113
|
+
repeated :jobs, :message, 2, "google.cloud.talent.v4beta1.Job"
|
114
|
+
end
|
115
|
+
add_message "google.cloud.talent.v4beta1.BatchUpdateJobsRequest" do
|
116
|
+
optional :parent, :string, 1
|
117
|
+
repeated :jobs, :message, 2, "google.cloud.talent.v4beta1.Job"
|
118
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
119
|
+
end
|
109
120
|
add_enum "google.cloud.talent.v4beta1.JobView" do
|
110
121
|
value :JOB_VIEW_UNSPECIFIED, 0
|
111
122
|
value :JOB_VIEW_ID_ONLY, 1
|
@@ -134,6 +145,8 @@ module Google
|
|
134
145
|
SearchJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
|
135
146
|
SearchJobsResponse::MatchingJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
|
136
147
|
SearchJobsResponse::CommuteInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
|
148
|
+
BatchCreateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchCreateJobsRequest").msgclass
|
149
|
+
BatchUpdateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchUpdateJobsRequest").msgclass
|
137
150
|
JobView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobView").enummodule
|
138
151
|
end
|
139
152
|
end
|
@@ -57,23 +57,31 @@ module Google
|
|
57
57
|
rpc :ListJobs, ListJobsRequest, ListJobsResponse
|
58
58
|
# Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
|
59
59
|
rpc :BatchDeleteJobs, BatchDeleteJobsRequest, Google::Protobuf::Empty
|
60
|
-
# Searches for jobs using the provided
|
60
|
+
# Searches for jobs using the provided
|
61
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
61
62
|
#
|
62
|
-
# This call constrains the
|
63
|
-
#
|
64
|
-
# permission to
|
63
|
+
# This call constrains the
|
64
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
65
|
+
# the database, and only returns jobs that the caller has permission to
|
66
|
+
# search against.
|
65
67
|
rpc :SearchJobs, SearchJobsRequest, SearchJobsResponse
|
66
|
-
# Searches for jobs using the provided
|
68
|
+
# Searches for jobs using the provided
|
69
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
67
70
|
#
|
68
71
|
# This API call is intended for the use case of targeting passive job
|
69
72
|
# seekers (for example, job seekers who have signed up to receive email
|
70
73
|
# alerts about potential job opportunities), and has different algorithmic
|
71
74
|
# adjustments that are targeted to passive job seekers.
|
72
75
|
#
|
73
|
-
# This call constrains the
|
74
|
-
#
|
75
|
-
# permission to search
|
76
|
+
# This call constrains the
|
77
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
78
|
+
# the database, and only returns jobs the caller has permission to search
|
79
|
+
# against.
|
76
80
|
rpc :SearchJobsForAlert, SearchJobsRequest, SearchJobsResponse
|
81
|
+
# Begins executing a batch create jobs operation.
|
82
|
+
rpc :BatchCreateJobs, BatchCreateJobsRequest, Google::Longrunning::Operation
|
83
|
+
# Begins executing a batch update jobs operation.
|
84
|
+
rpc :BatchUpdateJobs, BatchUpdateJobsRequest, Google::Longrunning::Operation
|
77
85
|
end
|
78
86
|
|
79
87
|
Stub = Service.rpc_stub_class
|
@@ -27,6 +27,7 @@ require "google/gax"
|
|
27
27
|
|
28
28
|
require "google/cloud/talent/v4beta1/profile_service_pb"
|
29
29
|
require "google/cloud/talent/v4beta1/credentials"
|
30
|
+
require "google/cloud/talent/version"
|
30
31
|
|
31
32
|
module Google
|
32
33
|
module Cloud
|
@@ -60,7 +61,7 @@ module Google
|
|
60
61
|
"search_profiles" => Google::Gax::PageDescriptor.new(
|
61
62
|
"page_token",
|
62
63
|
"next_page_token",
|
63
|
-
"
|
64
|
+
"summarized_profiles")
|
64
65
|
}.freeze
|
65
66
|
|
66
67
|
private_constant :PAGE_DESCRIPTORS
|
@@ -135,6 +136,10 @@ module Google
|
|
135
136
|
# The default timeout, in seconds, for calls made through this client.
|
136
137
|
# @param metadata [Hash]
|
137
138
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
139
|
+
# @param service_address [String]
|
140
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
141
|
+
# @param service_port [Integer]
|
142
|
+
# Override for the service port, or `nil` to leave as the default.
|
138
143
|
# @param exception_transformer [Proc]
|
139
144
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
140
145
|
# custom error handling.
|
@@ -144,6 +149,8 @@ module Google
|
|
144
149
|
client_config: {},
|
145
150
|
timeout: DEFAULT_TIMEOUT,
|
146
151
|
metadata: nil,
|
152
|
+
service_address: nil,
|
153
|
+
service_port: nil,
|
147
154
|
exception_transformer: nil,
|
148
155
|
lib_name: nil,
|
149
156
|
lib_version: ""
|
@@ -171,7 +178,7 @@ module Google
|
|
171
178
|
updater_proc = credentials.updater_proc
|
172
179
|
end
|
173
180
|
|
174
|
-
package_version =
|
181
|
+
package_version = Google::Cloud::Talent::VERSION
|
175
182
|
|
176
183
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
177
184
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
@@ -198,8 +205,8 @@ module Google
|
|
198
205
|
end
|
199
206
|
|
200
207
|
# Allow overriding the service path/port in subclasses.
|
201
|
-
service_path = self.class::SERVICE_ADDRESS
|
202
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
208
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
209
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
203
210
|
interceptors = self.class::GRPC_INTERCEPTORS
|
204
211
|
@profile_service_stub = Google::Gax::Grpc.create_stub(
|
205
212
|
service_path,
|
@@ -267,9 +274,8 @@ module Google
|
|
267
274
|
# Lists profiles by filter. The order is unspecified.
|
268
275
|
#
|
269
276
|
# @param parent [String]
|
270
|
-
# Required.
|
271
|
-
#
|
272
|
-
# The resource name of the tenant under which the job is created.
|
277
|
+
# Required. The resource name of the tenant under which the profile is
|
278
|
+
# created.
|
273
279
|
#
|
274
280
|
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
275
281
|
# "projects/api-test-project/tenants/foo".
|
@@ -280,10 +286,8 @@ module Google
|
|
280
286
|
# performed per-page, this determines the maximum number of
|
281
287
|
# resources in a page.
|
282
288
|
# @param read_mask [Google::Protobuf::FieldMask | Hash]
|
283
|
-
# Optional.
|
284
|
-
#
|
285
|
-
# A field mask to specify the profile fields to be listed in response.
|
286
|
-
# All fields are listed if it is unset.
|
289
|
+
# Optional. A field mask to specify the profile fields to be listed in
|
290
|
+
# response. All fields are listed if it is unset.
|
287
291
|
#
|
288
292
|
# Valid values are:
|
289
293
|
#
|
@@ -339,16 +343,12 @@ module Google
|
|
339
343
|
# Creates and returns a new profile.
|
340
344
|
#
|
341
345
|
# @param parent [String]
|
342
|
-
# Required.
|
343
|
-
#
|
344
|
-
# The name of the tenant this profile belongs to.
|
346
|
+
# Required. The name of the tenant this profile belongs to.
|
345
347
|
#
|
346
348
|
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
347
349
|
# "projects/api-test-project/tenants/foo".
|
348
350
|
# @param profile [Google::Cloud::Talent::V4beta1::Profile | Hash]
|
349
|
-
# Required.
|
350
|
-
#
|
351
|
-
# The profile to be created.
|
351
|
+
# Required. The profile to be created.
|
352
352
|
# A hash of the same form as `Google::Cloud::Talent::V4beta1::Profile`
|
353
353
|
# can also be provided.
|
354
354
|
# @param options [Google::Gax::CallOptions]
|
@@ -385,9 +385,7 @@ module Google
|
|
385
385
|
# Gets the specified profile.
|
386
386
|
#
|
387
387
|
# @param name [String]
|
388
|
-
# Required.
|
389
|
-
#
|
390
|
-
# Resource name of the profile to get.
|
388
|
+
# Required. Resource name of the profile to get.
|
391
389
|
#
|
392
390
|
# The format is
|
393
391
|
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
|
@@ -421,43 +419,39 @@ module Google
|
|
421
419
|
# Updates the specified profile and returns the updated result.
|
422
420
|
#
|
423
421
|
# @param profile [Google::Cloud::Talent::V4beta1::Profile | Hash]
|
424
|
-
# Required.
|
425
|
-
#
|
426
|
-
# Profile to be updated.
|
422
|
+
# Required. Profile to be updated.
|
427
423
|
# A hash of the same form as `Google::Cloud::Talent::V4beta1::Profile`
|
428
424
|
# can also be provided.
|
429
425
|
# @param update_mask [Google::Protobuf::FieldMask | Hash]
|
430
|
-
# Optional.
|
431
|
-
#
|
432
|
-
# A field mask to specify the profile fields to update.
|
426
|
+
# Optional. A field mask to specify the profile fields to update.
|
433
427
|
#
|
434
428
|
# A full update is performed if it is unset.
|
435
429
|
#
|
436
430
|
# Valid values are:
|
437
431
|
#
|
438
|
-
# *
|
432
|
+
# * external_id
|
439
433
|
# * source
|
440
434
|
# * uri
|
441
|
-
# *
|
442
|
-
# *
|
443
|
-
# *
|
444
|
-
# *
|
445
|
-
# *
|
435
|
+
# * is_hirable
|
436
|
+
# * create_time
|
437
|
+
# * update_time
|
438
|
+
# * resume
|
439
|
+
# * person_names
|
446
440
|
# * addresses
|
447
|
-
# *
|
448
|
-
# *
|
449
|
-
# *
|
450
|
-
# *
|
451
|
-
# *
|
452
|
-
# *
|
441
|
+
# * email_addresses
|
442
|
+
# * phone_numbers
|
443
|
+
# * personal_uris
|
444
|
+
# * additional_contact_info
|
445
|
+
# * employment_records
|
446
|
+
# * education_records
|
453
447
|
# * skills
|
454
448
|
# * projects
|
455
449
|
# * publications
|
456
450
|
# * patents
|
457
451
|
# * certifications
|
458
|
-
# *
|
459
|
-
# *
|
460
|
-
# *
|
452
|
+
# * recruiting_notes
|
453
|
+
# * custom_attributes
|
454
|
+
# * group_id
|
461
455
|
# A hash of the same form as `Google::Protobuf::FieldMask`
|
462
456
|
# can also be provided.
|
463
457
|
# @param options [Google::Gax::CallOptions]
|
@@ -495,9 +489,7 @@ module Google
|
|
495
489
|
# associated.
|
496
490
|
#
|
497
491
|
# @param name [String]
|
498
|
-
# Required.
|
499
|
-
#
|
500
|
-
# Resource name of the profile to be deleted.
|
492
|
+
# Required. Resource name of the profile to be deleted.
|
501
493
|
#
|
502
494
|
# The format is
|
503
495
|
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
|
@@ -533,27 +525,24 @@ module Google
|
|
533
525
|
# For example, search by raw queries "software engineer in Mountain View" or
|
534
526
|
# search by structured filters (location filter, education filter, etc.).
|
535
527
|
#
|
536
|
-
# See
|
528
|
+
# See
|
529
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}
|
530
|
+
# for more information.
|
537
531
|
#
|
538
532
|
# @param parent [String]
|
539
|
-
# Required.
|
540
|
-
#
|
541
|
-
# The resource name of the tenant to search within.
|
533
|
+
# Required. The resource name of the tenant to search within.
|
542
534
|
#
|
543
535
|
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
544
536
|
# "projects/api-test-project/tenants/foo".
|
545
537
|
# @param request_metadata [Google::Cloud::Talent::V4beta1::RequestMetadata | Hash]
|
546
|
-
# Required.
|
547
|
-
#
|
548
|
-
#
|
549
|
-
# to improve the search quality of the service. These values are provided by
|
550
|
-
# users, and must be precise and consistent.
|
538
|
+
# Required. The meta information collected about the profile search user.
|
539
|
+
# This is used to improve the search quality of the service. These values are
|
540
|
+
# provided by users, and must be precise and consistent.
|
551
541
|
# A hash of the same form as `Google::Cloud::Talent::V4beta1::RequestMetadata`
|
552
542
|
# can also be provided.
|
553
543
|
# @param profile_query [Google::Cloud::Talent::V4beta1::ProfileQuery | Hash]
|
554
|
-
# Optional.
|
555
|
-
#
|
556
|
-
# Search query to execute. See {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
|
544
|
+
# Optional. Search query to execute. See
|
545
|
+
# {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
|
557
546
|
# A hash of the same form as `Google::Cloud::Talent::V4beta1::ProfileQuery`
|
558
547
|
# can also be provided.
|
559
548
|
# @param page_size [Integer]
|
@@ -563,10 +552,10 @@ module Google
|
|
563
552
|
# performed per-page, this determines the maximum number of
|
564
553
|
# resources in a page.
|
565
554
|
# @param offset [Integer]
|
566
|
-
# Optional.
|
567
|
-
#
|
568
|
-
#
|
569
|
-
#
|
555
|
+
# Optional. An integer that specifies the current offset (that is, starting
|
556
|
+
# result) in search results. This field is only considered if
|
557
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
|
558
|
+
# is unset.
|
570
559
|
#
|
571
560
|
# The maximum allowed value is 5000. Otherwise an error is thrown.
|
572
561
|
#
|
@@ -574,45 +563,48 @@ module Google
|
|
574
563
|
# search from the 11th profile. This can be used for pagination, for example
|
575
564
|
# pageSize = 10 and offset = 10 means to search from the second page.
|
576
565
|
# @param disable_spell_check [true, false]
|
577
|
-
# Optional.
|
578
|
-
#
|
579
|
-
# This flag controls the spell-check feature. If `false`, the
|
566
|
+
# Optional. This flag controls the spell-check feature. If `false`, the
|
580
567
|
# service attempts to correct a misspelled query.
|
581
568
|
#
|
582
569
|
# For example, "enginee" is corrected to "engineer".
|
583
570
|
# @param order_by [String]
|
584
|
-
# Optional.
|
585
|
-
#
|
586
|
-
# The criteria that determines how search results are sorted.
|
571
|
+
# Optional. The criteria that determines how search results are sorted.
|
587
572
|
# Defaults is "relevance desc" if no value is specified.
|
588
573
|
#
|
589
574
|
# Supported options are:
|
590
575
|
#
|
591
576
|
# * "relevance desc": By descending relevance, as determined by the API
|
592
577
|
# algorithms.
|
593
|
-
# * "
|
578
|
+
# * "update_time desc": Sort by
|
579
|
+
# {Google::Cloud::Talent::V4beta1::Profile#update_time Profile#update_time} in
|
580
|
+
# descending order
|
594
581
|
# (recently updated profiles first).
|
595
|
-
# * "
|
582
|
+
# * "create_time desc": Sort by
|
583
|
+
# {Google::Cloud::Talent::V4beta1::Profile#create_time Profile#create_time} in
|
584
|
+
# descending order
|
596
585
|
# (recently created profiles first).
|
597
|
-
# * "first_name": Sort by
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
# * "
|
602
|
-
#
|
603
|
-
#
|
586
|
+
# * "first_name": Sort by
|
587
|
+
# {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
|
588
|
+
# in
|
589
|
+
# ascending order.
|
590
|
+
# * "first_name desc": Sort by
|
591
|
+
# {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#given_name PersonName::PersonStructuredName#given_name}
|
592
|
+
# in descending order.
|
593
|
+
# * "last_name": Sort by
|
594
|
+
# {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
|
595
|
+
# in
|
604
596
|
# ascending order.
|
597
|
+
# * "last_name desc": Sort by
|
598
|
+
# {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
|
599
|
+
# in ascending order.
|
605
600
|
# @param case_sensitive_sort [true, false]
|
606
|
-
# Optional.
|
607
|
-
#
|
608
|
-
#
|
609
|
-
# sensitively (based on ASCII) when the value is set to true. Default value
|
610
|
-
# is case in-sensitive sort (false).
|
601
|
+
# Optional. When sort by field is based on alphabetical order, sort values
|
602
|
+
# case sensitively (based on ASCII) when the value is set to true. Default
|
603
|
+
# value is case in-sensitive sort (false).
|
611
604
|
# @param histogram_queries [Array<Google::Cloud::Talent::V4beta1::HistogramQuery | Hash>]
|
612
|
-
# Optional.
|
613
|
-
#
|
614
|
-
#
|
615
|
-
# profiles for {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
|
605
|
+
# Optional. A list of expressions specifies histogram requests against
|
606
|
+
# matching profiles for
|
607
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
|
616
608
|
#
|
617
609
|
# The expression syntax looks like a function definition with optional
|
618
610
|
# parameters.
|
@@ -665,13 +657,19 @@ module Google
|
|
665
657
|
# * experience_in_months: experience in months. 0 means 0 month to 1 month
|
666
658
|
# (exclusive).
|
667
659
|
# * application_date: The application date specifies application start dates.
|
668
|
-
# See
|
660
|
+
# See
|
661
|
+
# {Google::Cloud::Talent::V4beta1::ApplicationDateFilter ApplicationDateFilter}
|
662
|
+
# for more details.
|
669
663
|
# * application_outcome_notes: The application outcome reason specifies the
|
670
664
|
# reasons behind the outcome of the job application.
|
671
|
-
# See
|
665
|
+
# See
|
666
|
+
# {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter}
|
667
|
+
# for more details.
|
672
668
|
# * application_job_title: The application job title specifies the job
|
673
669
|
# applied for in the application.
|
674
|
-
# See
|
670
|
+
# See
|
671
|
+
# {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter}
|
672
|
+
# for more details.
|
675
673
|
# * hirable_status: Hirable status specifies the profile's hirable status.
|
676
674
|
# * string_custom_attribute: String custom attributes. Values can be accessed
|
677
675
|
# via square bracket notation like string_custom_attribute["key1"].
|
@@ -688,14 +686,41 @@ module Google
|
|
688
686
|
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])
|
689
687
|
# A hash of the same form as `Google::Cloud::Talent::V4beta1::HistogramQuery`
|
690
688
|
# can also be provided.
|
689
|
+
# @param result_set_id [String]
|
690
|
+
# Optional. An id that uniquely identifies the result set of a
|
691
|
+
# {SearchProfiles} call. The id should be retrieved from the
|
692
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
|
693
|
+
# message returned from a previous invocation of {SearchProfiles}.
|
694
|
+
#
|
695
|
+
# A result set is an ordered list of search results.
|
696
|
+
#
|
697
|
+
# If this field is not set, a new result set is computed based on the
|
698
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}.
|
699
|
+
# A new
|
700
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
|
701
|
+
# is returned as a handle to access this result set.
|
702
|
+
#
|
703
|
+
# If this field is set, the service will ignore the resource and
|
704
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#profile_query profile_query}
|
705
|
+
# values, and simply retrieve a page of results from the corresponding result
|
706
|
+
# set. In this case, one and only one of [page_token] or [offset] must be
|
707
|
+
# set.
|
708
|
+
#
|
709
|
+
# A typical use case is to invoke
|
710
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}
|
711
|
+
# without this field, then use the resulting
|
712
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#result_set_id result_set_id}
|
713
|
+
# in
|
714
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
|
715
|
+
# to page through the results.
|
691
716
|
# @param options [Google::Gax::CallOptions]
|
692
717
|
# Overrides the default settings for this call, e.g, timeout,
|
693
718
|
# retries, etc.
|
694
719
|
# @yield [result, operation] Access the result along with the RPC operation
|
695
|
-
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::
|
720
|
+
# @yieldparam result [Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SummarizedProfile>]
|
696
721
|
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
697
|
-
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::
|
698
|
-
# An enumerable of Google::Cloud::Talent::V4beta1::
|
722
|
+
# @return [Google::Gax::PagedEnumerable<Google::Cloud::Talent::V4beta1::SummarizedProfile>]
|
723
|
+
# An enumerable of Google::Cloud::Talent::V4beta1::SummarizedProfile instances.
|
699
724
|
# See Google::Gax::PagedEnumerable documentation for other
|
700
725
|
# operations such as per-page iteration or access to the response
|
701
726
|
# object.
|
@@ -732,6 +757,7 @@ module Google
|
|
732
757
|
order_by: nil,
|
733
758
|
case_sensitive_sort: nil,
|
734
759
|
histogram_queries: nil,
|
760
|
+
result_set_id: nil,
|
735
761
|
options: nil,
|
736
762
|
&block
|
737
763
|
req = {
|
@@ -743,7 +769,8 @@ module Google
|
|
743
769
|
disable_spell_check: disable_spell_check,
|
744
770
|
order_by: order_by,
|
745
771
|
case_sensitive_sort: case_sensitive_sort,
|
746
|
-
histogram_queries: histogram_queries
|
772
|
+
histogram_queries: histogram_queries,
|
773
|
+
result_set_id: result_set_id
|
747
774
|
}.delete_if { |_, v| v.nil? }
|
748
775
|
req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::SearchProfilesRequest)
|
749
776
|
@search_profiles.call(req, options, &block)
|