google-cloud-talent-v4beta1 0.4.4 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +13 -31
- data/README.md +9 -4
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +81 -0
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +15 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +15 -0
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +219 -23
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +95 -0
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +81 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/lib/google/cloud/talent/v4beta1.rb +3 -3
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/type/timeofday.rb +1 -1
- metadata +3 -22
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -732
- data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
- data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1011
- data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
- data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
- data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
- data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
- data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
- data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
- data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
- data/proto_docs/google/type/date.rb +0 -53
@@ -143,6 +143,27 @@ module Google
|
|
143
143
|
#
|
144
144
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
145
145
|
#
|
146
|
+
# @example Basic example
|
147
|
+
# require "google/longrunning"
|
148
|
+
#
|
149
|
+
# # Create a client object. The client can be reused for multiple calls.
|
150
|
+
# client = Google::Longrunning::Operations::Client.new
|
151
|
+
#
|
152
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
153
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
154
|
+
#
|
155
|
+
# # Call the list_operations method.
|
156
|
+
# result = client.list_operations request
|
157
|
+
#
|
158
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
159
|
+
# # iterate over all elements by calling #each, and the enumerable
|
160
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
161
|
+
# # methods are also available for managing paging directly.
|
162
|
+
# result.each do |response|
|
163
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
164
|
+
# p response
|
165
|
+
# end
|
166
|
+
#
|
146
167
|
def list_operations request, options = nil
|
147
168
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
148
169
|
|
@@ -217,6 +238,28 @@ module Google
|
|
217
238
|
#
|
218
239
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
219
240
|
#
|
241
|
+
# @example Basic example
|
242
|
+
# require "google/longrunning"
|
243
|
+
#
|
244
|
+
# # Create a client object. The client can be reused for multiple calls.
|
245
|
+
# client = Google::Longrunning::Operations::Client.new
|
246
|
+
#
|
247
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
248
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
249
|
+
#
|
250
|
+
# # Call the get_operation method.
|
251
|
+
# result = client.get_operation request
|
252
|
+
#
|
253
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
254
|
+
# # object to check the status of an operation, cancel it, or wait
|
255
|
+
# # for results. Here is how to block until completion:
|
256
|
+
# result.wait_until_done! timeout: 60
|
257
|
+
# if result.response?
|
258
|
+
# p result.response
|
259
|
+
# else
|
260
|
+
# puts "Error!"
|
261
|
+
# end
|
262
|
+
#
|
220
263
|
def get_operation request, options = nil
|
221
264
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
222
265
|
|
@@ -291,6 +334,21 @@ module Google
|
|
291
334
|
#
|
292
335
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
293
336
|
#
|
337
|
+
# @example Basic example
|
338
|
+
# require "google/longrunning"
|
339
|
+
#
|
340
|
+
# # Create a client object. The client can be reused for multiple calls.
|
341
|
+
# client = Google::Longrunning::Operations::Client.new
|
342
|
+
#
|
343
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
344
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
345
|
+
#
|
346
|
+
# # Call the delete_operation method.
|
347
|
+
# result = client.delete_operation request
|
348
|
+
#
|
349
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
350
|
+
# p result
|
351
|
+
#
|
294
352
|
def delete_operation request, options = nil
|
295
353
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
296
354
|
|
@@ -370,6 +428,21 @@ module Google
|
|
370
428
|
#
|
371
429
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
372
430
|
#
|
431
|
+
# @example Basic example
|
432
|
+
# require "google/longrunning"
|
433
|
+
#
|
434
|
+
# # Create a client object. The client can be reused for multiple calls.
|
435
|
+
# client = Google::Longrunning::Operations::Client.new
|
436
|
+
#
|
437
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
438
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
439
|
+
#
|
440
|
+
# # Call the cancel_operation method.
|
441
|
+
# result = client.cancel_operation request
|
442
|
+
#
|
443
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
444
|
+
# p result
|
445
|
+
#
|
373
446
|
def cancel_operation request, options = nil
|
374
447
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
375
448
|
|
@@ -452,6 +525,28 @@ module Google
|
|
452
525
|
#
|
453
526
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
454
527
|
#
|
528
|
+
# @example Basic example
|
529
|
+
# require "google/longrunning"
|
530
|
+
#
|
531
|
+
# # Create a client object. The client can be reused for multiple calls.
|
532
|
+
# client = Google::Longrunning::Operations::Client.new
|
533
|
+
#
|
534
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
535
|
+
# request = Google::Longrunning::WaitOperationRequest.new
|
536
|
+
#
|
537
|
+
# # Call the wait_operation method.
|
538
|
+
# result = client.wait_operation request
|
539
|
+
#
|
540
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
541
|
+
# # object to check the status of an operation, cancel it, or wait
|
542
|
+
# # for results. Here is how to block until completion:
|
543
|
+
# result.wait_until_done! timeout: 60
|
544
|
+
# if result.response?
|
545
|
+
# p result.response
|
546
|
+
# else
|
547
|
+
# puts "Error!"
|
548
|
+
# end
|
549
|
+
#
|
455
550
|
def wait_operation request, options = nil
|
456
551
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
457
552
|
|
@@ -1,6 +1,8 @@
|
|
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
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -10,12 +12,10 @@ require 'google/cloud/talent/v4beta1/filters_pb'
|
|
10
12
|
require 'google/cloud/talent/v4beta1/histogram_pb'
|
11
13
|
require 'google/cloud/talent/v4beta1/job_pb'
|
12
14
|
require 'google/longrunning/operations_pb'
|
13
|
-
require 'google/protobuf/any_pb'
|
14
15
|
require 'google/protobuf/duration_pb'
|
15
16
|
require 'google/protobuf/empty_pb'
|
16
17
|
require 'google/protobuf/field_mask_pb'
|
17
18
|
require 'google/rpc/status_pb'
|
18
|
-
require 'google/protobuf'
|
19
19
|
|
20
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
21
21
|
add_file("google/cloud/talent/v4beta1/job_service.proto", :syntax => :proto3) do
|
@@ -65,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
65
65
|
optional :diversification_level, :enum, 13, "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel"
|
66
66
|
optional :custom_ranking_info, :message, 14, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo"
|
67
67
|
optional :disable_keyword_match, :bool, 16
|
68
|
+
optional :keyword_match_mode, :enum, 18, "google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode"
|
68
69
|
end
|
69
70
|
add_message "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo" do
|
70
71
|
optional :importance_level, :enum, 1, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel"
|
@@ -89,6 +90,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
89
90
|
value :DISABLED, 1
|
90
91
|
value :SIMPLE, 2
|
91
92
|
end
|
93
|
+
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode" do
|
94
|
+
value :KEYWORD_MATCH_MODE_UNSPECIFIED, 0
|
95
|
+
value :KEYWORD_MATCH_DISABLED, 1
|
96
|
+
value :KEYWORD_MATCH_ALL, 2
|
97
|
+
value :KEYWORD_MATCH_TITLE_ONLY, 3
|
98
|
+
end
|
92
99
|
add_message "google.cloud.talent.v4beta1.SearchJobsResponse" do
|
93
100
|
repeated :matching_jobs, :message, 1, "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob"
|
94
101
|
repeated :histogram_query_results, :message, 2, "google.cloud.talent.v4beta1.HistogramQueryResult"
|
@@ -153,6 +160,7 @@ module Google
|
|
153
160
|
SearchJobsRequest::CustomRankingInfo::ImportanceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
|
154
161
|
SearchJobsRequest::SearchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode").enummodule
|
155
162
|
SearchJobsRequest::DiversificationLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel").enummodule
|
163
|
+
SearchJobsRequest::KeywordMatchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode").enummodule
|
156
164
|
SearchJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
|
157
165
|
SearchJobsResponse::MatchingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
|
158
166
|
SearchJobsResponse::CommuteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
|
@@ -1,11 +1,10 @@
|
|
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
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
|
-
require 'google/protobuf/timestamp_pb'
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/protobuf'
|
9
8
|
|
10
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
10
|
add_file("google/cloud/talent/v4beta1/tenant.proto", :syntax => :proto3) do
|
@@ -197,6 +197,21 @@ module Google
|
|
197
197
|
#
|
198
198
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
199
199
|
#
|
200
|
+
# @example Basic example
|
201
|
+
# require "google/cloud/talent/v4beta1"
|
202
|
+
#
|
203
|
+
# # Create a client object. The client can be reused for multiple calls.
|
204
|
+
# client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
|
205
|
+
#
|
206
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
207
|
+
# request = Google::Cloud::Talent::V4beta1::CreateTenantRequest.new
|
208
|
+
#
|
209
|
+
# # Call the create_tenant method.
|
210
|
+
# result = client.create_tenant request
|
211
|
+
#
|
212
|
+
# # The returned object is of type Google::Cloud::Talent::V4beta1::Tenant.
|
213
|
+
# p result
|
214
|
+
#
|
200
215
|
def create_tenant request, options = nil
|
201
216
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
202
217
|
|
@@ -270,6 +285,21 @@ module Google
|
|
270
285
|
#
|
271
286
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
272
287
|
#
|
288
|
+
# @example Basic example
|
289
|
+
# require "google/cloud/talent/v4beta1"
|
290
|
+
#
|
291
|
+
# # Create a client object. The client can be reused for multiple calls.
|
292
|
+
# client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
|
293
|
+
#
|
294
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
295
|
+
# request = Google::Cloud::Talent::V4beta1::GetTenantRequest.new
|
296
|
+
#
|
297
|
+
# # Call the get_tenant method.
|
298
|
+
# result = client.get_tenant request
|
299
|
+
#
|
300
|
+
# # The returned object is of type Google::Cloud::Talent::V4beta1::Tenant.
|
301
|
+
# p result
|
302
|
+
#
|
273
303
|
def get_tenant request, options = nil
|
274
304
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
275
305
|
|
@@ -348,6 +378,21 @@ module Google
|
|
348
378
|
#
|
349
379
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
350
380
|
#
|
381
|
+
# @example Basic example
|
382
|
+
# require "google/cloud/talent/v4beta1"
|
383
|
+
#
|
384
|
+
# # Create a client object. The client can be reused for multiple calls.
|
385
|
+
# client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
|
386
|
+
#
|
387
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
388
|
+
# request = Google::Cloud::Talent::V4beta1::UpdateTenantRequest.new
|
389
|
+
#
|
390
|
+
# # Call the update_tenant method.
|
391
|
+
# result = client.update_tenant request
|
392
|
+
#
|
393
|
+
# # The returned object is of type Google::Cloud::Talent::V4beta1::Tenant.
|
394
|
+
# p result
|
395
|
+
#
|
351
396
|
def update_tenant request, options = nil
|
352
397
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
353
398
|
|
@@ -421,6 +466,21 @@ module Google
|
|
421
466
|
#
|
422
467
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
423
468
|
#
|
469
|
+
# @example Basic example
|
470
|
+
# require "google/cloud/talent/v4beta1"
|
471
|
+
#
|
472
|
+
# # Create a client object. The client can be reused for multiple calls.
|
473
|
+
# client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
|
474
|
+
#
|
475
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
476
|
+
# request = Google::Cloud::Talent::V4beta1::DeleteTenantRequest.new
|
477
|
+
#
|
478
|
+
# # Call the delete_tenant method.
|
479
|
+
# result = client.delete_tenant request
|
480
|
+
#
|
481
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
482
|
+
# p result
|
483
|
+
#
|
424
484
|
def delete_tenant request, options = nil
|
425
485
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
426
486
|
|
@@ -499,6 +559,27 @@ module Google
|
|
499
559
|
#
|
500
560
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
501
561
|
#
|
562
|
+
# @example Basic example
|
563
|
+
# require "google/cloud/talent/v4beta1"
|
564
|
+
#
|
565
|
+
# # Create a client object. The client can be reused for multiple calls.
|
566
|
+
# client = Google::Cloud::Talent::V4beta1::TenantService::Client.new
|
567
|
+
#
|
568
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
569
|
+
# request = Google::Cloud::Talent::V4beta1::ListTenantsRequest.new
|
570
|
+
#
|
571
|
+
# # Call the list_tenants method.
|
572
|
+
# result = client.list_tenants request
|
573
|
+
#
|
574
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
575
|
+
# # iterate over all elements by calling #each, and the enumerable
|
576
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
577
|
+
# # methods are also available for managing paging directly.
|
578
|
+
# result.each do |response|
|
579
|
+
# # Each element is of type ::Google::Cloud::Talent::V4beta1::Tenant.
|
580
|
+
# p response
|
581
|
+
# end
|
582
|
+
#
|
502
583
|
def list_tenants request, options = nil
|
503
584
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
504
585
|
|
@@ -1,6 +1,8 @@
|
|
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
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -9,7 +11,6 @@ require 'google/cloud/talent/v4beta1/common_pb'
|
|
9
11
|
require 'google/cloud/talent/v4beta1/tenant_pb'
|
10
12
|
require 'google/protobuf/empty_pb'
|
11
13
|
require 'google/protobuf/field_mask_pb'
|
12
|
-
require 'google/protobuf'
|
13
14
|
|
14
15
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
16
|
add_file("google/cloud/talent/v4beta1/tenant_service.proto", :syntax => :proto3) do
|
@@ -16,12 +16,10 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
-
require "google/cloud/talent/v4beta1/application_service"
|
20
19
|
require "google/cloud/talent/v4beta1/company_service"
|
21
20
|
require "google/cloud/talent/v4beta1/completion"
|
22
21
|
require "google/cloud/talent/v4beta1/event_service"
|
23
22
|
require "google/cloud/talent/v4beta1/job_service"
|
24
|
-
require "google/cloud/talent/v4beta1/profile_service"
|
25
23
|
require "google/cloud/talent/v4beta1/tenant_service"
|
26
24
|
require "google/cloud/talent/v4beta1/version"
|
27
25
|
|
@@ -31,8 +29,10 @@ module Google
|
|
31
29
|
##
|
32
30
|
# To load this package, including all its services, and instantiate a client:
|
33
31
|
#
|
32
|
+
# @example
|
33
|
+
#
|
34
34
|
# require "google/cloud/talent/v4beta1"
|
35
|
-
# client = ::Google::Cloud::Talent::V4beta1::
|
35
|
+
# client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
|
36
36
|
#
|
37
37
|
module V4beta1
|
38
38
|
end
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|