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
@@ -153,6 +153,25 @@ module Google
153
153
  initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
154
154
  }
155
155
 
156
+ default_config.rpcs.create_entry_link.timeout = 60.0
157
+
158
+ default_config.rpcs.update_entry_link.timeout = 60.0
159
+ default_config.rpcs.update_entry_link.retry_policy = {
160
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
161
+ }
162
+
163
+ default_config.rpcs.delete_entry_link.timeout = 60.0
164
+
165
+ default_config.rpcs.lookup_entry_links.timeout = 20.0
166
+ default_config.rpcs.lookup_entry_links.retry_policy = {
167
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
168
+ }
169
+
170
+ default_config.rpcs.get_entry_link.timeout = 20.0
171
+ default_config.rpcs.get_entry_link.retry_policy = {
172
+ initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
173
+ }
174
+
156
175
  default_config
157
176
  end
158
177
  yield @configure if block_given?
@@ -2121,11 +2140,6 @@ module Google
2121
2140
 
2122
2141
  ##
2123
2142
  # Lists Entries within an EntryGroup.
2124
- # Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
2125
- # Metastore metadata that is stored in Dataplex Universal Catalog is
2126
- # changing. For more information, see [Changes to metadata stored in
2127
- # Dataplex Universal
2128
- # Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
2129
2143
  #
2130
2144
  # @overload list_entries(request, options = nil)
2131
2145
  # Pass arguments to `list_entries` via a request object, either of type
@@ -2252,11 +2266,6 @@ module Google
2252
2266
 
2253
2267
  ##
2254
2268
  # Gets an Entry.
2255
- # Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
2256
- # Metastore metadata that is stored in Dataplex Universal Catalog is
2257
- # changing. For more information, see [Changes to metadata stored in
2258
- # Dataplex Universal
2259
- # Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
2260
2269
  #
2261
2270
  # @overload get_entry(request, options = nil)
2262
2271
  # Pass arguments to `get_entry` via a request object, either of type
@@ -2279,6 +2288,9 @@ module Google
2279
2288
  # @param view [::Google::Cloud::Dataplex::V1::EntryView]
2280
2289
  # Optional. View to control which parts of an entry the service should
2281
2290
  # return.
2291
+ # **Please check the limitations on returned aspects in the Entry view
2292
+ # documentation. Amount of returned aspects depends on the selected Entry
2293
+ # View.**
2282
2294
  # @param aspect_types [::Array<::String>]
2283
2295
  # Optional. Limits the aspects returned to the provided aspect types.
2284
2296
  # It only works for CUSTOM view.
@@ -2352,11 +2364,6 @@ module Google
2352
2364
 
2353
2365
  ##
2354
2366
  # Looks up an entry by name using the permission on the source system.
2355
- # Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
2356
- # Metastore metadata that is stored in Dataplex Universal Catalog is
2357
- # changing. For more information, see [Changes to metadata stored in
2358
- # Dataplex Universal
2359
- # Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
2360
2367
  #
2361
2368
  # @overload lookup_entry(request, options = nil)
2362
2369
  # Pass arguments to `lookup_entry` via a request object, either of type
@@ -2379,6 +2386,9 @@ module Google
2379
2386
  # @param view [::Google::Cloud::Dataplex::V1::EntryView]
2380
2387
  # Optional. View to control which parts of an entry the service should
2381
2388
  # return.
2389
+ # **Please check the limitations on returned aspects in the Entry view
2390
+ # documentation. Amount of returned aspects depends on the selected Entry
2391
+ # View.**
2382
2392
  # @param aspect_types [::Array<::String>]
2383
2393
  # Optional. Limits the aspects returned to the provided aspect types.
2384
2394
  # It only works for CUSTOM view.
@@ -2453,6 +2463,122 @@ module Google
2453
2463
  raise ::Google::Cloud::Error.from_error(e)
2454
2464
  end
2455
2465
 
2466
+ ##
2467
+ # Modifies an entry using the permission on the source system.
2468
+ #
2469
+ # @overload modify_entry(request, options = nil)
2470
+ # Pass arguments to `modify_entry` via a request object, either of type
2471
+ # {::Google::Cloud::Dataplex::V1::ModifyEntryRequest} or an equivalent Hash.
2472
+ #
2473
+ # @param request [::Google::Cloud::Dataplex::V1::ModifyEntryRequest, ::Hash]
2474
+ # A request object representing the call parameters. Required. To specify no
2475
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2476
+ # @param options [::Gapic::CallOptions, ::Hash]
2477
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2478
+ #
2479
+ # @overload modify_entry(name: nil, entry: nil, update_mask: nil, delete_missing_aspects: nil, aspect_keys: nil)
2480
+ # Pass arguments to `modify_entry` via keyword arguments. Note that at
2481
+ # least one keyword argument is required. To specify no parameters, or to keep all
2482
+ # the default parameter values, pass an empty Hash as a request object (see above).
2483
+ #
2484
+ # @param name [::String]
2485
+ # Required. The project to which the request should be attributed in the
2486
+ # following form: `projects/{project}/locations/{location}`.
2487
+ # @param entry [::Google::Cloud::Dataplex::V1::Entry, ::Hash]
2488
+ # Required. The entry to modify.
2489
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2490
+ # Optional. Mask of fields to update. To update Aspects, the update_mask must
2491
+ # contain the value "aspects".
2492
+ #
2493
+ # If the update_mask is empty, the service will update all modifiable fields
2494
+ # present in the request.
2495
+ # @param delete_missing_aspects [::Boolean]
2496
+ # Optional. If set to true, any aspects not specified in the request will be
2497
+ # deleted. The default is false.
2498
+ # @param aspect_keys [::Array<::String>]
2499
+ # Optional. The aspect keys which the service should modify. It supports
2500
+ # the following syntaxes:
2501
+ #
2502
+ # * `<aspect_type_reference>` - matches an aspect of the given type and empty
2503
+ # path.
2504
+ # * `<aspect_type_reference>@path` - matches an aspect of the given type and
2505
+ # specified path. For example, to attach an aspect to a field that is
2506
+ # specified by the `schema` aspect, the path should have the format
2507
+ # `Schema.<field_name>`.
2508
+ # * `<aspect_type_reference>@*` - matches aspects of the given type for all
2509
+ # paths.
2510
+ # * `*@path` - matches aspects of all types on the given path.
2511
+ #
2512
+ # The service will not remove existing aspects matching the syntax unless
2513
+ # `delete_missing_aspects` is set to true.
2514
+ #
2515
+ # If this field is left empty, the service treats it as specifying
2516
+ # exactly those Aspects present in the request.
2517
+ #
2518
+ # @yield [response, operation] Access the result along with the RPC operation
2519
+ # @yieldparam response [::Google::Cloud::Dataplex::V1::Entry]
2520
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2521
+ #
2522
+ # @return [::Google::Cloud::Dataplex::V1::Entry]
2523
+ #
2524
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2525
+ #
2526
+ # @example Basic example
2527
+ # require "google/cloud/dataplex/v1"
2528
+ #
2529
+ # # Create a client object. The client can be reused for multiple calls.
2530
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
2531
+ #
2532
+ # # Create a request. To set request fields, pass in keyword arguments.
2533
+ # request = Google::Cloud::Dataplex::V1::ModifyEntryRequest.new
2534
+ #
2535
+ # # Call the modify_entry method.
2536
+ # result = client.modify_entry request
2537
+ #
2538
+ # # The returned object is of type Google::Cloud::Dataplex::V1::Entry.
2539
+ # p result
2540
+ #
2541
+ def modify_entry request, options = nil
2542
+ raise ::ArgumentError, "request must be provided" if request.nil?
2543
+
2544
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::ModifyEntryRequest
2545
+
2546
+ # Converts hash and nil to an options object
2547
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
2548
+
2549
+ # Customize the options with defaults
2550
+ metadata = @config.rpcs.modify_entry.metadata.to_h
2551
+
2552
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2553
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2554
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
2555
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
2556
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2557
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2558
+
2559
+ header_params = {}
2560
+ if request.name
2561
+ header_params["name"] = request.name
2562
+ end
2563
+
2564
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
2565
+ metadata[:"x-goog-request-params"] ||= request_params_header
2566
+
2567
+ options.apply_defaults timeout: @config.rpcs.modify_entry.timeout,
2568
+ metadata: metadata,
2569
+ retry_policy: @config.rpcs.modify_entry.retry_policy
2570
+
2571
+ options.apply_defaults timeout: @config.timeout,
2572
+ metadata: @config.metadata,
2573
+ retry_policy: @config.retry_policy
2574
+
2575
+ @catalog_service_stub.call_rpc :modify_entry, request, options: options do |response, operation|
2576
+ yield response, operation if block_given?
2577
+ end
2578
+ rescue ::GRPC::BadStatus => e
2579
+ raise ::Google::Cloud::Error.from_error(e)
2580
+ end
2581
+
2456
2582
  ##
