google-cloud-dataplex-v1 0.19.0 → 0.20.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/AUTHENTICATION.md +4 -4
  3. data/README.md +3 -3
  4. data/lib/google/cloud/dataplex/v1/bindings_override.rb +1 -1
  5. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +101 -0
  6. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +2795 -0
  7. data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +47 -0
  8. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +801 -0
  9. data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +128 -0
  10. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +2620 -0
  11. data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +895 -0
  12. data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +1375 -0
  13. data/lib/google/cloud/dataplex/v1/catalog_service/rest.rb +58 -0
  14. data/lib/google/cloud/dataplex/v1/catalog_service.rb +60 -0
  15. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +91 -0
  16. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +6 -1
  17. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +95 -0
  18. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +88 -0
  19. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +68 -0
  20. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +4 -2
  21. data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
  22. data/lib/google/cloud/dataplex/v1/rest.rb +3 -2
  23. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  24. data/lib/google/cloud/dataplex/v1.rb +4 -3
  25. data/proto_docs/google/api/client.rb +4 -0
  26. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +1115 -0
  27. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +57 -0
  28. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +21 -0
  29. data/proto_docs/google/protobuf/struct.rb +96 -0
  30. metadata +15 -2
@@ -0,0 +1,128 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 CatalogService
25
+ # Path helper methods for the CatalogService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified AspectType resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/aspectTypes/{aspect_type}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param aspect_type [String]
37
+ #
38
+ # @return [::String]
39
+ def aspect_type_path project:, location:, aspect_type:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/aspectTypes/#{aspect_type}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified Entry resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param entry_group [String]
56
+ # @param entry [String]
57
+ #
58
+ # @return [::String]
59
+ def entry_path project:, location:, entry_group:, entry:
60
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
61
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
62
+ raise ::ArgumentError, "entry_group cannot contain /" if entry_group.to_s.include? "/"
63
+
64
+ "projects/#{project}/locations/#{location}/entryGroups/#{entry_group}/entries/#{entry}"
65
+ end
66
+
67
+ ##
68
+ # Create a fully-qualified EntryGroup resource string.
69
+ #
70
+ # The resource will be in the following format:
71
+ #
72
+ # `projects/{project}/locations/{location}/entryGroups/{entry_group}`
73
+ #
74
+ # @param project [String]
75
+ # @param location [String]
76
+ # @param entry_group [String]
77
+ #
78
+ # @return [::String]
79
+ def entry_group_path project:, location:, entry_group:
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}/entryGroups/#{entry_group}"
84
+ end
85
+
86
+ ##
87
+ # Create a fully-qualified EntryType resource string.
88
+ #
89
+ # The resource will be in the following format:
90
+ #
91
+ # `projects/{project}/locations/{location}/entryTypes/{entry_type}`
92
+ #
93
+ # @param project [String]
94
+ # @param location [String]
95
+ # @param entry_type [String]
96
+ #
97
+ # @return [::String]
98
+ def entry_type_path project:, location:, entry_type:
99
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
100
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
101
+
102
+ "projects/#{project}/locations/#{location}/entryTypes/#{entry_type}"
103
+ end
104
+
105
+ ##
106
+ # Create a fully-qualified Location resource string.
107
+ #
108
+ # The resource will be in the following format:
109
+ #
110
+ # `projects/{project}/locations/{location}`
111
+ #
112
+ # @param project [String]
113
+ # @param location [String]
114
+ #
115
+ # @return [::String]
116
+ def location_path project:, location:
117
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
118
+
119
+ "projects/#{project}/locations/#{location}"
120
+ end
121
+
122
+ extend self
123
+ end
124
+ end
125
+ end
126
+ end
127
+ end
128
+ end