google-cloud-dataplex-v1 2.9.0 → 2.10.0

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.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -25
  4. data/lib/google/cloud/dataplex/v1/approval_workflow_pb.rb +33 -0
  5. data/lib/google/cloud/dataplex/v1/bindings_override.rb +24 -24
  6. data/lib/google/cloud/dataplex/v1/business_glossary_pb.rb +3 -26
  7. data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +2 -0
  8. data/lib/google/cloud/dataplex/v1/business_glossary_service/credentials.rb +4 -1
  9. data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +2 -0
  10. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/client.rb +2 -0
  11. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/operations.rb +2 -0
  12. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +20 -27
  13. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +1074 -73
  14. data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +4 -1
  15. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +2 -0
  16. data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
  17. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +1020 -82
  18. data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +2 -0
  19. data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +554 -0
  20. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +18 -15
  21. data/lib/google/cloud/dataplex/v1/cmek_pb.rb +3 -26
  22. data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +2 -0
  23. data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +2 -1
  24. data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +2 -0
  25. data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +2 -0
  26. data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +2 -0
  27. data/lib/google/cloud/dataplex/v1/content_pb.rb +3 -38
  28. data/lib/google/cloud/dataplex/v1/content_services_pb.rb +0 -49
  29. data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +4 -24
  30. data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +10 -24
  31. data/lib/google/cloud/dataplex/v1/data_product_service/client.rb +1644 -0
  32. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/credentials.rb +7 -4
  33. data/lib/google/cloud/dataplex/v1/data_product_service/operations.rb +843 -0
  34. data/lib/google/cloud/dataplex/v1/data_product_service/paths.rb +231 -0
  35. data/lib/google/cloud/dataplex/v1/data_product_service/rest/client.rb +1533 -0
  36. data/lib/google/cloud/dataplex/v1/data_product_service/rest/operations.rb +956 -0
  37. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest/service_stub.rb +284 -160
  38. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest.rb +11 -10
  39. data/lib/google/cloud/dataplex/v1/{content_service.rb → data_product_service.rb} +15 -14
  40. data/lib/google/cloud/dataplex/v1/data_products_pb.rb +52 -0
  41. data/lib/google/cloud/dataplex/v1/data_products_services_pb.rb +69 -0
  42. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +4 -26
  43. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +13 -26
  44. data/lib/google/cloud/dataplex/v1/data_quality_rule_template_pb.rb +25 -0
  45. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +99 -1
  46. data/lib/google/cloud/dataplex/v1/data_scan_service/credentials.rb +4 -1
  47. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -0
  48. data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +21 -0
  49. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +92 -1
  50. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -0
  51. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +62 -0
  52. data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +3 -27
  53. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +2 -0
  54. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +2 -1
  55. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +2 -0
  56. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +2 -0
  57. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +2 -0
  58. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +2 -664
  59. data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +4 -1
  60. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -0
  61. data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +0 -21
  62. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2 -622
  63. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -0
  64. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +0 -368
  65. data/lib/google/cloud/dataplex/v1/datascans_common_pb.rb +3 -24
  66. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +9 -31
  67. data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
  68. data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -27
  69. data/lib/google/cloud/dataplex/v1/metadata_pb.rb +3 -25
  70. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -0
  71. data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +2 -1
  72. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -0
  73. data/lib/google/cloud/dataplex/v1/processing_pb.rb +5 -24
  74. data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -25
  75. data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
  76. data/lib/google/cloud/dataplex/v1/security_pb.rb +2 -23
  77. data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -38
  78. data/lib/google/cloud/dataplex/v1/service_services_pb.rb +0 -13
  79. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -25
  80. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  81. data/lib/google/cloud/dataplex/v1.rb +1 -0
  82. data/proto_docs/google/api/client.rb +149 -29
  83. data/proto_docs/google/cloud/dataplex/v1/approval_workflow.rb +263 -0
  84. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +427 -3
  85. data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +13 -0
  86. data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +118 -2
  87. data/proto_docs/google/cloud/dataplex/v1/data_products.rb +567 -0
  88. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +21 -0
  89. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +240 -10
  90. data/proto_docs/google/cloud/dataplex/v1/data_quality_rule_template.rb +88 -0
  91. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +82 -5
  92. data/proto_docs/google/cloud/dataplex/v1/datascans_common.rb +7 -3
  93. data/proto_docs/google/cloud/dataplex/v1/logs.rb +7 -0
  94. data/proto_docs/google/cloud/dataplex/v1/processing.rb +27 -3
  95. data/proto_docs/google/cloud/dataplex/v1/service.rb +0 -148
  96. metadata +20 -12
  97. data/lib/google/cloud/dataplex/v1/content_service/client.rb +0 -1261
  98. data/lib/google/cloud/dataplex/v1/content_service/paths.rb +0 -73
  99. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +0 -1171
  100. data/proto_docs/google/cloud/dataplex/v1/content.rb +0 -142
