google-cloud-dataplex-v1 0.10.1 → 0.11.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/lib/google/cloud/dataplex/v1/content_service/client.rb +10 -1
- data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +132 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +10 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +10 -1
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +157 -0
- data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +75 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +10 -1
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +10 -1
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +315 -0
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +75 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +10 -1
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +10 -1
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +673 -0
- data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +75 -0
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +10 -1
- data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +152 -0
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
| @@ -220,6 +220,29 @@ module Google | |
| 220 220 | 
             
                          # @return [::Gapic::Operation]
         | 
| 221 221 | 
             
                          #
         | 
| 222 222 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 223 | 
            +
                          #
         | 
| 224 | 
            +
                          # @example Basic example
         | 
| 225 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 226 | 
            +
                          #
         | 
| 227 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 228 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 229 | 
            +
                          #
         | 
| 230 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 231 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::CreateDataTaxonomyRequest.new
         | 
| 232 | 
            +
                          #
         | 
| 233 | 
            +
                          #   # Call the create_data_taxonomy method.
         | 
| 234 | 
            +
                          #   result = client.create_data_taxonomy request
         | 
| 235 | 
            +
                          #
         | 
| 236 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 237 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 238 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 239 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 240 | 
            +
                          #   if result.response?
         | 
| 241 | 
            +
                          #     p result.response
         | 
| 242 | 
            +
                          #   else
         | 
| 243 | 
            +
                          #     puts "No response received."
         | 
| 244 | 
            +
                          #   end
         | 
| 245 | 
            +
                          #
         | 
| 223 246 | 
             
                          def create_data_taxonomy request, options = nil
         | 
| 224 247 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 225 248 |  | 
| @@ -288,6 +311,29 @@ module Google | |
| 288 311 | 
             
                          # @return [::Gapic::Operation]
         | 
| 289 312 | 
             
                          #
         | 
| 290 313 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 314 | 
            +
                          #
         | 
| 315 | 
            +
                          # @example Basic example
         | 
| 316 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 317 | 
            +
                          #
         | 
| 318 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 319 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 320 | 
            +
                          #
         | 
| 321 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 322 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::UpdateDataTaxonomyRequest.new
         | 
| 323 | 
            +
                          #
         | 
| 324 | 
            +
                          #   # Call the update_data_taxonomy method.
         | 
| 325 | 
            +
                          #   result = client.update_data_taxonomy request
         | 
| 326 | 
            +
                          #
         | 
| 327 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 328 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 329 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 330 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 331 | 
            +
                          #   if result.response?
         | 
| 332 | 
            +
                          #     p result.response
         | 
| 333 | 
            +
                          #   else
         | 
| 334 | 
            +
                          #     puts "No response received."
         | 
| 335 | 
            +
                          #   end
         | 
| 336 | 
            +
                          #
         | 
| 291 337 | 
             
                          def update_data_taxonomy request, options = nil
         | 
| 292 338 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 293 339 |  | 
| @@ -356,6 +402,29 @@ module Google | |
| 356 402 | 
             
                          # @return [::Gapic::Operation]
         | 
| 357 403 | 
             
                          #
         | 
| 358 404 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 405 | 
            +
                          #
         | 
| 406 | 
            +
                          # @example Basic example
         | 
| 407 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 408 | 
            +
                          #
         | 
| 409 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 410 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 411 | 
            +
                          #
         | 
| 412 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 413 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::DeleteDataTaxonomyRequest.new
         | 
| 414 | 
            +
                          #
         | 
| 415 | 
            +
                          #   # Call the delete_data_taxonomy method.
         | 
| 416 | 
            +
                          #   result = client.delete_data_taxonomy request
         | 
| 417 | 
            +
                          #
         | 
| 418 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 419 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 420 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 421 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 422 | 
            +
                          #   if result.response?
         | 
| 423 | 
            +
                          #     p result.response
         | 
| 424 | 
            +
                          #   else
         | 
| 425 | 
            +
                          #     puts "No response received."
         | 
| 426 | 
            +
                          #   end
         | 
| 427 | 
            +
                          #
         | 
| 359 428 | 
             
                          def delete_data_taxonomy request, options = nil
         | 
| 360 429 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 361 430 |  | 
| @@ -435,6 +504,26 @@ module Google | |
| 435 504 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::ListDataTaxonomiesResponse]
         | 
| 436 505 | 
             
                          #
         | 
| 437 506 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 507 | 
            +
                          #
         | 
