google-cloud-talent-v4beta1 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/talent/v4beta1/application_pb.rb +2 -2
  3. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +25 -15
  4. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +2 -2
  5. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +1 -1
  6. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +1 -1
  7. data/lib/google/cloud/talent/v4beta1/common_pb.rb +2 -2
  8. data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
  9. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +25 -15
  10. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -2
  11. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +1 -1
  12. data/lib/google/cloud/talent/v4beta1/completion/client.rb +5 -3
  13. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +2 -2
  14. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +1 -1
  15. data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -2
  16. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +5 -3
  17. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -2
  18. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +1 -1
  19. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +2 -2
  20. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +1 -1
  21. data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -2
  22. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +52 -32
  23. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +20 -12
  24. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +2 -2
  25. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +1 -1
  26. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +2 -2
  27. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +31 -19
  28. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +2 -2
  29. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +1 -1
  30. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -2
  31. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +25 -15
  32. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -2
  33. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +1 -1
  34. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  35. data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
  36. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +1 -1
  37. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +1 -1
  38. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f9ec648d2f92363d012af81fe8ce6a004bb19698256f61e4a18370b49d54690
4
- data.tar.gz: 9769dfe2c3a96f45220b653d8a07628da9824ab1fa27749a7a8bef0bbd6545fb
3
+ metadata.gz: bf7958215e7f6d3770e3cad3799a2b474f2be4f197f14d46f038af840ae7abb0
4
+ data.tar.gz: 83d4b02988851fa678302d5f8f059ca45e3db457e1da0b019257ceebd3812c6a
5
5
  SHA512:
6
- metadata.gz: d682371f7e9242c5a550d99be59c3c7425358fe6fde8692752e416e17ce8753ab4a02c292d7fc3c84fff288dc879556f669680f1939708144ce15a9918c061e1
7
- data.tar.gz: cbbb24807b6b4818c5d26eb94e1b8cbc4f3182b27c8f8b0aca7b509f88aa689b4864d62930c0419f68e49aebd64742342058c4c4d389682b8253305da19e0ea6
6
+ metadata.gz: e58540f80cb5c5f05bca96cceeeba554d5b34b5e8b28d4e4ddb4f6e4f10e89feadeb13366a1af2a5d85e271523a3fd8598f94551319c728d79130180d7bd9b8d
7
+ data.tar.gz: 93e4a7d52d712cfe2871e31b2a355a755da1ee1a982c96f23452174c38f3bf35079ea3f3fa0e5ba83367553ba82ff92115f87f55475a8f0e3eaa3c64714f7608
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/application.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/field_behavior_pb'
8
6
  require 'google/api/resource_pb'
@@ -10,6 +8,8 @@ require 'google/cloud/talent/v4beta1/common_pb'
10
8
  require 'google/protobuf/timestamp_pb'
11
9
  require 'google/protobuf/wrappers_pb'
12
10
  require 'google/type/date_pb'
11
+ require 'google/protobuf'
12
+
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_file("google/cloud/talent/v4beta1/application.proto", :syntax => :proto3) do
15
15
  add_message "google.cloud.talent.v4beta1.Application" do
@@ -216,9 +216,11 @@ module Google
216
216
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
217
217
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
218
218
 
219
- header_params = {
220
- "parent" => request.parent
221
- }
219
+ header_params = {}
220
+ if request.parent
221
+ header_params["parent"] = request.parent
222
+ end
223
+
222
224
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
223
225
  metadata[:"x-goog-request-params"] ||= request_params_header
224
226
 
@@ -288,9 +290,11 @@ module Google
288
290
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
289
291
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
290
292
 
291
- header_params = {
292
- "name" => request.name
293
- }
293
+ header_params = {}
294
+ if request.name
295
+ header_params["name"] = request.name
296
+ end
297
+
294
298
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
295
299
  metadata[:"x-goog-request-params"] ||= request_params_header
296
300
 
@@ -364,9 +368,11 @@ module Google
364
368
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
365
369
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
366
370
 
367
- header_params = {
368
- "application.name" => request.application.name
369
- }
371
+ header_params = {}
372
+ if request.application&.name
373
+ header_params["application.name"] = request.application.name
374
+ end
375
+
370
376
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
371
377
  metadata[:"x-goog-request-params"] ||= request_params_header
372
378
 
@@ -436,9 +442,11 @@ module Google
436
442
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
437
443
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
438
444
 