@@ -541,6 +541,7 @@ module Google
541
541
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
542
542
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
543
543
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
544
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
544
545
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
545
546
  # trigger a retry.
546
547
  # @return [::Hash]
@@ -613,6 +614,7 @@ module Google
613
614
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
614
615
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
615
616
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
617
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
616
618
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
617
619
  # trigger a retry.
618
620
  #
@@ -913,6 +913,46 @@ module Google
913
913
  end
914
914
  end
915
915
 
916
+ ##
917
+ # Baseline implementation for the modify_entry REST call
918
+ #
919
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ModifyEntryRequest]
920
+ # A request object representing the call parameters. Required.
921
+ # @param options [::Gapic::CallOptions]
922
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
923
+ #
924
+ # @yield [result, operation] Access the result along with the TransportOperation object
925
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::Entry]
926
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
927
+ #
928
+ # @return [::Google::Cloud::Dataplex::V1::Entry]
929
+ # A result object deserialized from the server's reply
930
+ def modify_entry request_pb, options = nil
931
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
932
+
933
+ verb, uri, query_string_params, body = ServiceStub.transcode_modify_entry_request request_pb
934
+ query_string_params = if query_string_params.any?
935
+ query_string_params.to_h { |p| p.split "=", 2 }
936
+ else
937
+ {}
938
+ end
939
+
940
+ response = @client_stub.make_http_request(
941
+ verb,
942
+ uri: uri,
943
+ body: body || "",
944
+ params: query_string_params,
945
+ method_name: "modify_entry",
946
+ options: options
947
+ )
948
+ operation = ::Gapic::Rest::TransportOperation.new response
949
+ result = ::Google::Cloud::Dataplex::V1::Entry.decode_json response.body, ignore_unknown_fields: true
950
+ catch :response do
951
+ yield result, operation if block_given?
952
+ result
953
+ end
954
+ end
955
+
916
956
  ##
917
957
  # Baseline implementation for the search_entries REST call
918
958
  #
@@ -1153,6 +1193,46 @@ module Google
1153
1193
  end
1154
1194
  end
1155
1195
 
1196
+ ##
1197
+ # Baseline implementation for the update_entry_link REST call
1198
+ #
1199
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest]
1200
+ # A request object representing the call parameters. Required.
1201
+ # @param options [::Gapic::CallOptions]
1202
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1203
+ #
1204
+ # @yield [result, operation] Access the result along with the TransportOperation object
1205
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::EntryLink]
1206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1207
+ #
1208
+ # @return [::Google::Cloud::Dataplex::V1::EntryLink]
1209
+ # A result object deserialized from the server's reply
1210
+ def update_entry_link request_pb, options = nil
1211
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1212
+
1213
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_entry_link_request request_pb
1214
+ query_string_params = if query_string_params.any?
1215
+ query_string_params.to_h { |p| p.split "=", 2 }
1216
+ else
1217
+ {}
1218
+ end
1219
+
1220
+ response = @client_stub.make_http_request(
1221
+ verb,
1222
+ uri: uri,
1223
+ body: body || "",
1224
+ params: query_string_params,
1225
+ method_name: "update_entry_link",
1226
+ options: options
1227
+ )
1228
+ operation = ::Gapic::Rest::TransportOperation.new response
1229
+ result = ::Google::Cloud::Dataplex::V1::EntryLink.decode_json response.body, ignore_unknown_fields: true
1230
+ catch :response do
1231
+ yield result, operation if block_given?
1232
+ result
1233
+ end
1234
+ end
1235
+
1156
1236
  ##