| 508 | 
            +
                          # @example Basic example
         | 
| 509 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 510 | 
            +
                          #
         | 
| 511 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 512 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 513 | 
            +
                          #
         | 
| 514 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 515 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::ListDataTaxonomiesRequest.new
         | 
| 516 | 
            +
                          #
         | 
| 517 | 
            +
                          #   # Call the list_data_taxonomies method.
         | 
| 518 | 
            +
                          #   result = client.list_data_taxonomies request
         | 
| 519 | 
            +
                          #
         | 
| 520 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 521 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 522 | 
            +
                          #   result.each do |item|
         | 
| 523 | 
            +
                          #     # Each element is of type ::Google::Cloud::Dataplex::V1::DataTaxonomy.
         | 
| 524 | 
            +
                          #     p item
         | 
| 525 | 
            +
                          #   end
         | 
| 526 | 
            +
                          #
         | 
| 438 527 | 
             
                          def list_data_taxonomies request, options = nil
         | 
| 439 528 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 440 529 |  | 
| @@ -498,6 +587,22 @@ module Google | |
| 498 587 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::DataTaxonomy]
         | 
| 499 588 | 
             
                          #
         | 
| 500 589 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 590 | 
            +
                          #
         | 
| 591 | 
            +
                          # @example Basic example
         | 
| 592 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 593 | 
            +
                          #
         | 
| 594 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 595 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 596 | 
            +
                          #
         | 
| 597 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 598 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::GetDataTaxonomyRequest.new
         | 
| 599 | 
            +
                          #
         | 
| 600 | 
            +
                          #   # Call the get_data_taxonomy method.
         | 
| 601 | 
            +
                          #   result = client.get_data_taxonomy request
         | 
| 602 | 
            +
                          #
         | 
| 603 | 
            +
                          #   # The returned object is of type Google::Cloud::Dataplex::V1::DataTaxonomy.
         | 
| 604 | 
            +
                          #   p result
         | 
| 605 | 
            +
                          #
         | 
| 501 606 | 
             
                          def get_data_taxonomy request, options = nil
         | 
| 502 607 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 503 608 |  | 
| @@ -573,6 +678,29 @@ module Google | |
| 573 678 | 
             
                          # @return [::Gapic::Operation]
         | 
| 574 679 | 
             
                          #
         | 
| 575 680 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 681 | 
            +
                          #
         | 
| 682 | 
            +
                          # @example Basic example
         | 
| 683 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 684 | 
            +
                          #
         | 
| 685 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 686 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 687 | 
            +
                          #
         | 
| 688 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 689 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::CreateDataAttributeBindingRequest.new
         | 
| 690 | 
            +
                          #
         | 
| 691 | 
            +
                          #   # Call the create_data_attribute_binding method.
         | 
| 692 | 
            +
                          #   result = client.create_data_attribute_binding request
         | 
| 693 | 
            +
                          #
         | 
| 694 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 695 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 696 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 697 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 698 | 
            +
                          #   if result.response?
         | 
| 699 | 
            +
                          #     p result.response
         | 
| 700 | 
            +
                          #   else
         | 
| 701 | 
            +
                          #     puts "No response received."
         | 
| 702 | 
            +
                          #   end
         | 
| 703 | 
            +
                          #
         | 
| 576 704 | 
             
                          def create_data_attribute_binding request, options = nil
         | 
| 577 705 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 578 706 |  | 
| @@ -641,6 +769,29 @@ module Google | |
| 641 769 | 
             
                          # @return [::Gapic::Operation]
         | 
| 642 770 | 
             
                          #
         | 
| 643 771 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 772 | 
            +
                          #
         | 
| 773 | 
            +
                          # @example Basic example
         | 
| 774 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 775 | 
            +
                          #
         | 
| 776 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 777 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 778 | 
            +
                          #
         | 
| 779 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 780 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::UpdateDataAttributeBindingRequest.new
         | 
| 781 | 
            +
                          #
         | 
| 782 | 
            +
                          #   # Call the update_data_attribute_binding method.
         | 
| 783 | 
            +
                          #   result = client.update_data_attribute_binding request
         | 
| 784 | 
            +
                          #
         | 
| 785 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 786 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 787 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 788 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 789 | 
            +
                          #   if result.response?
         | 
| 790 | 
            +
                          #     p result.response
         | 
| 791 | 
            +
                          #   else
         | 
| 792 | 
            +
                          #     puts "No response received."
         | 
| 793 | 
            +
                          #   end
         | 
