google-cloud-data_catalog-v1 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +276 -13
  4. data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +768 -0
  5. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +3214 -0
  6. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +792 -0
  7. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +2142 -0
  8. data/lib/google/cloud/data_catalog/v1/data_catalog/rest.rb +54 -0
  9. data/lib/google/cloud/data_catalog/v1/data_catalog.rb +7 -0
  10. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +6 -3
  11. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +1273 -0
  12. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/service_stub.rb +846 -0
  13. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest.rb +57 -0
  14. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +6 -0
  15. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +6 -4
  16. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +538 -0
  17. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/service_stub.rb +227 -0
  18. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest.rb +55 -0
  19. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +6 -0
  20. data/lib/google/cloud/data_catalog/v1/rest.rb +39 -0
  21. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  22. data/lib/google/cloud/data_catalog/v1.rb +5 -0
  23. data/lib/google/cloud/datacatalog/v1/common_pb.rb +8 -0
  24. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +90 -0
  25. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +33 -0
  26. data/lib/google/cloud/datacatalog/v1/dump_content_pb.rb +35 -0
  27. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +8 -0
  28. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +28 -0
  29. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +6 -0
  30. data/proto_docs/google/api/client.rb +9 -3
  31. data/proto_docs/google/cloud/datacatalog/v1/common.rb +19 -0
  32. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +283 -21
  33. data/proto_docs/google/cloud/datacatalog/v1/dump_content.rb +53 -0
  34. data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +2 -1
  35. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +23 -2
  36. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +6 -3
  37. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +68 -3
  38. data/proto_docs/google/cloud/datacatalog/v1/search.rb +2 -2
  39. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +5 -5
  40. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +11 -8
  41. data/proto_docs/google/cloud/datacatalog/v1/usage.rb +30 -1
  42. data/proto_docs/google/longrunning/operations.rb +164 -0
  43. data/proto_docs/google/protobuf/any.rb +141 -0
  44. data/proto_docs/google/rpc/status.rb +48 -0
  45. metadata +23 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 411fd1764f657bce89c9ed3d1b28753d8119afc7f0c460cc7b8df8aeb640a48e
4
- data.tar.gz: df455550c1154e9f84e7034129ae917e2eef020f74b6d996e772414fd9025c78
3
+ metadata.gz: 2d083c21d6aefccc6e2dc26d4f1adbc2776d3b8795bdc128e76bde149b408f6b
4
+ data.tar.gz: 0a345f881b23995d3fddc3e8ce6cf090982ca65ffd7453fe37209b55f2810e0e
5
5
  SHA512:
6
- metadata.gz: 6ac6b7d57c7868b779b4c9de2d71ddcd783731e6d6d3b92e8ce8e90230ccb1cd064c837295b03f22d76fb5d49416e545cb10855587b96855f55d46142c310d7f
7
- data.tar.gz: 2af89f682588cafeafd8f196e1356f73709b440079dcd154d0d4b77c82d26d41ebe0f3ad6beb109ae167cb49528a71766d808e98cdedf582ba4a1302db3f29b0
6
+ metadata.gz: e89e88507e4861c6f3c19b018a251bc0ed451a2fd4b6276609298a17682535f524c39eb6167ed63c8240e0c99fa0eaef031423a4cd0ea34927c0a88a460cc898
7
+ data.tar.gz: bf2397e6fe505768b3c4b0f2f0ef12a5f951ee911e2e0c0cc50ccd3ca61eb330e1f68bc9725da5969c8c28815fa7f35b214fcb2b5701c316e4473b837e9e8696
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Data Catalog V1 API
2
2
 
3
- API Client library for the Data Catalog V1 API
3
+ A fully managed and highly scalable data discovery and metadata management service.
4
4
 
5
5
  DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.
6
6
 
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -108,6 +108,11 @@ module Google
108
108
  initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
109
109
  }
110
110
 
111
+ default_config.rpcs.import_entries.timeout = 60.0
112
+ default_config.rpcs.import_entries.retry_policy = {
113
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14]
114
+ }
115
+
111
116
  default_config
112
117
  end
113
118
  yield @configure if block_given?
@@ -177,6 +182,12 @@ module Google
177
182
  @quota_project_id = @config.quota_project
178
183
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
179
184
 