1157
1237
  # Baseline implementation for the delete_entry_link REST call
1158
1238
  #
@@ -1193,6 +1273,86 @@ module Google
1193
1273
  end
1194
1274
  end
1195
1275
 
1276
+ ##
1277
+ # Baseline implementation for the lookup_entry_links REST call
1278
+ #
1279
+ # @param request_pb [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest]
1280
+ # A request object representing the call parameters. Required.
1281
+ # @param options [::Gapic::CallOptions]
1282
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1283
+ #
1284
+ # @yield [result, operation] Access the result along with the TransportOperation object
1285
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::LookupEntryLinksResponse]
1286
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1287
+ #
1288
+ # @return [::Google::Cloud::Dataplex::V1::LookupEntryLinksResponse]
1289
+ # A result object deserialized from the server's reply
1290
+ def lookup_entry_links request_pb, options = nil
1291
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1292
+
1293
+ verb, uri, query_string_params, body = ServiceStub.transcode_lookup_entry_links_request request_pb
1294
+ query_string_params = if query_string_params.any?
1295
+ query_string_params.to_h { |p| p.split "=", 2 }
1296
+ else
1297
+ {}
1298
+ end
1299
+
1300
+ response = @client_stub.make_http_request(
1301
+ verb,
1302
+ uri: uri,
1303
+ body: body || "",
1304
+ params: query_string_params,
1305
+ method_name: "lookup_entry_links",
1306
+ options: options
1307
+ )
1308
+ operation = ::Gapic::Rest::TransportOperation.new response
1309
+ result = ::Google::Cloud::Dataplex::V1::LookupEntryLinksResponse.decode_json response.body, ignore_unknown_fields: true
1310
+ catch :response do
1311
+ yield result, operation if block_given?
1312
+ result
1313
+ end
1314
+ end
1315
+
1316
+ ##
1317
+ # Baseline implementation for the lookup_context REST call
1318
+ #
1319
+ # @param request_pb [::Google::Cloud::Dataplex::V1::LookupContextRequest]
1320
+ # A request object representing the call parameters. Required.
1321
+ # @param options [::Gapic::CallOptions]
1322
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1323
+ #
1324
+ # @yield [result, operation] Access the result along with the TransportOperation object
1325
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::LookupContextResponse]
1326
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1327
+ #
1328
+ # @return [::Google::Cloud::Dataplex::V1::LookupContextResponse]
1329
+ # A result object deserialized from the server's reply
1330
+ def lookup_context request_pb, options = nil
1331
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1332
+
1333
+ verb, uri, query_string_params, body = ServiceStub.transcode_lookup_context_request request_pb
1334
+ query_string_params = if query_string_params.any?
1335
+ query_string_params.to_h { |p| p.split "=", 2 }
1336
+ else
1337
+ {}
1338
+ end
1339
+
1340
+ response = @client_stub.make_http_request(
1341
+ verb,
1342
+ uri: uri,
1343
+ body: body || "",
1344
+ params: query_string_params,
1345
+ method_name: "lookup_context",
1346
+ options: options
1347
+ )
1348
+ operation = ::Gapic::Rest::TransportOperation.new response
1349
+ result = ::Google::Cloud::Dataplex::V1::LookupContextResponse.decode_json response.body, ignore_unknown_fields: true
1350
+ catch :response do
1351
+ yield result, operation if block_given?
1352
+ result
1353
+ end
1354
+ end
1355
+
1196
1356
  ##
