google-cloud-data_catalog-lineage-v1 0.a → 0.1.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 (29) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/data_catalog/lineage/v1/lineage/client.rb +1981 -0
  6. data/lib/google/cloud/data_catalog/lineage/v1/lineage/credentials.rb +49 -0
  7. data/lib/google/cloud/data_catalog/lineage/v1/lineage/operations.rb +772 -0
  8. data/lib/google/cloud/data_catalog/lineage/v1/lineage/paths.rb +115 -0
  9. data/lib/google/cloud/data_catalog/lineage/v1/lineage.rb +55 -0
  10. data/lib/google/cloud/data_catalog/lineage/v1/version.rb +7 -2
  11. data/lib/google/cloud/data_catalog/lineage/v1.rb +42 -0
  12. data/lib/google/cloud/datacatalog/lineage/v1/lineage_pb.rb +241 -0
  13. data/lib/google/cloud/datacatalog/lineage/v1/lineage_services_pb.rb +104 -0
  14. data/lib/google-cloud-data_catalog-lineage-v1.rb +21 -0
  15. data/proto_docs/README.md +4 -0
  16. data/proto_docs/google/api/client.rb +318 -0
  17. data/proto_docs/google/api/field_behavior.rb +71 -0
  18. data/proto_docs/google/api/launch_stage.rb +71 -0
  19. data/proto_docs/google/api/resource.rb +222 -0
  20. data/proto_docs/google/cloud/datacatalog/lineage/v1/lineage.rb +707 -0
  21. data/proto_docs/google/longrunning/operations.rb +164 -0
  22. data/proto_docs/google/protobuf/any.rb +141 -0
  23. data/proto_docs/google/protobuf/duration.rb +98 -0
  24. data/proto_docs/google/protobuf/empty.rb +34 -0
  25. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  26. data/proto_docs/google/protobuf/struct.rb +96 -0
  27. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  28. data/proto_docs/google/rpc/status.rb +48 -0
  29. metadata +187 -12
@@ -0,0 +1,115 @@
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 DataCatalog
23
+ module Lineage
24
+ module V1
25
+ module Lineage
26
+ # Path helper methods for the Lineage API.
27
+ module Paths
28
+ ##
29
+ # Create a fully-qualified LineageEvent resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`
34
+ #
35
+ # @param project [String]
36
+ # @param location [String]
37
+ # @param process [String]
38
+ # @param run [String]
39
+ # @param lineage_event [String]
40
+ #
41
+ # @return [::String]
42
+ def lineage_event_path project:, location:, process:, run:, lineage_event:
43
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
44
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
45
+ raise ::ArgumentError, "process cannot contain /" if process.to_s.include? "/"
46
+ raise ::ArgumentError, "run cannot contain /" if run.to_s.include? "/"
47
+
48
+ "projects/#{project}/locations/#{location}/processes/#{process}/runs/#{run}/lineageEvents/#{lineage_event}"
49
+ end
50
+
51
+ ##
52
+ # Create a fully-qualified Location resource string.
53
+ #
54
+ # The resource will be in the following format:
55
+ #
56
+ # `projects/{project}/locations/{location}`
57
+ #
58
+ # @param project [String]
59
+ # @param location [String]
60
+ #
61
+ # @return [::String]
62
+ def location_path project:, location:
63
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
64
+
65
+ "projects/#{project}/locations/#{location}"
66
+ end
67
+
68
+ ##
69
+ # Create a fully-qualified Process resource string.
70
+ #
71
+ # The resource will be in the following format:
72
+ #
73
+ # `projects/{project}/locations/{location}/processes/{process}`
74
+ #
75
+ # @param project [String]
76
+ # @param location [String]
77
+ # @param process [String]
78
+ #
79
+ # @return [::String]
80
+ def process_path project:, location:, process:
81
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
82
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
83
+
84
+ "projects/#{project}/locations/#{location}/processes/#{process}"
85
+ end
86
+
87
+ ##
88
+ # Create a fully-qualified Run resource string.
89
+ #
90
+ # The resource will be in the following format:
91
+ #
92
+ # `projects/{project}/locations/{location}/processes/{process}/runs/{run}`
93
+ #
94
+ # @param project [String]
95
+ # @param location [String]
96
+ # @param process [String]
97
+ # @param run [String]
98
+ #
99
+ # @return [::String]
100
+ def run_path project:, location:, process:, run:
101
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
102
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
103
+ raise ::ArgumentError, "process cannot contain /" if process.to_s.include? "/"
104
+
105
+ "projects/#{project}/locations/#{location}/processes/#{process}/runs/#{run}"
106
+ end
107
+
108
+ extend self
109
+ end
110
+ end
111
+ end
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,55 @@
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/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/data_catalog/lineage/v1/version"
24
+
25
+ require "google/cloud/data_catalog/lineage/v1/lineage/credentials"
26
+ require "google/cloud/data_catalog/lineage/v1/lineage/paths"
27
+ require "google/cloud/data_catalog/lineage/v1/lineage/operations"
28
+ require "google/cloud/data_catalog/lineage/v1/lineage/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module DataCatalog
33
+ module Lineage
34
+ module V1
35
+ ##
36
+ # Lineage is used to track data flows between assets over time. You can
37
+ # create {::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent LineageEvents}
38
+ # to record lineage between multiple sources and a single target, for
39
+ # example, when table data is based on data from multiple tables.
40
+ #
41
+ # @example Load this service and instantiate a gRPC client
42
+ #
43
+ # require "google/cloud/data_catalog/lineage/v1/lineage"
44
+ # client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new
45
+ #
46
+ module Lineage
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "lineage", "helpers.rb"
55
+ require "google/cloud/data_catalog/lineage/v1/lineage/helpers" if ::File.file? helper_path
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2023 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,12 +14,15 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module DataCatalog
18
23
  module Lineage
