google-cloud-data_catalog-v1 0.7.3 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
  3. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +303 -291
  4. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +1 -1
  5. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +54 -45
  6. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +4 -3
  7. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +109 -22
  8. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  9. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +48 -0
  10. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +44 -0
  11. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +179 -142
  12. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +15 -14
  13. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +5 -0
  14. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +28 -14
  15. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +3 -0
  16. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +31 -0
  17. data/proto_docs/google/cloud/datacatalog/v1/bigquery.rb +87 -0
  18. data/proto_docs/google/cloud/datacatalog/v1/common.rb +1 -2
  19. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +6 -5
  20. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +370 -246
  21. data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +16 -15
  22. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +87 -71
  23. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +34 -19
  24. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +3 -3
  25. data/proto_docs/google/cloud/datacatalog/v1/search.rb +43 -29
  26. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +23 -16
  27. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +96 -51
  28. data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +12 -5
  29. data/proto_docs/google/cloud/datacatalog/v1/usage.rb +79 -0
  30. metadata +6 -2
@@ -31,7 +31,7 @@ module Google
31
31
  module DataCatalog
32
32
  module V1
33
33
  ##
34
- # Policy Tag Manager API service allows clients to manage their policy tags and
34
+ # Policy Tag Manager API service allows you to manage your policy tags and
35
35
  # taxonomies.
36
36
  #
37
37
  # Policy tags are used to tag BigQuery columns and apply additional access
@@ -27,7 +27,7 @@ module Google
27
27
  ##
28
28
  # Client for the PolicyTagManager service.
29
29
  #
30
- # Policy Tag Manager API service allows clients to manage their policy tags and
30
+ # Policy Tag Manager API service allows you to manage your policy tags and
31
31
  # taxonomies.
32
32
  #
33
33
  # Policy tags are used to tag BigQuery columns and apply additional access
@@ -158,8 +158,9 @@ module Google
158
158
  # Service calls
159
159
 
160
160
  ##
161
- # Creates a taxonomy in a specified project. The taxonomy is initially empty,
162
- # i.e., does not contain policy tags.
161
+ # Creates a taxonomy in a specified project.
162
+ #
163
+ # The taxonomy is initially empty, that is, it doesn't contain policy tags.
163
164
  #
164
165
  # @overload create_taxonomy(request, options = nil)
165
166
  # Pass arguments to `create_taxonomy` via a request object, either of type
@@ -179,7 +180,7 @@ module Google
179
180
  # @param parent [::String]
180
181
  # Required. Resource name of the project that the taxonomy will belong to.
181
182
  # @param taxonomy [::Google::Cloud::DataCatalog::V1::Taxonomy, ::Hash]
182
- # The taxonomy to be created.
183
+ # The taxonomy to create.
183
184
  #
184
185
  # @yield [response, operation] Access the result along with the RPC operation
185
186
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -227,7 +228,7 @@ module Google
227
228
  end
228
229
 
229
230
  ##
230
- # Deletes a taxonomy. This method will also delete all policy tags in this
231
+ # Deletes a taxonomy, including all policy tags in this
231
232
  # taxonomy, their associated policies, and the policy tags references from
232
233
  # BigQuery columns.
233
234
  #
@@ -247,8 +248,9 @@ module Google
247
248
  # the default parameter values, pass an empty Hash as a request object (see above).
248
249
  #
249
250
  # @param name [::String]
250
- # Required. Resource name of the taxonomy to be deleted. All policy tags in
251
- # this taxonomy will also be deleted.
251
+ # Required. Resource name of the taxonomy to delete.
252
+ #
253
+ # Note: All policy tags in this taxonomy are also deleted.
252
254
  #
253
255
  # @yield [response, operation] Access the result along with the RPC operation
254
256
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -296,7 +298,7 @@ module Google
296
298
  end
297
299
 
298
300
  ##
299
- # Updates a taxonomy. This method can update the taxonomy's display name,
301
+ # Updates a taxonomy, including its display name,
300
302
  # description, and activated policy types.
301
303
  #
302
304
  # @overload update_taxonomy(request, options = nil)
@@ -315,13 +317,14 @@ module Google
315
317
  # the default parameter values, pass an empty Hash as a request object (see above).
316
318
  #
317
319
  # @param taxonomy [::Google::Cloud::DataCatalog::V1::Taxonomy, ::Hash]