1197
1357
  # Baseline implementation for the get_entry_link REST call
1198
1358
  #
@@ -1233,6 +1393,206 @@ module Google
1233
1393
  end
1234
1394
  end
1235
1395
 
1396
+ ##
1397
+ # Baseline implementation for the create_metadata_feed REST call
1398
+ #
1399
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest]
1400
+ # A request object representing the call parameters. Required.
1401
+ # @param options [::Gapic::CallOptions]
1402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1403
+ #
1404
+ # @yield [result, operation] Access the result along with the TransportOperation object
1405
+ # @yieldparam result [::Google::Longrunning::Operation]
1406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1407
+ #
1408
+ # @return [::Google::Longrunning::Operation]
1409
+ # A result object deserialized from the server's reply
1410
+ def create_metadata_feed request_pb, options = nil
1411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1412
+
1413
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_metadata_feed_request request_pb
1414
+ query_string_params = if query_string_params.any?
1415
+ query_string_params.to_h { |p| p.split "=", 2 }
1416
+ else
1417
+ {}
1418
+ end
1419
+
1420
+ response = @client_stub.make_http_request(
1421
+ verb,
1422
+ uri: uri,
1423
+ body: body || "",
1424
+ params: query_string_params,
1425
+ method_name: "create_metadata_feed",
1426
+ options: options
1427
+ )
1428
+ operation = ::Gapic::Rest::TransportOperation.new response
1429
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1430
+ catch :response do
1431
+ yield result, operation if block_given?
1432
+ result
1433
+ end
1434
+ end
1435
+
1436
+ ##
1437
+ # Baseline implementation for the get_metadata_feed REST call
1438
+ #
1439
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest]
1440
+ # A request object representing the call parameters. Required.
1441
+ # @param options [::Gapic::CallOptions]
1442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1443
+ #
1444
+ # @yield [result, operation] Access the result along with the TransportOperation object
1445
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::MetadataFeed]
1446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1447
+ #
1448
+ # @return [::Google::Cloud::Dataplex::V1::MetadataFeed]
1449
+ # A result object deserialized from the server's reply
1450
+ def get_metadata_feed request_pb, options = nil
1451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1452
+
1453
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_metadata_feed_request request_pb
1454
+ query_string_params = if query_string_params.any?
1455
+ query_string_params.to_h { |p| p.split "=", 2 }
1456
+ else
1457
+ {}
1458
+ end
1459
+
1460
+ response = @client_stub.make_http_request(
1461
+ verb,
1462
+ uri: uri,
1463
+ body: body || "",
1464
+ params: query_string_params,
1465
+ method_name: "get_metadata_feed",
1466
+ options: options
1467
+ )
1468
+ operation = ::Gapic::Rest::TransportOperation.new response
1469
+ result = ::Google::Cloud::Dataplex::V1::MetadataFeed.decode_json response.body, ignore_unknown_fields: true
1470
+ catch :response do
1471
+ yield result, operation if block_given?
1472
+ result
1473
+ end
1474
+ end
1475
+
1476
+ ##
1477
+ # Baseline implementation for the list_metadata_feeds REST call
1478
+ #
1479
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest]
1480
+ # A request object representing the call parameters. Required.
1481
+ # @param options [::Gapic::CallOptions]
1482
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1483
+ #
1484
+ # @yield [result, operation] Access the result along with the TransportOperation object
1485
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::ListMetadataFeedsResponse]
1486
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1487
+ #
1488
+ # @return [::Google::Cloud::Dataplex::V1::ListMetadataFeedsResponse]
1489
+ # A result object deserialized from the server's reply
1490
+ def list_metadata_feeds request_pb, options = nil
1491
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1492
+
1493
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_metadata_feeds_request request_pb
1494
+ query_string_params = if query_string_params.any?
1495
+ query_string_params.to_h { |p| p.split "=", 2 }
1496
+ else
1497
+ {}
1498
+ end
1499
+
1500
+ response = @client_stub.make_http_request(
1501
+ verb,
1502
+ uri: uri,
1503
+ body: body || "",
1504
+ params: query_string_params,
1505
+ method_name: "list_metadata_feeds",
1506
+ options: options
1507
+ )
1508
+ operation = ::Gapic::Rest::TransportOperation.new response
1509
+ result = ::Google::Cloud::Dataplex::V1::ListMetadataFeedsResponse.decode_json response.body, ignore_unknown_fields: true
1510
+ catch :response do
1511
+ yield result, operation if block_given?
1512
+ result
1513
+ end
1514
+ end
1515
+
1516
+ ##
1517
+ # Baseline implementation for the delete_metadata_feed REST call
1518
+ #
1519
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest]
1520
+ # A request object representing the call parameters. Required.
1521
+ # @param options [::Gapic::CallOptions]
1522
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1523
+ #
1524
+ # @yield [result, operation] Access the result along with the TransportOperation object
1525
+ # @yieldparam result [::Google::Longrunning::Operation]
1526
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1527
+ #
1528
+ # @return [::Google::Longrunning::Operation]
1529
+ # A result object deserialized from the server's reply
1530
+ def delete_metadata_feed request_pb, options = nil
1531
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1532
+
1533
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_metadata_feed_request request_pb
1534
+ query_string_params = if query_string_params.any?
1535
+ query_string_params.to_h { |p| p.split "=", 2 }
1536
+ else
1537
+ {}
1538
+ end
1539
+
1540
+ response = @client_stub.make_http_request(
1541
+ verb,
1542
+ uri: uri,
1543
+ body: body || "",
1544
+ params: query_string_params,
1545
+ method_name: "delete_metadata_feed",
1546
+ options: options
1547
+ )
1548
+ operation = ::Gapic::Rest::TransportOperation.new response
1549
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1550
+ catch :response do
1551
+ yield result, operation if block_given?
1552
+ result
1553
+ end
1554
+ end
1555
+
1556
+ ##
1557
+ # Baseline implementation for the update_metadata_feed REST call
1558
+ #
1559
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest]
1560
+ # A request object representing the call parameters. Required.
1561
+ # @param options [::Gapic::CallOptions]
1562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1563
+ #
1564
+ # @yield [result, operation] Access the result along with the TransportOperation object
1565
+ # @yieldparam result [::Google::Longrunning::Operation]
1566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1567
+ #
1568
+ # @return [::Google::Longrunning::Operation]
1569
+ # A result object deserialized from the server's reply
1570
+ def update_metadata_feed request_pb, options = nil
1571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1572
+
1573
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_metadata_feed_request request_pb
1574
+ query_string_params = if query_string_params.any?
1575
+ query_string_params.to_h { |p| p.split "=", 2 }
1576
+ else
1577
+ {}
1578
+ end
1579
+
1580
+ response = @client_stub.make_http_request(
1581
+ verb,
1582
+ uri: uri,
1583
+ body: body || "",
1584
+ params: query_string_params,
1585
+ method_name: "update_metadata_feed",
1586
+ options: options
1587
+ )
1588
+ operation = ::Gapic::Rest::TransportOperation.new response
1589
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1590
+ catch :response do
1591
+ yield result, operation if block_given?
1592
+ result
1593
+ end
1594
+ end
1595
+
1236
1596
  ##