2457
2583
  # Searches for Entries matching the given query and scope.
2458
2584
  #
@@ -3061,6 +3187,101 @@ module Google
3061
3187
  raise ::Google::Cloud::Error.from_error(e)
3062
3188
  end
3063
3189
 
3190
+ ##
3191
+ # Updates an Entry Link.
3192
+ #
3193
+ # @overload update_entry_link(request, options = nil)
3194
+ # Pass arguments to `update_entry_link` via a request object, either of type
3195
+ # {::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest} or an equivalent Hash.
3196
+ #
3197
+ # @param request [::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest, ::Hash]
3198
+ # A request object representing the call parameters. Required. To specify no
3199
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3200
+ # @param options [::Gapic::CallOptions, ::Hash]
3201
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3202
+ #
3203
+ # @overload update_entry_link(entry_link: nil, allow_missing: nil, aspect_keys: nil)
3204
+ # Pass arguments to `update_entry_link` via keyword arguments. Note that at
3205
+ # least one keyword argument is required. To specify no parameters, or to keep all
3206
+ # the default parameter values, pass an empty Hash as a request object (see above).
3207
+ #
3208
+ # @param entry_link [::Google::Cloud::Dataplex::V1::EntryLink, ::Hash]
3209
+ # Required. Entry Link resource.
3210
+ # @param allow_missing [::Boolean]
3211
+ # Optional. If set to true and the entry link doesn't exist, the service will
3212
+ # create it.
3213
+ # @param aspect_keys [::Array<::String>]
3214
+ # Optional. The map keys of the Aspects which the service should modify.
3215
+ # It should be the aspect type reference in the format
3216
+ # `{project_id_or_number}.{location_id}.{aspect_type_id}`.
3217
+ #
3218
+ # If this field is left empty, the service treats it as specifying
3219
+ # exactly those Aspects present in the request.
3220
+ #
3221
+ # @yield [response, operation] Access the result along with the RPC operation
3222
+ # @yieldparam response [::Google::Cloud::Dataplex::V1::EntryLink]
3223
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3224
+ #
3225
+ # @return [::Google::Cloud::Dataplex::V1::EntryLink]
3226
+ #
3227
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3228
+ #
3229
+ # @example Basic example
3230
+ # require "google/cloud/dataplex/v1"
3231
+ #
3232
+ # # Create a client object. The client can be reused for multiple calls.
3233
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3234
+ #
3235
+ # # Create a request. To set request fields, pass in keyword arguments.
3236
+ # request = Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest.new
3237
+ #
3238
+ # # Call the update_entry_link method.
3239
+ # result = client.update_entry_link request
3240
+ #
3241
+ # # The returned object is of type Google::Cloud::Dataplex::V1::EntryLink.
3242
+ # p result
3243
+ #
3244
+ def update_entry_link request, options = nil
3245
+ raise ::ArgumentError, "request must be provided" if request.nil?
3246
+
3247
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest
3248
+
3249
+ # Converts hash and nil to an options object
3250
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3251
+
3252
+ # Customize the options with defaults
3253
+ metadata = @config.rpcs.update_entry_link.metadata.to_h
3254
+
3255
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3256
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3257
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3258
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3259
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3260
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3261
+
3262
+ header_params = {}
3263
+ if request.entry_link&.name
3264
+ header_params["entry_link.name"] = request.entry_link.name
3265
+ end
3266
+
3267
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3268
+ metadata[:"x-goog-request-params"] ||= request_params_header
3269
+
3270
+ options.apply_defaults timeout: @config.rpcs.update_entry_link.timeout,
3271
+ metadata: metadata,
3272
+ retry_policy: @config.rpcs.update_entry_link.retry_policy
3273
+
3274
+ options.apply_defaults timeout: @config.timeout,
3275
+ metadata: @config.metadata,
3276
+ retry_policy: @config.retry_policy
3277
+
3278
+ @catalog_service_stub.call_rpc :update_entry_link, request, options: options do |response, operation|
3279
+ yield response, operation if block_given?
3280
+ end
3281
+ rescue ::GRPC::BadStatus => e
3282
+ raise ::Google::Cloud::Error.from_error(e)
3283
+ end
3284
+
3064
3285
  ##
3065
3286
  # Deletes an Entry Link.
3066
3287
  #
@@ -3148,32 +3369,51 @@ module Google
3148
3369
  end
3149
3370
 
3150
3371
  ##
3151
- # Gets an Entry Link.
3372
+ # Looks up Entry Links referencing the specified Entry.
3152
3373
  #
3153
- # @overload get_entry_link(request, options = nil)
3154
- # Pass arguments to `get_entry_link` via a request object, either of type
3155
- # {::Google::Cloud::Dataplex::V1::GetEntryLinkRequest} or an equivalent Hash.
3374
+ # @overload lookup_entry_links(request, options = nil)
3375
+ # Pass arguments to `lookup_entry_links` via a request object, either of type
3376
+ # {::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest} or an equivalent Hash.
3156
3377
  #
3157
- # @param request [::Google::Cloud::Dataplex::V1::GetEntryLinkRequest, ::Hash]
3378
+ # @param request [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest, ::Hash]
3158
3379
  # A request object representing the call parameters. Required. To specify no
3159
3380
  # parameters, or to keep all the default parameter values, pass an empty Hash.
3160
3381
  # @param options [::Gapic::CallOptions, ::Hash]
3161
3382
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3162
3383
  #
3163
- # @overload get_entry_link(name: nil)
3164
- # Pass arguments to `get_entry_link` via keyword arguments. Note that at
3384
+ # @overload lookup_entry_links(name: nil, entry: nil, entry_mode: nil, entry_link_types: nil, page_size: nil, page_token: nil)
3385
+ # Pass arguments to `lookup_entry_links` via keyword arguments. Note that at
3165
3386
  # least one keyword argument is required. To specify no parameters, or to keep all