185
+ @operations_client = Operations.new do |config|
186
+ config.credentials = credentials
187
+ config.quota_project = @quota_project_id
188
+ config.endpoint = @config.endpoint
189
+ end
190
+
180
191
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
181
192
  config.credentials = credentials
182
193
  config.quota_project = @quota_project_id
@@ -192,6 +203,13 @@ module Google
192
203
  )
193
204
  end
194
205
 
206
+ ##
207
+ # Get the associated client for long-running operations.
208
+ #
209
+ # @return [::Google::Cloud::DataCatalog::V1::DataCatalog::Operations]
210
+ #
211
+ attr_reader :operations_client
212
+
195
213
  ##
196
214
  # Get the associated client for mix-in of the IAMPolicy.
197
215
  #
@@ -240,9 +258,8 @@ module Google
240
258
  # empty AND `include_gcp_public_datasets` is set to `false`. In this case,
241
259
  # the request returns an error.
242
260
  # @param query [::String]
243
- # Optional. The query string with a minimum of 3 characters and specific syntax.
244
- # For more information, see
245
- # [Data Catalog search
261
+ # Optional. The query string with a minimum of 3 characters and specific
262
+ # syntax. For more information, see [Data Catalog search
246
263
  # syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference).
247
264
  #
248
265
  # An empty query string returns all data assets (in the specified scope)
@@ -260,10 +277,11 @@ module Google
260
277
  # The maximum number is 1000. If exceeded, throws an "invalid argument"
261
278
  # exception.
262
279
  # @param page_token [::String]
263
- # Optional. Pagination token that, if specified, returns the next page of search
264
- # results. If empty, returns the first page.
280
+ # Optional. Pagination token that, if specified, returns the next page of
281
+ # search results. If empty, returns the first page.
265
282
  #
266
- # This token is returned in the {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token}
283
+ # This token is returned in the
284
+ # {::Google::Cloud::DataCatalog::V1::SearchCatalogResponse#next_page_token SearchCatalogResponse.next_page_token}
267
285
  # field of the response to a previous
268
286
  # {::Google::Cloud::DataCatalog::V1::DataCatalog::Client#search_catalog SearchCatalogRequest}
269
287
  # call.
@@ -384,7 +402,8 @@ module Google
384
402
  # the default parameter values, pass an empty Hash as a request object (see above).
385
403
  #
386
404
  # @param parent [::String]
387
- # Required. The names of the project and location that the new entry group belongs to.
405
+ # Required. The names of the project and location that the new entry group
406
+ # belongs to.
388
407
  #
389
408
  # Note: The entry group itself and its child resources might not be
390
409
  # stored in the location specified in its name.
@@ -2158,8 +2177,8 @@ module Google
2158
2177
  # @param tag_template_field [::Google::Cloud::DataCatalog::V1::TagTemplateField, ::Hash]
2159
2178
  # Required. The template to update.
2160
2179
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2161
- # Optional. Names of fields whose values to overwrite on an individual field of a tag
2162
- # template. The following fields are modifiable:
2180
+ # Optional. Names of fields whose values to overwrite on an individual field
2181
+ # of a tag template. The following fields are modifiable:
2163
2182
  #
2164
2183
  # * `display_name`
2165
2184
  # * `type.enum_type`
@@ -2264,7 +2283,8 @@ module Google
2264
2283
  # @param name [::String]
2265
2284
  # Required. The name of the tag template field.
2266
2285
  # @param new_tag_template_field_id [::String]
2267
- # Required. The new ID of this tag template field. For example, `my_new_field`.
2286
+ # Required. The new ID of this tag template field. For example,
2287
+ # `my_new_field`.
2268
2288
  #
2269
2289
  # @yield [response, operation] Access the result along with the RPC operation
2270
2290
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
@@ -2353,7 +2373,8 @@ module Google
2353
2373
  # @param name [::String]
2354
2374
  # Required. The name of the enum field value.
2355
2375
  # @param new_enum_value_display_name [::String]
2356
- # Required. The new display name of the enum value. For example, `my_new_enum_value`.
2376
+ # Required. The new display name of the enum value. For example,
2377
+ # `my_new_enum_value`.
2357
2378
  #
2358
2379
  # @yield [response, operation] Access the result along with the RPC operation
2359
2380
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::TagTemplateField]
@@ -2895,6 +2916,122 @@ module Google
2895
2916
  raise ::Google::Cloud::Error.from_error(e)
2896
2917
  end
2897
2918
 