1237
1597
  # @private
1238
1598
  #
@@ -1682,6 +2042,28 @@ module Google
1682
2042
  transcoder.transcode request_pb
1683
2043
  end
1684
2044
 
2045
+ ##
2046
+ # @private
2047
+ #
2048
+ # GRPC transcoding helper method for the modify_entry REST call
2049
+ #
2050
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ModifyEntryRequest]
2051
+ # A request object representing the call parameters. Required.
2052
+ # @return [Array(String, [String, nil], Hash{String => String})]
2053
+ # Uri, Body, Query string parameters
2054
+ def self.transcode_modify_entry_request request_pb
2055
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2056
+ .with_bindings(
2057
+ uri_method: :post,
2058
+ uri_template: "/v1/{name}:modifyEntry",
2059
+ body: "*",
2060
+ matches: [
2061
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2062
+ ]
2063
+ )
2064
+ transcoder.transcode request_pb
2065
+ end
2066
+
1685
2067
  ##
1686
2068
  # @private
1687
2069
  #
@@ -1811,6 +2193,28 @@ module Google
1811
2193
  transcoder.transcode request_pb
1812
2194
  end
1813
2195
 
2196
+ ##
2197
+ # @private
2198
+ #
2199
+ # GRPC transcoding helper method for the update_entry_link REST call
2200
+ #
2201
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest]
2202
+ # A request object representing the call parameters. Required.
2203
+ # @return [Array(String, [String, nil], Hash{String => String})]
2204
+ # Uri, Body, Query string parameters
2205
+ def self.transcode_update_entry_link_request request_pb
2206
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2207
+ .with_bindings(
2208
+ uri_method: :patch,
2209
+ uri_template: "/v1/{entry_link.name}",
2210
+ body: "entry_link",
2211
+ matches: [
2212
+ ["entry_link.name", %r{^projects/[^/]+/locations/[^/]+/entryGroups/[^/]+/entryLinks(?:/.*)?$}, true]
2213
+ ]
2214
+ )
2215
+ transcoder.transcode request_pb
2216
+ end
2217
+
1814
2218
  ##
