google-cloud-dataplex-v1 0.9.0 → 0.10.1

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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataplex/v1/bindings_override.rb +72 -0
  3. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +7 -1
  4. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +7 -1
  5. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +19 -1
  6. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +19 -1
  7. data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +77 -0
  8. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +1931 -0
  9. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +47 -0
  10. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +770 -0
  11. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/paths.rb +109 -0
  12. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +1497 -0
  13. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +795 -0
  14. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/service_stub.rb +939 -0
  15. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest.rb +55 -0
  16. data/lib/google/cloud/dataplex/v1/data_taxonomy_service.rb +57 -0
  17. data/lib/google/cloud/dataplex/v1/data_taxonomy_services_pb.rb +77 -0
  18. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +17 -1
  19. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +17 -1
  20. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +1 -1
  21. data/lib/google/cloud/dataplex/v1/logs_pb.rb +11 -1
  22. data/lib/google/cloud/dataplex/v1/rest.rb +1 -0
  23. data/lib/google/cloud/dataplex/v1/security_pb.rb +45 -0
  24. data/lib/google/cloud/dataplex/v1/service_pb.rb +1 -1
  25. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -1
  26. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  27. data/lib/google/cloud/dataplex/v1.rb +1 -0
  28. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +118 -6
  29. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +130 -30
  30. data/proto_docs/google/cloud/dataplex/v1/data_taxonomy.rb +565 -0
  31. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +19 -0
  32. data/proto_docs/google/cloud/dataplex/v1/logs.rb +214 -4
  33. data/proto_docs/google/cloud/dataplex/v1/security.rb +61 -0
  34. data/proto_docs/google/cloud/dataplex/v1/service.rb +36 -0
  35. data/proto_docs/google/cloud/dataplex/v1/tasks.rb +31 -0
  36. metadata +16 -2
@@ -0,0 +1,109 @@
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
+
20
+ module Google
21
+ module Cloud
22
+ module Dataplex
23
+ module V1
24
+ module DataTaxonomyService
25
+ # Path helper methods for the DataTaxonomyService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified DataAttribute resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/dataTaxonomies/{data_taxonomy}/attributes/{data_attribute_id}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param data_taxonomy [String]
37
+ # @param data_attribute_id [String]
38
+ #
39
+ # @return [::String]
40
+ def data_attribute_path project:, location:, data_taxonomy:, data_attribute_id:
41
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
42
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
43
+ raise ::ArgumentError, "data_taxonomy cannot contain /" if data_taxonomy.to_s.include? "/"
44
+
45
+ "projects/#{project}/locations/#{location}/dataTaxonomies/#{data_taxonomy}/attributes/#{data_attribute_id}"
46
+ end
47
+
48
+ ##
49
+ # Create a fully-qualified DataAttributeBinding resource string.
50
+ #
51
+ # The resource will be in the following format:
52
+ #
53
+ # `projects/{project}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}`
54
+ #
55
+ # @param project [String]
56
+ # @param location [String]
57
+ # @param data_attribute_binding_id [String]
58
+ #
59
+ # @return [::String]
60
+ def data_attribute_binding_path project:, location:, data_attribute_binding_id:
61
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
+
64
+ "projects/#{project}/locations/#{location}/dataAttributeBindings/#{data_attribute_binding_id}"
65
+ end
66
+
67
+ ##
68
+ # Create a fully-qualified DataTaxonomy resource string.
69
+ #
70
+ # The resource will be in the following format:
71
+ #
72
+ # `projects/{project}/locations/{location}/dataTaxonomies/{data_taxonomy_id}`
73
+ #
74
+ # @param project [String]
75
+ # @param location [String]
76
+ # @param data_taxonomy_id [String]
77
+ #
78
+ # @return [::String]
79
+ def data_taxonomy_path project:, location:, data_taxonomy_id:
80
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
81
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
82
+
83
+ "projects/#{project}/locations/#{location}/dataTaxonomies/#{data_taxonomy_id}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified Location resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ #
96
+ # @return [::String]
97
+ def location_path project:, location:
98
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
99
+
100
+ "projects/#{project}/locations/#{location}"
101
+ end
102
+
103
+ extend self
104
+ end
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end