| 794 | 
            +
                          #
         | 
| 644 795 | 
             
                          def update_data_attribute_binding request, options = nil
         | 
| 645 796 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 646 797 |  | 
| @@ -712,6 +863,29 @@ module Google | |
| 712 863 | 
             
                          # @return [::Gapic::Operation]
         | 
| 713 864 | 
             
                          #
         | 
| 714 865 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 866 | 
            +
                          #
         | 
| 867 | 
            +
                          # @example Basic example
         | 
| 868 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 869 | 
            +
                          #
         | 
| 870 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 871 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 872 | 
            +
                          #
         | 
| 873 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 874 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::DeleteDataAttributeBindingRequest.new
         | 
| 875 | 
            +
                          #
         | 
| 876 | 
            +
                          #   # Call the delete_data_attribute_binding method.
         | 
| 877 | 
            +
                          #   result = client.delete_data_attribute_binding request
         | 
| 878 | 
            +
                          #
         | 
| 879 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 880 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 881 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 882 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 883 | 
            +
                          #   if result.response?
         | 
| 884 | 
            +
                          #     p result.response
         | 
| 885 | 
            +
                          #   else
         | 
| 886 | 
            +
                          #     puts "No response received."
         | 
| 887 | 
            +
                          #   end
         | 
| 888 | 
            +
                          #
         | 
| 715 889 | 
             
                          def delete_data_attribute_binding request, options = nil
         | 
| 716 890 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 717 891 |  | 
| @@ -794,6 +968,26 @@ module Google | |
| 794 968 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::ListDataAttributeBindingsResponse]
         | 
| 795 969 | 
             
                          #
         | 
| 796 970 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 971 | 
            +
                          #
         | 
| 972 | 
            +
                          # @example Basic example
         | 
| 973 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 974 | 
            +
                          #
         | 
| 975 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 976 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 977 | 
            +
                          #
         | 
| 978 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 979 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::ListDataAttributeBindingsRequest.new
         | 
| 980 | 
            +
                          #
         | 
| 981 | 
            +
                          #   # Call the list_data_attribute_bindings method.
         | 
| 982 | 
            +
                          #   result = client.list_data_attribute_bindings request
         | 
| 983 | 
            +
                          #
         | 
| 984 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 985 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 986 | 
            +
                          #   result.each do |item|
         | 
| 987 | 
            +
                          #     # Each element is of type ::Google::Cloud::Dataplex::V1::DataAttributeBinding.
         | 
| 988 | 
            +
                          #     p item
         | 
| 989 | 
            +
                          #   end
         | 
| 990 | 
            +
                          #
         | 
| 797 991 | 
             
                          def list_data_attribute_bindings request, options = nil
         | 
| 798 992 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 799 993 |  | 
| @@ -857,6 +1051,22 @@ module Google | |
| 857 1051 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::DataAttributeBinding]
         | 
| 858 1052 | 
             
                          #
         | 
| 859 1053 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1054 | 
            +
                          #
         | 
| 1055 | 
            +
                          # @example Basic example
         | 
| 1056 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1057 | 
            +
                          #
         | 
| 1058 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1059 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1060 | 
            +
                          #
         | 
| 1061 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1062 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::GetDataAttributeBindingRequest.new
         | 
| 1063 | 
            +
                          #
         | 
| 1064 | 
            +
                          #   # Call the get_data_attribute_binding method.
         | 
| 1065 | 
            +
                          #   result = client.get_data_attribute_binding request
         | 
| 1066 | 
            +
                          #
         | 
| 1067 | 
            +
                          #   # The returned object is of type Google::Cloud::Dataplex::V1::DataAttributeBinding.
         | 
| 1068 | 
            +
                          #   p result
         | 
| 1069 | 
            +
                          #
         | 
| 860 1070 | 
             
                          def get_data_attribute_binding request, options = nil
         | 
| 861 1071 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 862 1072 |  | 
| @@ -932,6 +1142,29 @@ module Google | |
| 932 1142 | 
             
                          # @return [::Gapic::Operation]
         | 
| 933 1143 | 
             
                          #
         | 
| 934 1144 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1145 | 
            +
                          #
         | 
| 1146 | 
            +
                          # @example Basic example
         | 
| 1147 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1148 | 
            +
                          #
         | 
| 1149 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1150 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1151 | 
            +
                          #
         | 
| 1152 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1153 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::CreateDataAttributeRequest.new
         | 
| 1154 | 
            +
                          #
         | 