439
- header_params = {
440
- "name" => request.name
441
- }
445
+ header_params = {}
446
+ if request.name
447
+ header_params["name"] = request.name
448
+ end
449
+
442
450
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
443
451
  metadata[:"x-goog-request-params"] ||= request_params_header
444
452
 
@@ -513,9 +521,11 @@ module Google
513
521
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
514
522
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
515
523
 
516
- header_params = {
517
- "parent" => request.parent
518
- }
524
+ header_params = {}
525
+ if request.parent
526
+ header_params["parent"] = request.parent
527
+ end
528
+
519
529
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
520
530
  metadata[:"x-goog-request-params"] ||= request_params_header
521
531
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/application_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -11,6 +9,8 @@ require 'google/cloud/talent/v4beta1/application_pb'
11
9
  require 'google/cloud/talent/v4beta1/common_pb'
12
10
  require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf'
13
+
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/cloud/talent/v4beta1/application_service.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.talent.v4beta1.CreateApplicationRequest" do
@@ -28,7 +28,7 @@ module Google
28
28
  # enumeration.
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/batch.proto
3
3
 
4
+ require 'google/api/annotations_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/api/annotations_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("google/cloud/talent/v4beta1/batch.proto", :syntax => :proto3) do
9
9
  end
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/common.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/protobuf/timestamp_pb'
8
6
  require 'google/protobuf/wrappers_pb'
@@ -12,6 +10,8 @@ require 'google/type/money_pb'
12
10
  require 'google/type/postal_address_pb'
13
11
  require 'google/type/timeofday_pb'
14
12
  require 'google/api/annotations_pb'
13
+ require 'google/protobuf'
14
+
15
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/talent/v4beta1/common.proto", :syntax => :proto3) do
17
17
  add_message "google.cloud.talent.v4beta1.TimestampRange" do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/company.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/cloud/talent/v4beta1/common_pb'
9
7
  require 'google/api/annotations_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/talent/v4beta1/company.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.talent.v4beta1.Company" do
@@ -215,9 +215,11 @@ module Google
215
215
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
216
216
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
217
217
 
218
- header_params = {
219
- "parent" => request.parent
220
- }
218
+ header_params = {}
219
+ if request.parent
220
+ header_params["parent"] = request.parent
221
+ end
222
+
221
223
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
222
224
  metadata[:"x-goog-request-params"] ||= request_params_header
223
225
 
@@ -290,9 +292,11 @@ module Google
290
292
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
291
293
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
292
294
 
293
- header_params = {
294
- "name" => request.name
295
- }
295
+ header_params = {}
296
+ if request.name
297
+ header_params["name"] = request.name
298
+ end
299
+
296
300
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
297
301
  metadata[:"x-goog-request-params"] ||= request_params_header
298
302
 
@@ -366,9 +370,11 @@ module Google
366
370
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
367
371
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
368
372
 
369
- header_params = {
370
- "company.name" => request.company.name
371
- }
373
+ header_params = {}
374
+ if request.company&.name
375
+ header_params["company.name"] = request.company.name
376
+ end
377
+
372
378
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
373
379
  metadata[:"x-goog-request-params"] ||= request_params_header
374
380
 
@@ -442,9 +448,11 @@ module Google
442
448
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
443
449
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
444
450
 
445
- header_params = {
446
- "name" => request.name
447
- }
451
+ header_params = {}
452
+ if request.name
453
+ header_params["name"] = request.name
454
+ end
455
+
448
456
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
449
457
  metadata[:"x-goog-request-params"] ||= request_params_header
450
458
 
@@ -528,9 +536,11 @@ module Google
528
536
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
529
537
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
530
538
 
531
- header_params = {
532
- "parent" => request.parent
533
- }
539
+ header_params = {}
540
+ if request.parent
541
+ header_params["parent"] = request.parent
542
+ end
543
+
534
544
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
535
545
  metadata[:"x-goog-request-params"] ||= request_params_header
536
546
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/company_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -11,6 +9,8 @@ require 'google/cloud/talent/v4beta1/common_pb'
11
9
  require 'google/cloud/talent/v4beta1/company_pb'
12
10
  require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf'
13
+
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/cloud/talent/v4beta1/company_service.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.talent.v4beta1.CreateCompanyRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # A service that handles company management, including CRUD and enumeration.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -230,9 +230,11 @@ module Google
230
230
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
231
231
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
232
232
 
