google-cloud-data_catalog-v1 0.13.0 → 0.15.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.
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
@@ -0,0 +1,54 @@
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/data_catalog/v1/version"
24
+
25
+ require "google/cloud/data_catalog/v1/data_catalog/credentials"
26
+ require "google/cloud/data_catalog/v1/data_catalog/paths"
27
+ require "google/cloud/data_catalog/v1/data_catalog/rest/operations"
28
+ require "google/cloud/data_catalog/v1/data_catalog/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module DataCatalog
33
+ module V1
34
+ ##
35
+ # Data Catalog API service allows you to discover, understand, and manage
36
+ # your data.
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/data_catalog/v1/data_catalog/rest"
41
+ # client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Rest::Client.new
42
+ #
43
+ module DataCatalog
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/cloud/data_catalog/v1/data_catalog/rest/helpers" if ::File.file? helper_path
@@ -24,7 +24,9 @@ require "google/cloud/data_catalog/v1/version"
24
24
 
25
25
  require "google/cloud/data_catalog/v1/data_catalog/credentials"
26
26
  require "google/cloud/data_catalog/v1/data_catalog/paths"
27
+ require "google/cloud/data_catalog/v1/data_catalog/operations"
27
28
  require "google/cloud/data_catalog/v1/data_catalog/client"
29
+ require "google/cloud/data_catalog/v1/data_catalog/rest"
28
30
 
29
31
  module Google
30
32
  module Cloud
@@ -39,6 +41,11 @@ module Google
39
41
  # require "google/cloud/data_catalog/v1/data_catalog"
40
42
  # client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new
41
43
  #
44
+ # @example Load this service and instantiate a REST client
45
+ #
46
+ # require "google/cloud/data_catalog/v1/data_catalog/rest"
47
+ # client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Rest::Client.new
48
+ #
42
49
  module DataCatalog
43
50
  end
44
51
  end
@@ -450,7 +450,7 @@ module Google
450
450
  # @param options [::Gapic::CallOptions, ::Hash]
451
451
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
452
452
  #
453
- # @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil)
453
+ # @overload list_taxonomies(parent: nil, page_size: nil, page_token: nil, filter: nil)
454
454
  # Pass arguments to `list_taxonomies` via keyword arguments. Note that at
455
455
  # least one keyword argument is required. To specify no parameters, or to keep all
456
456
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -465,6 +465,9 @@ module Google
465
465
  # the first page is returned.
466
466
  #
467
467
  # The token is returned in the response to a previous list request.
468
+ # @param filter [::String]
469
+ # Supported field for filter is 'service' and value is 'dataplex'.
470
+ # Eg: service=dataplex.
468
471
  #
469
472
  # @yield [response, operation] Access the result along with the RPC operation
470
473
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::DataCatalog::V1::Taxonomy>]
@@ -1393,9 +1396,9 @@ module Google
1393
1396
  # * (`String`) The path to a service account key file in JSON format
1394
1397
  # * (`Hash`) A service account key as a Hash
1395
1398
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1396
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1399
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1397
1400
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1398
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1401
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1399
1402
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1400
1403
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1401
1404
  # * (`nil`) indicating no credentials