318
- # The taxonomy to update. Only description, display_name, and activated
319
- # policy types can be updated.
320
+ # The taxonomy to update. You can update only its description, display name,
321
+ # and activated policy types.
320
322
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
321
- # The update mask applies to the resource. For the `FieldMask` definition,
322
- # see
323
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
324
- # If not set, defaults to all of the fields that are allowed to update.
323
+ # Specifies fields to update. If not set, defaults to all fields you can
324
+ # update.
325
+ #
326
+ # For more information, see [FieldMask]
327
+ # (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
325
328
  #
326
329
  # @yield [response, operation] Access the result along with the RPC operation
327
330
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -369,8 +372,8 @@ module Google
369
372
  end
370
373
 
371
374
  ##
372
- # Lists all taxonomies in a project in a particular location that the caller
373
- # has permission to view.
375
+ # Lists all taxonomies in a project in a particular location that you
376
+ # have a permission to view.
374
377
  #
375
378
  # @overload list_taxonomies(request, options = nil)
376
379
  # Pass arguments to `list_taxonomies` via a request object, either of type
@@ -390,11 +393,13 @@ module Google
390
393
  # @param parent [::String]
391
394
  # Required. Resource name of the project to list the taxonomies of.
392
395
  # @param page_size [::Integer]
393
- # The maximum number of items to return. Must be a value between 1 and 1000.
394
- # If not set, defaults to 50.
396
+ # The maximum number of items to return. Must be a value between 1 and 1000
397
+ # inclusively. If not set, defaults to 50.
395
398
  # @param page_token [::String]
396
- # The next_page_token value returned from a previous list request, if any. If
397
- # not set, defaults to an empty string.
399
+ # The pagination token of the next results page. If not set,
400
+ # the first page is returned.
401
+ #
402
+ # The token is returned in the response to a previous list request.
398
403
  #
399
404
  # @yield [response, operation] Access the result along with the RPC operation
400
405
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
@@ -461,7 +466,7 @@ module Google
461
466
  # the default parameter values, pass an empty Hash as a request object (see above).
462
467
  #
463
468
  # @param name [::String]
464
- # Required. Resource name of the requested taxonomy.
469
+ # Required. Resource name of the taxonomy to get.
465
470
  #
466
471
  # @yield [response, operation] Access the result along with the RPC operation
467
472
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
@@ -527,9 +532,10 @@ module Google
527
532
  # the default parameter values, pass an empty Hash as a request object (see above).
528
533
  #
529
534
  # @param parent [::String]
530
- # Required. Resource name of the taxonomy that the policy tag will belong to.
535
+ # Required. Resource name of the taxonomy that the policy tag will belong to.<br /><br
536
+ # />
531
537
  # @param policy_tag [::Google::Cloud::DataCatalog::V1::PolicyTag, ::Hash]
532
- # The policy tag to be created.
538
+ # The policy tag to create.
533
539
  #
534
540
  # @yield [response, operation] Access the result along with the RPC operation
535
541
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -577,12 +583,12 @@ module Google
577
583
  end
578
584
 
579
585
  ##
580
- # Deletes a policy tag. This method also deletes:
586
+ # Deletes a policy tag together with the following:
581
587
  #
582
- # * all of its descendant policy tags, if any
583
- # * the policies associated with the policy tag and its descendants
584
- # * references from BigQuery table schema of the policy tag and its
585
- # descendants.
588
+ # * All of its descendant policy tags, if any
589
+ # * Policies associated with the policy tag and its descendants
590
+ # * References from BigQuery table schema of the policy tag and its
591
+ # descendants
586
592
  #
587
593
  # @overload delete_policy_tag(request, options = nil)
588
594
  # Pass arguments to `delete_policy_tag` via a request object, either of type
@@ -600,8 +606,9 @@ module Google
600
606
  # the default parameter values, pass an empty Hash as a request object (see above).
601
607
  #
602
608
  # @param name [::String]
603
- # Required. Resource name of the policy tag to be deleted. All of its descendant
604
- # policy tags will also be deleted.
609
+ # Required. Resource name of the policy tag to delete.
610
+ #
611
+ # Note: All of its descendant policy tags are also deleted.
605
612
  #
606
613
  # @yield [response, operation] Access the result along with the RPC operation
607
614
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -649,7 +656,7 @@ module Google
649
656
  end
650
657
 
651
658
  ##
652
- # Updates a policy tag. This method can update the policy tag's display
659
+ # Updates a policy tag, including its display
653
660
  # name, description, and parent policy tag.
654
661
  #
