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
|
@@ -155,6 +155,25 @@ module Google
|
|
|
155
155
|
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
default_config.rpcs.create_entry_link.timeout = 60.0
|
|
159
|
+
|
|
160
|
+
default_config.rpcs.update_entry_link.timeout = 60.0
|
|
161
|
+
default_config.rpcs.update_entry_link.retry_policy = {
|
|
162
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
default_config.rpcs.delete_entry_link.timeout = 60.0
|
|
166
|
+
|
|
167
|
+
default_config.rpcs.lookup_entry_links.timeout = 20.0
|
|
168
|
+
default_config.rpcs.lookup_entry_links.retry_policy = {
|
|
169
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
default_config.rpcs.get_entry_link.timeout = 20.0
|
|
173
|
+
default_config.rpcs.get_entry_link.retry_policy = {
|
|
174
|
+
initial_delay: 1.0, max_delay: 10.0, multiplier: 1.3, retry_codes: [14, 8]
|
|
175
|
+
}
|
|
176
|
+
|
|
158
177
|
default_config
|
|
159
178
|
end
|
|
160
179
|
yield @configure if block_given?
|
|
@@ -1990,11 +2009,6 @@ module Google
|
|
|
1990
2009
|
|
|
1991
2010
|
##
|
|
1992
2011
|
# Lists Entries within an EntryGroup.
|
|
1993
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
1994
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
1995
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
1996
|
-
# Dataplex Universal
|
|
1997
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
1998
2012
|
#
|
|
1999
2013
|
# @overload list_entries(request, options = nil)
|
|
2000
2014
|
# Pass arguments to `list_entries` via a request object, either of type
|
|
@@ -2028,14 +2042,17 @@ module Google
|
|
|
2028
2042
|
#
|
|
2029
2043
|
# * entry_type
|
|
2030
2044
|
# * entry_source.display_name
|
|
2045
|
+
# * parent_entry
|
|
2031
2046
|
#
|
|
2032
2047
|
# The comparison operators are =, !=, <, >, <=, >=. The service compares
|
|
2033
2048
|
# strings according to lexical order.
|
|
2034
2049
|
#
|
|
2035
2050
|
# You can use the logical operators AND, OR, NOT in the filter.
|
|
2036
2051
|
#
|
|
2037
|
-
# You can use Wildcard "*", but for entry_type you need to
|
|
2038
|
-
# full project id or number.
|
|
2052
|
+
# You can use Wildcard "*", but for entry_type and parent_entry you need to
|
|
2053
|
+
# provide the full project id or number.
|
|
2054
|
+
#
|
|
2055
|
+
# You cannot use parent_entry in conjunction with other fields.
|
|
2039
2056
|
#
|
|
2040
2057
|
# Example filter expressions:
|
|
2041
2058
|
#
|
|
@@ -2044,6 +2061,7 @@ module Google
|
|
|
2044
2061
|
# * "entry_type=projects/example-project/locations/us/entryTypes/a* OR
|
|
2045
2062
|
# entry_type=projects/another-project/locations/*"
|
|
2046
2063
|
# * "NOT entry_source.display_name=AnotherExampleDisplayName"
|
|
2064
|
+
# * "parent_entry=projects/example-project/locations/us/entryGroups/example-entry-group/entries/example-entry"
|
|
2047
2065
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2048
2066
|
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::Entry>]
|
|
2049
2067
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -2110,11 +2128,6 @@ module Google
|
|
|
2110
2128
|
|
|
2111
2129
|
##
|
|
2112
2130
|
# Gets an Entry.
|
|
2113
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
2114
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
2115
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
2116
|
-
# Dataplex Universal
|
|
2117
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
2118
2131
|
#
|
|
2119
2132
|
# @overload get_entry(request, options = nil)
|
|
2120
2133
|
# Pass arguments to `get_entry` via a request object, either of type
|
|
@@ -2137,6 +2150,9 @@ module Google
|
|
|
2137
2150
|
# @param view [::Google::Cloud::Dataplex::V1::EntryView]
|
|
2138
2151
|
# Optional. View to control which parts of an entry the service should
|
|
2139
2152
|
# return.
|
|
2153
|
+
# **Please check the limitations on returned aspects in the Entry view
|
|
2154
|
+
# documentation. Amount of returned aspects depends on the selected Entry
|
|
2155
|
+
# View.**
|
|
2140
2156
|
# @param aspect_types [::Array<::String>]
|
|
2141
2157
|
# Optional. Limits the aspects returned to the provided aspect types.
|
|
2142
2158
|
# It only works for CUSTOM view.
|
|
@@ -2203,11 +2219,6 @@ module Google
|
|
|
2203
2219
|
|
|
2204
2220
|
##
|
|
2205
2221
|
# Looks up an entry by name using the permission on the source system.
|
|
2206
|
-
# Caution: The Vertex AI, Bigtable, Spanner, Pub/Sub, Dataform, and Dataproc
|
|
2207
|
-
# Metastore metadata that is stored in Dataplex Universal Catalog is
|
|
2208
|
-
# changing. For more information, see [Changes to metadata stored in
|
|
2209
|
-
# Dataplex Universal
|
|
2210
|
-
# Catalog](https://cloud.google.com/dataplex/docs/metadata-changes).
|
|
2211
2222
|
#
|
|
2212
2223
|
# @overload lookup_entry(request, options = nil)
|
|
2213
2224
|
# Pass arguments to `lookup_entry` via a request object, either of type
|
|
@@ -2230,6 +2241,9 @@ module Google
|
|
|
2230
2241
|
# @param view [::Google::Cloud::Dataplex::V1::EntryView]
|
|
2231
2242
|
# Optional. View to control which parts of an entry the service should
|
|
2232
2243
|
# return.
|
|
2244
|
+
# **Please check the limitations on returned aspects in the Entry view
|
|
2245
|
+
# documentation. Amount of returned aspects depends on the selected Entry
|
|
2246
|
+
# View.**
|
|
2233
2247
|
# @param aspect_types [::Array<::String>]
|
|
2234
2248
|
# Optional. Limits the aspects returned to the provided aspect types.
|
|
2235
2249
|
# It only works for CUSTOM view.
|
|
@@ -2297,6 +2311,115 @@ module Google
|
|
|
2297
2311
|
raise ::Google::Cloud::Error.from_error(e)
|
|
2298
2312
|
end
|
|
2299
2313
|
|
|
2314
|
+
##
|
|
2315
|
+
# Modifies an entry using the permission on the source system.
|
|
2316
|
+
#
|
|
2317
|
+
# @overload modify_entry(request, options = nil)
|
|
2318
|
+
# Pass arguments to `modify_entry` via a request object, either of type
|
|
2319
|
+
# {::Google::Cloud::Dataplex::V1::ModifyEntryRequest} or an equivalent Hash.
|
|
2320
|
+
#
|
|
2321
|
+
# @param request [::Google::Cloud::Dataplex::V1::ModifyEntryRequest, ::Hash]
|
|
2322
|
+
# A request object representing the call parameters. Required. To specify no
|
|
2323
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2324
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2325
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2326
|
+
#
|
|
2327
|
+
# @overload modify_entry(name: nil, entry: nil, update_mask: nil, delete_missing_aspects: nil, aspect_keys: nil)
|
|
2328
|
+
# Pass arguments to `modify_entry` via keyword arguments. Note that at
|
|
2329
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2330
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2331
|
+
#
|
|
2332
|
+
# @param name [::String]
|
|
2333
|
+
# Required. The project to which the request should be attributed in the
|
|
2334
|
+
# following form: `projects/{project}/locations/{location}`.
|
|
2335
|
+
# @param entry [::Google::Cloud::Dataplex::V1::Entry, ::Hash]
|
|
2336
|
+
# Required. The entry to modify.
|
|
2337
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
2338
|
+
# Optional. Mask of fields to update. To update Aspects, the update_mask must
|
|
2339
|
+
# contain the value "aspects".
|
|
2340
|
+
#
|
|
2341
|
+
# If the update_mask is empty, the service will update all modifiable fields
|
|
2342
|
+
# present in the request.
|
|
2343
|
+
# @param delete_missing_aspects [::Boolean]
|
|
2344
|
+
# Optional. If set to true, any aspects not specified in the request will be
|
|
2345
|
+
# deleted. The default is false.
|
|
2346
|
+
# @param aspect_keys [::Array<::String>]
|
|
2347
|
+
# Optional. The aspect keys which the service should modify. It supports
|
|
2348
|
+
# the following syntaxes:
|
|
2349
|
+
#
|
|
2350
|
+
# * `<aspect_type_reference>` - matches an aspect of the given type and empty
|
|
2351
|
+
# path.
|
|
2352
|
+
# * `<aspect_type_reference>@path` - matches an aspect of the given type and
|
|
2353
|
+
# specified path. For example, to attach an aspect to a field that is
|
|
2354
|
+
# specified by the `schema` aspect, the path should have the format
|
|
2355
|
+
# `Schema.<field_name>`.
|
|
2356
|
+
# * `<aspect_type_reference>@*` - matches aspects of the given type for all
|
|
2357
|
+
# paths.
|
|
2358
|
+
# * `*@path` - matches aspects of all types on the given path.
|
|
2359
|
+
#
|
|
2360
|
+
# The service will not remove existing aspects matching the syntax unless
|
|
2361
|
+
# `delete_missing_aspects` is set to true.
|
|
2362
|
+
#
|
|
2363
|
+
# If this field is left empty, the service treats it as specifying
|
|
2364
|
+
# exactly those Aspects present in the request.
|
|
2365
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2366
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::Entry]
|
|
2367
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2368
|
+
#
|
|
2369
|
+
# @return [::Google::Cloud::Dataplex::V1::Entry]
|
|
2370
|
+
#
|
|
2371
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
2372
|
+
#
|
|
2373
|
+
# @example Basic example
|
|
2374
|
+
# require "google/cloud/dataplex/v1"
|
|
2375
|
+
#
|
|
2376
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2377
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
2378
|
+
#
|
|
2379
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2380
|
+
# request = Google::Cloud::Dataplex::V1::ModifyEntryRequest.new
|
|
2381
|
+
#
|
|
2382
|
+
# # Call the modify_entry method.
|
|
2383
|
+
# result = client.modify_entry request
|
|
2384
|
+
#
|
|
2385
|
+
# # The returned object is of type Google::Cloud::Dataplex::V1::Entry.
|
|
2386
|
+
# p result
|
|
2387
|
+
#
|
|
2388
|
+
def modify_entry request, options = nil
|
|
2389
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2390
|
+
|
|
2391
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::ModifyEntryRequest
|
|
2392
|
+
|
|
2393
|
+
# Converts hash and nil to an options object
|
|
2394
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2395
|
+
|
|
2396
|
+
# Customize the options with defaults
|
|
2397
|
+
call_metadata = @config.rpcs.modify_entry.metadata.to_h
|
|
2398
|
+
|
|
2399
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2400
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2401
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2402
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
2403
|
+
transports_version_send: [:rest]
|
|
2404
|
+
|
|
2405
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2406
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2407
|
+
|
|
2408
|
+
options.apply_defaults timeout: @config.rpcs.modify_entry.timeout,
|
|
2409
|
+
metadata: call_metadata,
|
|
2410
|
+
retry_policy: @config.rpcs.modify_entry.retry_policy
|
|
2411
|
+
|
|
2412
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2413
|
+
metadata: @config.metadata,
|
|
2414
|
+
retry_policy: @config.retry_policy
|
|
2415
|
+
|
|
2416
|
+
@catalog_service_stub.modify_entry request, options do |result, operation|
|
|
2417
|
+
yield result, operation if block_given?
|
|
2418
|
+
end
|
|
2419
|
+
rescue ::Gapic::Rest::Error => e
|
|
2420
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2421
|
+
end
|
|
2422
|
+
|
|
2300
2423
|
##
|
|
2301
2424
|
# Searches for Entries matching the given query and scope.
|
|
2302
2425
|
#
|
|
@@ -2863,6 +2986,94 @@ module Google
|
|
|
2863
2986
|
raise ::Google::Cloud::Error.from_error(e)
|
|
2864
2987
|
end
|
|
2865
2988
|
|
|
2989
|
+
##
|
|
2990
|
+
# Updates an Entry Link.
|
|
2991
|
+
#
|
|
2992
|
+
# @overload update_entry_link(request, options = nil)
|
|
2993
|
+
# Pass arguments to `update_entry_link` via a request object, either of type
|
|
2994
|
+
# {::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest} or an equivalent Hash.
|
|
2995
|
+
#
|
|
2996
|
+
# @param request [::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest, ::Hash]
|
|
2997
|
+
# A request object representing the call parameters. Required. To specify no
|
|
2998
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2999
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3000
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3001
|
+
#
|
|
3002
|
+
# @overload update_entry_link(entry_link: nil, allow_missing: nil, aspect_keys: nil)
|
|
3003
|
+
# Pass arguments to `update_entry_link` via keyword arguments. Note that at
|
|
3004
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3005
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3006
|
+
#
|
|
3007
|
+
# @param entry_link [::Google::Cloud::Dataplex::V1::EntryLink, ::Hash]
|
|
3008
|
+
# Required. Entry Link resource.
|
|
3009
|
+
# @param allow_missing [::Boolean]
|
|
3010
|
+
# Optional. If set to true and the entry link doesn't exist, the service will
|
|
3011
|
+
# create it.
|
|
3012
|
+
# @param aspect_keys [::Array<::String>]
|
|
3013
|
+
# Optional. The map keys of the Aspects which the service should modify.
|
|
3014
|
+
# It should be the aspect type reference in the format
|
|
3015
|
+
# `{project_id_or_number}.{location_id}.{aspect_type_id}`.
|
|
3016
|
+
#
|
|
3017
|
+
# If this field is left empty, the service treats it as specifying
|
|
3018
|
+
# exactly those Aspects present in the request.
|
|
3019
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3020
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3021
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3022
|
+
#
|
|
3023
|
+
# @return [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3024
|
+
#
|
|
3025
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3026
|
+
#
|
|
3027
|
+
# @example Basic example
|
|
3028
|
+
# require "google/cloud/dataplex/v1"
|
|
3029
|
+
#
|
|
3030
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3031
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3032
|
+
#
|
|
3033
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3034
|
+
# request = Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest.new
|
|
3035
|
+
#
|
|
3036
|
+
# # Call the update_entry_link method.
|
|
3037
|
+
# result = client.update_entry_link request
|
|
3038
|
+
#
|
|
3039
|
+
# # The returned object is of type Google::Cloud::Dataplex::V1::EntryLink.
|
|
3040
|
+
# p result
|
|
3041
|
+
#
|
|
3042
|
+
def update_entry_link request, options = nil
|
|
3043
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3044
|
+
|
|
3045
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::UpdateEntryLinkRequest
|
|
3046
|
+
|
|
3047
|
+
# Converts hash and nil to an options object
|
|
3048
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3049
|
+
|
|
3050
|
+
# Customize the options with defaults
|
|
3051
|
+
call_metadata = @config.rpcs.update_entry_link.metadata.to_h
|
|
3052
|
+
|
|
3053
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3054
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3055
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3056
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3057
|
+
transports_version_send: [:rest]
|
|
3058
|
+
|
|
3059
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3060
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3061
|
+
|
|
3062
|
+
options.apply_defaults timeout: @config.rpcs.update_entry_link.timeout,
|
|
3063
|
+
metadata: call_metadata,
|
|
3064
|
+
retry_policy: @config.rpcs.update_entry_link.retry_policy
|
|
3065
|
+
|
|
3066
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3067
|
+
metadata: @config.metadata,
|
|
3068
|
+
retry_policy: @config.retry_policy
|
|
3069
|
+
|
|
3070
|
+
@catalog_service_stub.update_entry_link request, options do |result, operation|
|
|
3071
|
+
yield result, operation if block_given?
|
|
3072
|
+
end
|
|
3073
|
+
rescue ::Gapic::Rest::Error => e
|
|
3074
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3075
|
+
end
|
|
3076
|
+
|
|
2866
3077
|
##
|
|
2867
3078
|
# Deletes an Entry Link.
|
|
2868
3079
|
#
|
|
@@ -2943,31 +3154,50 @@ module Google
|
|
|
2943
3154
|
end
|
|
2944
3155
|
|
|
2945
3156
|
##
|
|
2946
|
-
#
|
|
3157
|
+
# Looks up Entry Links referencing the specified Entry.
|
|
2947
3158
|
#
|
|
2948
|
-
# @overload
|
|
2949
|
-
# Pass arguments to `
|
|
2950
|
-
# {::Google::Cloud::Dataplex::V1::
|
|
3159
|
+
# @overload lookup_entry_links(request, options = nil)
|
|
3160
|
+
# Pass arguments to `lookup_entry_links` via a request object, either of type
|
|
3161
|
+
# {::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest} or an equivalent Hash.
|
|
2951
3162
|
#
|
|
2952
|
-
# @param request [::Google::Cloud::Dataplex::V1::
|
|
3163
|
+
# @param request [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest, ::Hash]
|
|
2953
3164
|
# A request object representing the call parameters. Required. To specify no
|
|
2954
3165
|
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2955
3166
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2956
3167
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
2957
3168
|
#
|
|
2958
|
-
# @overload
|
|
2959
|
-
# Pass arguments to `
|
|
3169
|
+
# @overload lookup_entry_links(name: nil, entry: nil, entry_mode: nil, entry_link_types: nil, page_size: nil, page_token: nil)
|
|
3170
|
+
# Pass arguments to `lookup_entry_links` via keyword arguments. Note that at
|
|
2960
3171
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2961
3172
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2962
3173
|
#
|
|
2963
3174
|
# @param name [::String]
|
|
2964
|
-
# Required. The
|
|
2965
|
-
# `projects/{project_id_or_number}/locations/{location_id}
|
|
3175
|
+
# Required. The project to which the request should be attributed to
|
|
3176
|
+
# Format: `projects/{project_id_or_number}/locations/{location_id}`.
|
|
3177
|
+
# @param entry [::String]
|
|
3178
|
+
# Required. The resource name of the referred Entry.
|
|
3179
|
+
# Format:
|
|
3180
|
+
# `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`.
|
|
3181
|
+
# Entry Links which references this entry will be returned in the response.
|
|
3182
|
+
# @param entry_mode [::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest::EntryMode]
|
|
3183
|
+
# Mode of entry reference.
|
|
3184
|
+
# @param entry_link_types [::Array<::String>]
|
|
3185
|
+
# Entry link types to filter the response by. If empty, all entry link types
|
|
3186
|
+
# will be returned. At most 10 entry link types can be specified.
|
|
3187
|
+
# @param page_size [::Integer]
|
|
3188
|
+
# Maximum number of EntryLinks to return. The service may return fewer
|
|
3189
|
+
# than this value. If unspecified, at most 10 EntryLinks will be returned.
|
|
3190
|
+
# The maximum value is 10; values above 10 will be coerced to 10.
|
|
3191
|
+
# @param page_token [::String]
|
|
3192
|
+
# Page token received from a previous `LookupEntryLinks` call. Provide this
|
|
3193
|
+
# to retrieve the subsequent page. When paginating, all other parameters that
|
|
3194
|
+
# are provided to the `LookupEntryLinks` request must match the call that
|
|
3195
|
+
# provided the page token.
|
|
2966
3196
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
2967
|
-
# @yieldparam result [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3197
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
|
|
2968
3198
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
2969
3199
|
#
|
|
2970
|
-
# @return [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3200
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::EntryLink>]
|
|
2971
3201
|
#
|
|
2972
3202
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
2973
3203
|
#
|
|
@@ -2978,24 +3208,28 @@ module Google
|
|
|
2978
3208
|
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
2979
3209
|
#
|
|
2980
3210
|
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2981
|
-
# request = Google::Cloud::Dataplex::V1::
|
|
3211
|
+
# request = Google::Cloud::Dataplex::V1::LookupEntryLinksRequest.new
|
|
2982
3212
|
#
|
|
2983
|
-
# # Call the
|
|
2984
|
-
# result = client.
|
|
3213
|
+
# # Call the lookup_entry_links method.
|
|
3214
|
+
# result = client.lookup_entry_links request
|
|
2985
3215
|
#
|
|
2986
|
-
# # The returned object is of type
|
|
2987
|
-
#
|
|
3216
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
3217
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
3218
|
+
# result.each do |item|
|
|
3219
|
+
# # Each element is of type ::Google::Cloud::Dataplex::V1::EntryLink.
|
|
3220
|
+
# p item
|
|
3221
|
+
# end
|
|
2988
3222
|
#
|
|
2989
|
-
def
|
|
3223
|
+
def lookup_entry_links request, options = nil
|
|
2990
3224
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2991
3225
|
|
|
2992
|
-
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::
|
|
3226
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::LookupEntryLinksRequest
|
|
2993
3227
|
|
|
2994
3228
|
# Converts hash and nil to an options object
|
|
2995
3229
|
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2996
3230
|
|
|
2997
3231
|
# Customize the options with defaults
|
|
2998
|
-
call_metadata = @config.rpcs.
|
|
3232
|
+
call_metadata = @config.rpcs.lookup_entry_links.metadata.to_h
|
|
2999
3233
|
|
|
3000
3234
|
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3001
3235
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
@@ -3006,73 +3240,716 @@ module Google
|
|
|
3006
3240
|
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3007
3241
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3008
3242
|
|
|
3009
|
-
options.apply_defaults timeout: @config.rpcs.
|
|
3243
|
+
options.apply_defaults timeout: @config.rpcs.lookup_entry_links.timeout,
|
|
3010
3244
|
metadata: call_metadata,
|
|
3011
|
-
retry_policy: @config.rpcs.
|
|
3245
|
+
retry_policy: @config.rpcs.lookup_entry_links.retry_policy
|
|
3012
3246
|
|
|
3013
3247
|
options.apply_defaults timeout: @config.timeout,
|
|
3014
3248
|
metadata: @config.metadata,
|
|
3015
3249
|
retry_policy: @config.retry_policy
|
|
3016
3250
|
|
|
3017
|
-
@catalog_service_stub.
|
|
3251
|
+
@catalog_service_stub.lookup_entry_links request, options do |result, operation|
|
|
3252
|
+
result = ::Gapic::Rest::PagedEnumerable.new @catalog_service_stub, :lookup_entry_links, "entry_links", request, result, options
|
|
3018
3253
|
yield result, operation if block_given?
|
|
3254
|
+
throw :response, result
|
|
3019
3255
|
end
|
|
3020
3256
|
rescue ::Gapic::Rest::Error => e
|
|
3021
3257
|
raise ::Google::Cloud::Error.from_error(e)
|
|
3022
3258
|
end
|
|
3023
3259
|
|
|
3024
3260
|
##
|
|
3025
|
-
#
|
|
3261
|
+
# Looks up LLM Context for the specified resources.
|
|
3026
3262
|
#
|
|
3027
|
-
#
|
|
3028
|
-
#
|
|
3029
|
-
#
|
|
3030
|
-
# applied individually to specific RPCs. See
|
|
3031
|
-
# {::Google::Cloud::Dataplex::V1::CatalogService::Rest::Client::Configuration::Rpcs}
|
|
3032
|
-
# for a list of RPCs that can be configured independently.
|
|
3263
|
+
# @overload lookup_context(request, options = nil)
|
|
3264
|
+
# Pass arguments to `lookup_context` via a request object, either of type
|
|
3265
|
+
# {::Google::Cloud::Dataplex::V1::LookupContextRequest} or an equivalent Hash.
|
|
3033
3266
|
#
|
|
3034
|
-
#
|
|
3035
|
-
#
|
|
3267
|
+
# @param request [::Google::Cloud::Dataplex::V1::LookupContextRequest, ::Hash]
|
|
3268
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3269
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3270
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3271
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3036
3272
|
#
|
|
3037
|
-
# @
|
|
3273
|
+
# @overload lookup_context(name: nil, resources: nil, context: nil, options: nil)
|
|
3274
|
+
# Pass arguments to `lookup_context` via keyword arguments. Note that at
|
|
3275
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3276
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3038
3277
|
#
|
|
3039
|
-
#
|
|
3040
|
-
#
|
|
3041
|
-
#
|
|
3042
|
-
#
|
|
3043
|
-
#
|
|
3044
|
-
#
|
|
3045
|
-
#
|
|
3278
|
+
# @param name [::String]
|
|
3279
|
+
# Required. The project to which the request should be attributed in the
|
|
3280
|
+
# following form: `projects/{project}/locations/{location}`.
|
|
3281
|
+
# @param resources [::Array<::String>]
|
|
3282
|
+
# Required. The entry names to look up the context for. The maximum number of
|
|
3283
|
+
# resources for a request is limited to 10.
|
|
3284
|
+
#
|
|
3285
|
+
# ## Examples:
|
|
3286
|
+
#
|
|
3287
|
+
# `projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}`
|
|
3288
|
+
# @param context [::String]
|
|
3289
|
+
# Optional. The text representing contextual information for which metadata
|
|
3290
|
+
# context is being requested.
|
|
3291
|
+
# @param options [::Hash{::String => ::String}]
|
|
3292
|
+
# Optional. Allows to configure the context.
|
|
3293
|
+
#
|
|
3294
|
+
# Supported options:
|
|
3295
|
+
#
|
|
3296
|
+
# - `format` - The format of the context (one of `yaml`,
|
|
3297
|
+
# `xml`, `json`, default is `yaml`).
|
|
3298
|
+
# - `context_budget` - If provided, the output will be intelligently
|
|
3299
|
+
# truncated on a best-effort basis to contain approximately the desired
|
|
3300
|
+
# amount of characters. There is no guarantee to achieve the specific amount.
|
|
3301
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3302
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::LookupContextResponse]
|
|
3303
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3046
3304
|
#
|
|
3047
|
-
#
|
|
3048
|
-
# client = ::Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new do |config|
|
|
3049
|
-
# config.timeout = 10.0
|
|
3050
|
-
# config.rpcs.create_entry_type.timeout = 20.0
|
|
3051
|
-
# end
|
|
3305
|
+
# @return [::Google::Cloud::Dataplex::V1::LookupContextResponse]
|
|
3052
3306
|
#
|
|
3053
|
-
#
|
|
3054
|
-
# A custom service endpoint, as a hostname or hostname:port. The default is
|
|
3055
|
-
# nil, indicating to use the default endpoint in the current universe domain.
|
|
3056
|
-
# @return [::String,nil]
|
|
3057
|
-
# @!attribute [rw] credentials
|
|
3058
|
-
# Credentials to send with calls. You may provide any of the following types:
|
|
3059
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3060
|
-
# * (`Hash`) A service account key as a Hash
|
|
3061
|
-
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3062
|
-
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3063
|
-
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
3064
|
-
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
3065
|
-
# * (`nil`) indicating no credentials
|
|
3307
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3066
3308
|
#
|
|
3067
|
-
#
|
|
3068
|
-
#
|
|
3069
|
-
#
|
|
3070
|
-
#
|
|
3071
|
-
#
|
|
3072
|
-
#
|
|
3073
|
-
#
|
|
3074
|
-
#
|
|
3075
|
-
#
|
|
3309
|
+
# @example Basic example
|
|
3310
|
+
# require "google/cloud/dataplex/v1"
|
|
3311
|
+
#
|
|
3312
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3313
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3314
|
+
#
|
|
3315
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3316
|
+
# request = Google::Cloud::Dataplex::V1::LookupContextRequest.new
|
|
3317
|
+
#
|
|
3318
|
+
# # Call the lookup_context method.
|
|
3319
|
+
# result = client.lookup_context request
|
|
3320
|
+
#
|
|
3321
|
+
# # The returned object is of type Google::Cloud::Dataplex::V1::LookupContextResponse.
|
|
3322
|
+
# p result
|
|
3323
|
+
#
|
|
3324
|
+
def lookup_context request, options = nil
|
|
3325
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3326
|
+
|
|
3327
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::LookupContextRequest
|
|
3328
|
+
|
|
3329
|
+
# Converts hash and nil to an options object
|
|
3330
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3331
|
+
|
|
3332
|
+
# Customize the options with defaults
|
|
3333
|
+
call_metadata = @config.rpcs.lookup_context.metadata.to_h
|
|
3334
|
+
|
|
3335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3336
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3337
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3338
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3339
|
+
transports_version_send: [:rest]
|
|
3340
|
+
|
|
3341
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3342
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3343
|
+
|
|
3344
|
+
options.apply_defaults timeout: @config.rpcs.lookup_context.timeout,
|
|
3345
|
+
metadata: call_metadata,
|
|
3346
|
+
retry_policy: @config.rpcs.lookup_context.retry_policy
|
|
3347
|
+
|
|
3348
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3349
|
+
metadata: @config.metadata,
|
|
3350
|
+
retry_policy: @config.retry_policy
|
|
3351
|
+
|
|
3352
|
+
@catalog_service_stub.lookup_context request, options do |result, operation|
|
|
3353
|
+
yield result, operation if block_given?
|
|
3354
|
+
end
|
|
3355
|
+
rescue ::Gapic::Rest::Error => e
|
|
3356
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3357
|
+
end
|
|
3358
|
+
|
|
3359
|
+
##
|
|
3360
|
+
# Gets an Entry Link.
|
|
3361
|
+
#
|
|
3362
|
+
# @overload get_entry_link(request, options = nil)
|
|
3363
|
+
# Pass arguments to `get_entry_link` via a request object, either of type
|
|
3364
|
+
# {::Google::Cloud::Dataplex::V1::GetEntryLinkRequest} or an equivalent Hash.
|
|
3365
|
+
#
|
|
3366
|
+
# @param request [::Google::Cloud::Dataplex::V1::GetEntryLinkRequest, ::Hash]
|
|
3367
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3368
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3369
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3370
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3371
|
+
#
|
|
3372
|
+
# @overload get_entry_link(name: nil)
|
|
3373
|
+
# Pass arguments to `get_entry_link` via keyword arguments. Note that at
|
|
3374
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3375
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3376
|
+
#
|
|
3377
|
+
# @param name [::String]
|
|
3378
|
+
# Required. The resource name of the Entry Link:
|
|
3379
|
+
# `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entryLinks/{entry_link_id}`.
|
|
3380
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3381
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3382
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3383
|
+
#
|
|
3384
|
+
# @return [::Google::Cloud::Dataplex::V1::EntryLink]
|
|
3385
|
+
#
|
|
3386
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3387
|
+
#
|
|
3388
|
+
# @example Basic example
|
|
3389
|
+
# require "google/cloud/dataplex/v1"
|
|
3390
|
+
#
|
|
3391
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3392
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3393
|
+
#
|
|
3394
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3395
|
+
# request = Google::Cloud::Dataplex::V1::GetEntryLinkRequest.new
|
|
3396
|
+
#
|
|
3397
|
+
# # Call the get_entry_link method.
|
|
3398
|
+
# result = client.get_entry_link request
|
|
3399
|
+
#
|
|
3400
|
+
# # The returned object is of type Google::Cloud::Dataplex::V1::EntryLink.
|
|
3401
|
+
# p result
|
|
3402
|
+
#
|
|
3403
|
+
def get_entry_link request, options = nil
|
|
3404
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3405
|
+
|
|
3406
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::GetEntryLinkRequest
|
|
3407
|
+
|
|
3408
|
+
# Converts hash and nil to an options object
|
|
3409
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3410
|
+
|
|
3411
|
+
# Customize the options with defaults
|
|
3412
|
+
call_metadata = @config.rpcs.get_entry_link.metadata.to_h
|
|
3413
|
+
|
|
3414
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3415
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3416
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3417
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3418
|
+
transports_version_send: [:rest]
|
|
3419
|
+
|
|
3420
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3421
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3422
|
+
|
|
3423
|
+
options.apply_defaults timeout: @config.rpcs.get_entry_link.timeout,
|
|
3424
|
+
metadata: call_metadata,
|
|
3425
|
+
retry_policy: @config.rpcs.get_entry_link.retry_policy
|
|
3426
|
+
|
|
3427
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3428
|
+
metadata: @config.metadata,
|
|
3429
|
+
retry_policy: @config.retry_policy
|
|
3430
|
+
|
|
3431
|
+
@catalog_service_stub.get_entry_link request, options do |result, operation|
|
|
3432
|
+
yield result, operation if block_given?
|
|
3433
|
+
end
|
|
3434
|
+
rescue ::Gapic::Rest::Error => e
|
|
3435
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3436
|
+
end
|
|
3437
|
+
|
|
3438
|
+
##
|
|
3439
|
+
# Creates a MetadataFeed.
|
|
3440
|
+
#
|
|
3441
|
+
# @overload create_metadata_feed(request, options = nil)
|
|
3442
|
+
# Pass arguments to `create_metadata_feed` via a request object, either of type
|
|
3443
|
+
# {::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest} or an equivalent Hash.
|
|
3444
|
+
#
|
|
3445
|
+
# @param request [::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest, ::Hash]
|
|
3446
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3447
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3448
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3449
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3450
|
+
#
|
|
3451
|
+
# @overload create_metadata_feed(parent: nil, metadata_feed: nil, metadata_feed_id: nil, validate_only: nil)
|
|
3452
|
+
# Pass arguments to `create_metadata_feed` via keyword arguments. Note that at
|
|
3453
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3454
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3455
|
+
#
|
|
3456
|
+
# @param parent [::String]
|
|
3457
|
+
# Required. The resource name of the parent location, in the format
|
|
3458
|
+
# `projects/{project_id_or_number}/locations/{location_id}`
|
|
3459
|
+
# @param metadata_feed [::Google::Cloud::Dataplex::V1::MetadataFeed, ::Hash]
|
|
3460
|
+
# Required. The metadata job resource.
|
|
3461
|
+
# @param metadata_feed_id [::String]
|
|
3462
|
+
# Optional. The metadata job ID. If not provided, a unique ID is generated
|
|
3463
|
+
# with the prefix `metadata-job-`.
|
|
3464
|
+
# @param validate_only [::Boolean]
|
|
3465
|
+
# Optional. The service validates the request without performing any
|
|
3466
|
+
# mutations. The default is false.
|
|
3467
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3468
|
+
# @yieldparam result [::Gapic::Operation]
|
|
3469
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3470
|
+
#
|
|
3471
|
+
# @return [::Gapic::Operation]
|
|
3472
|
+
#
|
|
3473
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3474
|
+
#
|
|
3475
|
+
# @example Basic example
|
|
3476
|
+
# require "google/cloud/dataplex/v1"
|
|
3477
|
+
#
|
|
3478
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3479
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3480
|
+
#
|
|
3481
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3482
|
+
# request = Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest.new
|
|
3483
|
+
#
|
|
3484
|
+
# # Call the create_metadata_feed method.
|
|
3485
|
+
# result = client.create_metadata_feed request
|
|
3486
|
+
#
|
|
3487
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
3488
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
3489
|
+
# # Here is how to wait for a response.
|
|
3490
|
+
# result.wait_until_done! timeout: 60
|
|
3491
|
+
# if result.response?
|
|
3492
|
+
# p result.response
|
|
3493
|
+
# else
|
|
3494
|
+
# puts "No response received."
|
|
3495
|
+
# end
|
|
3496
|
+
#
|
|
3497
|
+
def create_metadata_feed request, options = nil
|
|
3498
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3499
|
+
|
|
3500
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::CreateMetadataFeedRequest
|
|
3501
|
+
|
|
3502
|
+
# Converts hash and nil to an options object
|
|
3503
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3504
|
+
|
|
3505
|
+
# Customize the options with defaults
|
|
3506
|
+
call_metadata = @config.rpcs.create_metadata_feed.metadata.to_h
|
|
3507
|
+
|
|
3508
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3509
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3510
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3511
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3512
|
+
transports_version_send: [:rest]
|
|
3513
|
+
|
|
3514
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3515
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3516
|
+
|
|
3517
|
+
options.apply_defaults timeout: @config.rpcs.create_metadata_feed.timeout,
|
|
3518
|
+
metadata: call_metadata,
|
|
3519
|
+
retry_policy: @config.rpcs.create_metadata_feed.retry_policy
|
|
3520
|
+
|
|
3521
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3522
|
+
metadata: @config.metadata,
|
|
3523
|
+
retry_policy: @config.retry_policy
|
|
3524
|
+
|
|
3525
|
+
@catalog_service_stub.create_metadata_feed request, options do |result, operation|
|
|
3526
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
|
3527
|
+
yield result, operation if block_given?
|
|
3528
|
+
throw :response, result
|
|
3529
|
+
end
|
|
3530
|
+
rescue ::Gapic::Rest::Error => e
|
|
3531
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3532
|
+
end
|
|
3533
|
+
|
|
3534
|
+
##
|
|
3535
|
+
# Gets a MetadataFeed.
|
|
3536
|
+
#
|
|
3537
|
+
# @overload get_metadata_feed(request, options = nil)
|
|
3538
|
+
# Pass arguments to `get_metadata_feed` via a request object, either of type
|
|
3539
|
+
# {::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest} or an equivalent Hash.
|
|
3540
|
+
#
|
|
3541
|
+
# @param request [::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest, ::Hash]
|
|
3542
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3543
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3544
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3545
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3546
|
+
#
|
|
3547
|
+
# @overload get_metadata_feed(name: nil)
|
|
3548
|
+
# Pass arguments to `get_metadata_feed` via keyword arguments. Note that at
|
|
3549
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3550
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3551
|
+
#
|
|
3552
|
+
# @param name [::String]
|
|
3553
|
+
# Required. The resource name of the metadata feed, in the format
|
|
3554
|
+
# `projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}`.
|
|
3555
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3556
|
+
# @yieldparam result [::Google::Cloud::Dataplex::V1::MetadataFeed]
|
|
3557
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3558
|
+
#
|
|
3559
|
+
# @return [::Google::Cloud::Dataplex::V1::MetadataFeed]
|
|
3560
|
+
#
|
|
3561
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3562
|
+
#
|
|
3563
|
+
# @example Basic example
|
|
3564
|
+
# require "google/cloud/dataplex/v1"
|
|
3565
|
+
#
|
|
3566
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3567
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3568
|
+
#
|
|
3569
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3570
|
+
# request = Google::Cloud::Dataplex::V1::GetMetadataFeedRequest.new
|
|
3571
|
+
#
|
|
3572
|
+
# # Call the get_metadata_feed method.
|
|
3573
|
+
# result = client.get_metadata_feed request
|
|
3574
|
+
#
|
|
3575
|
+
# # The returned object is of type Google::Cloud::Dataplex::V1::MetadataFeed.
|
|
3576
|
+
# p result
|
|
3577
|
+
#
|
|
3578
|
+
def get_metadata_feed request, options = nil
|
|
3579
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3580
|
+
|
|
3581
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::GetMetadataFeedRequest
|
|
3582
|
+
|
|
3583
|
+
# Converts hash and nil to an options object
|
|
3584
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3585
|
+
|
|
3586
|
+
# Customize the options with defaults
|
|
3587
|
+
call_metadata = @config.rpcs.get_metadata_feed.metadata.to_h
|
|
3588
|
+
|
|
3589
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3590
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3591
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3592
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3593
|
+
transports_version_send: [:rest]
|
|
3594
|
+
|
|
3595
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3596
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3597
|
+
|
|
3598
|
+
options.apply_defaults timeout: @config.rpcs.get_metadata_feed.timeout,
|
|
3599
|
+
metadata: call_metadata,
|
|
3600
|
+
retry_policy: @config.rpcs.get_metadata_feed.retry_policy
|
|
3601
|
+
|
|
3602
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3603
|
+
metadata: @config.metadata,
|
|
3604
|
+
retry_policy: @config.retry_policy
|
|
3605
|
+
|
|
3606
|
+
@catalog_service_stub.get_metadata_feed request, options do |result, operation|
|
|
3607
|
+
yield result, operation if block_given?
|
|
3608
|
+
end
|
|
3609
|
+
rescue ::Gapic::Rest::Error => e
|
|
3610
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3611
|
+
end
|
|
3612
|
+
|
|
3613
|
+
##
|
|
3614
|
+
# Retrieve a list of MetadataFeeds.
|
|
3615
|
+
#
|
|
3616
|
+
# @overload list_metadata_feeds(request, options = nil)
|
|
3617
|
+
# Pass arguments to `list_metadata_feeds` via a request object, either of type
|
|
3618
|
+
# {::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest} or an equivalent Hash.
|
|
3619
|
+
#
|
|
3620
|
+
# @param request [::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest, ::Hash]
|
|
3621
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3622
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3623
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3624
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3625
|
+
#
|
|
3626
|
+
# @overload list_metadata_feeds(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil)
|
|
3627
|
+
# Pass arguments to `list_metadata_feeds` via keyword arguments. Note that at
|
|
3628
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3629
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3630
|
+
#
|
|
3631
|
+
# @param parent [::String]
|
|
3632
|
+
# Required. The resource name of the parent location, in the format
|
|
3633
|
+
# `projects/{project_id_or_number}/locations/{location_id}`
|
|
3634
|
+
# @param page_size [::Integer]
|
|
3635
|
+
# Optional. The maximum number of metadata feeds to return. The service
|
|
3636
|
+
# might return fewer feeds than this value. If unspecified, at most 10 feeds
|
|
3637
|
+
# are returned. The maximum value is 1,000.
|
|
3638
|
+
# @param page_token [::String]
|
|
3639
|
+
# Optional. The page token received from a previous `ListMetadataFeeds` call.
|
|
3640
|
+
# Provide this token to retrieve the subsequent page of results. When
|
|
3641
|
+
# paginating, all other parameters that are provided to the
|
|
3642
|
+
# `ListMetadataFeeds` request must match the call that provided the
|
|
3643
|
+
# page token.
|
|
3644
|
+
# @param filter [::String]
|
|
3645
|
+
# Optional. Filter request. Filters are case-sensitive.
|
|
3646
|
+
# The service supports the following formats:
|
|
3647
|
+
#
|
|
3648
|
+
# * `labels.key1 = "value1"`
|
|
3649
|
+
# * `labels:key1`
|
|
3650
|
+
# * `name = "value"`
|
|
3651
|
+
#
|
|
3652
|
+
# You can combine filters with `AND`, `OR`, and `NOT` operators.
|
|
3653
|
+
# @param order_by [::String]
|
|
3654
|
+
# Optional. The field to sort the results by, either `name` or `create_time`.
|
|
3655
|
+
# If not specified, the ordering is undefined.
|
|
3656
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3657
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::MetadataFeed>]
|
|
3658
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3659
|
+
#
|
|
3660
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataplex::V1::MetadataFeed>]
|
|
3661
|
+
#
|
|
3662
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3663
|
+
#
|
|
3664
|
+
# @example Basic example
|
|
3665
|
+
# require "google/cloud/dataplex/v1"
|
|
3666
|
+
#
|
|
3667
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3668
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3669
|
+
#
|
|
3670
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3671
|
+
# request = Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest.new
|
|
3672
|
+
#
|
|
3673
|
+
# # Call the list_metadata_feeds method.
|
|
3674
|
+
# result = client.list_metadata_feeds request
|
|
3675
|
+
#
|
|
3676
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
3677
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
3678
|
+
# result.each do |item|
|
|
3679
|
+
# # Each element is of type ::Google::Cloud::Dataplex::V1::MetadataFeed.
|
|
3680
|
+
# p item
|
|
3681
|
+
# end
|
|
3682
|
+
#
|
|
3683
|
+
def list_metadata_feeds request, options = nil
|
|
3684
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3685
|
+
|
|
3686
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::ListMetadataFeedsRequest
|
|
3687
|
+
|
|
3688
|
+
# Converts hash and nil to an options object
|
|
3689
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3690
|
+
|
|
3691
|
+
# Customize the options with defaults
|
|
3692
|
+
call_metadata = @config.rpcs.list_metadata_feeds.metadata.to_h
|
|
3693
|
+
|
|
3694
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3695
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3696
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3697
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3698
|
+
transports_version_send: [:rest]
|
|
3699
|
+
|
|
3700
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3701
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3702
|
+
|
|
3703
|
+
options.apply_defaults timeout: @config.rpcs.list_metadata_feeds.timeout,
|
|
3704
|
+
metadata: call_metadata,
|
|
3705
|
+
retry_policy: @config.rpcs.list_metadata_feeds.retry_policy
|
|
3706
|
+
|
|
3707
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3708
|
+
metadata: @config.metadata,
|
|
3709
|
+
retry_policy: @config.retry_policy
|
|
3710
|
+
|
|
3711
|
+
@catalog_service_stub.list_metadata_feeds request, options do |result, operation|
|
|
3712
|
+
result = ::Gapic::Rest::PagedEnumerable.new @catalog_service_stub, :list_metadata_feeds, "metadata_feeds", request, result, options
|
|
3713
|
+
yield result, operation if block_given?
|
|
3714
|
+
throw :response, result
|
|
3715
|
+
end
|
|
3716
|
+
rescue ::Gapic::Rest::Error => e
|
|
3717
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3718
|
+
end
|
|
3719
|
+
|
|
3720
|
+
##
|
|
3721
|
+
# Deletes a MetadataFeed.
|
|
3722
|
+
#
|
|
3723
|
+
# @overload delete_metadata_feed(request, options = nil)
|
|
3724
|
+
# Pass arguments to `delete_metadata_feed` via a request object, either of type
|
|
3725
|
+
# {::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest} or an equivalent Hash.
|
|
3726
|
+
#
|
|
3727
|
+
# @param request [::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest, ::Hash]
|
|
3728
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3729
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3730
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3731
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3732
|
+
#
|
|
3733
|
+
# @overload delete_metadata_feed(name: nil)
|
|
3734
|
+
# Pass arguments to `delete_metadata_feed` via keyword arguments. Note that at
|
|
3735
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3736
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3737
|
+
#
|
|
3738
|
+
# @param name [::String]
|
|
3739
|
+
# Required. The resource name of the metadata feed, in the format
|
|
3740
|
+
# `projects/{project_id_or_number}/locations/{location_id}/MetadataFeeds/{metadata_feed_id}`.
|
|
3741
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3742
|
+
# @yieldparam result [::Gapic::Operation]
|
|
3743
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3744
|
+
#
|
|
3745
|
+
# @return [::Gapic::Operation]
|
|
3746
|
+
#
|
|
3747
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3748
|
+
#
|
|
3749
|
+
# @example Basic example
|
|
3750
|
+
# require "google/cloud/dataplex/v1"
|
|
3751
|
+
#
|
|
3752
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3753
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3754
|
+
#
|
|
3755
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3756
|
+
# request = Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest.new
|
|
3757
|
+
#
|
|
3758
|
+
# # Call the delete_metadata_feed method.
|
|
3759
|
+
# result = client.delete_metadata_feed request
|
|
3760
|
+
#
|
|
3761
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
3762
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
3763
|
+
# # Here is how to wait for a response.
|
|
3764
|
+
# result.wait_until_done! timeout: 60
|
|
3765
|
+
# if result.response?
|
|
3766
|
+
# p result.response
|
|
3767
|
+
# else
|
|
3768
|
+
# puts "No response received."
|
|
3769
|
+
# end
|
|
3770
|
+
#
|
|
3771
|
+
def delete_metadata_feed request, options = nil
|
|
3772
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3773
|
+
|
|
3774
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::DeleteMetadataFeedRequest
|
|
3775
|
+
|
|
3776
|
+
# Converts hash and nil to an options object
|
|
3777
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3778
|
+
|
|
3779
|
+
# Customize the options with defaults
|
|
3780
|
+
call_metadata = @config.rpcs.delete_metadata_feed.metadata.to_h
|
|
3781
|
+
|
|
3782
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3783
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3784
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3785
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3786
|
+
transports_version_send: [:rest]
|
|
3787
|
+
|
|
3788
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3789
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3790
|
+
|
|
3791
|
+
options.apply_defaults timeout: @config.rpcs.delete_metadata_feed.timeout,
|
|
3792
|
+
metadata: call_metadata,
|
|
3793
|
+
retry_policy: @config.rpcs.delete_metadata_feed.retry_policy
|
|
3794
|
+
|
|
3795
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3796
|
+
metadata: @config.metadata,
|
|
3797
|
+
retry_policy: @config.retry_policy
|
|
3798
|
+
|
|
3799
|
+
@catalog_service_stub.delete_metadata_feed request, options do |result, operation|
|
|
3800
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
|
3801
|
+
yield result, operation if block_given?
|
|
3802
|
+
throw :response, result
|
|
3803
|
+
end
|
|
3804
|
+
rescue ::Gapic::Rest::Error => e
|
|
3805
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3806
|
+
end
|
|
3807
|
+
|
|
3808
|
+
##
|
|
3809
|
+
# Updates a MetadataFeed.
|
|
3810
|
+
#
|
|
3811
|
+
# @overload update_metadata_feed(request, options = nil)
|
|
3812
|
+
# Pass arguments to `update_metadata_feed` via a request object, either of type
|
|
3813
|
+
# {::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest} or an equivalent Hash.
|
|
3814
|
+
#
|
|
3815
|
+
# @param request [::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest, ::Hash]
|
|
3816
|
+
# A request object representing the call parameters. Required. To specify no
|
|
3817
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
3818
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
3819
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
3820
|
+
#
|
|
3821
|
+
# @overload update_metadata_feed(metadata_feed: nil, update_mask: nil, validate_only: nil)
|
|
3822
|
+
# Pass arguments to `update_metadata_feed` via keyword arguments. Note that at
|
|
3823
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
3824
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
3825
|
+
#
|
|
3826
|
+
# @param metadata_feed [::Google::Cloud::Dataplex::V1::MetadataFeed, ::Hash]
|
|
3827
|
+
# Required. Update description.
|
|
3828
|
+
# Only fields specified in `update_mask` are updated.
|
|
3829
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
3830
|
+
# Optional. Mask of fields to update.
|
|
3831
|
+
# @param validate_only [::Boolean]
|
|
3832
|
+
# Optional. Only validate the request, but do not perform mutations.
|
|
3833
|
+
# The default is false.
|
|
3834
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
3835
|
+
# @yieldparam result [::Gapic::Operation]
|
|
3836
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
3837
|
+
#
|
|
3838
|
+
# @return [::Gapic::Operation]
|
|
3839
|
+
#
|
|
3840
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
|
3841
|
+
#
|
|
3842
|
+
# @example Basic example
|
|
3843
|
+
# require "google/cloud/dataplex/v1"
|
|
3844
|
+
#
|
|
3845
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
3846
|
+
# client = Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new
|
|
3847
|
+
#
|
|
3848
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
3849
|
+
# request = Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest.new
|
|
3850
|
+
#
|
|
3851
|
+
# # Call the update_metadata_feed method.
|
|
3852
|
+
# result = client.update_metadata_feed request
|
|
3853
|
+
#
|
|
3854
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
3855
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
3856
|
+
# # Here is how to wait for a response.
|
|
3857
|
+
# result.wait_until_done! timeout: 60
|
|
3858
|
+
# if result.response?
|
|
3859
|
+
# p result.response
|
|
3860
|
+
# else
|
|
3861
|
+
# puts "No response received."
|
|
3862
|
+
# end
|
|
3863
|
+
#
|
|
3864
|
+
def update_metadata_feed request, options = nil
|
|
3865
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
3866
|
+
|
|
3867
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataplex::V1::UpdateMetadataFeedRequest
|
|
3868
|
+
|
|
3869
|
+
# Converts hash and nil to an options object
|
|
3870
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
3871
|
+
|
|
3872
|
+
# Customize the options with defaults
|
|
3873
|
+
call_metadata = @config.rpcs.update_metadata_feed.metadata.to_h
|
|
3874
|
+
|
|
3875
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
3876
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
3877
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
3878
|
+
gapic_version: ::Google::Cloud::Dataplex::V1::VERSION,
|
|
3879
|
+
transports_version_send: [:rest]
|
|
3880
|
+
|
|
3881
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
3882
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
3883
|
+
|
|
3884
|
+
options.apply_defaults timeout: @config.rpcs.update_metadata_feed.timeout,
|
|
3885
|
+
metadata: call_metadata,
|
|
3886
|
+
retry_policy: @config.rpcs.update_metadata_feed.retry_policy
|
|
3887
|
+
|
|
3888
|
+
options.apply_defaults timeout: @config.timeout,
|
|
3889
|
+
metadata: @config.metadata,
|
|
3890
|
+
retry_policy: @config.retry_policy
|
|
3891
|
+
|
|
3892
|
+
@catalog_service_stub.update_metadata_feed request, options do |result, operation|
|
|
3893
|
+
result = ::Gapic::Operation.new result, @operations_client, options: options
|
|
3894
|
+
yield result, operation if block_given?
|
|
3895
|
+
throw :response, result
|
|
3896
|
+
end
|
|
3897
|
+
rescue ::Gapic::Rest::Error => e
|
|
3898
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
3899
|
+
end
|
|
3900
|
+
|
|
3901
|
+
##
|
|
3902
|
+
# Configuration class for the CatalogService REST API.
|
|
3903
|
+
#
|
|
3904
|
+
# This class represents the configuration for CatalogService REST,
|
|
3905
|
+
# providing control over timeouts, retry behavior, logging, transport
|
|
3906
|
+
# parameters, and other low-level controls. Certain parameters can also be
|
|
3907
|
+
# applied individually to specific RPCs. See
|
|
3908
|
+
# {::Google::Cloud::Dataplex::V1::CatalogService::Rest::Client::Configuration::Rpcs}
|
|
3909
|
+
# for a list of RPCs that can be configured independently.
|
|
3910
|
+
#
|
|
3911
|
+
# Configuration can be applied globally to all clients, or to a single client
|
|
3912
|
+
# on construction.
|
|
3913
|
+
#
|
|
3914
|
+
# @example
|
|
3915
|
+
#
|
|
3916
|
+
# # Modify the global config, setting the timeout for
|
|
3917
|
+
# # create_entry_type to 20 seconds,
|
|
3918
|
+
# # and all remaining timeouts to 10 seconds.
|
|
3919
|
+
# ::Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.configure do |config|
|
|
3920
|
+
# config.timeout = 10.0
|
|
3921
|
+
# config.rpcs.create_entry_type.timeout = 20.0
|
|
3922
|
+
# end
|
|
3923
|
+
#
|
|
3924
|
+
# # Apply the above configuration only to a new client.
|
|
3925
|
+
# client = ::Google::Cloud::Dataplex::V1::CatalogService::Rest::Client.new do |config|
|
|
3926
|
+
# config.timeout = 10.0
|
|
3927
|
+
# config.rpcs.create_entry_type.timeout = 20.0
|
|
3928
|
+
# end
|
|
3929
|
+
#
|
|
3930
|
+
# @!attribute [rw] endpoint
|
|
3931
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
|
3932
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
|
3933
|
+
# @return [::String,nil]
|
|
3934
|
+
# @!attribute [rw] credentials
|
|
3935
|
+
# Credentials to send with calls. You may provide any of the following types:
|
|
3936
|
+
# * (`String`) The path to a service account key file in JSON format
|
|
3937
|
+
# * (`Hash`) A service account key as a Hash
|
|
3938
|
+
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3939
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3940
|
+
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
3941
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
|
3942
|
+
# * (`nil`) indicating no credentials
|
|
3943
|
+
#
|
|
3944
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3945
|
+
# external source for authentication to Google Cloud, you must validate it before
|
|
3946
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3947
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
|
3948
|
+
# For more information, refer to [Validate credential configurations from external
|
|
3949
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
|
3950
|
+
# @return [::Object]
|
|
3951
|
+
# @!attribute [rw] scope
|
|
3952
|
+
# The OAuth scopes
|
|
3076
3953
|
# @return [::Array<::String>]
|
|
3077
3954
|
# @!attribute [rw] lib_name
|
|
3078
3955
|
# The library name as recorded in instrumentation and logging
|
|
@@ -3091,6 +3968,7 @@ module Google
|
|
|
3091
3968
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3092
3969
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3093
3970
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3971
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3094
3972
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3095
3973
|
# trigger a retry.
|
|
3096
3974
|
# @return [::Hash]
|
|
@@ -3170,6 +4048,7 @@ module Google
|
|
|
3170
4048
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3171
4049
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3172
4050
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
4051
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3173
4052
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3174
4053
|
# trigger a retry.
|
|
3175
4054
|
#
|
|
@@ -3280,6 +4159,11 @@ module Google
|
|
|
3280
4159
|
#
|
|
3281
4160
|
attr_reader :lookup_entry
|
|
3282
4161
|
##
|
|
4162
|
+
# RPC-specific configuration for `modify_entry`
|
|
4163
|
+
# @return [::Gapic::Config::Method]
|
|
4164
|
+
#
|
|
4165
|
+
attr_reader :modify_entry
|
|
4166
|
+
##
|
|
3283
4167
|
# RPC-specific configuration for `search_entries`
|
|
3284
4168
|
# @return [::Gapic::Config::Method]
|
|
3285
4169
|
#
|
|
@@ -3310,15 +4194,55 @@ module Google
|
|
|
3310
4194
|
#
|
|
3311
4195
|
attr_reader :create_entry_link
|
|
3312
4196
|
##
|
|
4197
|
+
# RPC-specific configuration for `update_entry_link`
|
|
4198
|
+
# @return [::Gapic::Config::Method]
|
|
4199
|
+
#
|
|
4200
|
+
attr_reader :update_entry_link
|
|
4201
|
+
##
|
|
3313
4202
|
# RPC-specific configuration for `delete_entry_link`
|
|
3314
4203
|
# @return [::Gapic::Config::Method]
|
|
3315
4204
|
#
|
|
3316
4205
|
attr_reader :delete_entry_link
|
|
3317
4206
|
##
|
|
4207
|
+
# RPC-specific configuration for `lookup_entry_links`
|
|
4208
|
+
# @return [::Gapic::Config::Method]
|
|
4209
|
+
#
|
|
4210
|
+
attr_reader :lookup_entry_links
|
|
4211
|
+
##
|
|
4212
|
+
# RPC-specific configuration for `lookup_context`
|
|
4213
|
+
# @return [::Gapic::Config::Method]
|
|
4214
|
+
#
|
|
4215
|
+
attr_reader :lookup_context
|
|
4216
|
+
##
|
|
3318
4217
|
# RPC-specific configuration for `get_entry_link`
|
|
3319
4218
|
# @return [::Gapic::Config::Method]
|
|
3320
4219
|
#
|
|
3321
4220
|
attr_reader :get_entry_link
|
|
4221
|
+
##
|
|
4222
|
+
# RPC-specific configuration for `create_metadata_feed`
|
|
4223
|
+
# @return [::Gapic::Config::Method]
|
|
4224
|
+
#
|
|
4225
|
+
attr_reader :create_metadata_feed
|
|
4226
|
+
##
|
|
4227
|
+
# RPC-specific configuration for `get_metadata_feed`
|
|
4228
|
+
# @return [::Gapic::Config::Method]
|
|
4229
|
+
#
|
|
4230
|
+
attr_reader :get_metadata_feed
|
|
4231
|
+
##
|
|
4232
|
+
# RPC-specific configuration for `list_metadata_feeds`
|
|
4233
|
+
# @return [::Gapic::Config::Method]
|
|
4234
|
+
#
|
|
4235
|
+
attr_reader :list_metadata_feeds
|
|
4236
|
+
##
|
|
4237
|
+
# RPC-specific configuration for `delete_metadata_feed`
|
|
4238
|
+
# @return [::Gapic::Config::Method]
|
|
4239
|
+
#
|
|
4240
|
+
attr_reader :delete_metadata_feed
|
|
4241
|
+
##
|
|
4242
|
+
# RPC-specific configuration for `update_metadata_feed`
|
|
4243
|
+
# @return [::Gapic::Config::Method]
|
|
4244
|
+
#
|
|
4245
|
+
attr_reader :update_metadata_feed
|
|
3322
4246
|
|
|
3323
4247
|
# @private
|
|
3324
4248
|
def initialize parent_rpcs = nil
|
|
@@ -3364,6 +4288,8 @@ module Google
|
|
|
3364
4288
|
@get_entry = ::Gapic::Config::Method.new get_entry_config
|
|
3365
4289
|
lookup_entry_config = parent_rpcs.lookup_entry if parent_rpcs.respond_to? :lookup_entry
|
|
3366
4290
|
@lookup_entry = ::Gapic::Config::Method.new lookup_entry_config
|
|
4291
|
+
modify_entry_config = parent_rpcs.modify_entry if parent_rpcs.respond_to? :modify_entry
|
|
4292
|
+
@modify_entry = ::Gapic::Config::Method.new modify_entry_config
|
|
3367
4293
|
search_entries_config = parent_rpcs.search_entries if parent_rpcs.respond_to? :search_entries
|
|
3368
4294
|
@search_entries = ::Gapic::Config::Method.new search_entries_config
|
|
3369
4295
|
create_metadata_job_config = parent_rpcs.create_metadata_job if parent_rpcs.respond_to? :create_metadata_job
|
|
@@ -3376,10 +4302,26 @@ module Google
|
|
|
3376
4302
|
@cancel_metadata_job = ::Gapic::Config::Method.new cancel_metadata_job_config
|
|
3377
4303
|
create_entry_link_config = parent_rpcs.create_entry_link if parent_rpcs.respond_to? :create_entry_link
|
|
3378
4304
|
@create_entry_link = ::Gapic::Config::Method.new create_entry_link_config
|
|
4305
|
+
update_entry_link_config = parent_rpcs.update_entry_link if parent_rpcs.respond_to? :update_entry_link
|
|
4306
|
+
@update_entry_link = ::Gapic::Config::Method.new update_entry_link_config
|
|
3379
4307
|
delete_entry_link_config = parent_rpcs.delete_entry_link if parent_rpcs.respond_to? :delete_entry_link
|
|
3380
4308
|
@delete_entry_link = ::Gapic::Config::Method.new delete_entry_link_config
|
|
4309
|
+
lookup_entry_links_config = parent_rpcs.lookup_entry_links if parent_rpcs.respond_to? :lookup_entry_links
|
|
4310
|
+
@lookup_entry_links = ::Gapic::Config::Method.new lookup_entry_links_config
|
|
4311
|
+
lookup_context_config = parent_rpcs.lookup_context if parent_rpcs.respond_to? :lookup_context
|
|
4312
|
+
@lookup_context = ::Gapic::Config::Method.new lookup_context_config
|
|
3381
4313
|
get_entry_link_config = parent_rpcs.get_entry_link if parent_rpcs.respond_to? :get_entry_link
|
|
3382
4314
|
@get_entry_link = ::Gapic::Config::Method.new get_entry_link_config
|
|
4315
|
+
create_metadata_feed_config = parent_rpcs.create_metadata_feed if parent_rpcs.respond_to? :create_metadata_feed
|
|
4316
|
+
@create_metadata_feed = ::Gapic::Config::Method.new create_metadata_feed_config
|
|
4317
|
+
get_metadata_feed_config = parent_rpcs.get_metadata_feed if parent_rpcs.respond_to? :get_metadata_feed
|
|
4318
|
+
@get_metadata_feed = ::Gapic::Config::Method.new get_metadata_feed_config
|
|
4319
|
+
list_metadata_feeds_config = parent_rpcs.list_metadata_feeds if parent_rpcs.respond_to? :list_metadata_feeds
|
|
4320
|
+
@list_metadata_feeds = ::Gapic::Config::Method.new list_metadata_feeds_config
|
|
4321
|
+
delete_metadata_feed_config = parent_rpcs.delete_metadata_feed if parent_rpcs.respond_to? :delete_metadata_feed
|
|
4322
|
+
@delete_metadata_feed = ::Gapic::Config::Method.new delete_metadata_feed_config
|
|
4323
|
+
update_metadata_feed_config = parent_rpcs.update_metadata_feed if parent_rpcs.respond_to? :update_metadata_feed
|
|
4324
|
+
@update_metadata_feed = ::Gapic::Config::Method.new update_metadata_feed_config
|
|
3383
4325
|
|
|
3384
4326
|
yield self if block_given?
|
|
3385
4327
|
end
|