3166
3387
  # the default parameter values, pass an empty Hash as a request object (see above).
3167
3388
  #
3168
3389
  # @param name [::String]
3169
- # Required. The resource name of the Entry Link:
3170
- # `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`.
3390
+ # Required. The project to which the request should be attributed to
3391
+ # Format: `projects/{project_id_or_number}/locations/{location_id}`.
3392
+ # @param entry [::String]
3393
+ # Required. The resource name of the referred Entry.
3394
+ # Format:
3395
+ # `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
3396
+ # Entry Links which references this entry will be returned in the response.
3397
+ # @param entry_mode [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest::EntryMode]
3398
+ # Mode of entry reference.
3399
+ # @param entry_link_types [::Array<::String>]
3400
+ # Entry link types to filter the response by. If empty, all entry link types
3401
+ # will be returned. At most 10 entry link types can be specified.
3402
+ # @param page_size [::Integer]
3403
+ # Maximum number of EntryLinks to return. The service may return fewer
3404
+ # than this value. If unspecified, at most 10 EntryLinks will be returned.
3405
+ # The maximum value is 10; values above 10 will be coerced to 10.
3406
+ # @param page_token [::String]
3407
+ # Page token received from a previous `LookupEntryLinks` call. Provide this
3408
+ # to retrieve the subsequent page. When paginating, all other parameters that
3409
+ # are provided to the `LookupEntryLinks` request must match the call that
3410
+ # provided the page token.
3171
3411
  #
3172
3412
  # @yield [response, operation] Access the result along with the RPC operation
3173
- # @yieldparam response [::Google::Cloud::Dataplex::V1::EntryLink]
3413
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
3174
3414
  # @yieldparam operation [::GRPC::ActiveCall::Operation]
3175
3415
  #
3176
- # @return [::Google::Cloud::Dataplex::V1::EntryLink]
3416
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
3177
3417
  #
3178
3418
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
3179
3419
  #
@@ -3184,24 +3424,28 @@ module Google
3184
3424
  # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3185
3425
  #
3186
3426
  # # Create a request. To set request fields, pass in keyword arguments.
3187
- # request = Google::Cloud::Dataplex::V1::GetEntryLinkRequest.new
3427
+ # request = Google::Cloud::Dataplex::V1::LookupEntryLinksRequest.new
3188
3428
  #
3189
- # # Call the get_entry_link method.
3190
- # result = client.get_entry_link request
3429
+ # # Call the lookup_entry_links method.
3430
+ # result = client.lookup_entry_links request
3191
3431
  #
3192
- # # The returned object is of type Google::Cloud::Dataplex::V1::EntryLink.
3193
- # p result
3432
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3433
+ # # over elements, and API calls will be issued to fetch pages as needed.
3434
+ # result.each do |item|
3435
+ # # Each element is of type ::Google::Cloud::Dataplex::V1::EntryLink.
3436
+ # p item
3437
+ # end
3194
3438
  #
3195
- def get_entry_link request, options = nil
3439
+ def lookup_entry_links request, options = nil
3196
3440
  raise ::ArgumentError, "request must be provided" if request.nil?
3197
3441
 
3198
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::GetEntryLinkRequest
3442
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest
3199
3443
 
3200
3444
  # Converts hash and nil to an options object
3201
3445
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3202
3446
 
3203
3447
  # Customize the options with defaults
3204
- metadata = @config.rpcs.get_entry_link.metadata.to_h
3448
+ metadata = @config.rpcs.lookup_entry_links.metadata.to_h
3205
3449
 
3206
3450
  # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3207
3451
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
@@ -3218,65 +3462,757 @@ module Google
3218
3462
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3219
3463
  metadata[:"x-goog-request-params"] ||= request_params_header
3220
3464
 
3221
- options.apply_defaults timeout: @config.rpcs.get_entry_link.timeout,
3465
+ options.apply_defaults timeout: @config.rpcs.lookup_entry_links.timeout,
3222
3466
  metadata: metadata,
3223
- retry_policy: @config.rpcs.get_entry_link.retry_policy
3467
+ retry_policy: @config.rpcs.lookup_entry_links.retry_policy
3224
3468
 
3225
3469
  options.apply_defaults timeout: @config.timeout,
3226
3470
  metadata: @config.metadata,
3227
3471
  retry_policy: @config.retry_policy
3228
3472
 
3229
- @catalog_service_stub.call_rpc :get_entry_link, request, options: options do |response, operation|
3473
+ @catalog_service_stub.call_rpc :lookup_entry_links, request, options: options do |response, operation|
3474
+ response = ::Gapic::PagedEnumerable.new @catalog_service_stub, :lookup_entry_links, request, response, operation, options
3230
3475
  yield response, operation if block_given?
3476
+ throw :response, response
3231
3477
  end
3232
3478
  rescue ::GRPC::BadStatus => e
3233
3479
  raise ::Google::Cloud::Error.from_error(e)
3234
3480
  end
3235
3481
 
3236
3482
  ##
3237
- # Configuration class for the CatalogService API.
3483
+ # Looks up LLM Context for the specified resources.
3238
3484
  #
3239
- # This class represents the configuration for CatalogService,
3240
- # providing control over timeouts, retry behavior, logging, transport
3241
- # parameters, and other low-level controls. Certain parameters can also be
3242
- # applied individually to specific RPCs. See
3243
- # {::Google::Cloud::Dataplex::V1::CatalogService::Client::Configuration::Rpcs}
3244
- # for a list of RPCs that can be configured independently.
3485
+ # @overload lookup_context(request, options = nil)
3486
+ # Pass arguments to `lookup_context` via a request object, either of type
3487
+ # {::Google::Cloud::Dataplex::V1::LookupContextRequest} or an equivalent Hash.
3245
3488
  #
3246
- # Configuration can be applied globally to all clients, or to a single client
3247
- # on construction.
3489
+ # @param request [::Google::Cloud::Dataplex::V1::LookupContextRequest, ::Hash]
3490
+ # A request object representing the call parameters. Required. To specify no
3491
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3492
+ # @param options [::Gapic::CallOptions, ::Hash]
3493
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3248
3494
  #
3249
- # @example
3495
+ # @overload lookup_context(name: nil, resources: nil, context: nil, options: nil)
3496
+ # Pass arguments to `lookup_context` via keyword arguments. Note that at
3497
+ # least one keyword argument is required. To specify no parameters, or to keep all
3498
+ # the default parameter values, pass an empty Hash as a request object (see above).
3250
3499
  #
3251
- # # Modify the global config, setting the timeout for
3252
- # # create_entry_type to 20 seconds,
3253
- # # and all remaining timeouts to 10 seconds.
3254
- # ::Google::Cloud::Dataplex::V1::CatalogService::Client.configure do |config|
3255
- # config.timeout = 10.0
3256
- # config.rpcs.create_entry_type.timeout = 20.0
3257
- # end
3500
+ # @param name [::String]
3501
+ # Required. The project to which the request should be attributed in the
3502
+ # following form: `projects/{project}/locations/{location}`.
3503
+ # @param resources [::Array<::String>]
3504
+ # Required. The entry names to look up the context for. The maximum number of
3505
+ # resources for a request is limited to 10.
3258
3506
  #
