google-cloud-talent-v4 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/talent/v4/common_pb.rb +2 -2
  3. data/lib/google/cloud/talent/v4/company_pb.rb +2 -2
  4. data/lib/google/cloud/talent/v4/company_service/client.rb +25 -15
  5. data/lib/google/cloud/talent/v4/company_service_pb.rb +2 -2
  6. data/lib/google/cloud/talent/v4/company_service_services_pb.rb +1 -1
  7. data/lib/google/cloud/talent/v4/completion/client.rb +5 -3
  8. data/lib/google/cloud/talent/v4/completion_service_pb.rb +2 -2
  9. data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +1 -1
  10. data/lib/google/cloud/talent/v4/event_pb.rb +2 -2
  11. data/lib/google/cloud/talent/v4/event_service/client.rb +5 -3
  12. data/lib/google/cloud/talent/v4/event_service_pb.rb +2 -2
  13. data/lib/google/cloud/talent/v4/event_service_services_pb.rb +1 -1
  14. data/lib/google/cloud/talent/v4/filters_pb.rb +2 -2
  15. data/lib/google/cloud/talent/v4/histogram_pb.rb +1 -1
  16. data/lib/google/cloud/talent/v4/job_pb.rb +2 -2
  17. data/lib/google/cloud/talent/v4/job_service/client.rb +52 -32
  18. data/lib/google/cloud/talent/v4/job_service/operations.rb +20 -12
  19. data/lib/google/cloud/talent/v4/job_service_pb.rb +2 -2
  20. data/lib/google/cloud/talent/v4/job_service_services_pb.rb +1 -1
  21. data/lib/google/cloud/talent/v4/tenant_pb.rb +2 -2
  22. data/lib/google/cloud/talent/v4/tenant_service/client.rb +25 -15
  23. data/lib/google/cloud/talent/v4/tenant_service_pb.rb +2 -2
  24. data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +1 -1
  25. data/lib/google/cloud/talent/v4/version.rb +1 -1
  26. data/proto_docs/google/cloud/talent/v4/job.rb +1 -1
  27. data/proto_docs/google/cloud/talent/v4/job_service.rb +1 -1
  28. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 437585d9004d5afece6039397ebcc29ff9c8be7d9acc06796ef1cb383ed7ff01
4
- data.tar.gz: 705e5ad8695306fe0f87832b3715173a11670a2ec1ad4b3e4a0236897daa2c5f
3
+ metadata.gz: 246b16c311818a59439f61ab07656266df07b894f898d8d4eafd0a0e0c87335d
4
+ data.tar.gz: d677d5cc0ed79bf56af5dcaa7e43fa48e670e8443fbe10a9f1ff7f9d20305580
5
5
  SHA512:
6
- metadata.gz: 973ac752c4655fe01ccf9db90356e9226f6ef88a3a2430f6f6d3419a6d92beaf421ab9ccc454e803c941db0b5a8ca826ed6b2094ca4638efd01311d7d381317a
7
- data.tar.gz: 0e41761b4d7e4f5159b4b5711a4a576ee4c36095126a32295cf766fdd35b4834010e70599b5920ed888a2bfc0d71694af2aa50bd63c76dc87f27969c862e4f6f
6
+ metadata.gz: 7cebcfa3c35c2bfed012bd9f6f28df78275458cbcb5a73e158f5b98ad4252e3a3929e931b563e2d04ffa437c86595580e29e02a67318839fcf0f5458378a0af8
7
+ data.tar.gz: ec66127bff9db28d47ec6da67596657e7d0cc29be912626b2699a81ac3f4cc804678636dd65d9f053dc60d96b76bcfa4a9a1f9547db5021041dbcbed75e93668
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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'
@@ -10,6 +8,8 @@ require 'google/type/latlng_pb'
10
8
  require 'google/type/money_pb'
11
9
  require 'google/type/postal_address_pb'
12
10
  require 'google/api/annotations_pb'
11
+ require 'google/protobuf'
12
+
13
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
14
  add_file("google/cloud/talent/v4/common.proto", :syntax => :proto3) do
15
15
  add_message "google.cloud.talent.v4.TimestampRange" do
@@ -1,12 +1,12 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/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/v4/company.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.talent.v4.Company" do
@@ -214,9 +214,11 @@ module Google
214
214
  gapic_version: ::Google::Cloud::Talent::V4::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
 
@@ -286,9 +288,11 @@ module Google
286
288
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
287
289
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
288
290
 
289
- header_params = {
290
- "name" => request.name
291
- }
291
+ header_params = {}
292
+ if request.name
293
+ header_params["name"] = request.name
294
+ end
295
+
292
296
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
293
297
  metadata[:"x-goog-request-params"] ||= request_params_header
294
298
 
@@ -362,9 +366,11 @@ module Google
362
366
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
363
367
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
364
368
 