233
- header_params = {
234
- "parent" => request.parent
235
- }
233
+ header_params = {}
234
+ if request.parent
235
+ header_params["parent"] = request.parent
236
+ end
237
+
236
238
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
237
239
  metadata[:"x-goog-request-params"] ||= request_params_header
238
240
 
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/completion_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/field_behavior_pb'
8
6
  require 'google/api/resource_pb'
9
7
  require 'google/cloud/talent/v4beta1/common_pb'
10
8
  require 'google/api/client_pb'
9
+ require 'google/protobuf'
10
+
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/talent/v4beta1/completion_service.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles auto completion.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/event.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/protobuf/timestamp_pb'
8
6
  require 'google/api/annotations_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/talent/v4beta1/event.proto", :syntax => :proto3) do
11
11
  add_message "google.cloud.talent.v4beta1.ClientEvent" do
@@ -205,9 +205,11 @@ module Google
205
205
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
206
206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
207
207
 
208
- header_params = {
209
- "parent" => request.parent
210
- }
208
+ header_params = {}
209
+ if request.parent
210
+ header_params["parent"] = request.parent
211
+ end
212
+
211
213
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
212
214
  metadata[:"x-goog-request-params"] ||= request_params_header
213
215
 
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/event_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
9
7
  require 'google/api/resource_pb'
10
8
  require 'google/cloud/talent/v4beta1/event_pb'
9
+ require 'google/protobuf'
10
+
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/talent/v4beta1/event_service.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.talent.v4beta1.CreateClientEventRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles client event report.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/filters.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/cloud/talent/v4beta1/common_pb'
8
6
  require 'google/protobuf/duration_pb'
@@ -13,6 +11,8 @@ require 'google/type/date_pb'
13
11
  require 'google/type/latlng_pb'
14
12
  require 'google/type/timeofday_pb'
15
13
  require 'google/api/annotations_pb'
14
+ require 'google/protobuf'
15
+
16
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  add_file("google/cloud/talent/v4beta1/filters.proto", :syntax => :proto3) do
18
18
  add_message "google.cloud.talent.v4beta1.JobQuery" do
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/histogram.proto
3
3
 
4
+ require 'google/api/annotations_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/api/annotations_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("google/cloud/talent/v4beta1/histogram.proto", :syntax => :proto3) do
9
9
  add_message "google.cloud.talent.v4beta1.HistogramQuery" do
@@ -1,14 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/job.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/cloud/talent/v4beta1/common_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/type/postal_address_pb'
11
9
  require 'google/api/annotations_pb'
10
+ require 'google/protobuf'
11
+
12
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  add_file("google/cloud/talent/v4beta1/job.proto", :syntax => :proto3) do
14
14
  add_message "google.cloud.talent.v4beta1.Job" do
@@ -240,9 +240,11 @@ module Google
240
240
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
241
241
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
242
242
 
243
- header_params = {
244
- "parent" => request.parent
245
- }
243
+ header_params = {}
244
+ if request.parent
245
+ header_params["parent"] = request.parent
246
+ end
247
+
246
248
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
247
249
  metadata[:"x-goog-request-params"] ||= request_params_header
248
250
 
@@ -314,9 +316,11 @@ module Google
314
316
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
315
317
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
316
318
 
317
- header_params = {
318
- "parent" => request.parent
319
- }
319
+ header_params = {}
320
+ if request.parent
321
+ header_params["parent"] = request.parent
322
+ end
323
+
320
324
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
321
325
  metadata[:"x-goog-request-params"] ||= request_params_header
322
326
 
@@ -391,9 +395,11 @@ module Google
391
395
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
392
396
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
393
397
 
394
- header_params = {
395
- "name" => request.name
396
- }
398
+ header_params = {}
399
+ if request.name
400
+ header_params["name"] = request.name
401
+ end
402
+
397
403
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
398
404
  metadata[:"x-goog-request-params"] ||= request_params_header
399
405
 
@@ -470,9 +476,11 @@ module Google
470
476
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
471
477
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
472
478
 
473
- header_params = {
474
- "job.name" => request.job.name
475
- }
479
+ header_params = {}
480
+ if request.job&.name
481
+ header_params["job.name"] = request.job.name
482
+ end
483
+
476
484
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
477
485
  metadata[:"x-goog-request-params"] ||= request_params_header
478
486
 
@@ -559,9 +567,11 @@ module Google
559
567
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
560
568
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
561
569
 