| 1155 | 
            +
                          #   # Call the create_data_attribute method.
         | 
| 1156 | 
            +
                          #   result = client.create_data_attribute request
         | 
| 1157 | 
            +
                          #
         | 
| 1158 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1159 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1160 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 1161 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 1162 | 
            +
                          #   if result.response?
         | 
| 1163 | 
            +
                          #     p result.response
         | 
| 1164 | 
            +
                          #   else
         | 
| 1165 | 
            +
                          #     puts "No response received."
         | 
| 1166 | 
            +
                          #   end
         | 
| 1167 | 
            +
                          #
         | 
| 935 1168 | 
             
                          def create_data_attribute request, options = nil
         | 
| 936 1169 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 937 1170 |  | 
| @@ -1000,6 +1233,29 @@ module Google | |
| 1000 1233 | 
             
                          # @return [::Gapic::Operation]
         | 
| 1001 1234 | 
             
                          #
         | 
| 1002 1235 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1236 | 
            +
                          #
         | 
| 1237 | 
            +
                          # @example Basic example
         | 
| 1238 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1239 | 
            +
                          #
         | 
| 1240 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1241 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1242 | 
            +
                          #
         | 
| 1243 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1244 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::UpdateDataAttributeRequest.new
         | 
| 1245 | 
            +
                          #
         | 
| 1246 | 
            +
                          #   # Call the update_data_attribute method.
         | 
| 1247 | 
            +
                          #   result = client.update_data_attribute request
         | 
| 1248 | 
            +
                          #
         | 
| 1249 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1250 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1251 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 1252 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 1253 | 
            +
                          #   if result.response?
         | 
| 1254 | 
            +
                          #     p result.response
         | 
| 1255 | 
            +
                          #   else
         | 
| 1256 | 
            +
                          #     puts "No response received."
         | 
| 1257 | 
            +
                          #   end
         | 
| 1258 | 
            +
                          #
         | 
| 1003 1259 | 
             
                          def update_data_attribute request, options = nil
         | 
| 1004 1260 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1005 1261 |  | 
| @@ -1067,6 +1323,29 @@ module Google | |
| 1067 1323 | 
             
                          # @return [::Gapic::Operation]
         | 
| 1068 1324 | 
             
                          #
         | 
| 1069 1325 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1326 | 
            +
                          #
         | 
| 1327 | 
            +
                          # @example Basic example
         | 
| 1328 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1329 | 
            +
                          #
         | 
| 1330 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1331 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1332 | 
            +
                          #
         | 
| 1333 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1334 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::DeleteDataAttributeRequest.new
         | 
| 1335 | 
            +
                          #
         | 
| 1336 | 
            +
                          #   # Call the delete_data_attribute method.
         | 
| 1337 | 
            +
                          #   result = client.delete_data_attribute request
         | 
| 1338 | 
            +
                          #
         | 
| 1339 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 1340 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 1341 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 1342 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 1343 | 
            +
                          #   if result.response?
         | 
| 1344 | 
            +
                          #     p result.response
         | 
| 1345 | 
            +
                          #   else
         | 
| 1346 | 
            +
                          #     puts "No response received."
         | 
| 1347 | 
            +
                          #   end
         | 
| 1348 | 
            +
                          #
         | 
| 1070 1349 | 
             
                          def delete_data_attribute request, options = nil
         | 
| 1071 1350 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1072 1351 |  | 
| @@ -1145,6 +1424,26 @@ module Google | |
| 1145 1424 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::ListDataAttributesResponse]
         | 
| 1146 1425 | 
             
                          #
         | 
| 1147 1426 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1427 | 
            +
                          #
         | 
| 1428 | 
            +
                          # @example Basic example
         | 
| 1429 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1430 | 
            +
                          #
         | 
| 1431 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1432 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1433 | 
            +
                          #
         | 
| 1434 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1435 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::ListDataAttributesRequest.new
         | 
| 1436 | 
            +
                          #
         | 
| 1437 | 
            +
                          #   # Call the list_data_attributes method.
         | 
| 1438 | 
            +
                          #   result = client.list_data_attributes request
         | 
| 1439 | 
            +
                          #
         | 
| 1440 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 1441 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 1442 | 
            +
                          #   result.each do |item|
         | 
| 1443 | 
            +
                          #     # Each element is of type ::Google::Cloud::Dataplex::V1::DataAttribute.
         | 
| 1444 | 
            +
                          #     p item
         | 
