google-cloud-data_catalog-v1 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +10 -1
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +574 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +75 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +216 -0
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +48 -0
- data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
- metadata +4 -4
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -152,7 +152,8 @@ module Google
|
|
152
152
|
credentials: credentials,
|
153
153
|
endpoint: @config.endpoint,
|
154
154
|
channel_args: @config.channel_args,
|
155
|
-
interceptors: @config.interceptors
|
155
|
+
interceptors: @config.interceptors,
|
156
|
+
channel_pool_config: @config.channel_pool
|
156
157
|
)
|
157
158
|
end
|
158
159
|
|
@@ -1477,6 +1478,14 @@ module Google
|
|
1477
1478
|
end
|
1478
1479
|
end
|
1479
1480
|
|
1481
|
+
##
|
1482
|
+
# Configuration for the channel pool
|
1483
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1484
|
+
#
|
1485
|
+
def channel_pool
|
1486
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1487
|
+
end
|
1488
|
+
|
1480
1489
|
##
|
1481
1490
|
# Configuration RPC class for the PolicyTagManager API.
|
1482
1491
|
#
|
@@ -187,6 +187,22 @@ module Google
|
|
187
187
|
# @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
|
188
188
|
#
|
189
189
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
190
|
+
#
|
191
|
+
# @example Basic example
|
192
|
+
# require "google/cloud/data_catalog/v1"
|
193
|
+
#
|
194
|
+
# # Create a client object. The client can be reused for multiple calls.
|
195
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
196
|
+
#
|
197
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
198
|
+
# request = Google::Cloud::DataCatalog::V1::CreateTaxonomyRequest.new
|
199
|
+
#
|
200
|
+
# # Call the create_taxonomy method.
|
201
|
+
# result = client.create_taxonomy request
|
202
|
+
#
|
203
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::Taxonomy.
|
204
|
+
# p result
|
205
|
+
#
|
190
206
|
def create_taxonomy request, options = nil
|
191
207
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
192
208
|
|
@@ -253,6 +269,22 @@ module Google
|
|
253
269
|
# @return [::Google::Protobuf::Empty]
|
254
270
|
#
|
255
271
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
272
|
+
#
|
273
|
+
# @example Basic example
|
274
|
+
# require "google/cloud/data_catalog/v1"
|
275
|
+
#
|
276
|
+
# # Create a client object. The client can be reused for multiple calls.
|
277
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
278
|
+
#
|
279
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
280
|
+
# request = Google::Cloud::DataCatalog::V1::DeleteTaxonomyRequest.new
|
281
|
+
#
|
282
|
+
# # Call the delete_taxonomy method.
|
283
|
+
# result = client.delete_taxonomy request
|
284
|
+
#
|
285
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
286
|
+
# p result
|
287
|
+
#
|
256
288
|
def delete_taxonomy request, options = nil
|
257
289
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
258
290
|
|
@@ -323,6 +355,22 @@ module Google
|
|
323
355
|
# @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
|
324
356
|
#
|
325
357
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
358
|
+
#
|
359
|
+
# @example Basic example
|
360
|
+
# require "google/cloud/data_catalog/v1"
|
361
|
+
#
|
362
|
+
# # Create a client object. The client can be reused for multiple calls.
|
363
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
364
|
+
#
|
365
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
366
|
+
# request = Google::Cloud::DataCatalog::V1::UpdateTaxonomyRequest.new
|
367
|
+
#
|
368
|
+
# # Call the update_taxonomy method.
|
369
|
+
# result = client.update_taxonomy request
|
370
|
+
#
|
371
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::Taxonomy.
|
372
|
+
# p result
|
373
|
+
#
|
326
374
|
def update_taxonomy request, options = nil
|
327
375
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
328
376
|
|
@@ -397,6 +445,26 @@ module Google
|
|
397
445
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
|
398
446
|
#
|
399
447
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
448
|
+
#
|
449
|
+
# @example Basic example
|
450
|
+
# require "google/cloud/data_catalog/v1"
|
451
|
+
#
|
452
|
+
# # Create a client object. The client can be reused for multiple calls.
|
453
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
454
|
+
#
|
455
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
456
|
+
# request = Google::Cloud::DataCatalog::V1::ListTaxonomiesRequest.new
|
457
|
+
#
|
458
|
+
# # Call the list_taxonomies method.
|
459
|
+
# result = client.list_taxonomies request
|
460
|
+
#
|
461
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
462
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
463
|
+
# result.each do |item|
|
464
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1::Taxonomy.
|
465
|
+
# p item
|
466
|
+
# end
|
467
|
+
#
|
400
468
|
def list_taxonomies request, options = nil
|
401
469
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
402
470
|
|
@@ -460,6 +528,22 @@ module Google
|
|
460
528
|
# @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
|
461
529
|
#
|
462
530
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
531
|
+
#
|
532
|
+
# @example Basic example
|
533
|
+
# require "google/cloud/data_catalog/v1"
|
534
|
+
#
|
535
|
+
# # Create a client object. The client can be reused for multiple calls.
|
536
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
537
|
+
#
|
538
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
539
|
+
# request = Google::Cloud::DataCatalog::V1::GetTaxonomyRequest.new
|
540
|
+
#
|
541
|
+
# # Call the get_taxonomy method.
|
542
|
+
# result = client.get_taxonomy request
|
543
|
+
#
|
544
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::Taxonomy.
|
545
|
+
# p result
|
546
|
+
#
|
463
547
|
def get_taxonomy request, options = nil
|
464
548
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
465
549
|
|
@@ -524,6 +608,22 @@ module Google
|
|
524
608
|
# @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
|
525
609
|
#
|
526
610
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
611
|
+
#
|
612
|
+
# @example Basic example
|
613
|
+
# require "google/cloud/data_catalog/v1"
|
614
|
+
#
|
615
|
+
# # Create a client object. The client can be reused for multiple calls.
|
616
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
617
|
+
#
|
618
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
619
|
+
# request = Google::Cloud::DataCatalog::V1::CreatePolicyTagRequest.new
|
620
|
+
#
|
621
|
+
# # Call the create_policy_tag method.
|
622
|
+
# result = client.create_policy_tag request
|
623
|
+
#
|
624
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::PolicyTag.
|
625
|
+
# p result
|
626
|
+
#
|
527
627
|
def create_policy_tag request, options = nil
|
528
628
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
529
629
|
|
@@ -593,6 +693,22 @@ module Google
|
|
593
693
|
# @return [::Google::Protobuf::Empty]
|
594
694
|
#
|
595
695
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
696
|
+
#
|
697
|
+
# @example Basic example
|
698
|
+
# require "google/cloud/data_catalog/v1"
|
699
|
+
#
|
700
|
+
# # Create a client object. The client can be reused for multiple calls.
|
701
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
702
|
+
#
|
703
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
704
|
+
# request = Google::Cloud::DataCatalog::V1::DeletePolicyTagRequest.new
|
705
|
+
#
|
706
|
+
# # Call the delete_policy_tag method.
|
707
|
+
# result = client.delete_policy_tag request
|
708
|
+
#
|
709
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
710
|
+
# p result
|
711
|
+
#
|
596
712
|
def delete_policy_tag request, options = nil
|
597
713
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
598
714
|
|
@@ -664,6 +780,22 @@ module Google
|
|
664
780
|
# @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
|
665
781
|
#
|
666
782
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
783
|
+
#
|
784
|
+
# @example Basic example
|
785
|
+
# require "google/cloud/data_catalog/v1"
|
786
|
+
#
|
787
|
+
# # Create a client object. The client can be reused for multiple calls.
|
788
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
789
|
+
#
|
790
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
791
|
+
# request = Google::Cloud::DataCatalog::V1::UpdatePolicyTagRequest.new
|
792
|
+
#
|
793
|
+
# # Call the update_policy_tag method.
|
794
|
+
# result = client.update_policy_tag request
|
795
|
+
#
|
796
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::PolicyTag.
|
797
|
+
# p result
|
798
|
+
#
|
667
799
|
def update_policy_tag request, options = nil
|
668
800
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
669
801
|
|
@@ -735,6 +867,26 @@ module Google
|
|
735
867
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1::PolicyTag>]
|
736
868
|
#
|
737
869
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
870
|
+
#
|
871
|
+
# @example Basic example
|
872
|
+
# require "google/cloud/data_catalog/v1"
|
873
|
+
#
|
874
|
+
# # Create a client object. The client can be reused for multiple calls.
|
875
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
876
|
+
#
|
877
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
878
|
+
# request = Google::Cloud::DataCatalog::V1::ListPolicyTagsRequest.new
|
879
|
+
#
|
880
|
+
# # Call the list_policy_tags method.
|
881
|
+
# result = client.list_policy_tags request
|
882
|
+
#
|
883
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
884
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
885
|
+
# result.each do |item|
|
886
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1::PolicyTag.
|
887
|
+
# p item
|
888
|
+
# end
|
889
|
+
#
|
738
890
|
def list_policy_tags request, options = nil
|
739
891
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
740
892
|
|
@@ -798,6 +950,22 @@ module Google
|
|
798
950
|
# @return [::Google::Cloud::DataCatalog::V1::PolicyTag]
|
799
951
|
#
|
800
952
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
953
|
+
#
|
954
|
+
# @example Basic example
|
955
|
+
# require "google/cloud/data_catalog/v1"
|
956
|
+
#
|
957
|
+
# # Create a client object. The client can be reused for multiple calls.
|
958
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
959
|
+
#
|
960
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
961
|
+
# request = Google::Cloud::DataCatalog::V1::GetPolicyTagRequest.new
|
962
|
+
#
|
963
|
+
# # Call the get_policy_tag method.
|
964
|
+
# result = client.get_policy_tag request
|
965
|
+
#
|
966
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::PolicyTag.
|
967
|
+
# p result
|
968
|
+
#
|
801
969
|
def get_policy_tag request, options = nil
|
802
970
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
803
971
|
|
@@ -864,6 +1032,22 @@ module Google
|
|
864
1032
|
# @return [::Google::Iam::V1::Policy]
|
865
1033
|
#
|
866
1034
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1035
|
+
#
|
1036
|
+
# @example Basic example
|
1037
|
+
# require "google/cloud/data_catalog/v1"
|
1038
|
+
#
|
1039
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1040
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
1041
|
+
#
|
1042
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1043
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
1044
|
+
#
|
1045
|
+
# # Call the get_iam_policy method.
|
1046
|
+
# result = client.get_iam_policy request
|
1047
|
+
#
|
1048
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
1049
|
+
# p result
|
1050
|
+
#
|
867
1051
|
def get_iam_policy request, options = nil
|
868
1052
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
869
1053
|
|
@@ -938,6 +1122,22 @@ module Google
|
|
938
1122
|
# @return [::Google::Iam::V1::Policy]
|
939
1123
|
#
|
940
1124
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1125
|
+
#
|
1126
|
+
# @example Basic example
|
1127
|
+
# require "google/cloud/data_catalog/v1"
|
1128
|
+
#
|
1129
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1130
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
1131
|
+
#
|
1132
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1133
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
1134
|
+
#
|
1135
|
+
# # Call the set_iam_policy method.
|
1136
|
+
# result = client.set_iam_policy request
|
1137
|
+
#
|
1138
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
1139
|
+
# p result
|
1140
|
+
#
|
941
1141
|
def set_iam_policy request, options = nil
|
942
1142
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
943
1143
|
|
@@ -1007,6 +1207,22 @@ module Google
|
|
1007
1207
|
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
1008
1208
|
#
|
1009
1209
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1210
|
+
#
|
1211
|
+
# @example Basic example
|
1212
|
+
# require "google/cloud/data_catalog/v1"
|
1213
|
+
#
|
1214
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1215
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManager::Rest::Client.new
|
1216
|
+
#
|
1217
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1218
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
1219
|
+
#
|
1220
|
+
# # Call the test_iam_permissions method.
|
1221
|
+
# result = client.test_iam_permissions request
|
1222
|
+
#
|
1223
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
1224
|
+
# p result
|
1225
|
+
#
|
1010
1226
|
def test_iam_permissions request, options = nil
|
1011
1227
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1012
1228
|
|
@@ -150,7 +150,8 @@ module Google
|
|
150
150
|
credentials: credentials,
|
151
151
|
endpoint: @config.endpoint,
|
152
152
|
channel_args: @config.channel_args,
|
153
|
-
interceptors: @config.interceptors
|
153
|
+
interceptors: @config.interceptors,
|
154
|
+
channel_pool_config: @config.channel_pool
|
154
155
|
)
|
155
156
|
end
|
156
157
|
|
@@ -574,6 +575,14 @@ module Google
|
|
574
575
|
end
|
575
576
|
end
|
576
577
|
|
578
|
+
##
|
579
|
+
# Configuration for the channel pool
|
580
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
581
|
+
#
|
582
|
+
def channel_pool
|
583
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
584
|
+
end
|
585
|
+
|
577
586
|
##
|
578
587
|
# Configuration RPC class for the PolicyTagManagerSerialization API.
|
579
588
|
#
|
@@ -195,6 +195,22 @@ module Google
|
|
195
195
|
# @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
|
196
196
|
#
|
197
197
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
198
|
+
#
|
199
|
+
# @example Basic example
|
200
|
+
# require "google/cloud/data_catalog/v1"
|
201
|
+
#
|
202
|
+
# # Create a client object. The client can be reused for multiple calls.
|
203
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Rest::Client.new
|
204
|
+
#
|
205
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
206
|
+
# request = Google::Cloud::DataCatalog::V1::ReplaceTaxonomyRequest.new
|
207
|
+
#
|
208
|
+
# # Call the replace_taxonomy method.
|
209
|
+
# result = client.replace_taxonomy request
|
210
|
+
#
|
211
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::Taxonomy.
|
212
|
+
# p result
|
213
|
+
#
|
198
214
|
def replace_taxonomy request, options = nil
|
199
215
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
200
216
|
|
@@ -269,6 +285,22 @@ module Google
|
|
269
285
|
# @return [::Google::Cloud::DataCatalog::V1::ImportTaxonomiesResponse]
|
270
286
|
#
|
271
287
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
288
|
+
#
|
289
|
+
# @example Basic example
|
290
|
+
# require "google/cloud/data_catalog/v1"
|
291
|
+
#
|
292
|
+
# # Create a client object. The client can be reused for multiple calls.
|
293
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Rest::Client.new
|
294
|
+
#
|
295
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
296
|
+
# request = Google::Cloud::DataCatalog::V1::ImportTaxonomiesRequest.new
|
297
|
+
#
|
298
|
+
# # Call the import_taxonomies method.
|
299
|
+
# result = client.import_taxonomies request
|
300
|
+
#
|
301
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::ImportTaxonomiesResponse.
|
302
|
+
# p result
|
303
|
+
#
|
272
304
|
def import_taxonomies request, options = nil
|
273
305
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
274
306
|
|
@@ -342,6 +374,22 @@ module Google
|
|
342
374
|
# @return [::Google::Cloud::DataCatalog::V1::ExportTaxonomiesResponse]
|
343
375
|
#
|
344
376
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
377
|
+
#
|
378
|
+
# @example Basic example
|
379
|
+
# require "google/cloud/data_catalog/v1"
|
380
|
+
#
|
381
|
+
# # Create a client object. The client can be reused for multiple calls.
|
382
|
+
# client = Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Rest::Client.new
|
383
|
+
#
|
384
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
385
|
+
# request = Google::Cloud::DataCatalog::V1::ExportTaxonomiesRequest.new
|
386
|
+
#
|
387
|
+
# # Call the export_taxonomies method.
|
388
|
+
# result = client.export_taxonomies request
|
389
|
+
#
|
390
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1::ExportTaxonomiesResponse.
|
391
|
+
# p result
|
392
|
+
#
|
345
393
|
def export_taxonomies request, options = nil
|
346
394
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
347
395
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|