3259
- # # Apply the above configuration only to a new client.
3260
- # client = ::Google::Cloud::Dataplex::V1::CatalogService::Client.new do |config|
3261
- # config.timeout = 10.0
3262
- # config.rpcs.create_entry_type.timeout = 20.0
3263
- # end
3507
+ # ## Examples:
3264
3508
  #
3265
- # @!attribute [rw] endpoint
3266
- # A custom service endpoint, as a hostname or hostname:port. The default is
3267
- # nil, indicating to use the default endpoint in the current universe domain.
3268
- # @return [::String,nil]
3269
- # @!attribute [rw] credentials
3270
- # Credentials to send with calls. You may provide any of the following types:
3271
- # * (`Google::Auth::Credentials`) A googleauth credentials object
3272
- # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3273
- # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3274
- # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3275
- # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3276
- # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3277
- # * (`nil`) indicating no credentials
3509
+ # `projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}`
3510
+ # @param context [::String]
3511
+ # Optional. The text representing contextual information for which metadata
3512
+ # context is being requested.
3513
+ # @param options [::Hash{::String => ::String}]
3514
+ # Optional. Allows to configure the context.
3278
3515
  #
3279
- # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3516
+ # Supported options:
3517
+ #
3518
+ # - `format` - The format of the context (one of `yaml`,
3519
+ # `xml`, `json`, default is `yaml`).
3520
+ # - `context_budget` - If provided, the output will be intelligently
3521
+ # truncated on a best-effort basis to contain approximately the desired
3522
+ # amount of characters. There is no guarantee to achieve the specific amount.
3523
+ #
3524
+ # @yield [response, operation] Access the result along with the RPC operation
3525
+ # @yieldparam response [::Google::Cloud::Dataplex::V1::LookupContextResponse]
3526
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3527
+ #
3528
+ # @return [::Google::Cloud::Dataplex::V1::LookupContextResponse]
3529
+ #
3530
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3531
+ #
3532
+ # @example Basic example
3533
+ # require "google/cloud/dataplex/v1"
3534
+ #
3535
+ # # Create a client object. The client can be reused for multiple calls.
3536
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3537
+ #
3538
+ # # Create a request. To set request fields, pass in keyword arguments.
3539
+ # request = Google::Cloud::Dataplex::V1::LookupContextRequest.new
3540
+ #
3541
+ # # Call the lookup_context method.
3542
+ # result = client.lookup_context request
3543
+ #
3544
+ # # The returned object is of type Google::Cloud::Dataplex::V1::LookupContextResponse.
3545
+ # p result
3546
+ #
3547
+ def lookup_context request, options = nil
3548
+ raise ::ArgumentError, "request must be provided" if request.nil?
3549
+
3550
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::LookupContextRequest
3551
+
3552
+ # Converts hash and nil to an options object
3553
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3554
+
3555
+ # Customize the options with defaults
3556
+ metadata = @config.rpcs.lookup_context.metadata.to_h
3557
+
3558
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3559
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3560
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3561
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3562
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3563
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3564
+
3565
+ header_params = {}
3566
+ if request.name
3567
+ header_params["name"] = request.name
3568
+ end
3569
+
3570
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3571
+ metadata[:"x-goog-request-params"] ||= request_params_header
3572
+
3573
+ options.apply_defaults timeout: @config.rpcs.lookup_context.timeout,
3574
+ metadata: metadata,
3575
+ retry_policy: @config.rpcs.lookup_context.retry_policy
3576
+
3577
+ options.apply_defaults timeout: @config.timeout,
3578
+ metadata: @config.metadata,
3579
+ retry_policy: @config.retry_policy
3580
+
3581
+ @catalog_service_stub.call_rpc :lookup_context, request, options: options do |response, operation|
3582
+ yield response, operation if block_given?
3583
+ end
3584
+ rescue ::GRPC::BadStatus => e
3585
+ raise ::Google::Cloud::Error.from_error(e)
3586
+ end
3587
+
3588
+ ##
3589
+ # Gets an Entry Link.
3590
+ #
3591
+ # @overload get_entry_link(request, options = nil)
3592
+ # Pass arguments to `get_entry_link` via a request object, either of type
3593
+ # {::Google::Cloud::Dataplex::V1::GetEntryLinkRequest} or an equivalent Hash.
3594
+ #
3595
+ # @param request [::Google::Cloud::Dataplex::V1::GetEntryLinkRequest, ::Hash]
3596
+ # A request object representing the call parameters. Required. To specify no
3597
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3598
+ # @param options [::Gapic::CallOptions, ::Hash]
3599
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3600
+ #
3601
+ # @overload get_entry_link(name: nil)
3602
+ # Pass arguments to `get_entry_link` via keyword arguments. Note that at
3603
+ # least one keyword argument is required. To specify no parameters, or to keep all
3604
+ # the default parameter values, pass an empty Hash as a request object (see above).
3605
+ #
3606
+ # @param name [::String]
3607
+ # Required. The resource name of the Entry Link:
3608
+ # `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`.
3609
+ #
3610
+ # @yield [response, operation] Access the result along with the RPC operation
3611
+ # @yieldparam response [::Google::Cloud::Dataplex::V1::EntryLink]
3612
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3613
+ #
3614
+ # @return [::Google::Cloud::Dataplex::V1::EntryLink]
3615
+ #
3616
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3617
+ #
3618
+ # @example Basic example
3619
+ # require "google/cloud/dataplex/v1"
3620
+ #
3621
+ # # Create a client object. The client can be reused for multiple calls.
3622
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3623
+ #
3624
+ # # Create a request. To set request fields, pass in keyword arguments.
3625
+ # request = Google::Cloud::Dataplex::V1::GetEntryLinkRequest.new
3626
+ #
3627
+ # # Call the get_entry_link method.
3628
+ # result = client.get_entry_link request
3629
+ #
3630
+ # # The returned object is of type Google::Cloud::Dataplex::V1::EntryLink.
3631
+ # p result
3632
+ #
3633
+ def get_entry_link request, options = nil
3634
+ raise ::ArgumentError, "request must be provided" if request.nil?
3635
+
3636
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::GetEntryLinkRequest
3637
+
3638
+ # Converts hash and nil to an options object
3639
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3640
+
3641
+ # Customize the options with defaults
3642
+ metadata = @config.rpcs.get_entry_link.metadata.to_h
3643
+
3644
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3645
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3646
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3647
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3648
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3649
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3650
+
3651
+ header_params = {}
3652
+ if request.name
3653
+ header_params["name"] = request.name
3654
+ end
3655
+
3656
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3657
+ metadata[:"x-goog-request-params"] ||= request_params_header
3658
+
3659
+ options.apply_defaults timeout: @config.rpcs.get_entry_link.timeout,
3660
+ metadata: metadata,
3661
+ retry_policy: @config.rpcs.get_entry_link.retry_policy
3662
+
3663
+ options.apply_defaults timeout: @config.timeout,
3664
+ metadata: @config.metadata,
3665
+ retry_policy: @config.retry_policy
3666
+
3667
+ @catalog_service_stub.call_rpc :get_entry_link, request, options: options do |response, operation|
3668
+ yield response, operation if block_given?
3669
+ end
3670
+ rescue ::GRPC::BadStatus => e
3671
+ raise ::Google::Cloud::Error.from_error(e)
3672
+ end
3673
+
3674
+ ##
3675
+ # Creates a MetadataFeed.
3676
+ #
3677
+ # @overload create_metadata_feed(request, options = nil)
3678
+ # Pass arguments to `create_metadata_feed` via a request object, either of type
3679
+ # {::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest} or an equivalent Hash.
3680
+ #
3681
+ # @param request [::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest, ::Hash]
3682
+ # A request object representing the call parameters. Required. To specify no
3683
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3684
+ # @param options [::Gapic::CallOptions, ::Hash]
3685
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3686
+ #
3687
+ # @overload create_metadata_feed(parent: nil, metadata_feed: nil, metadata_feed_id: nil, validate_only: nil)
3688
+ # Pass arguments to `create_metadata_feed` via keyword arguments. Note that at
3689
+ # least one keyword argument is required. To specify no parameters, or to keep all
3690
+ # the default parameter values, pass an empty Hash as a request object (see above).
3691
+ #
3692
+ # @param parent [::String]
3693
+ # Required. The resource name of the parent location, in the format
3694
+ # `projects/{project_id_or_number}/locations/{location_id}`
3695
+ # @param metadata_feed [::Google::Cloud::Dataplex::V1::MetadataFeed, ::Hash]
3696
+ # Required. The metadata job resource.
3697
+ # @param metadata_feed_id [::String]
3698
+ # Optional. The metadata job ID. If not provided, a unique ID is generated
3699
+ # with the prefix `metadata-job-`.
3700
+ # @param validate_only [::Boolean]
3701
+ # Optional. The service validates the request without performing any
3702
+ # mutations. The default is false.
3703
+ #
3704
+ # @yield [response, operation] Access the result along with the RPC operation
3705
+ # @yieldparam response [::Gapic::Operation]
3706
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3707
+ #
3708
+ # @return [::Gapic::Operation]
3709
+ #
3710
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3711
+ #
3712
+ # @example Basic example
3713
+ # require "google/cloud/dataplex/v1"
3714
+ #
3715
+ # # Create a client object. The client can be reused for multiple calls.
3716
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3717
+ #
3718
+ # # Create a request. To set request fields, pass in keyword arguments.
3719
+ # request = Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest.new
3720
+ #
3721
+ # # Call the create_metadata_feed method.
3722
+ # result = client.create_metadata_feed request
3723
+ #
3724
+ # # The returned object is of type Gapic::Operation. You can use it to
3725
+ # # check the status of an operation, cancel it, or wait for results.
3726
+ # # Here is how to wait for a response.
3727
+ # result.wait_until_done! timeout: 60
3728
+ # if result.response?
3729
+ # p result.response
3730
+ # else
3731
+ # puts "No response received."
3732
+ # end
3733
+ #
3734
+ def create_metadata_feed request, options = nil
3735
+ raise ::ArgumentError, "request must be provided" if request.nil?
3736
+
3737
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest
3738
+
3739
+ # Converts hash and nil to an options object
3740
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3741
+
3742
+ # Customize the options with defaults
3743
+ metadata = @config.rpcs.create_metadata_feed.metadata.to_h
3744
+
3745
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3746
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3747
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3748
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3749
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3750
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3751
+
3752
+ header_params = {}
3753
+ if request.parent
3754
+ header_params["parent"] = request.parent
3755
+ end
3756
+
3757
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3758
+ metadata[:"x-goog-request-params"] ||= request_params_header
3759
+
3760
+ options.apply_defaults timeout: @config.rpcs.create_metadata_feed.timeout,
3761
+ metadata: metadata,
3762
+ retry_policy: @config.rpcs.create_metadata_feed.retry_policy
3763
+
3764
+ options.apply_defaults timeout: @config.timeout,
3765
+ metadata: @config.metadata,
3766
+ retry_policy: @config.retry_policy
3767
+
3768
+ @catalog_service_stub.call_rpc :create_metadata_feed, request, options: options do |response, operation|
3769
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3770
+ yield response, operation if block_given?
3771
+ throw :response, response
3772
+ end
3773
+ rescue ::GRPC::BadStatus => e
3774
+ raise ::Google::Cloud::Error.from_error(e)
3775
+ end
3776
+
3777
+ ##
3778
+ # Gets a MetadataFeed.
3779
+ #
3780
+ # @overload get_metadata_feed(request, options = nil)
3781
+ # Pass arguments to `get_metadata_feed` via a request object, either of type
3782
+ # {::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest} or an equivalent Hash.
3783
+ #
3784
+ # @param request [::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest, ::Hash]
3785
+ # A request object representing the call parameters. Required. To specify no
3786
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3787
+ # @param options [::Gapic::CallOptions, ::Hash]
3788
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3789
+ #
3790
+ # @overload get_metadata_feed(name: nil)
3791
+ # Pass arguments to `get_metadata_feed` via keyword arguments. Note that at
3792
+ # least one keyword argument is required. To specify no parameters, or to keep all
3793
+ # the default parameter values, pass an empty Hash as a request object (see above).
3794
+ #
3795
+ # @param name [::String]
3796
+ # Required. The resource name of the metadata feed, in the format
3797
+ # `projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}`.
3798
+ #
3799
+ # @yield [response, operation] Access the result along with the RPC operation
3800
+ # @yieldparam response [::Google::Cloud::Dataplex::V1::MetadataFeed]
3801
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3802
+ #
3803
+ # @return [::Google::Cloud::Dataplex::V1::MetadataFeed]
3804
+ #
3805
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3806
+ #
3807
+ # @example Basic example
3808
+ # require "google/cloud/dataplex/v1"
3809
+ #
3810
+ # # Create a client object. The client can be reused for multiple calls.
3811
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3812
+ #
3813
+ # # Create a request. To set request fields, pass in keyword arguments.
3814
+ # request = Google::Cloud::Dataplex::V1::GetMetadataFeedRequest.new
3815
+ #
3816
+ # # Call the get_metadata_feed method.
3817
+ # result = client.get_metadata_feed request
3818
+ #
3819
+ # # The returned object is of type Google::Cloud::Dataplex::V1::MetadataFeed.
3820
+ # p result
3821
+ #
3822
+ def get_metadata_feed request, options = nil
3823
+ raise ::ArgumentError, "request must be provided" if request.nil?
3824
+
3825
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest
3826
+
3827
+ # Converts hash and nil to an options object
3828
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3829
+
3830
+ # Customize the options with defaults
3831
+ metadata = @config.rpcs.get_metadata_feed.metadata.to_h
3832
+
3833
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3834
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3835
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3836
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3837
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3838
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3839
+
3840
+ header_params = {}
3841
+ if request.name
3842
+ header_params["name"] = request.name
3843
+ end
3844
+
3845
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3846
+ metadata[:"x-goog-request-params"] ||= request_params_header
3847
+
3848
+ options.apply_defaults timeout: @config.rpcs.get_metadata_feed.timeout,
3849
+ metadata: metadata,
3850
+ retry_policy: @config.rpcs.get_metadata_feed.retry_policy
3851
+
3852
+ options.apply_defaults timeout: @config.timeout,
3853
+ metadata: @config.metadata,
3854
+ retry_policy: @config.retry_policy
3855
+
3856
+ @catalog_service_stub.call_rpc :get_metadata_feed, request, options: options do |response, operation|
3857
+ yield response, operation if block_given?
3858
+ end
3859
+ rescue ::GRPC::BadStatus => e
3860
+ raise ::Google::Cloud::Error.from_error(e)
3861
+ end
3862
+
3863
+ ##
3864
+ # Retrieve a list of MetadataFeeds.
3865
+ #
3866
+ # @overload list_metadata_feeds(request, options = nil)
3867
+ # Pass arguments to `list_metadata_feeds` via a request object, either of type
3868
+ # {::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest} or an equivalent Hash.
3869
+ #
3870
+ # @param request [::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest, ::Hash]
3871
+ # A request object representing the call parameters. Required. To specify no
3872
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3873
+ # @param options [::Gapic::CallOptions, ::Hash]
3874
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3875
+ #
3876
+ # @overload list_metadata_feeds(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
3877
+ # Pass arguments to `list_metadata_feeds` via keyword arguments. Note that at
3878
+ # least one keyword argument is required. To specify no parameters, or to keep all
3879
+ # the default parameter values, pass an empty Hash as a request object (see above).
3880
+ #
3881
+ # @param parent [::String]
3882
+ # Required. The resource name of the parent location, in the format
3883
+ # `projects/{project_id_or_number}/locations/{location_id}`
3884
+ # @param page_size [::Integer]
3885
+ # Optional. The maximum number of metadata feeds to return. The service
3886
+ # might return fewer feeds than this value. If unspecified, at most 10 feeds
3887
+ # are returned. The maximum value is 1,000.
3888
+ # @param page_token [::String]
3889
+ # Optional. The page token received from a previous `ListMetadataFeeds` call.
3890
+ # Provide this token to retrieve the subsequent page of results. When
3891
+ # paginating, all other parameters that are provided to the
3892
+ # `ListMetadataFeeds` request must match the call that provided the
3893
+ # page token.
3894
+ # @param filter [::String]
3895
+ # Optional. Filter request. Filters are case-sensitive.
3896
+ # The service supports the following formats:
3897
+ #
3898
+ # * `labels.key1 = "value1"`
3899
+ # * `labels:key1`
3900
+ # * `name = "value"`
3901
+ #
3902
+ # You can combine filters with `AND`, `OR`, and `NOT` operators.
3903
+ # @param order_by [::String]
3904
+ # Optional. The field to sort the results by, either `name` or `create_time`.
3905
+ # If not specified, the ordering is undefined.
3906
+ #
3907
+ # @yield [response, operation] Access the result along with the RPC operation
3908
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::MetadataFeed>]
3909
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3910
+ #
3911
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::MetadataFeed>]
3912
+ #
3913
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3914
+ #
3915
+ # @example Basic example
3916
+ # require "google/cloud/dataplex/v1"
3917
+ #
3918
+ # # Create a client object. The client can be reused for multiple calls.
3919
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
3920
+ #
3921
+ # # Create a request. To set request fields, pass in keyword arguments.
3922
+ # request = Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest.new
3923
+ #
3924
+ # # Call the list_metadata_feeds method.
3925
+ # result = client.list_metadata_feeds request
3926
+ #
3927
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
3928
+ # # over elements, and API calls will be issued to fetch pages as needed.
3929
+ # result.each do |item|
3930
+ # # Each element is of type ::Google::Cloud::Dataplex::V1::MetadataFeed.
3931
+ # p item
3932
+ # end
3933
+ #
3934
+ def list_metadata_feeds request, options = nil
3935
+ raise ::ArgumentError, "request must be provided" if request.nil?
3936
+
3937
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest
3938
+
3939
+ # Converts hash and nil to an options object
3940
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3941
+
3942
+ # Customize the options with defaults
3943
+ metadata = @config.rpcs.list_metadata_feeds.metadata.to_h
3944
+
3945
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3946
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3947
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3948
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
3949
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3950
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3951
+
3952
+ header_params = {}
3953
+ if request.parent
3954
+ header_params["parent"] = request.parent
3955
+ end
3956
+
3957
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3958
+ metadata[:"x-goog-request-params"] ||= request_params_header
3959
+
3960
+ options.apply_defaults timeout: @config.rpcs.list_metadata_feeds.timeout,
3961
+ metadata: metadata,
3962
+ retry_policy: @config.rpcs.list_metadata_feeds.retry_policy
3963
+
3964
+ options.apply_defaults timeout: @config.timeout,
3965
+ metadata: @config.metadata,
3966
+ retry_policy: @config.retry_policy
3967
+
3968
+ @catalog_service_stub.call_rpc :list_metadata_feeds, request, options: options do |response, operation|
3969
+ response = ::Gapic::PagedEnumerable.new @catalog_service_stub, :list_metadata_feeds, request, response, operation, options
3970
+ yield response, operation if block_given?
3971
+ throw :response, response
3972
+ end
3973
+ rescue ::GRPC::BadStatus => e
3974
+ raise ::Google::Cloud::Error.from_error(e)
3975
+ end
3976
+
3977
+ ##
3978
+ # Deletes a MetadataFeed.
3979
+ #
3980
+ # @overload delete_metadata_feed(request, options = nil)
3981
+ # Pass arguments to `delete_metadata_feed` via a request object, either of type
3982
+ # {::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest} or an equivalent Hash.
3983
+ #
3984
+ # @param request [::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest, ::Hash]
3985
+ # A request object representing the call parameters. Required. To specify no
3986
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3987
+ # @param options [::Gapic::CallOptions, ::Hash]
3988
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3989
+ #
3990
+ # @overload delete_metadata_feed(name: nil)
3991
+ # Pass arguments to `delete_metadata_feed` via keyword arguments. Note that at
3992
+ # least one keyword argument is required. To specify no parameters, or to keep all
3993
+ # the default parameter values, pass an empty Hash as a request object (see above).
3994
+ #
3995
+ # @param name [::String]
3996
+ # Required. The resource name of the metadata feed, in the format
3997
+ # `projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}`.
3998
+ #
3999
+ # @yield [response, operation] Access the result along with the RPC operation
4000
+ # @yieldparam response [::Gapic::Operation]
4001
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
4002
+ #
4003
+ # @return [::Gapic::Operation]
4004
+ #
4005
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
4006
+ #
4007
+ # @example Basic example
4008
+ # require "google/cloud/dataplex/v1"
4009
+ #
4010
+ # # Create a client object. The client can be reused for multiple calls.
4011
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
4012
+ #
4013
+ # # Create a request. To set request fields, pass in keyword arguments.
4014
+ # request = Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest.new
4015
+ #
4016
+ # # Call the delete_metadata_feed method.
4017
+ # result = client.delete_metadata_feed request
4018
+ #
4019
+ # # The returned object is of type Gapic::Operation. You can use it to
4020
+ # # check the status of an operation, cancel it, or wait for results.
4021
+ # # Here is how to wait for a response.
4022
+ # result.wait_until_done! timeout: 60
4023
+ # if result.response?
4024
+ # p result.response
4025
+ # else
4026
+ # puts "No response received."
4027
+ # end
4028
+ #
4029
+ def delete_metadata_feed request, options = nil
4030
+ raise ::ArgumentError, "request must be provided" if request.nil?
4031
+
4032
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest
4033
+
4034
+ # Converts hash and nil to an options object
4035
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
4036
+
4037
+ # Customize the options with defaults
4038
+ metadata = @config.rpcs.delete_metadata_feed.metadata.to_h
4039
+
4040
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4041
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4042
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
4043
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
4044
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4045
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4046
+
4047
+ header_params = {}
4048
+ if request.name
4049
+ header_params["name"] = request.name
4050
+ end
4051
+
4052
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
4053
+ metadata[:"x-goog-request-params"] ||= request_params_header
4054
+
4055
+ options.apply_defaults timeout: @config.rpcs.delete_metadata_feed.timeout,
4056
+ metadata: metadata,
4057
+ retry_policy: @config.rpcs.delete_metadata_feed.retry_policy
4058
+
4059
+ options.apply_defaults timeout: @config.timeout,
4060
+ metadata: @config.metadata,
4061
+ retry_policy: @config.retry_policy
4062
+
4063
+ @catalog_service_stub.call_rpc :delete_metadata_feed, request, options: options do |response, operation|
4064
+ response = ::Gapic::Operation.new response, @operations_client, options: options
4065
+ yield response, operation if block_given?
4066
+ throw :response, response
4067
+ end
4068
+ rescue ::GRPC::BadStatus => e
4069
+ raise ::Google::Cloud::Error.from_error(e)
4070
+ end
4071
+
4072
+ ##
4073
+ # Updates a MetadataFeed.
4074
+ #
4075
+ # @overload update_metadata_feed(request, options = nil)
4076
+ # Pass arguments to `update_metadata_feed` via a request object, either of type
4077
+ # {::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest} or an equivalent Hash.
4078
+ #
4079
+ # @param request [::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest, ::Hash]
4080
+ # A request object representing the call parameters. Required. To specify no
4081
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
4082
+ # @param options [::Gapic::CallOptions, ::Hash]
4083
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
4084
+ #
4085
+ # @overload update_metadata_feed(metadata_feed: nil, update_mask: nil, validate_only: nil)
4086
+ # Pass arguments to `update_metadata_feed` via keyword arguments. Note that at
4087
+ # least one keyword argument is required. To specify no parameters, or to keep all
4088
+ # the default parameter values, pass an empty Hash as a request object (see above).
4089
+ #
4090
+ # @param metadata_feed [::Google::Cloud::Dataplex::V1::MetadataFeed, ::Hash]
4091
+ # Required. Update description.
4092
+ # Only fields specified in `update_mask` are updated.
4093
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
4094
+ # Optional. Mask of fields to update.
4095
+ # @param validate_only [::Boolean]
4096
+ # Optional. Only validate the request, but do not perform mutations.
4097
+ # The default is false.
4098
+ #
4099
+ # @yield [response, operation] Access the result along with the RPC operation
4100
+ # @yieldparam response [::Gapic::Operation]
4101
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
4102
+ #
4103
+ # @return [::Gapic::Operation]
4104
+ #
4105
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
4106
+ #
4107
+ # @example Basic example
4108
+ # require "google/cloud/dataplex/v1"
4109
+ #
4110
+ # # Create a client object. The client can be reused for multiple calls.
4111
+ # client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
4112
+ #
4113
+ # # Create a request. To set request fields, pass in keyword arguments.
4114
+ # request = Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest.new
4115
+ #
4116
+ # # Call the update_metadata_feed method.
4117
+ # result = client.update_metadata_feed request
4118
+ #
4119
+ # # The returned object is of type Gapic::Operation. You can use it to
4120
+ # # check the status of an operation, cancel it, or wait for results.
4121
+ # # Here is how to wait for a response.
4122
+ # result.wait_until_done! timeout: 60
4123
+ # if result.response?
4124
+ # p result.response
4125
+ # else
4126
+ # puts "No response received."
4127
+ # end
4128
+ #
4129
+ def update_metadata_feed request, options = nil
4130
+ raise ::ArgumentError, "request must be provided" if request.nil?
4131
+
4132
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest
4133
+
4134
+ # Converts hash and nil to an options object
4135
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
4136
+
4137
+ # Customize the options with defaults
4138
+ metadata = @config.rpcs.update_metadata_feed.metadata.to_h
4139
+
4140
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4141
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4142
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
4143
+ gapic_version: ::Google::Cloud::Dataplex::V1::VERSION
4144
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4145
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4146
+
4147
+ header_params = {}
4148
+ if request.metadata_feed&.name
4149
+ header_params["metadata_feed.name"] = request.metadata_feed.name
4150
+ end
4151
+
4152
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
4153
+ metadata[:"x-goog-request-params"] ||= request_params_header
4154
+
4155
+ options.apply_defaults timeout: @config.rpcs.update_metadata_feed.timeout,
4156
+ metadata: metadata,
4157
+ retry_policy: @config.rpcs.update_metadata_feed.retry_policy
4158
+
4159
+ options.apply_defaults timeout: @config.timeout,
4160
+ metadata: @config.metadata,
4161
+ retry_policy: @config.retry_policy
4162
+
4163
+ @catalog_service_stub.call_rpc :update_metadata_feed, request, options: options do |response, operation|
4164
+ response = ::Gapic::Operation.new response, @operations_client, options: options
4165
+ yield response, operation if block_given?
4166
+ throw :response, response
4167
+ end
4168
+ rescue ::GRPC::BadStatus => e
4169
+ raise ::Google::Cloud::Error.from_error(e)
4170
+ end
4171
+
4172
+ ##
4173
+ # Configuration class for the CatalogService API.
4174
+ #
4175
+ # This class represents the configuration for CatalogService,
4176
+ # providing control over timeouts, retry behavior, logging, transport
4177
+ # parameters, and other low-level controls. Certain parameters can also be
4178
+ # applied individually to specific RPCs. See
4179
+ # {::Google::Cloud::Dataplex::V1::CatalogService::Client::Configuration::Rpcs}
4180
+ # for a list of RPCs that can be configured independently.
4181
+ #
4182
+ # Configuration can be applied globally to all clients, or to a single client
4183
+ # on construction.
4184
+ #
4185
+ # @example
4186
+ #
4187
+ # # Modify the global config, setting the timeout for
4188
+ # # create_entry_type to 20 seconds,
4189
+ # # and all remaining timeouts to 10 seconds.
4190
+ # ::Google::Cloud::Dataplex::V1::CatalogService::Client.configure do |config|
4191
+ # config.timeout = 10.0
4192
+ # config.rpcs.create_entry_type.timeout = 20.0
4193
+ # end
4194
+ #
4195
+ # # Apply the above configuration only to a new client.
4196
+ # client = ::Google::Cloud::Dataplex::V1::CatalogService::Client.new do |config|
4197
+ # config.timeout = 10.0
4198
+ # config.rpcs.create_entry_type.timeout = 20.0
4199
+ # end
4200
+ #
4201
+ # @!attribute [rw] endpoint
4202
+ # A custom service endpoint, as a hostname or hostname:port. The default is
4203
+ # nil, indicating to use the default endpoint in the current universe domain.
4204
+ # @return [::String,nil]
4205
+ # @!attribute [rw] credentials
4206
+ # Credentials to send with calls. You may provide any of the following types:
4207
+ # * (`Google::Auth::Credentials`) A googleauth credentials object
4208
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4209
+ # * (`Signet::OAuth2::Client`) A signet oauth2 client object
4210
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
4211
+ # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
4212
+ # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4213
+ # * (`nil`) indicating no credentials
4214
+ #
4215
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3280
4216
  # is deprecated. Providing an unvalidated credential configuration to
