google-cloud-data_catalog-v1beta1 0.1.1 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/data_catalog/v1beta1/data_catalog/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1beta1/data_catalog/rest/client.rb +464 -0
- data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/rest/client.rb +216 -0
- data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/client.rb +10 -1
- data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest/client.rb +32 -0
- data/lib/google/cloud/data_catalog/v1beta1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/v1beta1/policytagmanager_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/datacatalog/v1beta1/policytagmanager.rb +4 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71be6d3301331cdba29db8e77648eb56a6c5e49fb34d3ca29aff3dc56a9f82d8
|
4
|
+
data.tar.gz: b88107a1c4fa97f661d5db65127c7b4b213ec5cea06ce51b70d1b4452f270be2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9267cea730bbc5ead69ce6ff7a2bb44987da3fb87b5398967417e84ed6c9e2e022f14ec24b354e0ab865890f39c3ac00022a84bdb7dfbb48e1889a19d46f354c
|
7
|
+
data.tar.gz: 597380e57a0380bc545f8ac38d6254846e4761d15c236ebd6f1cac2509ed20090092650dc53b8d719078208932f16a519ed9931b5c665767e7c882621447509a
|
@@ -151,7 +151,8 @@ module Google
|
|
151
151
|
credentials: credentials,
|
152
152
|
endpoint: @config.endpoint,
|
153
153
|
channel_args: @config.channel_args,
|
154
|
-
interceptors: @config.interceptors
|
154
|
+
interceptors: @config.interceptors,
|
155
|
+
channel_pool_config: @config.channel_pool
|
155
156
|
)
|
156
157
|
end
|
157
158
|
|
@@ -3064,6 +3065,14 @@ module Google
|
|
3064
3065
|
end
|
3065
3066
|
end
|
3066
3067
|
|
3068
|
+
##
|
3069
|
+
# Configuration for the channel pool
|
3070
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
3071
|
+
#
|
3072
|
+
def channel_pool
|
3073
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
3074
|
+
end
|
3075
|
+
|
3067
3076
|
##
|
3068
3077
|
# Configuration RPC class for the DataCatalog API.
|
3069
3078
|
#
|
@@ -233,6 +233,26 @@ module Google
|
|
233
233
|
# @return [::Google::Cloud::DataCatalog::V1beta1::SearchCatalogResponse]
|
234
234
|
#
|
235
235
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
236
|
+
#
|
237
|
+
# @example Basic example
|
238
|
+
# require "google/cloud/data_catalog/v1beta1"
|
239
|
+
#
|
240
|
+
# # Create a client object. The client can be reused for multiple calls.
|
241
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
242
|
+
#
|
243
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
244
|
+
# request = Google::Cloud::DataCatalog::V1beta1::SearchCatalogRequest.new
|
245
|
+
#
|
246
|
+
# # Call the search_catalog method.
|
247
|
+
# result = client.search_catalog request
|
248
|
+
#
|
249
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
250
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
251
|
+
# result.each do |item|
|
252
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::SearchCatalogResult.
|
253
|
+
# p item
|
254
|
+
# end
|
255
|
+
#
|
236
256
|
def search_catalog request, options = nil
|
237
257
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
238
258
|
|
@@ -312,6 +332,22 @@ module Google
|
|
312
332
|
# @return [::Google::Cloud::DataCatalog::V1beta1::EntryGroup]
|
313
333
|
#
|
314
334
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
335
|
+
#
|
336
|
+
# @example Basic example
|
337
|
+
# require "google/cloud/data_catalog/v1beta1"
|
338
|
+
#
|
339
|
+
# # Create a client object. The client can be reused for multiple calls.
|
340
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
341
|
+
#
|
342
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
343
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateEntryGroupRequest.new
|
344
|
+
#
|
345
|
+
# # Call the create_entry_group method.
|
346
|
+
# result = client.create_entry_group request
|
347
|
+
#
|
348
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::EntryGroup.
|
349
|
+
# p result
|
350
|
+
#
|
315
351
|
def create_entry_group request, options = nil
|
316
352
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
317
353
|
|
@@ -384,6 +420,22 @@ module Google
|
|
384
420
|
# @return [::Google::Cloud::DataCatalog::V1beta1::EntryGroup]
|
385
421
|
#
|
386
422
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
423
|
+
#
|
424
|
+
# @example Basic example
|
425
|
+
# require "google/cloud/data_catalog/v1beta1"
|
426
|
+
#
|
427
|
+
# # Create a client object. The client can be reused for multiple calls.
|
428
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
429
|
+
#
|
430
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
431
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateEntryGroupRequest.new
|
432
|
+
#
|
433
|
+
# # Call the update_entry_group method.
|
434
|
+
# result = client.update_entry_group request
|
435
|
+
#
|
436
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::EntryGroup.
|
437
|
+
# p result
|
438
|
+
#
|
387
439
|
def update_entry_group request, options = nil
|
388
440
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
389
441
|
|
@@ -449,6 +501,22 @@ module Google
|
|
449
501
|
# @return [::Google::Cloud::DataCatalog::V1beta1::EntryGroup]
|
450
502
|
#
|
451
503
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
504
|
+
#
|
505
|
+
# @example Basic example
|
506
|
+
# require "google/cloud/data_catalog/v1beta1"
|
507
|
+
#
|
508
|
+
# # Create a client object. The client can be reused for multiple calls.
|
509
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
510
|
+
#
|
511
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
512
|
+
# request = Google::Cloud::DataCatalog::V1beta1::GetEntryGroupRequest.new
|
513
|
+
#
|
514
|
+
# # Call the get_entry_group method.
|
515
|
+
# result = client.get_entry_group request
|
516
|
+
#
|
517
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::EntryGroup.
|
518
|
+
# p result
|
519
|
+
#
|
452
520
|
def get_entry_group request, options = nil
|
453
521
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
454
522
|
|
@@ -518,6 +586,22 @@ module Google
|
|
518
586
|
# @return [::Google::Protobuf::Empty]
|
519
587
|
#
|
520
588
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
589
|
+
#
|
590
|
+
# @example Basic example
|
591
|
+
# require "google/cloud/data_catalog/v1beta1"
|
592
|
+
#
|
593
|
+
# # Create a client object. The client can be reused for multiple calls.
|
594
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
595
|
+
#
|
596
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
597
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteEntryGroupRequest.new
|
598
|
+
#
|
599
|
+
# # Call the delete_entry_group method.
|
600
|
+
# result = client.delete_entry_group request
|
601
|
+
#
|
602
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
603
|
+
# p result
|
604
|
+
#
|
521
605
|
def delete_entry_group request, options = nil
|
522
606
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
523
607
|
|
@@ -589,6 +673,26 @@ module Google
|
|
589
673
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1beta1::EntryGroup>]
|
590
674
|
#
|
591
675
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
676
|
+
#
|
677
|
+
# @example Basic example
|
678
|
+
# require "google/cloud/data_catalog/v1beta1"
|
679
|
+
#
|
680
|
+
# # Create a client object. The client can be reused for multiple calls.
|
681
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
682
|
+
#
|
683
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
684
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ListEntryGroupsRequest.new
|
685
|
+
#
|
686
|
+
# # Call the list_entry_groups method.
|
687
|
+
# result = client.list_entry_groups request
|
688
|
+
#
|
689
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
690
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
691
|
+
# result.each do |item|
|
692
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::EntryGroup.
|
693
|
+
# p item
|
694
|
+
# end
|
695
|
+
#
|
592
696
|
def list_entry_groups request, options = nil
|
593
697
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
594
698
|
|
@@ -669,6 +773,22 @@ module Google
|
|
669
773
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Entry]
|
670
774
|
#
|
671
775
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
776
|
+
#
|
777
|
+
# @example Basic example
|
778
|
+
# require "google/cloud/data_catalog/v1beta1"
|
779
|
+
#
|
780
|
+
# # Create a client object. The client can be reused for multiple calls.
|
781
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
782
|
+
#
|
783
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
784
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateEntryRequest.new
|
785
|
+
#
|
786
|
+
# # Call the create_entry method.
|
787
|
+
# result = client.create_entry request
|
788
|
+
#
|
789
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Entry.
|
790
|
+
# p result
|
791
|
+
#
|
672
792
|
def create_entry request, options = nil
|
673
793
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
674
794
|
|
@@ -760,6 +880,22 @@ module Google
|
|
760
880
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Entry]
|
761
881
|
#
|
762
882
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
883
|
+
#
|
884
|
+
# @example Basic example
|
885
|
+
# require "google/cloud/data_catalog/v1beta1"
|
886
|
+
#
|
887
|
+
# # Create a client object. The client can be reused for multiple calls.
|
888
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
889
|
+
#
|
890
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
891
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateEntryRequest.new
|
892
|
+
#
|
893
|
+
# # Call the update_entry method.
|
894
|
+
# result = client.update_entry request
|
895
|
+
#
|
896
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Entry.
|
897
|
+
# p result
|
898
|
+
#
|
763
899
|
def update_entry request, options = nil
|
764
900
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
765
901
|
|
@@ -830,6 +966,22 @@ module Google
|
|
830
966
|
# @return [::Google::Protobuf::Empty]
|
831
967
|
#
|
832
968
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
969
|
+
#
|
970
|
+
# @example Basic example
|
971
|
+
# require "google/cloud/data_catalog/v1beta1"
|
972
|
+
#
|
973
|
+
# # Create a client object. The client can be reused for multiple calls.
|
974
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
975
|
+
#
|
976
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
977
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteEntryRequest.new
|
978
|
+
#
|
979
|
+
# # Call the delete_entry method.
|
980
|
+
# result = client.delete_entry request
|
981
|
+
#
|
982
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
983
|
+
# p result
|
984
|
+
#
|
833
985
|
def delete_entry request, options = nil
|
834
986
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
835
987
|
|
@@ -894,6 +1046,22 @@ module Google
|
|
894
1046
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Entry]
|
895
1047
|
#
|
896
1048
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1049
|
+
#
|
1050
|
+
# @example Basic example
|
1051
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1052
|
+
#
|
1053
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1054
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1055
|
+
#
|
1056
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1057
|
+
# request = Google::Cloud::DataCatalog::V1beta1::GetEntryRequest.new
|
1058
|
+
#
|
1059
|
+
# # Call the get_entry method.
|
1060
|
+
# result = client.get_entry request
|
1061
|
+
#
|
1062
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Entry.
|
1063
|
+
# p result
|
1064
|
+
#
|
897
1065
|
def get_entry request, options = nil
|
898
1066
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
899
1067
|
|
@@ -979,6 +1147,22 @@ module Google
|
|
979
1147
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Entry]
|
980
1148
|
#
|
981
1149
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1150
|
+
#
|
1151
|
+
# @example Basic example
|
1152
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1153
|
+
#
|
1154
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1155
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1156
|
+
#
|
1157
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1158
|
+
# request = Google::Cloud::DataCatalog::V1beta1::LookupEntryRequest.new
|
1159
|
+
#
|
1160
|
+
# # Call the lookup_entry method.
|
1161
|
+
# result = client.lookup_entry request
|
1162
|
+
#
|
1163
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Entry.
|
1164
|
+
# p result
|
1165
|
+
#
|
982
1166
|
def lookup_entry request, options = nil
|
983
1167
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
984
1168
|
|
@@ -1055,6 +1239,26 @@ module Google
|
|
1055
1239
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1beta1::Entry>]
|
1056
1240
|
#
|
1057
1241
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1242
|
+
#
|
1243
|
+
# @example Basic example
|
1244
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1245
|
+
#
|
1246
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1247
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1248
|
+
#
|
1249
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1250
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ListEntriesRequest.new
|
1251
|
+
#
|
1252
|
+
# # Call the list_entries method.
|
1253
|
+
# result = client.list_entries request
|
1254
|
+
#
|
1255
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
1256
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
1257
|
+
# result.each do |item|
|
1258
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::Entry.
|
1259
|
+
# p item
|
1260
|
+
# end
|
1261
|
+
#
|
1058
1262
|
def list_entries request, options = nil
|
1059
1263
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1060
1264
|
|
@@ -1131,6 +1335,22 @@ module Google
|
|
1131
1335
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplate]
|
1132
1336
|
#
|
1133
1337
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1338
|
+
#
|
1339
|
+
# @example Basic example
|
1340
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1341
|
+
#
|
1342
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1343
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1344
|
+
#
|
1345
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1346
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateTagTemplateRequest.new
|
1347
|
+
#
|
1348
|
+
# # Call the create_tag_template method.
|
1349
|
+
# result = client.create_tag_template request
|
1350
|
+
#
|
1351
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplate.
|
1352
|
+
# p result
|
1353
|
+
#
|
1134
1354
|
def create_tag_template request, options = nil
|
1135
1355
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1136
1356
|
|
@@ -1195,6 +1415,22 @@ module Google
|
|
1195
1415
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplate]
|
1196
1416
|
#
|
1197
1417
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1418
|
+
#
|
1419
|
+
# @example Basic example
|
1420
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1421
|
+
#
|
1422
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1423
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1424
|
+
#
|
1425
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1426
|
+
# request = Google::Cloud::DataCatalog::V1beta1::GetTagTemplateRequest.new
|
1427
|
+
#
|
1428
|
+
# # Call the get_tag_template method.
|
1429
|
+
# result = client.get_tag_template request
|
1430
|
+
#
|
1431
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplate.
|
1432
|
+
# p result
|
1433
|
+
#
|
1198
1434
|
def get_tag_template request, options = nil
|
1199
1435
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1200
1436
|
|
@@ -1270,6 +1506,22 @@ module Google
|
|
1270
1506
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplate]
|
1271
1507
|
#
|
1272
1508
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1509
|
+
#
|
1510
|
+
# @example Basic example
|
1511
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1512
|
+
#
|
1513
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1514
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1515
|
+
#
|
1516
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1517
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateTagTemplateRequest.new
|
1518
|
+
#
|
1519
|
+
# # Call the update_tag_template method.
|
1520
|
+
# result = client.update_tag_template request
|
1521
|
+
#
|
1522
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplate.
|
1523
|
+
# p result
|
1524
|
+
#
|
1273
1525
|
def update_tag_template request, options = nil
|
1274
1526
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1275
1527
|
|
@@ -1342,6 +1594,22 @@ module Google
|
|
1342
1594
|
# @return [::Google::Protobuf::Empty]
|
1343
1595
|
#
|
1344
1596
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1597
|
+
#
|
1598
|
+
# @example Basic example
|
1599
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1600
|
+
#
|
1601
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1602
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1603
|
+
#
|
1604
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1605
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteTagTemplateRequest.new
|
1606
|
+
#
|
1607
|
+
# # Call the delete_tag_template method.
|
1608
|
+
# result = client.delete_tag_template request
|
1609
|
+
#
|
1610
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
1611
|
+
# p result
|
1612
|
+
#
|
1345
1613
|
def delete_tag_template request, options = nil
|
1346
1614
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1347
1615
|
|
@@ -1421,6 +1689,22 @@ module Google
|
|
1421
1689
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplateField]
|
1422
1690
|
#
|
1423
1691
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1692
|
+
#
|
1693
|
+
# @example Basic example
|
1694
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1695
|
+
#
|
1696
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1697
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1698
|
+
#
|
1699
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1700
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateTagTemplateFieldRequest.new
|
1701
|
+
#
|
1702
|
+
# # Call the create_tag_template_field method.
|
1703
|
+
# result = client.create_tag_template_field request
|
1704
|
+
#
|
1705
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplateField.
|
1706
|
+
# p result
|
1707
|
+
#
|
1424
1708
|
def create_tag_template_field request, options = nil
|
1425
1709
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1426
1710
|
|
@@ -1508,6 +1792,22 @@ module Google
|
|
1508
1792
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplateField]
|
1509
1793
|
#
|
1510
1794
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1795
|
+
#
|
1796
|
+
# @example Basic example
|
1797
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1798
|
+
#
|
1799
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1800
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1801
|
+
#
|
1802
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1803
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateTagTemplateFieldRequest.new
|
1804
|
+
#
|
1805
|
+
# # Call the update_tag_template_field method.
|
1806
|
+
# result = client.update_tag_template_field request
|
1807
|
+
#
|
1808
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplateField.
|
1809
|
+
# p result
|
1810
|
+
#
|
1511
1811
|
def update_tag_template_field request, options = nil
|
1512
1812
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1513
1813
|
|
@@ -1579,6 +1879,22 @@ module Google
|
|
1579
1879
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplateField]
|
1580
1880
|
#
|
1581
1881
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1882
|
+
#
|
1883
|
+
# @example Basic example
|
1884
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1885
|
+
#
|
1886
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1887
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1888
|
+
#
|
1889
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1890
|
+
# request = Google::Cloud::DataCatalog::V1beta1::RenameTagTemplateFieldRequest.new
|
1891
|
+
#
|
1892
|
+
# # Call the rename_tag_template_field method.
|
1893
|
+
# result = client.rename_tag_template_field request
|
1894
|
+
#
|
1895
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplateField.
|
1896
|
+
# p result
|
1897
|
+
#
|
1582
1898
|
def rename_tag_template_field request, options = nil
|
1583
1899
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1584
1900
|
|
@@ -1648,6 +1964,22 @@ module Google
|
|
1648
1964
|
# @return [::Google::Cloud::DataCatalog::V1beta1::TagTemplateField]
|
1649
1965
|
#
|
1650
1966
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1967
|
+
#
|
1968
|
+
# @example Basic example
|
1969
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1970
|
+
#
|
1971
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1972
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
1973
|
+
#
|
1974
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1975
|
+
# request = Google::Cloud::DataCatalog::V1beta1::RenameTagTemplateFieldEnumValueRequest.new
|
1976
|
+
#
|
1977
|
+
# # Call the rename_tag_template_field_enum_value method.
|
1978
|
+
# result = client.rename_tag_template_field_enum_value request
|
1979
|
+
#
|
1980
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::TagTemplateField.
|
1981
|
+
# p result
|
1982
|
+
#
|
1651
1983
|
def rename_tag_template_field_enum_value request, options = nil
|
1652
1984
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1653
1985
|
|
@@ -1720,6 +2052,22 @@ module Google
|
|
1720
2052
|
# @return [::Google::Protobuf::Empty]
|
1721
2053
|
#
|
1722
2054
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2055
|
+
#
|
2056
|
+
# @example Basic example
|
2057
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2058
|
+
#
|
2059
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2060
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2061
|
+
#
|
2062
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2063
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteTagTemplateFieldRequest.new
|
2064
|
+
#
|
2065
|
+
# # Call the delete_tag_template_field method.
|
2066
|
+
# result = client.delete_tag_template_field request
|
2067
|
+
#
|
2068
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2069
|
+
# p result
|
2070
|
+
#
|
1723
2071
|
def delete_tag_template_field request, options = nil
|
1724
2072
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1725
2073
|
|
@@ -1796,6 +2144,22 @@ module Google
|
|
1796
2144
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Tag]
|
1797
2145
|
#
|
1798
2146
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2147
|
+
#
|
2148
|
+
# @example Basic example
|
2149
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2150
|
+
#
|
2151
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2152
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2153
|
+
#
|
2154
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2155
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateTagRequest.new
|
2156
|
+
#
|
2157
|
+
# # Call the create_tag method.
|
2158
|
+
# result = client.create_tag request
|
2159
|
+
#
|
2160
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Tag.
|
2161
|
+
# p result
|
2162
|
+
#
|
1799
2163
|
def create_tag request, options = nil
|
1800
2164
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1801
2165
|
|
@@ -1867,6 +2231,22 @@ module Google
|
|
1867
2231
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Tag]
|
1868
2232
|
#
|
1869
2233
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2234
|
+
#
|
2235
|
+
# @example Basic example
|
2236
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2237
|
+
#
|
2238
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2239
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2240
|
+
#
|
2241
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2242
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateTagRequest.new
|
2243
|
+
#
|
2244
|
+
# # Call the update_tag method.
|
2245
|
+
# result = client.update_tag request
|
2246
|
+
#
|
2247
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Tag.
|
2248
|
+
# p result
|
2249
|
+
#
|
1870
2250
|
def update_tag request, options = nil
|
1871
2251
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1872
2252
|
|
@@ -1931,6 +2311,22 @@ module Google
|
|
1931
2311
|
# @return [::Google::Protobuf::Empty]
|
1932
2312
|
#
|
1933
2313
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2314
|
+
#
|
2315
|
+
# @example Basic example
|
2316
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2317
|
+
#
|
2318
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2319
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2320
|
+
#
|
2321
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2322
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteTagRequest.new
|
2323
|
+
#
|
2324
|
+
# # Call the delete_tag method.
|
2325
|
+
# result = client.delete_tag request
|
2326
|
+
#
|
2327
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2328
|
+
# p result
|
2329
|
+
#
|
1934
2330
|
def delete_tag request, options = nil
|
1935
2331
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
1936
2332
|
|
@@ -2007,6 +2403,26 @@ module Google
|
|
2007
2403
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1beta1::Tag>]
|
2008
2404
|
#
|
2009
2405
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2406
|
+
#
|
2407
|
+
# @example Basic example
|
2408
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2409
|
+
#
|
2410
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2411
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2412
|
+
#
|
2413
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2414
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ListTagsRequest.new
|
2415
|
+
#
|
2416
|
+
# # Call the list_tags method.
|
2417
|
+
# result = client.list_tags request
|
2418
|
+
#
|
2419
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
2420
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
2421
|
+
# result.each do |item|
|
2422
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::Tag.
|
2423
|
+
# p item
|
2424
|
+
# end
|
2425
|
+
#
|
2010
2426
|
def list_tags request, options = nil
|
2011
2427
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2012
2428
|
|
@@ -2095,6 +2511,22 @@ module Google
|
|
2095
2511
|
# @return [::Google::Iam::V1::Policy]
|
2096
2512
|
#
|
2097
2513
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2514
|
+
#
|
2515
|
+
# @example Basic example
|
2516
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2517
|
+
#
|
2518
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2519
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2520
|
+
#
|
2521
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2522
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
2523
|
+
#
|
2524
|
+
# # Call the set_iam_policy method.
|
2525
|
+
# result = client.set_iam_policy request
|
2526
|
+
#
|
2527
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
2528
|
+
# p result
|
2529
|
+
#
|
2098
2530
|
def set_iam_policy request, options = nil
|
2099
2531
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2100
2532
|
|
@@ -2176,6 +2608,22 @@ module Google
|
|
2176
2608
|
# @return [::Google::Iam::V1::Policy]
|
2177
2609
|
#
|
2178
2610
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2611
|
+
#
|
2612
|
+
# @example Basic example
|
2613
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2614
|
+
#
|
2615
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2616
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2617
|
+
#
|
2618
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2619
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
2620
|
+
#
|
2621
|
+
# # Call the get_iam_policy method.
|
2622
|
+
# result = client.get_iam_policy request
|
2623
|
+
#
|
2624
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
2625
|
+
# p result
|
2626
|
+
#
|
2179
2627
|
def get_iam_policy request, options = nil
|
2180
2628
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2181
2629
|
|
@@ -2256,6 +2704,22 @@ module Google
|
|
2256
2704
|
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
2257
2705
|
#
|
2258
2706
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2707
|
+
#
|
2708
|
+
# @example Basic example
|
2709
|
+
# require "google/cloud/data_catalog/v1beta1"
|
2710
|
+
#
|
2711
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2712
|
+
# client = Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
|
2713
|
+
#
|
2714
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2715
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
2716
|
+
#
|
2717
|
+
# # Call the test_iam_permissions method.
|
2718
|
+
# result = client.test_iam_permissions request
|
2719
|
+
#
|
2720
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
2721
|
+
# p result
|
2722
|
+
#
|
2259
2723
|
def test_iam_permissions request, options = nil
|
2260
2724
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
2261
2725
|
|
@@ -148,7 +148,8 @@ module Google
|
|
148
148
|
credentials: credentials,
|
149
149
|
endpoint: @config.endpoint,
|
150
150
|
channel_args: @config.channel_args,
|
151
|
-
interceptors: @config.interceptors
|
151
|
+
interceptors: @config.interceptors,
|
152
|
+
channel_pool_config: @config.channel_pool
|
152
153
|
)
|
153
154
|
end
|
154
155
|
|
@@ -1456,6 +1457,14 @@ module Google
|
|
1456
1457
|
end
|
1457
1458
|
end
|
1458
1459
|
|
1460
|
+
##
|
1461
|
+
# Configuration for the channel pool
|
1462
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1463
|
+
#
|
1464
|
+
def channel_pool
|
1465
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1466
|
+
end
|
1467
|
+
|
1459
1468
|
##
|
1460
1469
|
# Configuration RPC class for the PolicyTagManager API.
|
1461
1470
|
#
|
@@ -181,6 +181,22 @@ module Google
|
|
181
181
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Taxonomy]
|
182
182
|
#
|
183
183
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
184
|
+
#
|
185
|
+
# @example Basic example
|
186
|
+
# require "google/cloud/data_catalog/v1beta1"
|
187
|
+
#
|
188
|
+
# # Create a client object. The client can be reused for multiple calls.
|
189
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
190
|
+
#
|
191
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
192
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreateTaxonomyRequest.new
|
193
|
+
#
|
194
|
+
# # Call the create_taxonomy method.
|
195
|
+
# result = client.create_taxonomy request
|
196
|
+
#
|
197
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Taxonomy.
|
198
|
+
# p result
|
199
|
+
#
|
184
200
|
def create_taxonomy request, options = nil
|
185
201
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
186
202
|
|
@@ -245,6 +261,22 @@ module Google
|
|
245
261
|
# @return [::Google::Protobuf::Empty]
|
246
262
|
#
|
247
263
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
264
|
+
#
|
265
|
+
# @example Basic example
|
266
|
+
# require "google/cloud/data_catalog/v1beta1"
|
267
|
+
#
|
268
|
+
# # Create a client object. The client can be reused for multiple calls.
|
269
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
270
|
+
#
|
271
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
272
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeleteTaxonomyRequest.new
|
273
|
+
#
|
274
|
+
# # Call the delete_taxonomy method.
|
275
|
+
# result = client.delete_taxonomy request
|
276
|
+
#
|
277
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
278
|
+
# p result
|
279
|
+
#
|
248
280
|
def delete_taxonomy request, options = nil
|
249
281
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
250
282
|
|
@@ -313,6 +345,22 @@ module Google
|
|
313
345
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Taxonomy]
|
314
346
|
#
|
315
347
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
348
|
+
#
|
349
|
+
# @example Basic example
|
350
|
+
# require "google/cloud/data_catalog/v1beta1"
|
351
|
+
#
|
352
|
+
# # Create a client object. The client can be reused for multiple calls.
|
353
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
354
|
+
#
|
355
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
356
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdateTaxonomyRequest.new
|
357
|
+
#
|
358
|
+
# # Call the update_taxonomy method.
|
359
|
+
# result = client.update_taxonomy request
|
360
|
+
#
|
361
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Taxonomy.
|
362
|
+
# p result
|
363
|
+
#
|
316
364
|
def update_taxonomy request, options = nil
|
317
365
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
318
366
|
|
@@ -385,6 +433,26 @@ module Google
|
|
385
433
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1beta1::Taxonomy>]
|
386
434
|
#
|
387
435
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
436
|
+
#
|
437
|
+
# @example Basic example
|
438
|
+
# require "google/cloud/data_catalog/v1beta1"
|
439
|
+
#
|
440
|
+
# # Create a client object. The client can be reused for multiple calls.
|
441
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
442
|
+
#
|
443
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
444
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ListTaxonomiesRequest.new
|
445
|
+
#
|
446
|
+
# # Call the list_taxonomies method.
|
447
|
+
# result = client.list_taxonomies request
|
448
|
+
#
|
449
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
450
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
451
|
+
# result.each do |item|
|
452
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::Taxonomy.
|
453
|
+
# p item
|
454
|
+
# end
|
455
|
+
#
|
388
456
|
def list_taxonomies request, options = nil
|
389
457
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
390
458
|
|
@@ -448,6 +516,22 @@ module Google
|
|
448
516
|
# @return [::Google::Cloud::DataCatalog::V1beta1::Taxonomy]
|
449
517
|
#
|
450
518
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
519
|
+
#
|
520
|
+
# @example Basic example
|
521
|
+
# require "google/cloud/data_catalog/v1beta1"
|
522
|
+
#
|
523
|
+
# # Create a client object. The client can be reused for multiple calls.
|
524
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
525
|
+
#
|
526
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
527
|
+
# request = Google::Cloud::DataCatalog::V1beta1::GetTaxonomyRequest.new
|
528
|
+
#
|
529
|
+
# # Call the get_taxonomy method.
|
530
|
+
# result = client.get_taxonomy request
|
531
|
+
#
|
532
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::Taxonomy.
|
533
|
+
# p result
|
534
|
+
#
|
451
535
|
def get_taxonomy request, options = nil
|
452
536
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
453
537
|
|
@@ -512,6 +596,22 @@ module Google
|
|
512
596
|
# @return [::Google::Cloud::DataCatalog::V1beta1::PolicyTag]
|
513
597
|
#
|
514
598
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
599
|
+
#
|
600
|
+
# @example Basic example
|
601
|
+
# require "google/cloud/data_catalog/v1beta1"
|
602
|
+
#
|
603
|
+
# # Create a client object. The client can be reused for multiple calls.
|
604
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
605
|
+
#
|
606
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
607
|
+
# request = Google::Cloud::DataCatalog::V1beta1::CreatePolicyTagRequest.new
|
608
|
+
#
|
609
|
+
# # Call the create_policy_tag method.
|
610
|
+
# result = client.create_policy_tag request
|
611
|
+
#
|
612
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::PolicyTag.
|
613
|
+
# p result
|
614
|
+
#
|
515
615
|
def create_policy_tag request, options = nil
|
516
616
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
517
617
|
|
@@ -575,6 +675,22 @@ module Google
|
|
575
675
|
# @return [::Google::Protobuf::Empty]
|
576
676
|
#
|
577
677
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
678
|
+
#
|
679
|
+
# @example Basic example
|
680
|
+
# require "google/cloud/data_catalog/v1beta1"
|
681
|
+
#
|
682
|
+
# # Create a client object. The client can be reused for multiple calls.
|
683
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
684
|
+
#
|
685
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
686
|
+
# request = Google::Cloud::DataCatalog::V1beta1::DeletePolicyTagRequest.new
|
687
|
+
#
|
688
|
+
# # Call the delete_policy_tag method.
|
689
|
+
# result = client.delete_policy_tag request
|
690
|
+
#
|
691
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
692
|
+
# p result
|
693
|
+
#
|
578
694
|
def delete_policy_tag request, options = nil
|
579
695
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
580
696
|
|
@@ -646,6 +762,22 @@ module Google
|
|
646
762
|
# @return [::Google::Cloud::DataCatalog::V1beta1::PolicyTag]
|
647
763
|
#
|
648
764
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
765
|
+
#
|
766
|
+
# @example Basic example
|
767
|
+
# require "google/cloud/data_catalog/v1beta1"
|
768
|
+
#
|
769
|
+
# # Create a client object. The client can be reused for multiple calls.
|
770
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
771
|
+
#
|
772
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
773
|
+
# request = Google::Cloud::DataCatalog::V1beta1::UpdatePolicyTagRequest.new
|
774
|
+
#
|
775
|
+
# # Call the update_policy_tag method.
|
776
|
+
# result = client.update_policy_tag request
|
777
|
+
#
|
778
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::PolicyTag.
|
779
|
+
# p result
|
780
|
+
#
|
649
781
|
def update_policy_tag request, options = nil
|
650
782
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
651
783
|
|
@@ -714,6 +846,26 @@ module Google
|
|
714
846
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DataCatalog::V1beta1::PolicyTag>]
|
715
847
|
#
|
716
848
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
849
|
+
#
|
850
|
+
# @example Basic example
|
851
|
+
# require "google/cloud/data_catalog/v1beta1"
|
852
|
+
#
|
853
|
+
# # Create a client object. The client can be reused for multiple calls.
|
854
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
855
|
+
#
|
856
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
857
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ListPolicyTagsRequest.new
|
858
|
+
#
|
859
|
+
# # Call the list_policy_tags method.
|
860
|
+
# result = client.list_policy_tags request
|
861
|
+
#
|
862
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
863
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
864
|
+
# result.each do |item|
|
865
|
+
# # Each element is of type ::Google::Cloud::DataCatalog::V1beta1::PolicyTag.
|
866
|
+
# p item
|
867
|
+
# end
|
868
|
+
#
|
717
869
|
def list_policy_tags request, options = nil
|
718
870
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
719
871
|
|
@@ -777,6 +929,22 @@ module Google
|
|
777
929
|
# @return [::Google::Cloud::DataCatalog::V1beta1::PolicyTag]
|
778
930
|
#
|
779
931
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
932
|
+
#
|
933
|
+
# @example Basic example
|
934
|
+
# require "google/cloud/data_catalog/v1beta1"
|
935
|
+
#
|
936
|
+
# # Create a client object. The client can be reused for multiple calls.
|
937
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
938
|
+
#
|
939
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
940
|
+
# request = Google::Cloud::DataCatalog::V1beta1::GetPolicyTagRequest.new
|
941
|
+
#
|
942
|
+
# # Call the get_policy_tag method.
|
943
|
+
# result = client.get_policy_tag request
|
944
|
+
#
|
945
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::PolicyTag.
|
946
|
+
# p result
|
947
|
+
#
|
780
948
|
def get_policy_tag request, options = nil
|
781
949
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
782
950
|
|
@@ -843,6 +1011,22 @@ module Google
|
|
843
1011
|
# @return [::Google::Iam::V1::Policy]
|
844
1012
|
#
|
845
1013
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1014
|
+
#
|
1015
|
+
# @example Basic example
|
1016
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1017
|
+
#
|
1018
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1019
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
1020
|
+
#
|
1021
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1022
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
1023
|
+
#
|
1024
|
+
# # Call the get_iam_policy method.
|
1025
|
+
# result = client.get_iam_policy request
|
1026
|
+
#
|
1027
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
1028
|
+
# p result
|
1029
|
+
#
|
846
1030
|
def get_iam_policy request, options = nil
|
847
1031
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
848
1032
|
|
@@ -917,6 +1101,22 @@ module Google
|
|
917
1101
|
# @return [::Google::Iam::V1::Policy]
|
918
1102
|
#
|
919
1103
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1104
|
+
#
|
1105
|
+
# @example Basic example
|
1106
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1107
|
+
#
|
1108
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1109
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
1110
|
+
#
|
1111
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1112
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
1113
|
+
#
|
1114
|
+
# # Call the set_iam_policy method.
|
1115
|
+
# result = client.set_iam_policy request
|
1116
|
+
#
|
1117
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
1118
|
+
# p result
|
1119
|
+
#
|
920
1120
|
def set_iam_policy request, options = nil
|
921
1121
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
922
1122
|
|
@@ -986,6 +1186,22 @@ module Google
|
|
986
1186
|
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
987
1187
|
#
|
988
1188
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1189
|
+
#
|
1190
|
+
# @example Basic example
|
1191
|
+
# require "google/cloud/data_catalog/v1beta1"
|
1192
|
+
#
|
1193
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1194
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Rest::Client.new
|
1195
|
+
#
|
1196
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1197
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
1198
|
+
#
|
1199
|
+
# # Call the test_iam_permissions method.
|
1200
|
+
# result = client.test_iam_permissions request
|
1201
|
+
#
|
1202
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
1203
|
+
# p result
|
1204
|
+
#
|
989
1205
|
def test_iam_permissions request, options = nil
|
990
1206
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
991
1207
|
|
@@ -148,7 +148,8 @@ module Google
|
|
148
148
|
credentials: credentials,
|
149
149
|
endpoint: @config.endpoint,
|
150
150
|
channel_args: @config.channel_args,
|
151
|
-
interceptors: @config.interceptors
|
151
|
+
interceptors: @config.interceptors,
|
152
|
+
channel_pool_config: @config.channel_pool
|
152
153
|
)
|
153
154
|
end
|
154
155
|
|
@@ -465,6 +466,14 @@ module Google
|
|
465
466
|
end
|
466
467
|
end
|
467
468
|
|
469
|
+
##
|
470
|
+
# Configuration for the channel pool
|
471
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
472
|
+
#
|
473
|
+
def channel_pool
|
474
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
475
|
+
end
|
476
|
+
|
468
477
|
##
|
469
478
|
# Configuration RPC class for the PolicyTagManagerSerialization API.
|
470
479
|
#
|
@@ -186,6 +186,22 @@ module Google
|
|
186
186
|
# @return [::Google::Cloud::DataCatalog::V1beta1::ImportTaxonomiesResponse]
|
187
187
|
#
|
188
188
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
189
|
+
#
|
190
|
+
# @example Basic example
|
191
|
+
# require "google/cloud/data_catalog/v1beta1"
|
192
|
+
#
|
193
|
+
# # Create a client object. The client can be reused for multiple calls.
|
194
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Rest::Client.new
|
195
|
+
#
|
196
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
197
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ImportTaxonomiesRequest.new
|
198
|
+
#
|
199
|
+
# # Call the import_taxonomies method.
|
200
|
+
# result = client.import_taxonomies request
|
201
|
+
#
|
202
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::ImportTaxonomiesResponse.
|
203
|
+
# p result
|
204
|
+
#
|
189
205
|
def import_taxonomies request, options = nil
|
190
206
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
191
207
|
|
@@ -256,6 +272,22 @@ module Google
|
|
256
272
|
# @return [::Google::Cloud::DataCatalog::V1beta1::ExportTaxonomiesResponse]
|
257
273
|
#
|
258
274
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
275
|
+
#
|
276
|
+
# @example Basic example
|
277
|
+
# require "google/cloud/data_catalog/v1beta1"
|
278
|
+
#
|
279
|
+
# # Create a client object. The client can be reused for multiple calls.
|
280
|
+
# client = Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Rest::Client.new
|
281
|
+
#
|
282
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
283
|
+
# request = Google::Cloud::DataCatalog::V1beta1::ExportTaxonomiesRequest.new
|
284
|
+
#
|
285
|
+
# # Call the export_taxonomies method.
|
286
|
+
# result = client.export_taxonomies request
|
287
|
+
#
|
288
|
+
# # The returned object is of type Google::Cloud::DataCatalog::V1beta1::ExportTaxonomiesResponse.
|
289
|
+
# p result
|
290
|
+
#
|
259
291
|
def export_taxonomies request, options = nil
|
260
292
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
261
293
|
|
@@ -16,7 +16,7 @@ require 'google/protobuf/empty_pb'
|
|
16
16
|
require 'google/protobuf/field_mask_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n7google/cloud/datacatalog/v1beta1/policytagmanager.proto\x12 google.cloud.datacatalog.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/datacatalog/v1beta1/common.proto\x1a\x31google/cloud/datacatalog/v1beta1/timestamps.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xff\x04\n\x08Taxonomy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\
|
19
|
+
descriptor_data = "\n7google/cloud/datacatalog/v1beta1/policytagmanager.proto\x12 google.cloud.datacatalog.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/datacatalog/v1beta1/common.proto\x1a\x31google/cloud/datacatalog/v1beta1/timestamps.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xff\x04\n\x08Taxonomy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10policy_tag_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12T\n\x13taxonomy_timestamps\x18\x05 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.SystemTimestampsB\x03\xe0\x41\x03\x12Z\n\x16\x61\x63tivated_policy_types\x18\x06 \x03(\x0e\x32\x35.google.cloud.datacatalog.v1beta1.Taxonomy.PolicyTypeB\x03\xe0\x41\x01\x12H\n\x07service\x18\x07 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.Taxonomy.ServiceB\x03\xe0\x41\x03\x1a[\n\x07Service\x12>\n\x04name\x18\x01 \x01(\x0e\x32\x30.google.cloud.datacatalog.v1beta1.ManagingSystem\x12\x10\n\x08identity\x18\x02 \x01(\t\"J\n\nPolicyType\x12\x1b\n\x17POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x46INE_GRAINED_ACCESS_CONTROL\x10\x01:g\xea\x41\x64\n#datacatalog.googleapis.com/Taxonomy\x12=projects/{project}/locations/{location}/taxonomies/{taxonomy}\"\x8c\x02\n\tPolicyTag\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x19\n\x11parent_policy_tag\x18\x04 \x01(\t\x12\x1e\n\x11\x63hild_policy_tags\x18\x05 \x03(\tB\x03\xe0\x41\x03:\x80\x01\xea\x41}\n$datacatalog.googleapis.com/PolicyTag\x12Uprojects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}\"\x92\x01\n\x15\x43reateTaxonomyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12<\n\x08taxonomy\x18\x02 \x01(\x0b\x32*.google.cloud.datacatalog.v1beta1.Taxonomy\"R\n\x15\x44\x65leteTaxonomyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\"\x86\x01\n\x15UpdateTaxonomyRequest\x12<\n\x08taxonomy\x18\x01 \x01(\x0b\x32*.google.cloud.datacatalog.v1beta1.Taxonomy\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8b\x01\n\x15ListTaxonomiesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"q\n\x16ListTaxonomiesResponse\x12>\n\ntaxonomies\x18\x01 \x03(\x0b\x32*.google.cloud.datacatalog.v1beta1.Taxonomy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x12GetTaxonomyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\"\x97\x01\n\x16\x43reatePolicyTagRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$datacatalog.googleapis.com/PolicyTag\x12?\n\npolicy_tag\x18\x02 \x01(\x0b\x32+.google.cloud.datacatalog.v1beta1.PolicyTag\"T\n\x16\x44\x65letePolicyTagRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$datacatalog.googleapis.com/PolicyTag\"\x8a\x01\n\x16UpdatePolicyTagRequest\x12?\n\npolicy_tag\x18\x01 \x01(\x0b\x32+.google.cloud.datacatalog.v1beta1.PolicyTag\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\n\x15ListPolicyTagsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$datacatalog.googleapis.com/PolicyTag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"s\n\x16ListPolicyTagsResponse\x12@\n\x0bpolicy_tags\x18\x01 \x03(\x0b\x32+.google.cloud.datacatalog.v1beta1.PolicyTag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x13GetPolicyTagRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$datacatalog.googleapis.com/PolicyTag2\xe5\x16\n\x10PolicyTagManager\x12\xce\x01\n\x0e\x43reateTaxonomy\x12\x37.google.cloud.datacatalog.v1beta1.CreateTaxonomyRequest\x1a*.google.cloud.datacatalog.v1beta1.Taxonomy\"W\x82\xd3\xe4\x93\x02?\"3/v1beta1/{parent=projects/*/locations/*}/taxonomies:\x08taxonomy\xda\x41\x0fparent,taxonomy\x12\xa5\x01\n\x0e\x44\x65leteTaxonomy\x12\x37.google.cloud.datacatalog.v1beta1.DeleteTaxonomyRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02\x35*3/v1beta1/{name=projects/*/locations/*/taxonomies/*}\xda\x41\x04name\x12\xd0\x01\n\x0eUpdateTaxonomy\x12\x37.google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest\x1a*.google.cloud.datacatalog.v1beta1.Taxonomy\"Y\x82\xd3\xe4\x93\x02H2</v1beta1/{taxonomy.name=projects/*/locations/*/taxonomies/*}:\x08taxonomy\xda\x41\x08taxonomy\x12\xc9\x01\n\x0eListTaxonomies\x12\x37.google.cloud.datacatalog.v1beta1.ListTaxonomiesRequest\x1a\x38.google.cloud.datacatalog.v1beta1.ListTaxonomiesResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta1/{parent=projects/*/locations/*}/taxonomies\xda\x41\x06parent\x12\xb3\x01\n\x0bGetTaxonomy\x12\x34.google.cloud.datacatalog.v1beta1.GetTaxonomyRequest\x1a*.google.cloud.datacatalog.v1beta1.Taxonomy\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta1/{name=projects/*/locations/*/taxonomies/*}\xda\x41\x04name\x12\xe2\x01\n\x0f\x43reatePolicyTag\x12\x38.google.cloud.datacatalog.v1beta1.CreatePolicyTagRequest\x1a+.google.cloud.datacatalog.v1beta1.PolicyTag\"h\x82\xd3\xe4\x93\x02N\"@/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags:\npolicy_tag\xda\x41\x11parent,policy_tag\x12\xb4\x01\n\x0f\x44\x65letePolicyTag\x12\x38.google.cloud.datacatalog.v1beta1.DeletePolicyTagRequest\x1a\x16.google.protobuf.Empty\"O\x82\xd3\xe4\x93\x02\x42*@/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}\xda\x41\x04name\x12\xe6\x01\n\x0fUpdatePolicyTag\x12\x38.google.cloud.datacatalog.v1beta1.UpdatePolicyTagRequest\x1a+.google.cloud.datacatalog.v1beta1.PolicyTag\"l\x82\xd3\xe4\x93\x02Y2K/v1beta1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}:\npolicy_tag\xda\x41\npolicy_tag\x12\xd6\x01\n\x0eListPolicyTags\x12\x37.google.cloud.datacatalog.v1beta1.ListPolicyTagsRequest\x1a\x38.google.cloud.datacatalog.v1beta1.ListPolicyTagsResponse\"Q\x82\xd3\xe4\x93\x02\x42\x12@/v1beta1/{parent=projects/*/locations/*/taxonomies/*}/policyTags\xda\x41\x06parent\x12\xc3\x01\n\x0cGetPolicyTag\x12\x35.google.cloud.datacatalog.v1beta1.GetPolicyTagRequest\x1a+.google.cloud.datacatalog.v1beta1.PolicyTag\"O\x82\xd3\xe4\x93\x02\x42\x12@/v1beta1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}\xda\x41\x04name\x12\xf4\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"D/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy:\x01*ZV\"Q/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy:\x01*\x12\xf4\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa8\x01\x82\xd3\xe4\x93\x02\xa1\x01\"D/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy:\x01*ZV\"Q/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy:\x01*\x12\xa0\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb4\x01\x82\xd3\xe4\x93\x02\xad\x01\"J/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions:\x01*Z\\\"W/v1beta1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions:\x01*\x1aN\xca\x41\x1a\x64\x61tacatalog.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf6\x01\n$com.google.cloud.datacatalog.v1beta1B\x15PolicyTagManagerProtoP\x01ZFcloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02 Google.Cloud.DataCatalog.V1Beta1\xca\x02 Google\\Cloud\\DataCatalog\\V1beta1\xea\x02#Google::Cloud::DataCatalog::V1beta1b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -304,6 +304,19 @@ module Google
|
|
304
304
|
# seconds: 360 # 6 minutes
|
305
305
|
# total_poll_timeout:
|
306
306
|
# seconds: 54000 # 90 minutes
|
307
|
+
# @!attribute [rw] auto_populated_fields
|
308
|
+
# @return [::Array<::String>]
|
309
|
+
# List of top-level fields of the request message, that should be
|
310
|
+
# automatically populated by the client libraries based on their
|
311
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
312
|
+
#
|
313
|
+
# Example of a YAML configuration:
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# method_settings:
|
317
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
318
|
+
# auto_populated_fields:
|
319
|
+
# - request_id
|
307
320
|
class MethodSettings
|
308
321
|
include ::Google::Protobuf::MessageExts
|
309
322
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -26,9 +26,9 @@ module Google
|
|
26
26
|
# denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could
|
27
27
|
# contain policy tags to distinguish user data, employee data, partner data,
|
28
28
|
# public data.
|
29
|
-
# @!attribute [
|
29
|
+
# @!attribute [rw] name
|
30
30
|
# @return [::String]
|
31
|
-
#
|
31
|
+
# Identifier. Resource name of this taxonomy, whose format is:
|
32
32
|
# "projects/\\{project_number}/locations/\\{location_id}/taxonomies/\\{id}".
|
33
33
|
# @!attribute [rw] display_name
|
34
34
|
# @return [::String]
|
@@ -90,9 +90,9 @@ module Google
|
|
90
90
|
# in a hierarchy. For example, consider the following hierarchy:
|
91
91
|
# Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
|
92
92
|
# contains three child policy tags: "LatLong", "City", and "ZipCode".
|
93
|
-
# @!attribute [
|
93
|
+
# @!attribute [rw] name
|
94
94
|
# @return [::String]
|
95
|
-
#
|
95
|
+
# Identifier. Resource name of this policy tag, whose format is:
|
96
96
|
# "projects/\\{project_number}/locations/\\{location_id}/taxonomies/\\{taxonomy_id}/policyTags/\\{id}".
|
97
97
|
# @!attribute [rw] display_name
|
98
98
|
# @return [::String]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.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:
|
11
|
+
date: 2024-01-09 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
|
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.5.3
|
274
274
|
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: A fully managed and highly scalable data discovery and metadata management
|