365
- header_params = {
366
- "company.name" => request.company.name
367
- }
369
+ header_params = {}
370
+ if request.company&.name
371
+ header_params["company.name"] = request.company.name
372
+ end
373
+
368
374
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
369
375
  metadata[:"x-goog-request-params"] ||= request_params_header
370
376
 
@@ -435,9 +441,11 @@ module Google
435
441
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
436
442
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
437
443
 
438
- header_params = {
439
- "name" => request.name
440
- }
444
+ header_params = {}
445
+ if request.name
446
+ header_params["name"] = request.name
447
+ end
448
+
441
449
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
442
450
  metadata[:"x-goog-request-params"] ||= request_params_header
443
451
 
@@ -518,9 +526,11 @@ module Google
518
526
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
519
527
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
520
528
 
521
- header_params = {
522
- "parent" => request.parent
523
- }
529
+ header_params = {}
530
+ if request.parent
531
+ header_params["parent"] = request.parent
532
+ end
533
+
524
534
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
525
535
  metadata[:"x-goog-request-params"] ||= request_params_header
526
536
 
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/common_pb'
11
9
  require 'google/cloud/talent/v4/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/v4/company_service.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.talent.v4.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
@@ -224,9 +224,11 @@ module Google
224
224
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
225
225
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
226
226
 
227
- header_params = {
228
- "tenant" => request.tenant
229
- }
227
+ header_params = {}
228
+ if request.tenant
229
+ header_params["tenant"] = request.tenant
230
+ end
231
+
230
232
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
231
233
  metadata[:"x-goog-request-params"] ||= request_params_header
232
234
 
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/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/v4/completion_service.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.talent.v4.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/v4/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/v4/event.proto", :syntax => :proto3) do
11
11
  add_message "google.cloud.talent.v4.ClientEvent" do
@@ -204,9 +204,11 @@ module Google
204
204
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
205
205
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
206
206
 
207
- header_params = {
208
- "parent" => request.parent
209
- }
207
+ header_params = {}
208
+ if request.parent
209
+ header_params["parent"] = request.parent
210
+ end
211
+
210
212
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
211
213
  metadata[:"x-goog-request-params"] ||= request_params_header
212
214
 
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/event_pb'
9
+ require 'google/protobuf'
10
+
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/talent/v4/event_service.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.talent.v4.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,14 +1,14 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/filters.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/cloud/talent/v4/common_pb'
8
6
  require 'google/protobuf/duration_pb'
9
7
  require 'google/type/latlng_pb'
10
8
  require 'google/type/timeofday_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/v4/filters.proto", :syntax => :proto3) do
14
14
  add_message "google.cloud.talent.v4.JobQuery" do
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/histogram.proto", :syntax => :proto3) do
9
9
  add_message "google.cloud.talent.v4.HistogramQuery" do
@@ -1,13 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/v4/common_pb'
9
7
  require 'google/protobuf/timestamp_pb'
10
8
  require 'google/api/annotations_pb'
9
+ require 'google/protobuf'
10
+
11
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  add_file("google/cloud/talent/v4/job.proto", :syntax => :proto3) do
13
13
  add_message "google.cloud.talent.v4.Job" do
@@ -239,9 +239,11 @@ module Google
239
239
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
240
240
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
241
241
 
242
- header_params = {
243
- "parent" => request.parent
244
- }
242
+ header_params = {}
243
+ if request.parent
244
+ header_params["parent"] = request.parent
245
+ end
246
+
245
247
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
246
248
  metadata[:"x-goog-request-params"] ||= request_params_header
247
249
 
@@ -313,9 +315,11 @@ module Google
313
315
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
314
316
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
315
317
 
316
- header_params = {
317
- "parent" => request.parent
318
- }
318
+ header_params = {}
319
+ if request.parent
320
+ header_params["parent"] = request.parent
321
+ end
322
+
319
323
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
320
324
  metadata[:"x-goog-request-params"] ||= request_params_header
321
325
 
@@ -387,9 +391,11 @@ module Google
387
391
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
388
392
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
389
393
 
390
- header_params = {
391
- "name" => request.name
392
- }
394
+ header_params = {}
395
+ if request.name
396
+ header_params["name"] = request.name
397
+ end
398
+
393
399
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
394
400
  metadata[:"x-goog-request-params"] ||= request_params_header
395
401
 
@@ -466,9 +472,11 @@ module Google
466
472
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
467
473
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
468
474
 
469
- header_params = {
470
- "job.name" => request.job.name
471
- }
475
+ header_params = {}
476
+ if request.job&.name
477
+ header_params["job.name"] = request.job.name
478
+ end
479
+
472
480
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
473
481
  metadata[:"x-goog-request-params"] ||= request_params_header
474
482
 