3281
4217
  # Google APIs can compromise the security of your systems and data.
3282
4218
  #
@@ -3329,6 +4265,7 @@ module Google
3329
4265
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
3330
4266
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
3331
4267
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
4268
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
3332
4269
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
3333
4270
  # trigger a retry.
3334
4271
  # @return [::Hash]
@@ -3412,6 +4349,7 @@ module Google
3412
4349
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
3413
4350
  # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
3414
4351
  # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
4352
+ # * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
3415
4353
  # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
3416
4354
  # trigger a retry.
3417
4355
  #
@@ -3522,6 +4460,11 @@ module Google
3522
4460
  #
3523
4461
  attr_reader :lookup_entry
3524
4462
  ##
4463
+ # RPC-specific configuration for `modify_entry`
4464
+ # @return [::Gapic::Config::Method]
4465
+ #
4466
+ attr_reader :modify_entry
4467
+ ##
3525
4468
  # RPC-specific configuration for `search_entries`
3526
4469
  # @return [::Gapic::Config::Method]
3527
4470
  #
@@ -3552,15 +4495,55 @@ module Google
3552
4495
  #
3553
4496
  attr_reader :create_entry_link
3554
4497
  ##
4498
+ # RPC-specific configuration for `update_entry_link`
4499
+ # @return [::Gapic::Config::Method]
4500
+ #
4501
+ attr_reader :update_entry_link
4502
+ ##
3555
4503
  # RPC-specific configuration for `delete_entry_link`