1815
2219
  # @private
1816
2220
  #
@@ -1832,6 +2236,49 @@ module Google
1832
2236
  transcoder.transcode request_pb
1833
2237
  end
1834
2238
 
2239
+ ##
2240
+ # @private
2241
+ #
2242
+ # GRPC transcoding helper method for the lookup_entry_links REST call
2243
+ #
2244
+ # @param request_pb [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest]
2245
+ # A request object representing the call parameters. Required.
2246
+ # @return [Array(String, [String, nil], Hash{String => String})]
2247
+ # Uri, Body, Query string parameters
2248
+ def self.transcode_lookup_entry_links_request request_pb
2249
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2250
+ .with_bindings(
2251
+ uri_method: :get,
2252
+ uri_template: "/v1/{name}:lookupEntryLinks",
2253
+ matches: [
2254
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2255
+ ]
2256
+ )
2257
+ transcoder.transcode request_pb
2258
+ end
2259
+
2260
+ ##
2261
+ # @private
2262
+ #
2263
+ # GRPC transcoding helper method for the lookup_context REST call
2264
+ #
2265
+ # @param request_pb [::Google::Cloud::Dataplex::V1::LookupContextRequest]
2266
+ # A request object representing the call parameters. Required.
2267
+ # @return [Array(String, [String, nil], Hash{String => String})]
2268
+ # Uri, Body, Query string parameters
2269
+ def self.transcode_lookup_context_request request_pb
2270
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2271
+ .with_bindings(
2272
+ uri_method: :post,
2273
+ uri_template: "/v1/{name}:lookupContext",
2274
+ body: "*",
2275
+ matches: [
2276
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2277
+ ]
2278
+ )
2279
+ transcoder.transcode request_pb
2280
+ end
2281
+
1835
2282
  ##
1836
2283
  # @private
1837
2284
  #
@@ -1852,6 +2299,113 @@ module Google
1852
2299
  )
1853
2300
  transcoder.transcode request_pb
1854
2301
  end