2919
+ ##
2920
+ # `ReconcileTags` creates or updates a list of tags on the entry.
2921
+ # If the
2922
+ # {::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest#force_delete_missing ReconcileTagsRequest.force_delete_missing}
2923
+ # parameter is set, the operation deletes tags not included in the input tag
2924
+ # list.
2925
+ #
2926
+ # `ReconcileTags` returns a [long-running operation]
2927
+ # [google.longrunning.Operation] resource that can be queried with
2928
+ # Operations.GetOperation
2929
+ # to return [ReconcileTagsMetadata]
2930
+ # [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and
2931
+ # a [ReconcileTagsResponse]
2932
+ # [google.cloud.datacatalog.v1.ReconcileTagsResponse] message.
2933
+ #
2934
+ # @overload reconcile_tags(request, options = nil)
2935
+ # Pass arguments to `reconcile_tags` via a request object, either of type
2936
+ # {::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest} or an equivalent Hash.
2937
+ #
2938
+ # @param request [::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest, ::Hash]
2939
+ # A request object representing the call parameters. Required. To specify no
2940
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
2941
+ # @param options [::Gapic::CallOptions, ::Hash]
2942
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2943
+ #
2944
+ # @overload reconcile_tags(parent: nil, tag_template: nil, force_delete_missing: nil, tags: nil)
2945
+ # Pass arguments to `reconcile_tags` via keyword arguments. Note that at
2946
+ # least one keyword argument is required. To specify no parameters, or to keep all
2947
+ # the default parameter values, pass an empty Hash as a request object (see above).
2948
+ #
2949
+ # @param parent [::String]
2950
+ # Required. Name of {::Google::Cloud::DataCatalog::V1::Entry Entry} to be tagged.
2951
+ # @param tag_template [::String]
2952
+ # Required. The name of the tag template, which is used for reconciliation.
2953
+ # @param force_delete_missing [::Boolean]
2954
+ # If set to `true`, deletes entry tags related to a tag template
2955
+ # not listed in the tags source from an entry. If set to `false`,
2956
+ # unlisted tags are retained.
2957
+ # @param tags [::Array<::Google::Cloud::DataCatalog::V1::Tag, ::Hash>]
2958
+ # A list of tags to apply to an entry. A tag can specify a
2959
+ # tag template, which must be the template specified in the
2960
+ # `ReconcileTagsRequest`.
2961
+ # The sole entry and each of its columns must be mentioned at most once.
2962
+ #
2963
+ # @yield [response, operation] Access the result along with the RPC operation
2964
+ # @yieldparam response [::Gapic::Operation]
2965
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
2966
+ #
2967
+ # @return [::Gapic::Operation]
2968
+ #
2969
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
2970
+ #
2971
+ # @example Basic example
2972
+ # require "google/cloud/data_catalog/v1"
2973
+ #
2974
+ # # Create a client object. The client can be reused for multiple calls.
2975
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
2976
+ #
2977
+ # # Create a request. To set request fields, pass in keyword arguments.
2978
+ # request = Google::Cloud::DataCatalog::V1::ReconcileTagsRequest.new
2979
+ #
2980
+ # # Call the reconcile_tags method.
2981
+ # result = client.reconcile_tags request
2982
+ #
2983
+ # # The returned object is of type Gapic::Operation. You can use it to
2984
+ # # check the status of an operation, cancel it, or wait for results.
2985
+ # # Here is how to wait for a response.
2986
+ # result.wait_until_done! timeout: 60
2987
+ # if result.response?
2988
+ # p result.response
2989
+ # else
2990
+ # puts "No response received."
2991
+ # end
2992
+ #
2993
+ def reconcile_tags request, options = nil
2994
+ raise ::ArgumentError, "request must be provided" if request.nil?
2995
+
2996
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ReconcileTagsRequest
2997
+
2998
+ # Converts hash and nil to an options object
2999
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3000
+
3001
+ # Customize the options with defaults
3002
+ metadata = @config.rpcs.reconcile_tags.metadata.to_h
3003
+
3004
+ # Set x-goog-api-client and x-goog-user-project headers
3005
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3006
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3007
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
3008
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3009
+
3010
+ header_params = {}
3011
+ if request.parent
3012
+ header_params["parent"] = request.parent
3013
+ end
3014
+
3015
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3016
+ metadata[:"x-goog-request-params"] ||= request_params_header
3017
+
3018
+ options.apply_defaults timeout: @config.rpcs.reconcile_tags.timeout,
3019
+ metadata: metadata,
3020
+ retry_policy: @config.rpcs.reconcile_tags.retry_policy
3021
+
3022
+ options.apply_defaults timeout: @config.timeout,
3023
+ metadata: @config.metadata,
3024
+ retry_policy: @config.retry_policy
3025
+
3026
+ @data_catalog_stub.call_rpc :reconcile_tags, request, options: options do |response, operation|
3027
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3028
+ yield response, operation if block_given?
3029
+ return response
3030
+ end
3031
+ rescue ::GRPC::BadStatus => e
3032
+ raise ::Google::Cloud::Error.from_error(e)
3033
+ end
3034
+
2898
3035
  ##