| 1445 | 
            +
                          #   end
         | 
| 1446 | 
            +
                          #
         | 
| 1148 1447 | 
             
                          def list_data_attributes request, options = nil
         | 
| 1149 1448 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1150 1449 |  | 
| @@ -1208,6 +1507,22 @@ module Google | |
| 1208 1507 | 
             
                          # @return [::Google::Cloud::Dataplex::V1::DataAttribute]
         | 
| 1209 1508 | 
             
                          #
         | 
| 1210 1509 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 1510 | 
            +
                          #
         | 
| 1511 | 
            +
                          # @example Basic example
         | 
| 1512 | 
            +
                          #   require "google/cloud/dataplex/v1"
         | 
| 1513 | 
            +
                          #
         | 
| 1514 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 1515 | 
            +
                          #   client = Google::Cloud::Dataplex::V1::DataTaxonomyService::Rest::Client.new
         | 
| 1516 | 
            +
                          #
         | 
| 1517 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 1518 | 
            +
                          #   request = Google::Cloud::Dataplex::V1::GetDataAttributeRequest.new
         | 
| 1519 | 
            +
                          #
         | 
| 1520 | 
            +
                          #   # Call the get_data_attribute method.
         | 
| 1521 | 
            +
                          #   result = client.get_data_attribute request
         | 
| 1522 | 
            +
                          #
         | 
| 1523 | 
            +
                          #   # The returned object is of type Google::Cloud::Dataplex::V1::DataAttribute.
         | 
| 1524 | 
            +
                          #   p result
         | 
| 1525 | 
            +
                          #
         | 
| 1211 1526 | 
             
                          def get_data_attribute request, options = nil
         | 
| 1212 1527 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 1213 1528 |  | 
| @@ -136,6 +136,26 @@ module Google | |
| 136 136 | 
             
                          # @return [::Gapic::Operation]
         | 
| 137 137 | 
             
                          #
         | 
| 138 138 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 139 | 
            +
                          #
         | 
| 140 | 
            +
                          # @example Basic example
         | 
| 141 | 
            +
                          #   require "google/longrunning"
         | 
| 142 | 
            +
                          #
         | 
| 143 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 144 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 145 | 
            +
                          #
         | 
| 146 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 147 | 
            +
                          #   request = Google::Longrunning::ListOperationsRequest.new
         | 
| 148 | 
            +
                          #
         | 
| 149 | 
            +
                          #   # Call the list_operations method.
         | 
| 150 | 
            +
                          #   result = client.list_operations request
         | 
| 151 | 
            +
                          #
         | 
| 152 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 153 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 154 | 
            +
                          #   result.each do |item|
         | 
| 155 | 
            +
                          #     # Each element is of type ::Google::Longrunning::Operation.
         | 
| 156 | 
            +
                          #     p item
         | 
| 157 | 
            +
                          #   end
         | 
| 158 | 
            +
                          #
         | 
| 139 159 | 
             
                          def list_operations request, options = nil
         | 
| 140 160 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 141 161 |  | 
| @@ -201,6 +221,29 @@ module Google | |
| 201 221 | 
             
                          # @return [::Gapic::Operation]
         | 
| 202 222 | 
             
                          #
         | 
| 203 223 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 224 | 
            +
                          #
         | 
| 225 | 
            +
                          # @example Basic example
         | 
| 226 | 
            +
                          #   require "google/longrunning"
         | 
| 227 | 
            +
                          #
         | 
| 228 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 229 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 230 | 
            +
                          #
         | 
| 231 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 232 | 
            +
                          #   request = Google::Longrunning::GetOperationRequest.new
         | 
| 233 | 
            +
                          #
         | 
| 234 | 
            +
                          #   # Call the get_operation method.
         | 
| 235 | 
            +
                          #   result = client.get_operation request
         | 
| 236 | 
            +
                          #
         | 
| 237 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 238 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 239 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 240 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 241 | 
            +
                          #   if result.response?
         | 
| 242 | 
            +
                          #     p result.response
         | 
| 243 | 
            +
                          #   else
         | 
| 244 | 
            +
                          #     puts "No response received."
         | 
| 245 | 
            +
                          #   end
         | 
| 246 | 
            +
                          #
         | 
| 204 247 | 
             
                          def get_operation request, options = nil
         | 
| 205 248 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 206 249 |  | 
| @@ -267,6 +310,22 @@ module Google | |
| 267 310 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 268 311 | 
             
                          #
         | 
| 269 312 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 313 | 
            +
                          #
         | 