@@ -555,9 +563,11 @@ module Google
555
563
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
556
564
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
557
565
 
558
- header_params = {
559
- "parent" => request.parent
560
- }
566
+ header_params = {}
567
+ if request.parent
568
+ header_params["parent"] = request.parent
569
+ end
570
+
561
571
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
562
572
  metadata[:"x-goog-request-params"] ||= request_params_header
563
573
 
@@ -631,9 +641,11 @@ module Google
631
641
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
632
642
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
633
643
 
634
- header_params = {
635
- "name" => request.name
636
- }
644
+ header_params = {}
645
+ if request.name
646
+ header_params["name"] = request.name
647
+ end
648
+
637
649
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
638
650
  metadata[:"x-goog-request-params"] ||= request_params_header
639
651
 
@@ -711,9 +723,11 @@ module Google
711
723
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
712
724
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
713
725
 
714
- header_params = {
715
- "parent" => request.parent
716
- }
726
+ header_params = {}
727
+ if request.parent
728
+ header_params["parent"] = request.parent
729
+ end
730
+
717
731
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
718
732
  metadata[:"x-goog-request-params"] ||= request_params_header
719
733
 
@@ -820,9 +834,11 @@ module Google
820
834
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
821
835
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
822
836
 
823
- header_params = {
824
- "parent" => request.parent
825
- }
837
+ header_params = {}
838
+ if request.parent
839
+ header_params["parent"] = request.parent
840
+ end
841
+
826
842
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
827
843
  metadata[:"x-goog-request-params"] ||= request_params_header
828
844
 
@@ -900,7 +916,7 @@ module Google
900
916
  #
901
917
  # Data types:
902
918
  #
903
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
919
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
904
920
  # * String: string like "any string with backslash escape for quote(\")."
905
921
  # * Number: whole number and floating point number like 10, -1 and -0.01.
906
922
  # * List: list of elements with comma(,) separator surrounded by square
@@ -1127,9 +1143,11 @@ module Google
1127
1143
  gapic_version: ::Google::Cloud::Talent::V4::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
 
@@ -1211,7 +1229,7 @@ module Google
1211
1229
  #
1212
1230
  # Data types:
1213
1231
  #
1214
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
1232
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
1215
1233
  # * String: string like "any string with backslash escape for quote(\")."
1216
1234
  # * Number: whole number and floating point number like 10, -1 and -0.01.
1217
1235
  # * List: list of elements with comma(,) separator surrounded by square
@@ -1438,9 +1456,11 @@ module Google
1438
1456
  gapic_version: ::Google::Cloud::Talent::V4::VERSION
1439
1457
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1440
1458
 
1441
- header_params = {
1442
- "parent" => request.parent
1443
- }
1459
+ header_params = {}
1460
+ if request.parent
1461
+ header_params["parent"] = request.parent
1462
+ end
1463
+
1444
1464
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1445
1465
  metadata[:"x-goog-request-params"] ||= request_params_header
1446
1466
 
@@ -160,9 +160,11 @@ module Google
160
160
  gapic_version: ::Google::Cloud::Talent::V4::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::V4::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::V4::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::V4::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/v4/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/v4/job_service.proto", :syntax => :proto3) do
22
22
  add_message "google.cloud.talent.v4.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,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4/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/api/annotations_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/talent/v4/tenant.proto", :syntax => :proto3) do
11
11
  add_message "google.cloud.talent.v4.Tenant" do
@@ -214,9 +214,11 @@ module Google
214
214
  gapic_version: ::Google::Cloud::Talent::V4::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::V4::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::V4::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::V4::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::V4::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/v4/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/v4/common_pb'
11
9
  require 'google/cloud/talent/v4/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/v4/tenant_service.proto", :syntax => :proto3) do
16
16
  add_message "google.cloud.talent.v4.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 V4
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.1"
25
25
  end
26
26
  end
27
27
  end
@@ -114,7 +114,7 @@ module Google
114
114
  # attributes that are not covered by the provided structured fields.
115
115
  #
116
116
  # The keys of the map are strings up to 64 bytes and must match the
117
- # pattern: [a-zA-Z][a-zA-Z0-9_]*. For example, key0LikeThis or
117
+ # pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example, key0LikeThis or
118
118
  # KEY_1_LIKE_THIS.
119
119
  #
120
120
  # At most 100 filterable and at most 100 unfilterable keys are supported.
@@ -194,7 +194,7 @@ module Google
194
194
  #
195
195
  # Data types:
196
196
  #
197
- # * Histogram facet: facet names with format [a-zA-Z][a-zA-Z0-9_]+.
197
+ # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
198
198
  # * String: string like "any string with backslash escape for quote(\")."
199
199
  # * Number: whole number and floating point number like 10, -1 and -0.01.
200
200
  # * 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-v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
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-09-22 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