3556
4504
  # @return [::Gapic::Config::Method]
3557
4505
  #
3558
4506
  attr_reader :delete_entry_link
3559
4507
  ##
4508
+ # RPC-specific configuration for `lookup_entry_links`
4509
+ # @return [::Gapic::Config::Method]
4510
+ #
4511
+ attr_reader :lookup_entry_links
4512
+ ##
4513
+ # RPC-specific configuration for `lookup_context`
4514
+ # @return [::Gapic::Config::Method]
4515
+ #
4516
+ attr_reader :lookup_context
4517
+ ##
3560
4518
  # RPC-specific configuration for `get_entry_link`
3561
4519
  # @return [::Gapic::Config::Method]
3562
4520
  #
3563
4521
  attr_reader :get_entry_link
4522
+ ##
4523
+ # RPC-specific configuration for `create_metadata_feed`
4524
+ # @return [::Gapic::Config::Method]
4525
+ #
4526
+ attr_reader :create_metadata_feed
4527
+ ##
4528
+ # RPC-specific configuration for `get_metadata_feed`
4529
+ # @return [::Gapic::Config::Method]
4530
+ #
4531
+ attr_reader :get_metadata_feed
4532
+ ##
4533
+ # RPC-specific configuration for `list_metadata_feeds`
4534
+ # @return [::Gapic::Config::Method]
4535
+ #
4536
+ attr_reader :list_metadata_feeds
4537
+ ##
4538
+ # RPC-specific configuration for `delete_metadata_feed`
4539
+ # @return [::Gapic::Config::Method]
4540
+ #
4541
+ attr_reader :delete_metadata_feed
4542
+ ##
4543
+ # RPC-specific configuration for `update_metadata_feed`
4544
+ # @return [::Gapic::Config::Method]
4545
+ #
4546
+ attr_reader :update_metadata_feed
3564
4547
 