2302
+
2303
+ ##
2304
+ # @private
2305
+ #
2306
+ # GRPC transcoding helper method for the create_metadata_feed REST call
2307
+ #
2308
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest]
2309
+ # A request object representing the call parameters. Required.
2310
+ # @return [Array(String, [String, nil], Hash{String => String})]
2311
+ # Uri, Body, Query string parameters
2312
+ def self.transcode_create_metadata_feed_request request_pb
2313
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2314
+ .with_bindings(
2315
+ uri_method: :post,
2316
+ uri_template: "/v1/{parent}/metadataFeeds",
2317
+ body: "metadata_feed",
2318
+ matches: [
2319
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2320
+ ]
2321
+ )
2322
+ transcoder.transcode request_pb
2323
+ end
2324
+
2325
+ ##
2326
+ # @private
2327
+ #
2328
+ # GRPC transcoding helper method for the get_metadata_feed REST call
2329
+ #
2330
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest]
2331
+ # A request object representing the call parameters. Required.
2332
+ # @return [Array(String, [String, nil], Hash{String => String})]
2333
+ # Uri, Body, Query string parameters
2334
+ def self.transcode_get_metadata_feed_request request_pb
2335
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2336
+ .with_bindings(
2337
+ uri_method: :get,
2338
+ uri_template: "/v1/{name}",
2339
+ matches: [
2340
+ ["name", %r{^projects/[^/]+/locations/[^/]+/metadataFeeds/[^/]+/?$}, false]
2341
+ ]
2342
+ )
2343
+ transcoder.transcode request_pb
2344
+ end
2345
+
2346
+ ##
2347
+ # @private
2348
+ #
2349
+ # GRPC transcoding helper method for the list_metadata_feeds REST call
2350
+ #
2351
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest]
2352
+ # A request object representing the call parameters. Required.
2353
+ # @return [Array(String, [String, nil], Hash{String => String})]
2354
+ # Uri, Body, Query string parameters
2355
+ def self.transcode_list_metadata_feeds_request request_pb
2356
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2357
+ .with_bindings(
2358
+ uri_method: :get,
2359
+ uri_template: "/v1/{parent}/metadataFeeds",
2360
+ matches: [
2361
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
2362
+ ]
2363
+ )
2364
+ transcoder.transcode request_pb
2365
+ end
2366
+
2367
+ ##
2368
+ # @private
2369
+ #
2370
+ # GRPC transcoding helper method for the delete_metadata_feed REST call
2371
+ #
2372
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest]
2373
+ # A request object representing the call parameters. Required.
2374
+ # @return [Array(String, [String, nil], Hash{String => String})]
2375
+ # Uri, Body, Query string parameters
2376
+ def self.transcode_delete_metadata_feed_request request_pb
2377
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2378
+ .with_bindings(
2379
+ uri_method: :delete,
2380
+ uri_template: "/v1/{name}",
2381
+ matches: [
2382
+ ["name", %r{^projects/[^/]+/locations/[^/]+/metadataFeeds/[^/]+/?$}, false]
2383
+ ]
2384
+ )
2385
+ transcoder.transcode request_pb
2386
+ end
2387
+
2388
+ ##
2389
+ # @private
2390
+ #
2391
+ # GRPC transcoding helper method for the update_metadata_feed REST call
2392
+ #
2393
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest]
2394
+ # A request object representing the call parameters. Required.
2395
+ # @return [Array(String, [String, nil], Hash{String => String})]
2396
+ # Uri, Body, Query string parameters
2397
+ def self.transcode_update_metadata_feed_request request_pb
2398
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2399
+ .with_bindings(
2400
+ uri_method: :patch,
2401
+ uri_template: "/v1/{metadata_feed.name}",
2402
+ body: "metadata_feed",
2403
+ matches: [
2404
+ ["metadata_feed.name", %r{^projects/[^/]+/locations/[^/]+/metadataFeeds/[^/]+/?$}, false]
2405
+ ]
2406
+ )
2407
+ transcoder.transcode request_pb
2408
+ end
1855
2409
  end
1856
2410
  end
1857
2411
  end