google-cloud-dataplex-v1 2.8.1 → 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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/approval_workflow_pb.rb +33 -0
- data/lib/google/cloud/dataplex/v1/bindings_override.rb +18 -26
- data/lib/google/cloud/dataplex/v1/business_glossary_pb.rb +3 -26
- data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_pb.rb +20 -27
- data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +1079 -74
- data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +1025 -83
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +554 -0
- data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +18 -15
- data/lib/google/cloud/dataplex/v1/cmek_pb.rb +3 -26
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/content_pb.rb +3 -38
- data/lib/google/cloud/dataplex/v1/content_services_pb.rb +0 -49
- data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +4 -24
- data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +10 -24
- data/lib/google/cloud/dataplex/v1/data_product_service/client.rb +1644 -0
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/credentials.rb +7 -4
- data/lib/google/cloud/dataplex/v1/data_product_service/operations.rb +843 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/paths.rb +231 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/rest/client.rb +1533 -0
- data/lib/google/cloud/dataplex/v1/data_product_service/rest/operations.rb +956 -0
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest/service_stub.rb +284 -160
- data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest.rb +11 -10
- data/lib/google/cloud/dataplex/v1/{content_service.rb → data_product_service.rb} +15 -14
- data/lib/google/cloud/dataplex/v1/data_products_pb.rb +52 -0
- data/lib/google/cloud/dataplex/v1/data_products_services_pb.rb +69 -0
- data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +5 -25
- data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +13 -26
- data/lib/google/cloud/dataplex/v1/data_quality_rule_template_pb.rb +25 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +99 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +21 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +92 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +3 -27
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +2 -664
- data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +4 -1
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +0 -21
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2 -622
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +0 -368
- data/lib/google/cloud/dataplex/v1/datascans_common_pb.rb +3 -24
- data/lib/google/cloud/dataplex/v1/datascans_pb.rb +9 -31
- data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
- data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -27
- data/lib/google/cloud/dataplex/v1/metadata_pb.rb +3 -25
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +2 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -0
- data/lib/google/cloud/dataplex/v1/processing_pb.rb +5 -24
- data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
- data/lib/google/cloud/dataplex/v1/security_pb.rb +2 -23
- data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -38
- data/lib/google/cloud/dataplex/v1/service_services_pb.rb +0 -13
- data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -25
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/lib/google/cloud/dataplex/v1.rb +1 -0
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/dataplex/v1/approval_workflow.rb +263 -0
- data/proto_docs/google/cloud/dataplex/v1/catalog.rb +433 -5
- data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +13 -0
- data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +118 -2
- data/proto_docs/google/cloud/dataplex/v1/data_products.rb +567 -0
- data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +29 -0
- data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +240 -10
- data/proto_docs/google/cloud/dataplex/v1/data_quality_rule_template.rb +88 -0
- data/proto_docs/google/cloud/dataplex/v1/datascans.rb +82 -5
- data/proto_docs/google/cloud/dataplex/v1/datascans_common.rb +7 -3
- data/proto_docs/google/cloud/dataplex/v1/logs.rb +7 -0
- data/proto_docs/google/cloud/dataplex/v1/processing.rb +27 -3
- data/proto_docs/google/cloud/dataplex/v1/service.rb +0 -148
- metadata +20 -12
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +0 -1261
- data/lib/google/cloud/dataplex/v1/content_service/paths.rb +0 -73
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +0 -1171
- 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
|
|
@@ -2159,14 +2173,17 @@ module Google
|
|
|
2159
2173
|
#
|
|
2160
2174
|
# * entry_type
|
|
2161
2175
|
# * entry_source.display_name
|
|
2176
|
+
# * parent_entry
|
|
2162
2177
|
#
|
|
2163
2178
|
# The comparison operators are =, !=, <, >, <=, >=. The service compares
|
|
2164
2179
|
# strings according to lexical order.
|
|
2165
2180
|
#
|
|
2166
2181
|
# You can use the logical operators AND, OR, NOT in the filter.
|
|
2167
2182
|
#
|
|
2168
|
-
# You can use Wildcard "*", but for entry_type you need to
|
|
2169
|
-
# full project id or number.
|
|
2183
|
+
# You can use Wildcard "*", but for entry_type and parent_entry you need to
|
|
2184
|
+
# provide the full project id or number.
|
|
2185
|
+
#
|
|
2186
|
+
# You cannot use parent_entry in conjunction with other fields.
|
|
2170
2187
|
#
|
|
2171
2188
|
# Example filter expressions:
|
|
2172
2189
|
#
|
|
@@ -2175,6 +2192,7 @@ module Google
|
|
|
2175
2192
|
# * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
|
|
2176
2193
|
# entry_type=projects/another-project/locations/*"
|
|
2177
2194
|
# * "NOT entry_source.display_name=AnotherExampleDisplayName"
|
|
2195
|
+
# * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
|
|
2178
2196
|
#
|
|
2179
2197
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2180
2198
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::Entry>]
|
|
@@ -2248,11 +2266,6 @@ module Google
|
|
|
2248
2266
|
|
|
2249
2267
|
##
|
|
2250
2268
|
# Gets an Entry.
|
|
2251
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
2252
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
2253
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
2254
|
-
# Dataplex Universal
|
|
2255
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
2256
2269
|
#
|
|
2257
2270
|
# @overload get_entry(request, options = nil)
|
|
2258
2271
|
# Pass arguments to `get_entry` via a request object, either of type
|
|
@@ -2275,6 +2288,9 @@ module Google
|
|
|
2275
2288
|
# @param view [::Google::Cloud::Dataplex::V1::EntryView]
|
|
2276
2289
|
# Optional. View to control which parts of an entry the service should
|
|
2277
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.**
|
|
2278
2294
|
# @param aspect_types [::Array<::String>]
|
|
2279
2295
|
# Optional. Limits the aspects returned to the provided aspect types.
|
|
2280
2296
|
# It only works for CUSTOM view.
|
|
@@ -2348,11 +2364,6 @@ module Google
|
|
|
2348
2364
|
|
|
2349
2365
|
##
|
|
2350
2366
|
# Looks up an entry by name using the permission on the source system.
|
|
2351
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
2352
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
2353
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
2354
|
-
# Dataplex Universal
|
|
2355
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
2356
2367
|
#
|
|
2357
2368
|
# @overload lookup_entry(request, options = nil)
|
|
2358
2369
|
# Pass arguments to `lookup_entry` via a request object, either of type
|
|
@@ -2375,6 +2386,9 @@ module Google
|
|
|
2375
2386
|
# @param view [::Google::Cloud::Dataplex::V1::EntryView]
|
|
2376
2387
|
# Optional. View to control which parts of an entry the service should
|
|
2377
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.**
|
|
2378
2392
|
# @param aspect_types [::Array<::String>]
|
|
2379
2393
|
# Optional. Limits the aspects returned to the provided aspect types.
|
|
2380
2394
|
# It only works for CUSTOM view.
|
|
@@ -2449,6 +2463,122 @@ module Google
|
|
|
2449
2463
|
raise ::Google::Cloud::Error.from_error(e)
|
|
2450
2464
|
end
|
|
2451
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
|
+
|
|
2452
2582
|
##
|
|
2453
2583
|
# Searches for Entries matching the given query and scope.
|
|
2454
2584
|
#
|
|
@@ -3057,6 +3187,101 @@ module Google
|
|
|
3057
3187
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3058
3188
|
end
|
|
3059
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
|
+
|
|
3060
3285
|
##
|
|
3061
3286
|
# Deletes an Entry Link.
|
|
3062
3287
|
#
|
|
@@ -3144,32 +3369,51 @@ module Google
|
|
|
3144
3369
|
end
|
|
3145
3370
|
|
|
3146
3371
|
##
|
|
3147
|
-
#
|
|
3372
|
+
# Looks up Entry Links referencing the specified Entry.
|
|
3148
3373
|
#
|
|
3149
|
-
# @overload
|
|
3150
|
-
# Pass arguments to `
|
|
3151
|
-
# {::Google::Cloud::Dataplex::V1::
|
|
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.
|
|
3152
3377
|
#
|
|
3153
|
-
# @param request [::Google::Cloud::Dataplex::V1::
|
|
3378
|
+
# @param request [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest, ::Hash]
|
|
3154
3379
|
# A request object representing the call parameters. Required. To specify no
|
|
3155
3380
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3156
3381
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3157
3382
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
3158
3383
|
#
|
|
3159
|
-
# @overload
|
|
3160
|
-
# Pass arguments to `
|
|
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
|
|
3161
3386
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3162
3387
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3163
3388
|
#
|
|
3164
3389
|
# @param name [::String]
|
|
3165
|
-
# Required. The
|
|
3166
|
-
# `projects/{project_id_or_number}/locations/{location_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.
|
|
3167
3411
|
#
|
|
3168
3412
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
3169
|
-
# @yieldparam response [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3413
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
|
|
3170
3414
|
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
3171
3415
|
#
|
|
3172
|
-
# @return [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3416
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
|
|
3173
3417
|
#
|
|
3174
3418
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
3175
3419
|
#
|
|
@@ -3180,24 +3424,28 @@ module Google
|
|
|
3180
3424
|
# client = Google::Cloud::Dataplex::V1::CatalogService::Client.new
|
|
3181
3425
|
#
|
|
3182
3426
|
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3183
|
-
# request = Google::Cloud::Dataplex::V1::
|
|
3427
|
+
# request = Google::Cloud::Dataplex::V1::LookupEntryLinksRequest.new
|
|
3184
3428
|
#
|
|
3185
|
-
# # Call the
|
|
3186
|
-
# result = client.
|
|
3429
|
+
# # Call the lookup_entry_links method.
|
|
3430
|
+
# result = client.lookup_entry_links request
|
|
3187
3431
|
#
|
|
3188
|
-
# # The returned object is of type
|
|
3189
|
-
#
|
|
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
|
|
3190
3438
|
#
|
|
3191
|
-
def
|
|
3439
|
+
def lookup_entry_links request, options = nil
|
|
3192
3440
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3193
3441
|
|
|
3194
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::
|
|
3442
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest
|
|
3195
3443
|
|
|
3196
3444
|
# Converts hash and nil to an options object
|
|
3197
3445
|
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3198
3446
|
|
|
3199
3447
|
# Customize the options with defaults
|
|
3200
|
-
metadata = @config.rpcs.
|
|
3448
|
+
metadata = @config.rpcs.lookup_entry_links.metadata.to_h
|
|
3201
3449
|
|
|
3202
3450
|
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3203
3451
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
@@ -3214,63 +3462,755 @@ module Google
|
|
|
3214
3462
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
3215
3463
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
3216
3464
|
|
|
3217
|
-
options.apply_defaults timeout: @config.rpcs.
|
|
3465
|
+
options.apply_defaults timeout: @config.rpcs.lookup_entry_links.timeout,
|
|
3218
3466
|
metadata: metadata,
|
|
3219
|
-
retry_policy: @config.rpcs.
|
|
3467
|
+
retry_policy: @config.rpcs.lookup_entry_links.retry_policy
|
|
3220
3468
|
|
|
3221
3469
|
options.apply_defaults timeout: @config.timeout,
|
|
3222
3470
|
metadata: @config.metadata,
|
|
3223
3471
|
retry_policy: @config.retry_policy
|
|
3224
3472
|
|
|
3225
|
-
@catalog_service_stub.call_rpc :
|
|
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
|
|
3226
3475
|
yield response, operation if block_given?
|
|
3476
|
+
throw :response, response
|
|
3227
3477
|
end
|
|
3228
3478
|
rescue ::GRPC::BadStatus => e
|
|
3229
3479
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3230
3480
|
end
|
|
3231
3481
|
|
|
3232
3482
|
##
|
|
3233
|
-
#
|
|
3483
|
+
# Looks up LLM Context for the specified resources.
|
|
3234
3484
|
#
|
|
3235
|
-
#
|
|
3236
|
-
#
|
|
3237
|
-
#
|
|
3238
|
-
# applied individually to specific RPCs. See
|
|
3239
|
-
# {::Google::Cloud::Dataplex::V1::CatalogService::Client::Configuration::Rpcs}
|
|
3240
|
-
# 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.
|
|
3241
3488
|
#
|
|
3242
|
-
#
|
|
3243
|
-
#
|
|
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.
|
|
3244
3494
|
#
|
|
3245
|
-
# @
|
|
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).
|
|
3246
3499
|
#
|
|
3247
|
-
#
|
|
3248
|
-
#
|
|
3249
|
-
#
|
|
3250
|
-
#
|
|
3251
|
-
#
|
|
3252
|
-
#
|
|
3253
|
-
# 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.
|
|
3254
3506
|
#
|
|
3255
|
-
#
|
|
3256
|
-
# client = ::Google::Cloud::Dataplex::V1::CatalogService::Client.new do |config|
|
|
3257
|
-
# config.timeout = 10.0
|
|
3258
|
-
# config.rpcs.create_entry_type.timeout = 20.0
|
|
3259
|
-
# end
|
|
3507
|
+
# ## Examples:
|
|
3260
3508
|
#
|
|
3261
|
-
#
|
|
3262
|
-
#
|
|
3263
|
-
#
|
|
3264
|
-
#
|
|
3265
|
-
#
|
|
3266
|
-
#
|
|
3267
|
-
#
|
|
3268
|
-
#
|
|
3269
|
-
#
|
|
3270
|
-
#
|
|
3271
|
-
#
|
|
3272
|
-
#
|
|
3273
|
-
#
|
|
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.
|
|
3515
|
+
#
|
|
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
|
|
3274
4214
|
#
|
|
3275
4215
|
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3276
4216
|
# is deprecated. Providing an unvalidated credential configuration to
|
|
@@ -3325,6 +4265,7 @@ module Google
|
|
|
3325
4265
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3326
4266
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3327
4267
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
4268
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3328
4269
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3329
4270
|
# trigger a retry.
|
|
3330
4271
|
# @return [::Hash]
|
|
@@ -3408,6 +4349,7 @@ module Google
|
|
|
3408
4349
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3409
4350
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3410
4351
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
4352
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3411
4353
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3412
4354
|
# trigger a retry.
|
|
3413
4355
|
#
|
|
@@ -3518,6 +4460,11 @@ module Google
|
|
|
3518
4460
|
#
|
|
3519
4461
|
attr_reader :lookup_entry
|
|
3520
4462
|
##
|
|
4463
|
+
# RPC-specific configuration for `modify_entry`
|
|
4464
|
+
# @return [::Gapic::Config::Method]
|
|
4465
|
+
#
|
|
4466
|
+
attr_reader :modify_entry
|
|
4467
|
+
##
|
|
3521
4468
|
# RPC-specific configuration for `search_entries`
|
|
3522
4469
|
# @return [::Gapic::Config::Method]
|
|
3523
4470
|
#
|
|
@@ -3548,15 +4495,55 @@ module Google
|
|
|
3548
4495
|
#
|
|
3549
4496
|
attr_reader :create_entry_link
|
|
3550
4497
|
##
|
|
4498
|
+
# RPC-specific configuration for `update_entry_link`
|
|
4499
|
+
# @return [::Gapic::Config::Method]
|
|
4500
|
+
#
|
|
4501
|
+
attr_reader :update_entry_link
|
|
4502
|
+
##
|
|
3551
4503
|
# RPC-specific configuration for `delete_entry_link`
|
|
3552
4504
|
# @return [::Gapic::Config::Method]
|
|
3553
4505
|
#
|
|
3554
4506
|
attr_reader :delete_entry_link
|
|
3555
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
|
+
##
|
|
3556
4518
|
# RPC-specific configuration for `get_entry_link`
|
|
3557
4519
|
# @return [::Gapic::Config::Method]
|
|
3558
4520
|
#
|
|
3559
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
|
|
3560
4547
|
|
|
3561
4548
|
# @private
|
|
3562
4549
|
def initialize parent_rpcs = nil
|
|
@@ -3602,6 +4589,8 @@ module Google
|
|
|
3602
4589
|
@get_entry = ::Gapic::Config::Method.new get_entry_config
|
|
3603
4590
|
lookup_entry_config = parent_rpcs.lookup_entry if parent_rpcs.respond_to? :lookup_entry
|
|
3604
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
|
|
3605
4594
|
search_entries_config = parent_rpcs.search_entries if parent_rpcs.respond_to? :search_entries
|
|
3606
4595
|
@search_entries = ::Gapic::Config::Method.new search_entries_config
|
|
3607
4596
|
create_metadata_job_config = parent_rpcs.create_metadata_job if parent_rpcs.respond_to? :create_metadata_job
|
|
@@ -3614,10 +4603,26 @@ module Google
|
|
|
3614
4603
|
@cancel_metadata_job = ::Gapic::Config::Method.new cancel_metadata_job_config
|
|
3615
4604
|
create_entry_link_config = parent_rpcs.create_entry_link if parent_rpcs.respond_to? :create_entry_link
|
|
3616
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
|
|
3617
4608
|
delete_entry_link_config = parent_rpcs.delete_entry_link if parent_rpcs.respond_to? :delete_entry_link
|
|
3618
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
|
|
3619
4614
|
get_entry_link_config = parent_rpcs.get_entry_link if parent_rpcs.respond_to? :get_entry_link
|
|
3620
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
|
|
3621
4626
|
|
|
3622
4627
|
yield self if block_given?
|
|
3623
4628
|
end
|