| 314 | 
            +
                          # @example Basic example
         | 
| 315 | 
            +
                          #   require "google/longrunning"
         | 
| 316 | 
            +
                          #
         | 
| 317 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 318 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 319 | 
            +
                          #
         | 
| 320 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 321 | 
            +
                          #   request = Google::Longrunning::DeleteOperationRequest.new
         | 
| 322 | 
            +
                          #
         | 
| 323 | 
            +
                          #   # Call the delete_operation method.
         | 
| 324 | 
            +
                          #   result = client.delete_operation request
         | 
| 325 | 
            +
                          #
         | 
| 326 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 327 | 
            +
                          #   p result
         | 
| 328 | 
            +
                          #
         | 
| 270 329 | 
             
                          def delete_operation request, options = nil
         | 
| 271 330 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 272 331 |  | 
| @@ -338,6 +397,22 @@ module Google | |
| 338 397 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 339 398 | 
             
                          #
         | 
| 340 399 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 400 | 
            +
                          #
         | 
| 401 | 
            +
                          # @example Basic example
         | 
| 402 | 
            +
                          #   require "google/longrunning"
         | 
| 403 | 
            +
                          #
         | 
| 404 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 405 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 406 | 
            +
                          #
         | 
| 407 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 408 | 
            +
                          #   request = Google::Longrunning::CancelOperationRequest.new
         | 
| 409 | 
            +
                          #
         | 
| 410 | 
            +
                          #   # Call the cancel_operation method.
         | 
| 411 | 
            +
                          #   result = client.cancel_operation request
         | 
| 412 | 
            +
                          #
         | 
| 413 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 414 | 
            +
                          #   p result
         | 
| 415 | 
            +
                          #
         | 
| 341 416 | 
             
                          def cancel_operation request, options = nil
         | 
| 342 417 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 343 418 |  | 
| @@ -269,7 +269,8 @@ module Google | |
| 269 269 | 
             
                            credentials:  credentials,
         | 
| 270 270 | 
             
                            endpoint:     @config.endpoint,
         | 
| 271 271 | 
             
                            channel_args: @config.channel_args,
         | 
| 272 | 
            -
                            interceptors: @config.interceptors
         | 
| 272 | 
            +
                            interceptors: @config.interceptors,
         | 
| 273 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 273 274 | 
             
                          )
         | 
| 274 275 | 
             
                        end
         | 
| 275 276 |  | 
| @@ -3650,6 +3651,14 @@ module Google | |
| 3650 3651 | 
             
                            end
         | 
| 3651 3652 | 
             
                          end
         | 
| 3652 3653 |  | 
| 3654 | 
            +
                          ##
         | 
| 3655 | 
            +
                          # Configuration for the channel pool
         | 
| 3656 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 3657 | 
            +
                          #
         | 
| 3658 | 
            +
                          def channel_pool
         | 
| 3659 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 3660 | 
            +
                          end
         | 
| 3661 | 
            +
             | 
| 3653 3662 | 
             
                          ##
         | 
| 3654 3663 | 
             
                          # Configuration RPC class for the DataplexService API.
         | 
| 3655 3664 | 
             
                          #
         | 
| @@ -93,7 +93,8 @@ module Google | |
| 93 93 | 
             
                            credentials:  credentials,
         | 
| 94 94 | 
             
                            endpoint:     @config.endpoint,
         | 
| 95 95 | 
             
                            channel_args: @config.channel_args,
         | 
| 96 | 
            -
                            interceptors: @config.interceptors
         | 
| 96 | 
            +
                            interceptors: @config.interceptors,
         | 
| 97 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 97 98 | 
             
                          )
         | 
| 98 99 |  | 
| 99 100 | 
             
                          # Used by an LRO wrapper for some methods of this service
         | 
| @@ -701,6 +702,14 @@ module Google | |
| 701 702 | 
             
                            end
         | 
| 702 703 | 
             
                          end
         | 
| 703 704 |  | 
| 705 | 
            +
                          ##
         | 
| 706 | 
            +
                          # Configuration for the channel pool
         | 
| 707 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 708 | 
            +
                          #
         | 
| 709 | 
            +
                          def channel_pool
         | 
| 710 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 711 | 
            +
                          end
         | 
| 712 | 
            +
             | 
| 704 713 | 
             
                          ##
         | 
| 705 714 | 
             
                          # Configuration RPC class for the Operations API.
         | 
| 706 715 | 
             
                          #
         |