562
- header_params = {
563
- "parent" => request.parent
564
- }
570
+ header_params = {}
571
+ if request.parent
572
+ header_params["parent"] = request.parent
573
+ end
574
+
565
575
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
566
576
  metadata[:"x-goog-request-params"] ||= request_params_header
567
577
 
@@ -638,9 +648,11 @@ module Google
638
648
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
639
649
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
640
650
 
641
- header_params = {
642
- "name" => request.name
643
- }
651
+ header_params = {}
652
+ if request.name
653
+ header_params["name"] = request.name
654
+ end
655
+
644
656
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
645
657
  metadata[:"x-goog-request-params"] ||= request_params_header
646
658
 
@@ -722,9 +734,11 @@ module Google
722
734
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
723
735
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
724
736
 
725
- header_params = {
726
- "parent" => request.parent
727
- }
737
+ header_params = {}
738
+ if request.parent
739
+ header_params["parent"] = request.parent
740
+ end
741
+
728
742
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
729
743
  metadata[:"x-goog-request-params"] ||= request_params_header
730
744
 
@@ -826,9 +840,11 @@ module Google
826
840
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
827
841
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
828
842
 
829
- header_params = {
830
- "parent" => request.parent
831
- }
843
+ header_params = {}
844
+ if request.parent
845
+ header_params["parent"] = request.parent
846
+ end
847
+
832
848
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
833
849
  metadata[:"x-goog-request-params"] ||= request_params_header
834
850
 
@@ -917,7 +933,7 @@ module Google
917
933
  #
918
934
  # Data types:
919
935
  #
920
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
936
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
921
937
  # * String: string like "any string with backslash escape for quote(\")."
922
938
  # * Number: whole number and floating point number like 10, -1 and -0.01.
923
939
  # * List: list of elements with comma(,) separator surrounded by square
@@ -1127,9 +1143,11 @@ module Google
1127
1143
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
1128
1144
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1129
1145
 
1130
- header_params = {
1131
- "parent" => request.parent
1132
- }
1146
+ header_params = {}
1147
+ if request.parent
1148
+ header_params["parent"] = request.parent
1149
+ end
1150
+
1133
1151
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1134
1152
  metadata[:"x-goog-request-params"] ||= request_params_header
1135
1153
 
@@ -1222,7 +1240,7 @@ module Google
1222
1240
  #
1223
1241
  # Data types:
1224
1242
  #
1225
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
1243
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
1226
1244
  # * String: string like "any string with backslash escape for quote(\")."
1227
1245
  # * Number: whole number and floating point number like 10, -1 and -0.01.
1228
1246
  # * List: list of elements with comma(,) separator surrounded by square
@@ -1432,9 +1450,11 @@ module Google
1432
1450
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
1433
1451
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1434
1452
 
1435
- header_params = {
1436
- "parent" => request.parent
1437
- }
1453
+ header_params = {}
1454
+ if request.parent
1455
+ header_params["parent"] = request.parent
1456
+ end
1457
+
1438
1458
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1439
1459
  metadata[:"x-goog-request-params"] ||= request_params_header
1440
1460
 
@@ -160,9 +160,11 @@ module Google
160
160
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
161
161
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
162
162
 
163
- header_params = {
164
- "name" => request.name
165
- }
163
+ header_params = {}
164
+ if request.name
165
+ header_params["name"] = request.name
166
+ end
167
+
166
168
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
167
169
  metadata[:"x-goog-request-params"] ||= request_params_header
168
170
 
@@ -232,9 +234,11 @@ module Google
232
234
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
233
235
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
234
236
 
235
- header_params = {
236
- "name" => request.name
237
- }
237
+ header_params = {}
238
+ if request.name
239
+ header_params["name"] = request.name
240
+ end
241
+
238
242
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
239
243
  metadata[:"x-goog-request-params"] ||= request_params_header
240
244
 
@@ -304,9 +308,11 @@ module Google
304
308
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
305
309
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
306
310
 
307
- header_params = {
308
- "name" => request.name
309
- }
311
+ header_params = {}
312
+ if request.name
313
+ header_params["name"] = request.name
314
+ end
315
+
310
316
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
311
317
  metadata[:"x-goog-request-params"] ||= request_params_header
312
318
 
@@ -381,9 +387,11 @@ module Google
381
387
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
382
388
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
383
389
 