655
662
  # @overload update_policy_tag(request, options = nil)
@@ -668,16 +675,15 @@ module Google
668
675
  # the default parameter values, pass an empty Hash as a request object (see above).
669
676
  #
670
677
  # @param policy_tag [::Google::Cloud::DataCatalog::V1::PolicyTag, ::Hash]
671
- # The policy tag to update. Only the description, display_name, and
672
- # parent_policy_tag fields can be updated.
678
+ # The policy tag to update. You can update only its description, display
679
+ # name, and parent policy tag fields.
673
680
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
674
- # The update mask applies to the resource. Only display_name, description and
675
- # parent_policy_tag can be updated and thus can be listed in the mask. If
676
- # update_mask is not provided, all allowed fields (i.e. display_name,
677
- # description and parent) will be updated. For more information including the
678
- # `FieldMask` definition, see
679
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
680
- # If not set, defaults to all of the fields that are allowed to update.
681
+ # Specifies the fields to update.
682
+ #
683
+ # You can update only display name, description, and parent policy tag.
684
+ # If not set, defaults to all updatable fields.
685
+ # For more information, see [FieldMask]
686
+ # (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
681
687
  #
682
688
  # @yield [response, operation] Access the result along with the RPC operation
683
689
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -745,11 +751,14 @@ module Google
745
751
  # @param parent [::String]
746
752
  # Required. Resource name of the taxonomy to list the policy tags of.
747
753
  # @param page_size [::Integer]
748
- # The maximum number of items to return. Must be a value between 1 and 1000.
754
+ # The maximum number of items to return. Must be a value between 1 and 1000
755
+ # inclusively.
749
756
  # If not set, defaults to 50.
750
757
  # @param page_token [::String]
751
- # The next_page_token value returned from a previous List request, if any. If
752
- # not set, defaults to an empty string.
758
+ # The pagination token of the next results page. If not set, returns the
759
+ # first page.
760
+ #
761
+ # The token is returned in the response to a previous list request.
753
762
  #
754
763
  # @yield [response, operation] Access the result along with the RPC operation
755
764
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::PolicyTag>]
@@ -816,7 +825,7 @@ module Google
816
825
  # the default parameter values, pass an empty Hash as a request object (see above).
817
826
  #
818
827
  # @param name [::String]
819
- # Required. Resource name of the requested policy tag.
828
+ # Required. Resource name of the policy tag.
820
829
  #
821
830
  # @yield [response, operation] Access the result along with the RPC operation
822
831
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::PolicyTag]
@@ -1006,7 +1015,7 @@ module Google
1006
1015
  end
1007
1016
 
1008
1017
  ##
1009
- # Returns the permissions that a caller has on a specified policy tag or
1018
+ # Returns your permissions on a specified policy tag or
1010
1019
  # taxonomy.
1011
1020
  #
1012
1021
  # @overload test_iam_permissions(request, options = nil)
@@ -31,9 +31,10 @@ module Google
31
31
  module DataCatalog
32
32
  module V1
33
33
  ##
34
- # Policy Tag Manager serialization API service allows clients to manipulate
35
- # their policy tags and taxonomies in serialized format, where taxonomy is a
36
- # hierarchical group of policy tags.
34
+ # Policy Tag Manager Serialization API service allows you to manipulate
35
+ # your policy tags and taxonomies in a serialized format.
36
+ #
37
+ # Taxonomy is a hierarchical group of policy tags.
37
38
  #
38
39
  # To load this service and instantiate a client:
39
40
  #
@@ -27,9 +27,10 @@ module Google
27
27
  ##
28
28
  # Client for the PolicyTagManagerSerialization service.
29
29
  #
30
- # Policy Tag Manager serialization API service allows clients to manipulate
31
- # their policy tags and taxonomies in serialized format, where taxonomy is a
32
- # hierarchical group of policy tags.
30
+ # Policy Tag Manager Serialization API service allows you to manipulate
31
+ # your policy tags and taxonomies in a serialized format.
32
+ #
33
+ # Taxonomy is a hierarchical group of policy tags.
33
34
  #
34
35
  class Client
35
36
  include Paths
@@ -155,15 +156,94 @@ module Google
155
156
  # Service calls
156
157
 
157
158
  ##