3565
4548
  # @private
3566
4549
  def initialize parent_rpcs = nil
@@ -3606,6 +4589,8 @@ module Google
3606
4589
  @get_entry = ::Gapic::Config::Method.new get_entry_config
3607
4590
  lookup_entry_config = parent_rpcs.lookup_entry if parent_rpcs.respond_to? :lookup_entry
3608
4591
  @lookup_entry = ::Gapic::Config::Method.new lookup_entry_config
4592
+ modify_entry_config = parent_rpcs.modify_entry if parent_rpcs.respond_to? :modify_entry
4593
+ @modify_entry = ::Gapic::Config::Method.new modify_entry_config
3609
4594
  search_entries_config = parent_rpcs.search_entries if parent_rpcs.respond_to? :search_entries
3610
4595
  @search_entries = ::Gapic::Config::Method.new search_entries_config
3611
4596
  create_metadata_job_config = parent_rpcs.create_metadata_job if parent_rpcs.respond_to? :create_metadata_job
@@ -3618,10 +4603,26 @@ module Google
3618
4603
  @cancel_metadata_job = ::Gapic::Config::Method.new cancel_metadata_job_config
3619
4604
  create_entry_link_config = parent_rpcs.create_entry_link if parent_rpcs.respond_to? :create_entry_link