384
- header_params = {
385
- "name" => request.name
386
- }
390
+ header_params = {}
391
+ if request.name
392
+ header_params["name"] = request.name
393
+ end
394
+
387
395
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
388
396
  metadata[:"x-goog-request-params"] ||= request_params_header
389
397
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/job_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -17,6 +15,8 @@ require 'google/protobuf/duration_pb'
17
15
  require 'google/protobuf/empty_pb'
18
16
  require 'google/protobuf/field_mask_pb'
19
17
  require 'google/rpc/status_pb'
18
+ require 'google/protobuf'
19
+
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("google/cloud/talent/v4beta1/job_service.proto", :syntax => :proto3) do
22
22
  add_message "google.cloud.talent.v4beta1.CreateJobRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles job management, including job CRUD, enumeration and search.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/profile.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/cloud/talent/v4beta1/common_pb'
@@ -12,6 +10,8 @@ require 'google/protobuf/wrappers_pb'
12
10
  require 'google/type/date_pb'
13
11
  require 'google/type/postal_address_pb'
14
12
  require 'google/api/annotations_pb'
13
+ require 'google/protobuf'
14
+
15
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/talent/v4beta1/profile.proto", :syntax => :proto3) do
17
17
  add_message "google.cloud.talent.v4beta1.Profile" do
@@ -249,9 +249,11 @@ module Google
249
249
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
250
250
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
251
 
252
- header_params = {
253
- "parent" => request.parent
254
- }
252
+ header_params = {}
253
+ if request.parent
254
+ header_params["parent"] = request.parent
255
+ end
256
+
255
257
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
256
258
  metadata[:"x-goog-request-params"] ||= request_params_header
257
259
 
@@ -323,9 +325,11 @@ module Google
323
325
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
324
326
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
325
327
 
326
- header_params = {
327
- "parent" => request.parent
328
- }
328
+ header_params = {}
329
+ if request.parent
330
+ header_params["parent"] = request.parent
331
+ end
332
+
329
333
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
330
334
  metadata[:"x-goog-request-params"] ||= request_params_header
331
335
 
@@ -395,9 +399,11 @@ module Google
395
399
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
396
400
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
397
401
 
398
- header_params = {
399
- "name" => request.name
400
- }
402
+ header_params = {}
403
+ if request.name
404
+ header_params["name"] = request.name
405
+ end
406
+
401
407
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
402
408
  metadata[:"x-goog-request-params"] ||= request_params_header
403
409
 
@@ -467,9 +473,11 @@ module Google
467
473
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
468
474
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
469
475
 
470
- header_params = {
471
- "profile.name" => request.profile.name
472
- }
476
+ header_params = {}
477
+ if request.profile&.name
478
+ header_params["profile.name"] = request.profile.name
479
+ end
480
+
473
481
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
474
482
  metadata[:"x-goog-request-params"] ||= request_params_header
475
483
 
@@ -541,9 +549,11 @@ module Google
541
549
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
542
550
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
543
551
 
544
- header_params = {
545
- "name" => request.name
546
- }
552
+ header_params = {}
553
+ if request.name
554
+ header_params["name"] = request.name
555
+ end
556
+
547
557
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
548
558
  metadata[:"x-goog-request-params"] ||= request_params_header
549
559
 
@@ -658,7 +668,7 @@ module Google
658
668
  #
659
669
  # Data types:
660
670
  #
661
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
671
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
662
672
  # * String: string like "any string with backslash escape for quote(\")."
663
673
  # * Number: whole number and floating point number like 10, -1 and -0.01.
664
674
  # * List: list of elements with comma(,) separator surrounded by square
@@ -784,9 +794,11 @@ module Google
784
794
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
785
795
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
786
796
 
787
- header_params = {
788
- "parent" => request.parent
789
- }
797
+ header_params = {}
798
+ if request.parent
799
+ header_params["parent"] = request.parent
800
+ end
801
+
790
802
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
791
803
  metadata[:"x-goog-request-params"] ||= request_params_header
792
804
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/profile_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -16,6 +14,8 @@ require 'google/protobuf/any_pb'
16
14
  require 'google/protobuf/empty_pb'
17
15
  require 'google/protobuf/field_mask_pb'
18
16
  require 'google/rpc/status_pb'
17
+ require 'google/protobuf'
18
+
19
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  add_file("google/cloud/talent/v4beta1/profile_service.proto", :syntax => :proto3) do
21
21
  add_message "google.cloud.talent.v4beta1.ListProfilesRequest" do
