google-cloud-dataplex-v1 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/bindings_override.rb +327 -0
  4. data/lib/google/cloud/dataplex/v1/content_service/client.rb +4 -6
  5. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +969 -0
  6. data/lib/google/cloud/dataplex/v1/content_service/rest/service_stub.rb +584 -0
  7. data/lib/google/cloud/dataplex/v1/content_service/rest.rb +53 -0
  8. data/lib/google/cloud/dataplex/v1/content_service.rb +6 -0
  9. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +20 -24
  10. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +12 -14
  11. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +948 -0
  12. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +793 -0
  13. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +523 -0
  14. data/lib/google/cloud/dataplex/v1/data_scan_service/rest.rb +56 -0
  15. data/lib/google/cloud/dataplex/v1/data_scan_service.rb +6 -0
  16. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +100 -120
  17. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +12 -14
  18. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2910 -0
  19. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +793 -0
  20. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +1947 -0
  21. data/lib/google/cloud/dataplex/v1/dataplex_service/rest.rb +58 -0
  22. data/lib/google/cloud/dataplex/v1/dataplex_service.rb +6 -0
  23. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +8 -12
  24. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +1051 -0
  25. data/lib/google/cloud/dataplex/v1/metadata_service/rest/service_stub.rb +582 -0
  26. data/lib/google/cloud/dataplex/v1/metadata_service/rest.rb +54 -0
  27. data/lib/google/cloud/dataplex/v1/metadata_service.rb +6 -0
  28. data/lib/google/cloud/dataplex/v1/rest.rb +41 -0
  29. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  30. data/lib/google/cloud/dataplex/v1.rb +5 -0
  31. metadata +27 -11
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/dataplex/v1/version"
24
+ require "google/cloud/dataplex/v1/bindings_override"
25
+
26
+ require "google/cloud/dataplex/v1/dataplex_service/credentials"
27
+ require "google/cloud/dataplex/v1/dataplex_service/paths"
28
+ require "google/cloud/dataplex/v1/dataplex_service/rest/operations"
29
+ require "google/cloud/dataplex/v1/dataplex_service/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module Dataplex
34
+ module V1
35
+ ##
36
+ # Dataplex service provides data lakes as a service. The primary resources
37
+ # offered by this service are Lakes, Zones and Assets which collectively allow
38
+ # a data administrator to organize, manage, secure and catalog data across
39
+ # their organization located across cloud projects in a variety of storage
40
+ # systems including Cloud Storage and BigQuery.
41
+ #
42
+ # To load this service and instantiate a REST client:
43
+ #
44
+ # require "google/cloud/dataplex/v1/dataplex_service/rest"
45
+ # client = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.new
46
+ #
47
+ module DataplexService
48
+ # Client for the REST transport
49
+ module Rest
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+
57
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
58
+ require "google/cloud/dataplex/v1/dataplex_service/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/dataplex/v1/dataplex_service/credentials"
26
26
  require "google/cloud/dataplex/v1/dataplex_service/paths"
27
27
  require "google/cloud/dataplex/v1/dataplex_service/operations"
28
28
  require "google/cloud/dataplex/v1/dataplex_service/client"
29
+ require "google/cloud/dataplex/v1/dataplex_service/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -43,6 +44,11 @@ module Google
43
44
  # require "google/cloud/dataplex/v1/dataplex_service"
44
45
  # client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new
45
46
  #
47
+ # @example Load this service and instantiate a REST client
48
+ #
49
+ # require "google/cloud/dataplex/v1/dataplex_service/rest"
50
+ # client = ::Google::Cloud::Dataplex::V1::DataplexService::Rest::Client.new
51
+ #
46
52
  module DataplexService
47
53
  end
48
54
  end
@@ -623,13 +623,11 @@ module Google
623
623
  # # Call the list_entities method.
624
624
  # result = client.list_entities request
625
625
  #
626
- # # The returned object is of type Gapic::PagedEnumerable. You can
627
- # # iterate over all elements by calling #each, and the enumerable
628
- # # will lazily make API calls to fetch subsequent pages. Other
629
- # # methods are also available for managing paging directly.
630
- # result.each do |response|
626
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
627
+ # # over elements, and API calls will be issued to fetch pages as needed.
628
+ # result.each do |item|
631
629
  # # Each element is of type ::Google::Cloud::Dataplex::V1::Entity.
632
- # p response
630
+ # p item
633
631
  # end
634
632
  #
635
633
  def list_entities request, options = nil
@@ -1016,13 +1014,11 @@ module Google
1016
1014
  # # Call the list_partitions method.
1017
1015
  # result = client.list_partitions request
1018
1016
  #
1019
- # # The returned object is of type Gapic::PagedEnumerable. You can
1020
- # # iterate over all elements by calling #each, and the enumerable
1021
- # # will lazily make API calls to fetch subsequent pages. Other
1022
- # # methods are also available for managing paging directly.
1023
- # result.each do |response|
1017
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1018
+ # # over elements, and API calls will be issued to fetch pages as needed.
1019
+ # result.each do |item|
1024
1020
  # # Each element is of type ::Google::Cloud::Dataplex::V1::Partition.
1025
- # p response
1021
+ # p item
1026
1022
  # end
1027
1023
  #
1028
1024
  def list_partitions request, options = nil