3620
4605
  @create_entry_link = ::Gapic::Config::Method.new create_entry_link_config
4606
+ update_entry_link_config = parent_rpcs.update_entry_link if parent_rpcs.respond_to? :update_entry_link
4607
+ @update_entry_link = ::Gapic::Config::Method.new update_entry_link_config
3621
4608
  delete_entry_link_config = parent_rpcs.delete_entry_link if parent_rpcs.respond_to? :delete_entry_link
3622
4609
  @delete_entry_link = ::Gapic::Config::Method.new delete_entry_link_config
4610
+ lookup_entry_links_config = parent_rpcs.lookup_entry_links if parent_rpcs.respond_to? :lookup_entry_links
4611
+ @lookup_entry_links = ::Gapic::Config::Method.new lookup_entry_links_config
4612
+ lookup_context_config = parent_rpcs.lookup_context if parent_rpcs.respond_to? :lookup_context
4613
+ @lookup_context = ::Gapic::Config::Method.new lookup_context_config
3623
4614
  get_entry_link_config = parent_rpcs.get_entry_link if parent_rpcs.respond_to? :get_entry_link
3624
4615
  @get_entry_link = ::Gapic::Config::Method.new get_entry_link_config
4616
+ create_metadata_feed_config = parent_rpcs.create_metadata_feed if parent_rpcs.respond_to? :create_metadata_feed
4617
+ @create_metadata_feed = ::Gapic::Config::Method.new create_metadata_feed_config
4618
+ get_metadata_feed_config = parent_rpcs.get_metadata_feed if parent_rpcs.respond_to? :get_metadata_feed
4619
+ @get_metadata_feed = ::Gapic::Config::Method.new get_metadata_feed_config
4620
+ list_metadata_feeds_config = parent_rpcs.list_metadata_feeds if parent_rpcs.respond_to? :list_metadata_feeds
4621
+ @list_metadata_feeds = ::Gapic::Config::Method.new list_metadata_feeds_config
4622
+ delete_metadata_feed_config = parent_rpcs.delete_metadata_feed if parent_rpcs.respond_to? :delete_metadata_feed
4623
+ @delete_metadata_feed = ::Gapic::Config::Method.new delete_metadata_feed_config
4624
+ update_metadata_feed_config = parent_rpcs.update_metadata_feed if parent_rpcs.respond_to? :update_metadata_feed
4625
+ @update_metadata_feed = ::Gapic::Config::Method.new update_metadata_feed_config
3625
4626
 
3626
4627
  yield self if block_given?
3627
4628
  end