@@ -28,7 +28,7 @@ module Google
28
28
  # enumeration and search.
29
29
  class Service
30
30
 
31
- include GRPC::GenericService
31
+ include ::GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/tenant.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/protobuf/timestamp_pb'
9
7
  require 'google/api/annotations_pb'
8
+ require 'google/protobuf'
9
+
10
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/talent/v4beta1/tenant.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.talent.v4beta1.Tenant" do
@@ -214,9 +214,11 @@ module Google
214
214
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
215
215
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
216
216
 
217
- header_params = {
218
- "parent" => request.parent
219
- }
217
+ header_params = {}
218
+ if request.parent
219
+ header_params["parent"] = request.parent
220
+ end
221
+
220
222
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
221
223
  metadata[:"x-goog-request-params"] ||= request_params_header
222
224
 
@@ -285,9 +287,11 @@ module Google
285
287
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
286
288
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
287
289
 
288
- header_params = {
289
- "name" => request.name
290
- }
290
+ header_params = {}
291
+ if request.name
292
+ header_params["name"] = request.name
293
+ end
294
+
291
295
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
292
296
  metadata[:"x-goog-request-params"] ||= request_params_header
293
297
 
@@ -361,9 +365,11 @@ module Google
361
365
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
362
366
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
363
367
 
364
- header_params = {
365
- "tenant.name" => request.tenant.name
366
- }
368
+ header_params = {}
369
+ if request.tenant&.name
370
+ header_params["tenant.name"] = request.tenant.name
371
+ end
372
+
367
373
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
368
374
  metadata[:"x-goog-request-params"] ||= request_params_header
369
375
 
@@ -432,9 +438,11 @@ module Google
432
438
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
433
439
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
434
440
 
435
- header_params = {
436
- "name" => request.name
437
- }
441
+ header_params = {}
442
+ if request.name
443
+ header_params["name"] = request.name
444
+ end
445
+
438
446
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
439
447
  metadata[:"x-goog-request-params"] ||= request_params_header
440
448
 
@@ -508,9 +516,11 @@ module Google
508
516
  gapic_version: ::Google::Cloud::Talent::V4beta1::VERSION
509
517
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
510
518
 
511
- header_params = {
512
- "parent" => request.parent
513
- }
519
+ header_params = {}
520
+ if request.parent
521
+ header_params["parent"] = request.parent
522
+ end
523
+
514
524
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
515
525
  metadata[:"x-goog-request-params"] ||= request_params_header
516
526
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/tenant_service.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/api/client_pb'
8
6
  require 'google/api/field_behavior_pb'
@@ -11,6 +9,8 @@ require 'google/cloud/talent/v4beta1/common_pb'
11
9
  require 'google/cloud/talent/v4beta1/tenant_pb'
12
10
  require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf'
13
+
14
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
15
  add_file("google/cloud/talent/v4beta1/tenant_service.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.talent.v4beta1.CreateTenantRequest" do
@@ -27,7 +27,7 @@ module Google
27
27
  # A service that handles tenant management, including CRUD and enumeration.
28
28
  class Service
29
29
 
30
- include GRPC::GenericService
30
+ include ::GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4beta1
24
- VERSION = "0.4.3"
24
+ VERSION = "0.4.4"
25
25
  end
26
26
  end
27
27
  end
@@ -111,7 +111,7 @@ module Google
111
111
  # attributes that are not covered by the provided structured fields.
112
112
  #
113
113
  # The keys of the map are strings up to 64 bytes and must match the
114
- # pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
114
+ # pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example, key0LikeThis or
115
115
  # KEY_1_LIKE_THIS.
116
116
  #
117
117
  # At most 100 filterable and at most 100 unfilterable keys are supported.
@@ -235,7 +235,7 @@ module Google
235
235
  #
236
236
  # Data types:
237
237
  #
238
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
238
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
239
239
  # * String: string like "any string with backslash escape for quote(\")."
240
240
  # * Number: whole number and floating point number like 10, -1 and -0.01.
241
241
  # * List: list of elements with comma(,) separator surrounded by square
@@ -222,7 +222,7 @@ module Google
222
222
  #
223
223
  # Data types:
224
224
  #
225
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
225
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
226
226
  # * String: string like "any string with backslash escape for quote(\")."
227
227
  # * Number: whole number and floating point number like 10, -1 and -0.01.
228
228
  # * List: list of elements with comma(,) separator surrounded by square
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common