158
- # Creates new taxonomies (including their policy tags) by importing from
159
- # inlined source or cross-regional source. New taxonomies will be created in
160
- # a given parent project.
159
+ # Replaces (updates) a taxonomy and all its policy tags.
160
+ #
161
+ # The taxonomy and its entire hierarchy of policy tags must be
162
+ # represented literally by `SerializedTaxonomy` and the nested
163
+ # `SerializedPolicyTag` messages.
164
+ #
165
+ # This operation automatically does the following:
166
+ #
167
+ # - Deletes the existing policy tags that are missing from the
168
+ # `SerializedPolicyTag`.
169
+ # - Creates policy tags that don't have resource names. They are considered
170
+ # new.
171
+ # - Updates policy tags with valid resources names accordingly.
172
+ #
173
+ # @overload replace_taxonomy(request, options = nil)
174
+ # Pass arguments to `replace_taxonomy` via a request object, either of type
175
+ # {::Google::Cloud::DataCatalog::V1::ReplaceTaxonomyRequest} or an equivalent Hash.
176
+ #
177
+ # @param request [::Google::Cloud::DataCatalog::V1::ReplaceTaxonomyRequest, ::Hash]
178
+ # A request object representing the call parameters. Required. To specify no
179
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
180
+ # @param options [::Gapic::CallOptions, ::Hash]
181
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
182
+ #
183
+ # @overload replace_taxonomy(name: nil, serialized_taxonomy: nil)
184
+ # Pass arguments to `replace_taxonomy` via keyword arguments. Note that at
185
+ # least one keyword argument is required. To specify no parameters, or to keep all
186
+ # the default parameter values, pass an empty Hash as a request object (see above).
187
+ #
188
+ # @param name [::String]
189
+ # Required. Resource name of the taxonomy to update.
190
+ # @param serialized_taxonomy [::Google::Cloud::DataCatalog::V1::SerializedTaxonomy, ::Hash]
191
+ # Required. Taxonomy to update along with its child policy tags.
161
192
  #
162
- # If using the cross-regional source, a new taxonomy is created by copying
193
+ # @yield [response, operation] Access the result along with the RPC operation
194
+ # @yieldparam response [::Google::Cloud::DataCatalog::V1::Taxonomy]
195
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
196
+ #
197
+ # @return [::Google::Cloud::DataCatalog::V1::Taxonomy]
198
+ #
199
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
200
+ #
201
+ def replace_taxonomy request, options = nil
202
+ raise ::ArgumentError, "request must be provided" if request.nil?
203
+
204
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::V1::ReplaceTaxonomyRequest
205
+
206
+ # Converts hash and nil to an options object
207
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
208
+
209
+ # Customize the options with defaults
210
+ metadata = @config.rpcs.replace_taxonomy.metadata.to_h
211
+
212
+ # Set x-goog-api-client and x-goog-user-project headers
213
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
214
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
215
+ gapic_version: ::Google::Cloud::DataCatalog::V1::VERSION
216
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
217
+
218
+ header_params = {
219
+ "name" => request.name
220
+ }
221
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
222
+ metadata[:"x-goog-request-params"] ||= request_params_header
223
+
224
+ options.apply_defaults timeout: @config.rpcs.replace_taxonomy.timeout,
225
+ metadata: metadata,
226
+ retry_policy: @config.rpcs.replace_taxonomy.retry_policy
227
+ options.apply_defaults metadata: @config.metadata,
228
+ retry_policy: @config.retry_policy
229
+
230
+ @policy_tag_manager_serialization_stub.call_rpc :replace_taxonomy, request, options: options do |response, operation|
231
+ yield response, operation if block_given?
232
+ return response
233
+ end
234
+ rescue ::GRPC::BadStatus => e
235
+ raise ::Google::Cloud::Error.from_error(e)
236
+ end
237
+
238
+ ##
239
+ # Creates new taxonomies (including their policy tags) in a given project
240
+ # by importing from inlined or cross-regional sources.
241
+ #
242
+ # For a cross-regional source, new taxonomies are created by copying
163
243
  # from a source in another region.
164
244
  #
165
- # If using the inlined source, this method provides a way to bulk create
166
- # taxonomies and policy tags using nested proto structure.
245
+ # For an inlined source, taxonomies and policy tags are created in bulk using
246
+ # nested protocol buffer structures.
167
247
  #
168
248
  # @overload import_taxonomies(request, options = nil)
169
249
  # Pass arguments to `import_taxonomies` via a request object, either of type
@@ -183,9 +263,9 @@ module Google
183
263
  # @param parent [::String]
184
264
  # Required. Resource name of project that the imported taxonomies will belong to.
185
265
  # @param inline_source [::Google::Cloud::DataCatalog::V1::InlineSource, ::Hash]