2899
3036
  # Marks an {::Google::Cloud::DataCatalog::V1::Entry Entry} as starred by
2900
3037
  # the current user. Starring information is private to each user.
@@ -3393,6 +3530,118 @@ module Google
3393
3530
  raise ::Google::Cloud::Error.from_error(e)
3394
3531
  end
3395
3532
 
3533
+ ##
3534
+ # Imports entries from a source, such as data previously dumped into a
3535
+ # Cloud Storage bucket, into Data Catalog. Import of entries
3536
+ # is a sync operation that reconciles the state of the third-party system
3537
+ # with the Data Catalog.
3538
+ #
3539
+ # `ImportEntries` accepts source data snapshots of a third-party system.
3540
+ # Snapshot should be delivered as a .wire or base65-encoded .txt file
3541
+ # containing a sequence of Protocol Buffer messages of
3542
+ # {::Google::Cloud::DataCatalog::V1::DumpItem DumpItem} type.
3543
+ #
3544
+ # `ImportEntries` returns a [long-running operation]
3545
+ # [google.longrunning.Operation] resource that can be queried with
3546
+ # Operations.GetOperation
3547
+ # to return
3548
+ # {::Google::Cloud::DataCatalog::V1::ImportEntriesMetadata ImportEntriesMetadata}
3549
+ # and an
3550
+ # {::Google::Cloud::DataCatalog::V1::ImportEntriesResponse ImportEntriesResponse}
3551
+ # message.
3552
+ #
3553
+ # @overload import_entries(request, options = nil)
3554
+ # Pass arguments to `import_entries` via a request object, either of type
3555
+ # {::Google::Cloud::DataCatalog::V1::ImportEntriesRequest} or an equivalent Hash.
3556
+ #
3557
+ # @param request [::Google::Cloud::DataCatalog::V1::ImportEntriesRequest, ::Hash]
3558
+ # A request object representing the call parameters. Required. To specify no
3559
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3560
+ # @param options [::Gapic::CallOptions, ::Hash]
3561
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3562
+ #
3563
+ # @overload import_entries(parent: nil, gcs_bucket_path: nil)
3564
+ # Pass arguments to `import_entries` via keyword arguments. Note that at
3565
+ # least one keyword argument is required. To specify no parameters, or to keep all
3566
+ # the default parameter values, pass an empty Hash as a request object (see above).
3567
+ #
3568
+ # @param parent [::String]
3569
+ # Required. Target entry group for ingested entries.
3570
+ # @param gcs_bucket_path [::String]
3571
+ # Path to a Cloud Storage bucket that contains a dump ready for ingestion.
3572
+ #
3573
+ # @yield [response, operation] Access the result along with the RPC operation
3574
+ # @yieldparam response [::Gapic::Operation]
3575
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3576
+ #
3577
+ # @return [::Gapic::Operation]
3578
+ #
3579
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3580
+ #
3581
+ # @example Basic example
3582
+ # require "google/cloud/data_catalog/v1"
3583
+ #
3584
+ # # Create a client object. The client can be reused for multiple calls.
3585
+ # client = Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
3586
+ #
3587
+ # # Create a request. To set request fields, pass in keyword arguments.
3588
+ # request = Google::Cloud::DataCatalog::V1::ImportEntriesRequest.new
3589
+ #
3590
+ # # Call the import_entries method.
3591
+ # result = client.import_entries request
3592
+ #
3593
+ # # The returned object is of type Gapic::Operation. You can use it to
3594
+ # # check the status of an operation, cancel it, or wait for results.
3595
+ # # Here is how to wait for a response.
3596
+ # result.wait_until_done! timeout: 60
3597
+ # if result.response?
3598
+ # p result.response
3599
+ # else
3600
+ # puts "No response received."
3601
+ # end
3602
+ #
3603
+ def import_entries request, options = nil
3604
+ raise ::ArgumentError, "request must be provided" if request.nil?
3605
+
3606
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ImportEntriesRequest
3607
+
3608
+ # Converts hash and nil to an options object
3609
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3610
+
3611
+ # Customize the options with defaults
3612
+ metadata = @config.rpcs.import_entries.metadata.to_h
3613
+
3614
+ # Set x-goog-api-client and x-goog-user-project headers
3615
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3616
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3617
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
3618
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3619
+
3620
+ header_params = {}
3621
+ if request.parent
3622
+ header_params["parent"] = request.parent
3623
+ end
3624
+
3625
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3626
+ metadata[:"x-goog-request-params"] ||= request_params_header
3627
+
3628
+ options.apply_defaults timeout: @config.rpcs.import_entries.timeout,
3629
+ metadata: metadata,
3630
+ retry_policy: @config.rpcs.import_entries.retry_policy
3631
+
3632
+ options.apply_defaults timeout: @config.timeout,
3633
+ metadata: @config.metadata,
3634
+ retry_policy: @config.retry_policy
3635
+
3636
+ @data_catalog_stub.call_rpc :import_entries, request, options: options do |response, operation|
3637
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3638
+ yield response, operation if block_given?
3639
+ return response
3640
+ end
3641
+ rescue ::GRPC::BadStatus => e
3642
+ raise ::Google::Cloud::Error.from_error(e)
3643
+ end
3644
+
3396
3645
  ##