19
24
  module V1
20
- VERSION = "0.a"
25
+ VERSION = "0.1.0"
21
26
  end
22
27
  end
23
28
  end
@@ -0,0 +1,42 @@
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 "google/cloud/data_catalog/lineage/v1/lineage"
20
+ require "google/cloud/data_catalog/lineage/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module DataCatalog
25
+ module Lineage
26
+ ##
27
+ # API client module.
28
+ #
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
+ #
31
+ # require "google/cloud/data_catalog/lineage/v1"
32
+ # client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+
41
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
42
+ require "google/cloud/data_catalog/lineage/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,241 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/datacatalog/lineage/v1/lineage.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/annotations_pb'
7
+ require 'google/api/client_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
10
+ require 'google/longrunning/operations_pb'
11
+ require 'google/protobuf/empty_pb'
12
+ require 'google/protobuf/field_mask_pb'
13
+ require 'google/protobuf/struct_pb'
14
+ require 'google/protobuf/timestamp_pb'
15
+
16
+ Google::Protobuf::DescriptorPool.generated_pool.build do
17
+ add_file("google/cloud/datacatalog/lineage/v1/lineage.proto", :syntax => :proto3) do
18
+ add_message "google.cloud.datacatalog.lineage.v1.Process" do
19
+ optional :name, :string, 1
20
+ optional :display_name, :string, 2
21
+ map :attributes, :string, :message, 3, "google.protobuf.Value"
22
+ optional :origin, :message, 4, "google.cloud.datacatalog.lineage.v1.Origin"
23
+ end
24
+ add_message "google.cloud.datacatalog.lineage.v1.Run" do
25
+ optional :name, :string, 1
26
+ optional :display_name, :string, 2
27
+ map :attributes, :string, :message, 3, "google.protobuf.Value"
28
+ optional :start_time, :message, 4, "google.protobuf.Timestamp"
29
+ optional :end_time, :message, 5, "google.protobuf.Timestamp"
30
+ optional :state, :enum, 6, "google.cloud.datacatalog.lineage.v1.Run.State"
31
+ end
32
+ add_enum "google.cloud.datacatalog.lineage.v1.Run.State" do
33
+ value :UNKNOWN, 0
34
+ value :STARTED, 1
35
+ value :COMPLETED, 2
36
+ value :FAILED, 3
37
+ value :ABORTED, 4
38
+ end
39
+ add_message "google.cloud.datacatalog.lineage.v1.LineageEvent" do
40
+ optional :name, :string, 1
41
+ repeated :links, :message, 8, "google.cloud.datacatalog.lineage.v1.EventLink"
42
+ optional :start_time, :message, 6, "google.protobuf.Timestamp"
43
+ optional :end_time, :message, 7, "google.protobuf.Timestamp"
44
+ end
45
+ add_message "google.cloud.datacatalog.lineage.v1.EventLink" do
46
+ optional :source, :message, 1, "google.cloud.datacatalog.lineage.v1.EntityReference"
47
+ optional :target, :message, 2, "google.cloud.datacatalog.lineage.v1.EntityReference"
48
+ end
49
+ add_message "google.cloud.datacatalog.lineage.v1.EntityReference" do
50
+ optional :fully_qualified_name, :string, 1
51
+ end
52
+ add_message "google.cloud.datacatalog.lineage.v1.OperationMetadata" do
53
+ optional :state, :enum, 1, "google.cloud.datacatalog.lineage.v1.OperationMetadata.State"
54
+ optional :operation_type, :enum, 2, "google.cloud.datacatalog.lineage.v1.OperationMetadata.Type"
55
+ optional :resource, :string, 3
56
+ optional :resource_uuid, :string, 4
57
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
58
+ optional :end_time, :message, 6, "google.protobuf.Timestamp"
59
+ end
60
+ add_enum "google.cloud.datacatalog.lineage.v1.OperationMetadata.State" do
61
+ value :STATE_UNSPECIFIED, 0
62
+ value :PENDING, 1
63
+ value :RUNNING, 2
64
+ value :SUCCEEDED, 3
65
+ value :FAILED, 4
66
+ end
67
+ add_enum "google.cloud.datacatalog.lineage.v1.OperationMetadata.Type" do
68
+ value :TYPE_UNSPECIFIED, 0
69
+ value :DELETE, 1
70
+ end
71
+ add_message "google.cloud.datacatalog.lineage.v1.CreateProcessRequest" do
72
+ optional :parent, :string, 1
73
+ optional :process, :message, 2, "google.cloud.datacatalog.lineage.v1.Process"
74
+ optional :request_id, :string, 3
75
+ end
76
+ add_message "google.cloud.datacatalog.lineage.v1.UpdateProcessRequest" do
77
+ optional :process, :message, 1, "google.cloud.datacatalog.lineage.v1.Process"
78
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
79
+ optional :allow_missing, :bool, 3
80
+ end
81
+ add_message "google.cloud.datacatalog.lineage.v1.GetProcessRequest" do
82
+ optional :name, :string, 1
83
+ end
84
+ add_message "google.cloud.datacatalog.lineage.v1.ListProcessesRequest" do
85
+ optional :parent, :string, 1
86
+ optional :page_size, :int32, 2
87
+ optional :page_token, :string, 3
88
+ end
89
+ add_message "google.cloud.datacatalog.lineage.v1.ListProcessesResponse" do
90
+ repeated :processes, :message, 1, "google.cloud.datacatalog.lineage.v1.Process"
91
+ optional :next_page_token, :string, 2
92
+ end
93
+ add_message "google.cloud.datacatalog.lineage.v1.DeleteProcessRequest" do
94
+ optional :name, :string, 1
95
+ optional :allow_missing, :bool, 2
96
+ end
97
+ add_message "google.cloud.datacatalog.lineage.v1.CreateRunRequest" do
98
+ optional :parent, :string, 1
99
+ optional :run, :message, 2, "google.cloud.datacatalog.lineage.v1.Run"
100
+ optional :request_id, :string, 3
101
+ end
102
+ add_message "google.cloud.datacatalog.lineage.v1.UpdateRunRequest" do
103
+ optional :run, :message, 1, "google.cloud.datacatalog.lineage.v1.Run"
104
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
105
+ end
106
+ add_message "google.cloud.datacatalog.lineage.v1.GetRunRequest" do
107
+ optional :name, :string, 1
108
+ end
109
+ add_message "google.cloud.datacatalog.lineage.v1.ListRunsRequest" do
110
+ optional :parent, :string, 1
111
+ optional :page_size, :int32, 2
112
+ optional :page_token, :string, 3
113
+ end
114
+ add_message "google.cloud.datacatalog.lineage.v1.ListRunsResponse" do
115
+ repeated :runs, :message, 1, "google.cloud.datacatalog.lineage.v1.Run"
116
+ optional :next_page_token, :string, 2
117
+ end
118
+ add_message "google.cloud.datacatalog.lineage.v1.DeleteRunRequest" do
119
+ optional :name, :string, 1
120
+ optional :allow_missing, :bool, 2
121
+ end
122
+ add_message "google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest" do
123
+ optional :parent, :string, 1
124
+ optional :lineage_event, :message, 2, "google.cloud.datacatalog.lineage.v1.LineageEvent"
125
+ optional :request_id, :string, 3
126
+ end
127
+ add_message "google.cloud.datacatalog.lineage.v1.GetLineageEventRequest" do
128
+ optional :name, :string, 1
129
+ end
130
+ add_message "google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest" do
131
+ optional :parent, :string, 1
132
+ optional :page_size, :int32, 2
133
+ optional :page_token, :string, 3
134
+ end
135
+ add_message "google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse" do
136
+ repeated :lineage_events, :message, 1, "google.cloud.datacatalog.lineage.v1.LineageEvent"
137
+ optional :next_page_token, :string, 2
138
+ end
139
+ add_message "google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest" do
140
+ optional :name, :string, 1
141
+ optional :allow_missing, :bool, 2
142
+ end
143
+ add_message "google.cloud.datacatalog.lineage.v1.SearchLinksRequest" do
144
+ optional :parent, :string, 1
145
+ optional :page_size, :int32, 2
146
+ optional :page_token, :string, 3
147
+ oneof :criteria do
148
+ optional :source, :message, 4, "google.cloud.datacatalog.lineage.v1.EntityReference"
149
+ optional :target, :message, 5, "google.cloud.datacatalog.lineage.v1.EntityReference"
150
+ end
151
+ end
152
+ add_message "google.cloud.datacatalog.lineage.v1.SearchLinksResponse" do
153
+ repeated :links, :message, 1, "google.cloud.datacatalog.lineage.v1.Link"
154
+ optional :next_page_token, :string, 2
155
+ end
156
+ add_message "google.cloud.datacatalog.lineage.v1.Link" do
157
+ optional :name, :string, 1
158
+ optional :source, :message, 2, "google.cloud.datacatalog.lineage.v1.EntityReference"
159
+ optional :target, :message, 3, "google.cloud.datacatalog.lineage.v1.EntityReference"
160
+ optional :start_time, :message, 4, "google.protobuf.Timestamp"
161
+ optional :end_time, :message, 5, "google.protobuf.Timestamp"
162
+ end
163
+ add_message "google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest" do
164
+ optional :parent, :string, 1
165
+ repeated :links, :string, 2
166
+ optional :page_size, :int32, 3
167
+ optional :page_token, :string, 4
168
+ end
169
+ add_message "google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse" do
170
+ repeated :process_links, :message, 1, "google.cloud.datacatalog.lineage.v1.ProcessLinks"
171
+ optional :next_page_token, :string, 2
172
+ end
173
+ add_message "google.cloud.datacatalog.lineage.v1.ProcessLinks" do
174
+ optional :process, :string, 1
175
+ repeated :links, :message, 2, "google.cloud.datacatalog.lineage.v1.ProcessLinkInfo"
176
+ end
177
+ add_message "google.cloud.datacatalog.lineage.v1.ProcessLinkInfo" do
178
+ optional :link, :string, 1
179
+ optional :start_time, :message, 2, "google.protobuf.Timestamp"
180
+ optional :end_time, :message, 3, "google.protobuf.Timestamp"
181
+ end
182
+ add_message "google.cloud.datacatalog.lineage.v1.Origin" do
183
+ optional :source_type, :enum, 1, "google.cloud.datacatalog.lineage.v1.Origin.SourceType"
184
+ optional :name, :string, 2
185
+ end
186
+ add_enum "google.cloud.datacatalog.lineage.v1.Origin.SourceType" do
187
+ value :SOURCE_TYPE_UNSPECIFIED, 0
188
+ value :CUSTOM, 1
189
+ value :BIGQUERY, 2
190
+ value :DATA_FUSION, 3
191
+ value :COMPOSER, 4
192
+ value :LOOKER_STUDIO, 5
193
+ end
194
+ end
195
+ end
196
+
197
+ module Google
198
+ module Cloud
199
+ module DataCatalog
200
+ module Lineage
201
+ module V1
202
+ Process = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Process").msgclass
203
+ Run = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Run").msgclass
204
+ Run::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Run.State").enummodule
205
+ LineageEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.LineageEvent").msgclass
206
+ EventLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.EventLink").msgclass
207
+ EntityReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.EntityReference").msgclass
208
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata").msgclass
209
+ OperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata.State").enummodule
210
+ OperationMetadata::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata.Type").enummodule
211
+ CreateProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.CreateProcessRequest").msgclass
212
+ UpdateProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.UpdateProcessRequest").msgclass
213
+ GetProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.GetProcessRequest").msgclass
214
+ ListProcessesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListProcessesRequest").msgclass
215
+ ListProcessesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListProcessesResponse").msgclass
216
+ DeleteProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.DeleteProcessRequest").msgclass
217
+ CreateRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.CreateRunRequest").msgclass
218
+ UpdateRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.UpdateRunRequest").msgclass
219
+ GetRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.GetRunRequest").msgclass
220
+ ListRunsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListRunsRequest").msgclass
221
+ ListRunsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListRunsResponse").msgclass
222
+ DeleteRunRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.DeleteRunRequest").msgclass
223
+ CreateLineageEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest").msgclass
224
+ GetLineageEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.GetLineageEventRequest").msgclass
225
+ ListLineageEventsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest").msgclass
226
+ ListLineageEventsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse").msgclass
227
+ DeleteLineageEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest").msgclass
228
+ SearchLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.SearchLinksRequest").msgclass
229
+ SearchLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.SearchLinksResponse").msgclass
230
+ Link = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Link").msgclass
231
+ BatchSearchLinkProcessesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest").msgclass
232
+ BatchSearchLinkProcessesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse").msgclass
233
+ ProcessLinks = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ProcessLinks").msgclass
234
+ ProcessLinkInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ProcessLinkInfo").msgclass
235
+ Origin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Origin").msgclass
236
+ Origin::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.Origin.SourceType").enummodule
237
+ end
238
+ end
239
+ end
240
+ end
241
+ end
@@ -0,0 +1,104 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/datacatalog/lineage/v1/lineage.proto for package 'Google.Cloud.DataCatalog.Lineage.V1'
3
+ # Original file comments:
4
+ # Copyright 2022 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/datacatalog/lineage/v1/lineage_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module DataCatalog
25
+ module Lineage
26
+ module V1
27
+ module Lineage
28
+ # Lineage is used to track data flows between assets over time. You can
29
+ # create [LineageEvents][google.cloud.datacatalog.lineage.v1.LineageEvent]
30
+ # to record lineage between multiple sources and a single target, for
31
+ # example, when table data is based on data from multiple tables.
32
+ class Service
33
+
34
+ include ::GRPC::GenericService
35
+
36
+ self.marshal_class_method = :encode
37
+ self.unmarshal_class_method = :decode
38
+ self.service_name = 'google.cloud.datacatalog.lineage.v1.Lineage'
39
+
40
+ # Creates a new process.
41
+ rpc :CreateProcess, ::Google::Cloud::DataCatalog::Lineage::V1::CreateProcessRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Process
42
+ # Updates a process.
43
+ rpc :UpdateProcess, ::Google::Cloud::DataCatalog::Lineage::V1::UpdateProcessRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Process
44
+ # Gets the details of the specified process.
45
+ rpc :GetProcess, ::Google::Cloud::DataCatalog::Lineage::V1::GetProcessRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Process
46
+ # List processes in the given project and location. List order is descending
47
+ # by insertion time.
48
+ rpc :ListProcesses, ::Google::Cloud::DataCatalog::Lineage::V1::ListProcessesRequest, ::Google::Cloud::DataCatalog::Lineage::V1::ListProcessesResponse
49
+ # Deletes the process with the specified name.
50
+ rpc :DeleteProcess, ::Google::Cloud::DataCatalog::Lineage::V1::DeleteProcessRequest, ::Google::Longrunning::Operation
51
+ # Creates a new run.
52
+ rpc :CreateRun, ::Google::Cloud::DataCatalog::Lineage::V1::CreateRunRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Run
53
+ # Updates a run.
54
+ rpc :UpdateRun, ::Google::Cloud::DataCatalog::Lineage::V1::UpdateRunRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Run
55
+ # Gets the details of the specified run.
56
+ rpc :GetRun, ::Google::Cloud::DataCatalog::Lineage::V1::GetRunRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Run
57
+ # Lists runs in the given project and location. List order is descending by
58
+ # `start_time`.
59
+ rpc :ListRuns, ::Google::Cloud::DataCatalog::Lineage::V1::ListRunsRequest, ::Google::Cloud::DataCatalog::Lineage::V1::ListRunsResponse
60
+ # Deletes the run with the specified name.
61
+ rpc :DeleteRun, ::Google::Cloud::DataCatalog::Lineage::V1::DeleteRunRequest, ::Google::Longrunning::Operation
62
+ # Creates a new lineage event.
63
+ rpc :CreateLineageEvent, ::Google::Cloud::DataCatalog::Lineage::V1::CreateLineageEventRequest, ::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent
64
+ # Gets details of a specified lineage event.
65
+ rpc :GetLineageEvent, ::Google::Cloud::DataCatalog::Lineage::V1::GetLineageEventRequest, ::Google::Cloud::DataCatalog::Lineage::V1::LineageEvent
66
+ # Lists lineage events in the given project and location. The list order is
67
+ # not defined.
68
+ rpc :ListLineageEvents, ::Google::Cloud::DataCatalog::Lineage::V1::ListLineageEventsRequest, ::Google::Cloud::DataCatalog::Lineage::V1::ListLineageEventsResponse
69
+ # Deletes the lineage event with the specified name.
70
+ rpc :DeleteLineageEvent, ::Google::Cloud::DataCatalog::Lineage::V1::DeleteLineageEventRequest, ::Google::Protobuf::Empty
71
+ # Retrieve a list of links connected to a specific asset.
72
+ # Links represent the data flow between **source** (upstream)
73
+ # and **target** (downstream) assets in transformation pipelines.
74
+ # Links are stored in the same project as the Lineage Events that create
75
+ # them.
76
+ #
77
+ # You can retrieve links in every project where you have the
78
+ # `datalineage.events.get` permission. The project provided in the URL
79
+ # is used for Billing and Quota.
80
+ rpc :SearchLinks, ::Google::Cloud::DataCatalog::Lineage::V1::SearchLinksRequest, ::Google::Cloud::DataCatalog::Lineage::V1::SearchLinksResponse
81
+ # Retrieve information about LineageProcesses associated with specific
82
+ # links. LineageProcesses are transformation pipelines that result in data
83
+ # flowing from **source** to **target** assets. Links between assets
84
+ # represent this operation.
85
+ #
86
+ # If you have specific link names, you can use this method to
87
+ # verify which LineageProcesses contribute to creating those links.
88
+ # See the
89
+ # [SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks]
90
+ # method for more information on how to retrieve link name.
91
+ #
92
+ # You can retrieve the LineageProcess information in every project where you
93
+ # have the `datalineage.events.get` permission. The project provided in the
94
+ # URL is used for Billing and Quota.
95
+ rpc :BatchSearchLinkProcesses, ::Google::Cloud::DataCatalog::Lineage::V1::BatchSearchLinkProcessesRequest, ::Google::Cloud::DataCatalog::Lineage::V1::BatchSearchLinkProcessesResponse
96
+ end
97
+
98
+ Stub = Service.rpc_stub_class
99
+ end
100
+ end
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,21 @@
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
+ # This gem does not autoload during Bundler.require. To load this gem,
20
+ # issue explicit require statements for the packages desired, e.g.:
21
+ # require "google/cloud/data_catalog/lineage/v1"
@@ -0,0 +1,4 @@
1
+ # Data Lineage V1 Protocol Buffer Documentation
2
+
3
+ These files are for the YARD documentation of the generated protobuf files.
4
+ They are not intended to be required or loaded at runtime.