186
- # Inline source used for taxonomies import.
266
+ # Inline source taxonomy to import.
187
267
  # @param cross_regional_source [::Google::Cloud::DataCatalog::V1::CrossRegionalSource, ::Hash]
188
- # Cross-regional source taxonomy to be imported.
268
+ # Cross-regional source taxonomy to import.
189
269
  #
190
270
  # @yield [response, operation] Access the result along with the RPC operation
191
271
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::ImportTaxonomiesResponse]
@@ -233,12 +313,12 @@ module Google
233
313
  end
234
314
 
235
315
  ##
236
- # Exports taxonomies as the requested type and returns the taxonomies
237
- # including their policy tags. The requested taxonomies must belong to one
238
- # project.
316
+ # Exports taxonomies in the requested type and returns them,
317
+ # including their policy tags. The requested taxonomies must belong to the
318
+ # same project.
239
319
  #
240
- # SerializedTaxonomy protos with nested policy tags that are generated by
241
- # this method can be used as input for future ImportTaxonomies calls.
320
+ # This method generates `SerializedTaxonomy` protocol buffers with nested
321
+ # policy tags that can be used as input for `ImportTaxonomies` calls.
242
322
  #
243
323
  # @overload export_taxonomies(request, options = nil)
244
324
  # Pass arguments to `export_taxonomies` via a request object, either of type
@@ -258,10 +338,10 @@ module Google
258
338
  # @param parent [::String]
259
339
  # Required. Resource name of the project that the exported taxonomies belong to.
260
340
  # @param taxonomies [::Array<::String>]
261
- # Required. Resource names of the taxonomies to be exported.
341
+ # Required. Resource names of the taxonomies to export.
262
342
  # @param serialized_taxonomies [::Boolean]
263
- # Export taxonomies as serialized taxonomies, which contain all the policy
264
- # tags as nested protos.
343
+ # Serialized export taxonomies that contain all the policy
344
+ # tags as nested protocol buffers.
265
345
  #
266
346
  # @yield [response, operation] Access the result along with the RPC operation
267
347
  # @yieldparam response [::Google::Cloud::DataCatalog::V1::ExportTaxonomiesResponse]
@@ -323,19 +403,19 @@ module Google
323
403
  #
324
404
  # # Examples
325
405
  #
326
- # To modify the global config, setting the timeout for import_taxonomies
406
+ # To modify the global config, setting the timeout for replace_taxonomy
327
407
  # to 20 seconds, and all remaining timeouts to 10 seconds:
328
408
  #
329
409
  # ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.configure do |config|
330
410
  # config.timeout = 10.0
331
- # config.rpcs.import_taxonomies.timeout = 20.0
411
+ # config.rpcs.replace_taxonomy.timeout = 20.0
332
412
  # end
333
413
  #
334
414
  # To apply the above configuration only to a new client:
335
415
  #
336
416
  # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new do |config|
337
417
  # config.timeout = 10.0
338
- # config.rpcs.import_taxonomies.timeout = 20.0
418
+ # config.rpcs.replace_taxonomy.timeout = 20.0
339
419
  # end
340
420
  #
341
421
  # @!attribute [rw] endpoint
@@ -444,6 +524,11 @@ module Google
444
524
  # trigger a retry.
445
525
  #
446
526
  class Rpcs
527
+ ##
528
+ # RPC-specific configuration for `replace_taxonomy`
529
+ # @return [::Gapic::Config::Method]
530
+ #
531
+ attr_reader :replace_taxonomy
447
532
  ##
448
533
  # RPC-specific configuration for `import_taxonomies`
449
534
  # @return [::Gapic::Config::Method]
@@ -457,6 +542,8 @@ module Google
457
542
 
458
543
  # @private
459
544
  def initialize parent_rpcs = nil
545
+ replace_taxonomy_config = parent_rpcs.replace_taxonomy if parent_rpcs.respond_to? :replace_taxonomy
546
+ @replace_taxonomy = ::Gapic::Config::Method.new replace_taxonomy_config
460
547
  import_taxonomies_config = parent_rpcs.import_taxonomies if parent_rpcs.respond_to? :import_taxonomies
461
548
  @import_taxonomies = ::Gapic::Config::Method.new import_taxonomies_config
462
549
  export_taxonomies_config = parent_rpcs.export_taxonomies if parent_rpcs.respond_to? :export_taxonomies
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- VERSION = "0.7.3"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end