3397
3646
  # Configuration class for the DataCatalog API.
3398
3647
  #
@@ -3431,9 +3680,9 @@ module Google
3431
3680
  # * (`String`) The path to a service account key file in JSON format
3432
3681
  # * (`Hash`) A service account key as a Hash
3433
3682
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3434
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
3683
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3435
3684
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3436
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
3685
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3437
3686
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3438
3687
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3439
3688
  # * (`nil`) indicating no credentials
@@ -3664,6 +3913,11 @@ module Google
3664
3913
  #
3665
3914
  attr_reader :list_tags
3666
3915
  ##
3916
+ # RPC-specific configuration for `reconcile_tags`
3917
+ # @return [::Gapic::Config::Method]
3918
+ #
3919
+ attr_reader :reconcile_tags
3920
+ ##
3667
3921
  # RPC-specific configuration for `star_entry`
3668
3922
  # @return [::Gapic::Config::Method]
3669
3923
  #
@@ -3688,6 +3942,11 @@ module Google
3688
3942
  # @return [::Gapic::Config::Method]
3689
3943
  #
3690
3944
  attr_reader :test_iam_permissions
3945
+ ##
3946
+ # RPC-specific configuration for `import_entries`
3947
+ # @return [::Gapic::Config::Method]
3948
+ #
3949
+ attr_reader :import_entries
3691
3950
 
3692
3951
  # @private
3693
3952
  def initialize parent_rpcs = nil
@@ -3745,6 +4004,8 @@ module Google
3745
4004
  @delete_tag = ::Gapic::Config::Method.new delete_tag_config
3746
4005
  list_tags_config = parent_rpcs.list_tags if parent_rpcs.respond_to? :list_tags
3747
4006
  @list_tags = ::Gapic::Config::Method.new list_tags_config
4007
+ reconcile_tags_config = parent_rpcs.reconcile_tags if parent_rpcs.respond_to? :reconcile_tags
4008
+ @reconcile_tags = ::Gapic::Config::Method.new reconcile_tags_config
3748
4009
  star_entry_config = parent_rpcs.star_entry if parent_rpcs.respond_to? :star_entry
3749
4010
  @star_entry = ::Gapic::Config::Method.new star_entry_config
3750
4011
  unstar_entry_config = parent_rpcs.unstar_entry if parent_rpcs.respond_to? :unstar_entry
@@ -3755,6 +4016,8 @@ module Google
3755
4016
  @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
3756
4017
  test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
3757
4018
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
4019
+ import_entries_config = parent_rpcs.import_entries if parent_rpcs.respond_to? :import_entries
4020
+ @import_entries = ::Gapic::Config::Method.new import_entries_config
3758
4021
 
3759
4022
  yield self if block_given?
3760
4023
  end