google-cloud-data_catalog-lineage-v1 0.4.0 → 0.5.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/client.rb +111 -6
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/client.rb +104 -6
- data/lib/google/cloud/data_catalog/lineage/v1/lineage/rest/service_stub.rb +60 -0
- data/lib/google/cloud/data_catalog/lineage/v1/version.rb +1 -1
- data/lib/google/cloud/datacatalog/lineage/v1/lineage_pb.rb +3 -1
- data/lib/google/cloud/datacatalog/lineage/v1/lineage_services_pb.rb +5 -0
- data/proto_docs/google/cloud/datacatalog/lineage/v1/lineage.rb +69 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 680f57dd5d9d3b576e45e0a08ab1e964b84ddb02559afcf943242a36326d912c
|
4
|
+
data.tar.gz: 111cf762ac6a37e5a812f0c2a17b073dafdc8d0e19e2cc56f017ac9e546fc573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ca8b4fbb1f8c90ac7ad6e3307096244155fefec08148b248d50b18973420e9db369681588f4635f1178cab130e3b0330708c74e14cc12f5e9cfd7fd755d9fb6
|
7
|
+
data.tar.gz: f71eaeb6f492f9abc266bcbd86bf480c72bdeb75daf5866df835ef1112f76121a0043765b877f532e074da633d54528f90d7bdd01c1a9f19c3e38c630c28b111
|
data/README.md
CHANGED
@@ -33,8 +33,8 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/data_catalog/lineage/v1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new
|
36
|
-
request = ::Google::Cloud::DataCatalog::Lineage::V1::
|
37
|
-
response = client.
|
36
|
+
request = ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest.new # (request fields as keyword arguments...)
|
37
|
+
response = client.process_open_lineage_run_event request
|
38
38
|
```
|
39
39
|
|
40
40
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-data_catalog-lineage-v1/latest)
|
@@ -167,6 +167,102 @@ module Google
|
|
167
167
|
|
168
168
|
# Service calls
|
169
169
|
|
170
|
+
##
|
171
|
+
# Creates new lineage events together with their parents: process and run.
|
172
|
+
# Updates the process and run if they already exist.
|
173
|
+
# Mapped from Open Lineage specification:
|
174
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
|
175
|
+
#
|
176
|
+
# @overload process_open_lineage_run_event(request, options = nil)
|
177
|
+
# Pass arguments to `process_open_lineage_run_event` via a request object, either of type
|
178
|
+
# {::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest} or an equivalent Hash.
|
179
|
+
#
|
180
|
+
# @param request [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest, ::Hash]
|
181
|
+
# A request object representing the call parameters. Required. To specify no
|
182
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
183
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
184
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
185
|
+
#
|
186
|
+
# @overload process_open_lineage_run_event(parent: nil, open_lineage: nil, request_id: nil)
|
187
|
+
# Pass arguments to `process_open_lineage_run_event` via keyword arguments. Note that at
|
188
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
189
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
190
|
+
#
|
191
|
+
# @param parent [::String]
|
192
|
+
# Required. The name of the project and its location that should own the
|
193
|
+
# process, run, and lineage event.
|
194
|
+
# @param open_lineage [::Google::Protobuf::Struct, ::Hash]
|
195
|
+
# Required. OpenLineage message following OpenLineage format:
|
196
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json
|
197
|
+
# @param request_id [::String]
|
198
|
+
# A unique identifier for this request. Restricted to 36 ASCII characters.
|
199
|
+
# A random UUID is recommended. This request is idempotent only if a
|
200
|
+
# `request_id` is provided.
|
201
|
+
#
|
202
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
203
|
+
# @yieldparam response [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
204
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
205
|
+
#
|
206
|
+
# @return [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
207
|
+
#
|
208
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
209
|
+
#
|
210
|
+
# @example Basic example
|
211
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
212
|
+
#
|
213
|
+
# # Create a client object. The client can be reused for multiple calls.
|
214
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new
|
215
|
+
#
|
216
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
217
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest.new
|
218
|
+
#
|
219
|
+
# # Call the process_open_lineage_run_event method.
|
220
|
+
# result = client.process_open_lineage_run_event request
|
221
|
+
#
|
222
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse.
|
223
|
+
# p result
|
224
|
+
#
|
225
|
+
def process_open_lineage_run_event request, options = nil
|
226
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
227
|
+
|
228
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest
|
229
|
+
|
230
|
+
# Converts hash and nil to an options object
|
231
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
232
|
+
|
233
|
+
# Customize the options with defaults
|
234
|
+
metadata = @config.rpcs.process_open_lineage_run_event.metadata.to_h
|
235
|
+
|
236
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
237
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
238
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
239
|
+
gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
|
240
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
241
|
+
|
242
|
+
header_params = {}
|
243
|
+
if request.parent
|
244
|
+
header_params["parent"] = request.parent
|
245
|
+
end
|
246
|
+
|
247
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
248
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
249
|
+
|
250
|
+
options.apply_defaults timeout: @config.rpcs.process_open_lineage_run_event.timeout,
|
251
|
+
metadata: metadata,
|
252
|
+
retry_policy: @config.rpcs.process_open_lineage_run_event.retry_policy
|
253
|
+
|
254
|
+
options.apply_defaults timeout: @config.timeout,
|
255
|
+
metadata: @config.metadata,
|
256
|
+
retry_policy: @config.retry_policy
|
257
|
+
|
258
|
+
@lineage_stub.call_rpc :process_open_lineage_run_event, request, options: options do |response, operation|
|
259
|
+
yield response, operation if block_given?
|
260
|
+
return response
|
261
|
+
end
|
262
|
+
rescue ::GRPC::BadStatus => e
|
263
|
+
raise ::Google::Cloud::Error.from_error(e)
|
264
|
+
end
|
265
|
+
|
170
266
|
##
|
171
267
|
# Creates a new process.
|
172
268
|
#
|
@@ -739,7 +835,7 @@ module Google
|
|
739
835
|
# @param options [::Gapic::CallOptions, ::Hash]
|
740
836
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
741
837
|
#
|
742
|
-
# @overload update_run(run: nil, update_mask: nil)
|
838
|
+
# @overload update_run(run: nil, update_mask: nil, allow_missing: nil)
|
743
839
|
# Pass arguments to `update_run` via keyword arguments. Note that at
|
744
840
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
745
841
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -754,6 +850,8 @@ module Google
|
|
754
850
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
755
851
|
# The list of fields to update. Currently not used. The whole message is
|
756
852
|
# updated.
|
853
|
+
# @param allow_missing [::Boolean]
|
854
|
+
# If set to true and the run is not found, the request creates it.
|
757
855
|
#
|
758
856
|
# @yield [response, operation] Access the result along with the RPC operation
|
759
857
|
# @yieldparam response [::Google::Cloud::DataCatalog::Lineage::V1::Run]
|
@@ -1497,7 +1595,7 @@ module Google
|
|
1497
1595
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1498
1596
|
#
|
1499
1597
|
# @param parent [::String]
|
1500
|
-
# Required. The project and location you want search in
|
1598
|
+
# Required. The project and location you want search in.
|
1501
1599
|
# @param source [::Google::Cloud::DataCatalog::Lineage::V1::EntityReference, ::Hash]
|
1502
1600
|
# Optional. Send asset information in the **source** field to retrieve all
|
1503
1601
|
# links that lead from the specified asset to downstream assets.
|
@@ -1619,7 +1717,7 @@ module Google
|
|
1619
1717
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1620
1718
|
#
|
1621
1719
|
# @param parent [::String]
|
1622
|
-
# Required. The project and location you want search
|
1720
|
+
# Required. The project and location where you want to search.
|
1623
1721
|
# @param links [::Array<::String>]
|
1624
1722
|
# Required. An array of links to check for their associated LineageProcesses.
|
1625
1723
|
#
|
@@ -1724,17 +1822,17 @@ module Google
|
|
1724
1822
|
# @example
|
1725
1823
|
#
|
1726
1824
|
# # Modify the global config, setting the timeout for
|
1727
|
-
# #
|
1825
|
+
# # process_open_lineage_run_event to 20 seconds,
|
1728
1826
|
# # and all remaining timeouts to 10 seconds.
|
1729
1827
|
# ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.configure do |config|
|
1730
1828
|
# config.timeout = 10.0
|
1731
|
-
# config.rpcs.
|
1829
|
+
# config.rpcs.process_open_lineage_run_event.timeout = 20.0
|
1732
1830
|
# end
|
1733
1831
|
#
|
1734
1832
|
# # Apply the above configuration only to a new client.
|
1735
1833
|
# client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new do |config|
|
1736
1834
|
# config.timeout = 10.0
|
1737
|
-
# config.rpcs.
|
1835
|
+
# config.rpcs.process_open_lineage_run_event.timeout = 20.0
|
1738
1836
|
# end
|
1739
1837
|
#
|
1740
1838
|
# @!attribute [rw] endpoint
|
@@ -1853,6 +1951,11 @@ module Google
|
|
1853
1951
|
# trigger a retry.
|
1854
1952
|
#
|
1855
1953
|
class Rpcs
|
1954
|
+
##
|
1955
|
+
# RPC-specific configuration for `process_open_lineage_run_event`
|
1956
|
+
# @return [::Gapic::Config::Method]
|
1957
|
+
#
|
1958
|
+
attr_reader :process_open_lineage_run_event
|
1856
1959
|
##
|
1857
1960
|
# RPC-specific configuration for `create_process`
|
1858
1961
|
# @return [::Gapic::Config::Method]
|
@@ -1936,6 +2039,8 @@ module Google
|
|
1936
2039
|
|
1937
2040
|
# @private
|
1938
2041
|
def initialize parent_rpcs = nil
|
2042
|
+
process_open_lineage_run_event_config = parent_rpcs.process_open_lineage_run_event if parent_rpcs.respond_to? :process_open_lineage_run_event
|
2043
|
+
@process_open_lineage_run_event = ::Gapic::Config::Method.new process_open_lineage_run_event_config
|
1939
2044
|
create_process_config = parent_rpcs.create_process if parent_rpcs.respond_to? :create_process
|
1940
2045
|
@create_process = ::Gapic::Config::Method.new create_process_config
|
1941
2046
|
update_process_config = parent_rpcs.update_process if parent_rpcs.respond_to? :update_process
|
@@ -157,6 +157,95 @@ module Google
|
|
157
157
|
|
158
158
|
# Service calls
|
159
159
|
|
160
|
+
##
|
161
|
+
# Creates new lineage events together with their parents: process and run.
|
162
|
+
# Updates the process and run if they already exist.
|
163
|
+
# Mapped from Open Lineage specification:
|
164
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
|
165
|
+
#
|
166
|
+
# @overload process_open_lineage_run_event(request, options = nil)
|
167
|
+
# Pass arguments to `process_open_lineage_run_event` via a request object, either of type
|
168
|
+
# {::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest} or an equivalent Hash.
|
169
|
+
#
|
170
|
+
# @param request [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest, ::Hash]
|
171
|
+
# A request object representing the call parameters. Required. To specify no
|
172
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
173
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
174
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
175
|
+
#
|
176
|
+
# @overload process_open_lineage_run_event(parent: nil, open_lineage: nil, request_id: nil)
|
177
|
+
# Pass arguments to `process_open_lineage_run_event` via keyword arguments. Note that at
|
178
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
179
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
180
|
+
#
|
181
|
+
# @param parent [::String]
|
182
|
+
# Required. The name of the project and its location that should own the
|
183
|
+
# process, run, and lineage event.
|
184
|
+
# @param open_lineage [::Google::Protobuf::Struct, ::Hash]
|
185
|
+
# Required. OpenLineage message following OpenLineage format:
|
186
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json
|
187
|
+
# @param request_id [::String]
|
188
|
+
# A unique identifier for this request. Restricted to 36 ASCII characters.
|
189
|
+
# A random UUID is recommended. This request is idempotent only if a
|
190
|
+
# `request_id` is provided.
|
191
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
192
|
+
# @yieldparam result [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
193
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
194
|
+
#
|
195
|
+
# @return [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
196
|
+
#
|
197
|
+
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
198
|
+
#
|
199
|
+
# @example Basic example
|
200
|
+
# require "google/cloud/data_catalog/lineage/v1"
|
201
|
+
#
|
202
|
+
# # Create a client object. The client can be reused for multiple calls.
|
203
|
+
# client = Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new
|
204
|
+
#
|
205
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
206
|
+
# request = Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest.new
|
207
|
+
#
|
208
|
+
# # Call the process_open_lineage_run_event method.
|
209
|
+
# result = client.process_open_lineage_run_event request
|
210
|
+
#
|
211
|
+
# # The returned object is of type Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse.
|
212
|
+
# p result
|
213
|
+
#
|
214
|
+
def process_open_lineage_run_event request, options = nil
|
215
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
216
|
+
|
217
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest
|
218
|
+
|
219
|
+
# Converts hash and nil to an options object
|
220
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
221
|
+
|
222
|
+
# Customize the options with defaults
|
223
|
+
call_metadata = @config.rpcs.process_open_lineage_run_event.metadata.to_h
|
224
|
+
|
225
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
226
|
+
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
227
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
228
|
+
gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
|
229
|
+
transports_version_send: [:rest]
|
230
|
+
|
231
|
+
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
232
|
+
|
233
|
+
options.apply_defaults timeout: @config.rpcs.process_open_lineage_run_event.timeout,
|
234
|
+
metadata: call_metadata,
|
235
|
+
retry_policy: @config.rpcs.process_open_lineage_run_event.retry_policy
|
236
|
+
|
237
|
+
options.apply_defaults timeout: @config.timeout,
|
238
|
+
metadata: @config.metadata,
|
239
|
+
retry_policy: @config.retry_policy
|
240
|
+
|
241
|
+
@lineage_stub.process_open_lineage_run_event request, options do |result, operation|
|
242
|
+
yield result, operation if block_given?
|
243
|
+
return result
|
244
|
+
end
|
245
|
+
rescue ::Gapic::Rest::Error => e
|
246
|
+
raise ::Google::Cloud::Error.from_error(e)
|
247
|
+
end
|
248
|
+
|
160
249
|
##
|
161
250
|
# Creates a new process.
|
162
251
|
#
|
@@ -687,7 +776,7 @@ module Google
|
|
687
776
|
# @param options [::Gapic::CallOptions, ::Hash]
|
688
777
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
689
778
|
#
|
690
|
-
# @overload update_run(run: nil, update_mask: nil)
|
779
|
+
# @overload update_run(run: nil, update_mask: nil, allow_missing: nil)
|
691
780
|
# Pass arguments to `update_run` via keyword arguments. Note that at
|
692
781
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
693
782
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -702,6 +791,8 @@ module Google
|
|
702
791
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
703
792
|
# The list of fields to update. Currently not used. The whole message is
|
704
793
|
# updated.
|
794
|
+
# @param allow_missing [::Boolean]
|
795
|
+
# If set to true and the run is not found, the request creates it.
|
705
796
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
706
797
|
# @yieldparam result [::Google::Cloud::DataCatalog::Lineage::V1::Run]
|
707
798
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1389,7 +1480,7 @@ module Google
|
|
1389
1480
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1390
1481
|
#
|
1391
1482
|
# @param parent [::String]
|
1392
|
-
# Required. The project and location you want search in
|
1483
|
+
# Required. The project and location you want search in.
|
1393
1484
|
# @param source [::Google::Cloud::DataCatalog::Lineage::V1::EntityReference, ::Hash]
|
1394
1485
|
# Optional. Send asset information in the **source** field to retrieve all
|
1395
1486
|
# links that lead from the specified asset to downstream assets.
|
@@ -1504,7 +1595,7 @@ module Google
|
|
1504
1595
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1505
1596
|
#
|
1506
1597
|
# @param parent [::String]
|
1507
|
-
# Required. The project and location you want search
|
1598
|
+
# Required. The project and location where you want to search.
|
1508
1599
|
# @param links [::Array<::String>]
|
1509
1600
|
# Required. An array of links to check for their associated LineageProcesses.
|
1510
1601
|
#
|
@@ -1602,17 +1693,17 @@ module Google
|
|
1602
1693
|
# @example
|
1603
1694
|
#
|
1604
1695
|
# # Modify the global config, setting the timeout for
|
1605
|
-
# #
|
1696
|
+
# # process_open_lineage_run_event to 20 seconds,
|
1606
1697
|
# # and all remaining timeouts to 10 seconds.
|
1607
1698
|
# ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.configure do |config|
|
1608
1699
|
# config.timeout = 10.0
|
1609
|
-
# config.rpcs.
|
1700
|
+
# config.rpcs.process_open_lineage_run_event.timeout = 20.0
|
1610
1701
|
# end
|
1611
1702
|
#
|
1612
1703
|
# # Apply the above configuration only to a new client.
|
1613
1704
|
# client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Rest::Client.new do |config|
|
1614
1705
|
# config.timeout = 10.0
|
1615
|
-
# config.rpcs.
|
1706
|
+
# config.rpcs.process_open_lineage_run_event.timeout = 20.0
|
1616
1707
|
# end
|
1617
1708
|
#
|
1618
1709
|
# @!attribute [rw] endpoint
|
@@ -1711,6 +1802,11 @@ module Google
|
|
1711
1802
|
# trigger a retry.
|
1712
1803
|
#
|
1713
1804
|
class Rpcs
|
1805
|
+
##
|
1806
|
+
# RPC-specific configuration for `process_open_lineage_run_event`
|
1807
|
+
# @return [::Gapic::Config::Method]
|
1808
|
+
#
|
1809
|
+
attr_reader :process_open_lineage_run_event
|
1714
1810
|
##
|
1715
1811
|
# RPC-specific configuration for `create_process`
|
1716
1812
|
# @return [::Gapic::Config::Method]
|
@@ -1794,6 +1890,8 @@ module Google
|
|
1794
1890
|
|
1795
1891
|
# @private
|
1796
1892
|
def initialize parent_rpcs = nil
|
1893
|
+
process_open_lineage_run_event_config = parent_rpcs.process_open_lineage_run_event if parent_rpcs.respond_to? :process_open_lineage_run_event
|
1894
|
+
@process_open_lineage_run_event = ::Gapic::Config::Method.new process_open_lineage_run_event_config
|
1797
1895
|
create_process_config = parent_rpcs.create_process if parent_rpcs.respond_to? :create_process
|
1798
1896
|
@create_process = ::Gapic::Config::Method.new create_process_config
|
1799
1897
|
update_process_config = parent_rpcs.update_process if parent_rpcs.respond_to? :update_process
|
@@ -41,6 +41,44 @@ module Google
|
|
41
41
|
raise_faraday_errors: false
|
42
42
|
end
|
43
43
|
|
44
|
+
##
|
45
|
+
# Baseline implementation for the process_open_lineage_run_event REST call
|
46
|
+
#
|
47
|
+
# @param request_pb [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest]
|
48
|
+
# A request object representing the call parameters. Required.
|
49
|
+
# @param options [::Gapic::CallOptions]
|
50
|
+
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
51
|
+
#
|
52
|
+
# @yield [result, operation] Access the result along with the TransportOperation object
|
53
|
+
# @yieldparam result [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
54
|
+
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
55
|
+
#
|
56
|
+
# @return [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse]
|
57
|
+
# A result object deserialized from the server's reply
|
58
|
+
def process_open_lineage_run_event request_pb, options = nil
|
59
|
+
raise ::ArgumentError, "request must be provided" if request_pb.nil?
|
60
|
+
|
61
|
+
verb, uri, query_string_params, body = ServiceStub.transcode_process_open_lineage_run_event_request request_pb
|
62
|
+
query_string_params = if query_string_params.any?
|
63
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
64
|
+
else
|
65
|
+
{}
|
66
|
+
end
|
67
|
+
|
68
|
+
response = @client_stub.make_http_request(
|
69
|
+
verb,
|
70
|
+
uri: uri,
|
71
|
+
body: body || "",
|
72
|
+
params: query_string_params,
|
73
|
+
options: options
|
74
|
+
)
|
75
|
+
operation = ::Gapic::Rest::TransportOperation.new response
|
76
|
+
result = ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse.decode_json response.body, ignore_unknown_fields: true
|
77
|
+
|
78
|
+
yield result, operation if block_given?
|
79
|
+
result
|
80
|
+
end
|
81
|
+
|
44
82
|
##
|
45
83
|
# Baseline implementation for the create_process REST call
|
46
84
|
#
|
@@ -649,6 +687,28 @@ module Google
|
|
649
687
|
result
|
650
688
|
end
|
651
689
|
|
690
|
+
##
|
691
|
+
# @private
|
692
|
+
#
|
693
|
+
# GRPC transcoding helper method for the process_open_lineage_run_event REST call
|
694
|
+
#
|
695
|
+
# @param request_pb [::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest]
|
696
|
+
# A request object representing the call parameters. Required.
|
697
|
+
# @return [Array(String, [String, nil], Hash{String => String})]
|
698
|
+
# Uri, Body, Query string parameters
|
699
|
+
def self.transcode_process_open_lineage_run_event_request request_pb
|
700
|
+
transcoder = Gapic::Rest::GrpcTranscoder.new
|
701
|
+
.with_bindings(
|
702
|
+
uri_method: :post,
|
703
|
+
uri_template: "/v1/{parent}:processOpenLineageRunEvent",
|
704
|
+
body: "open_lineage",
|
705
|
+
matches: [
|
706
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
707
|
+
]
|
708
|
+
)
|
709
|
+
transcoder.transcode request_pb
|
710
|
+
end
|
711
|
+
|
652
712
|
##
|
653
713
|
# @private
|
654
714
|
#
|
@@ -15,7 +15,7 @@ require 'google/protobuf/struct_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n1google/cloud/datacatalog/lineage/v1/lineage.proto\x12#google.cloud.datacatalog.lineage.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x03\n\x07Process\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12U\n\nattributes\x18\x03 \x03(\x0b\x32<.google.cloud.datacatalog.lineage.v1.Process.AttributesEntryB\x03\xe0\x41\x01\x12@\n\x06origin\x18\x04 \x01(\x0b\x32+.google.cloud.datacatalog.lineage.v1.OriginB\x03\xe0\x41\x01\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:d\xea\x41\x61\n\"datalineage.googleapis.com/Process\x12;projects/{project}/locations/{location}/processes/{process}\"\xb5\x04\n\x03Run\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nattributes\x18\x03 \x03(\x0b\x32\x38.google.cloud.datacatalog.lineage.v1.Run.AttributesEntryB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32..google.cloud.datacatalog.lineage.v1.Run.StateB\x03\xe0\x41\x02\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"I\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0b\n\x07\x41\x42ORTED\x10\x04:k\xea\x41h\n\x1e\x64\x61talineage.googleapis.com/Run\x12\x46projects/{project}/locations/{location}/processes/{process}/runs/{run}\"\xe3\x02\n\x0cLineageEvent\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x42\n\x05links\x18\x08 \x03(\x0b\x32..google.cloud.datacatalog.lineage.v1.EventLinkB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01:\x93\x01\xea\x41\x8f\x01\n\'datalineage.googleapis.com/LineageEvent\x12\x64projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}\"\xa1\x01\n\tEventLink\x12I\n\x06source\x18\x01 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\x12I\n\x06target\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\"4\n\x0f\x45ntityReference\x12!\n\x14\x66ully_qualified_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xda\x03\n\x11OperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.datacatalog.lineage.v1.OperationMetadata.StateB\x03\xe0\x41\x03\x12X\n\x0eoperation_type\x18\x02 \x01(\x0e\x32;.google.cloud.datacatalog.lineage.v1.OperationMetadata.TypeB\x03\xe0\x41\x03\x12\x15\n\x08resource\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rresource_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"(\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\"\xaa\x01\n\x14\x43reateProcessRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x42\n\x07process\x18\x02 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xa2\x01\n\x14UpdateProcessRequest\x12\x42\n\x07process\x18\x01 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"M\n\x11GetProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\"y\n\x14ListProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x15ListProcessesResponse\x12?\n\tprocesses\x18\x01 \x03(\x0b\x32,.google.cloud.datacatalog.lineage.v1.Process\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x14\x44\x65leteProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9a\x01\n\x10\x43reateRunRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12:\n\x03run\x18\x02 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x7f\n\x10UpdateRunRequest\x12:\n\x03run\x18\x01 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\rGetRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\"p\n\x0fListRunsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x10ListRunsResponse\x12\x36\n\x04runs\x18\x01 \x03(\x0b\x32(.google.cloud.datacatalog.lineage.v1.Run\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x10\x44\x65leteRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xbf\x01\n\x19\x43reateLineageEventRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12M\n\rlineage_event\x18\x02 \x01(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEventB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"W\n\x16GetLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\"\x82\x01\n\x18ListLineageEventsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x7f\n\x19ListLineageEventsResponse\x12I\n\x0elineage_events\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x19\x44\x65leteLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa7\x02\n\x12SearchLinksRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12K\n\x06source\x18\x04 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12K\n\x06target\x18\x05 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\n\n\x08\x63riteria\"h\n\x13SearchLinksResponse\x12\x38\n\x05links\x18\x01 \x03(\x0b\x32).google.cloud.datacatalog.lineage.v1.Link\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x02\n\x04Link\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x44\n\x06source\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12\x44\n\x06target\x18\x03 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x1f\x42\x61tchSearchLinkProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x12\n\x05links\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x85\x01\n BatchSearchLinkProcessesResponse\x12H\n\rprocess_links\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.ProcessLinks\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8d\x01\n\x0cProcessLinks\x12\x38\n\x07process\x18\x01 \x01(\tB\'\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x43\n\x05links\x18\x02 \x03(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.ProcessLinkInfo\"}\n\x0fProcessLinkInfo\x12\x0c\n\x04link\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xda\x01\n\x06Origin\x12K\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x36.google.cloud.datacatalog.lineage.v1.Origin.SourceType\x12\x0c\n\x04name\x18\x02 \x01(\t\"u\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43USTOM\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x12\x0f\n\x0b\x44\x41TA_FUSION\x10\x03\x12\x0c\n\x08\x43OMPOSER\x10\x04\x12\x11\n\rLOOKER_STUDIO\x10\x05\x32\xa0\x1b\n\x07Lineage\x12\xc9\x01\n\rCreateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.CreateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"O\x82\xd3\xe4\x93\x02\x38\"-/v1/{parent=projects/*/locations/*}/processes:\x07process\xda\x41\x0eparent,process\x12\xd6\x01\n\rUpdateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.UpdateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"\\\x82\xd3\xe4\x93\x02@25/v1/{process.name=projects/*/locations/*/processes/*}:\x07process\xda\x41\x13process,update_mask\x12\xb0\x01\n\nGetProcess\x12\x36.google.cloud.datacatalog.lineage.v1.GetProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\x12\xc6\x01\n\rListProcesses\x12\x39.google.cloud.datacatalog.lineage.v1.ListProcessesRequest\x1a:.google.cloud.datacatalog.lineage.v1.ListProcessesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/processes\xda\x41\x06parent\x12\xf9\x01\n\rDeleteProcess\x12\x39.google.cloud.datacatalog.lineage.v1.DeleteProcessRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xbc\x01\n\tCreateRun\x12\x35.google.cloud.datacatalog.lineage.v1.CreateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"N\x82\xd3\xe4\x93\x02;\"4/v1/{parent=projects/*/locations/*/processes/*}/runs:\x03run\xda\x41\nparent,run\x12\xc5\x01\n\tUpdateRun\x12\x35.google.cloud.datacatalog.lineage.v1.UpdateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"W\x82\xd3\xe4\x93\x02?28/v1/{run.name=projects/*/locations/*/processes/*/runs/*}:\x03run\xda\x41\x0frun,update_mask\x12\xab\x01\n\x06GetRun\x12\x32.google.cloud.datacatalog.lineage.v1.GetRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\x12\xbe\x01\n\x08ListRuns\x12\x34.google.cloud.datacatalog.lineage.v1.ListRunsRequest\x1a\x35.google.cloud.datacatalog.lineage.v1.ListRunsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/processes/*}/runs\xda\x41\x06parent\x12\xf8\x01\n\tDeleteRun\x12\x35.google.cloud.datacatalog.lineage.v1.DeleteRunRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xfb\x01\n\x12\x43reateLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"r\x82\xd3\xe4\x93\x02U\"D/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents:\rlineage_event\xda\x41\x14parent,lineage_event\x12\xd6\x01\n\x0fGetLineageEvent\x12;.google.cloud.datacatalog.lineage.v1.GetLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xe9\x01\n\x11ListLineageEvents\x12=.google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest\x1a>.google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents\xda\x41\x06parent\x12\xc1\x01\n\x12\x44\x65leteLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest\x1a\x16.google.protobuf.Empty\"S\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xbc\x01\n\x0bSearchLinks\x12\x37.google.cloud.datacatalog.lineage.v1.SearchLinksRequest\x1a\x38.google.cloud.datacatalog.lineage.v1.SearchLinksResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/{parent=projects/*/locations/*}:searchLinks:\x01*\x12\xf0\x01\n\x18\x42\x61tchSearchLinkProcesses\x12\x44.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest\x1a\x45.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse\"G\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*}:batchSearchLinkProcesses:\x01*\x1aN\xca\x41\x1a\x64\x61talineage.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\'com.google.cloud.datacatalog.lineage.v1B\x0cLineageProtoP\x01ZAcloud.google.com/go/datacatalog/lineage/apiv1/lineagepb;lineagepb\xaa\x02#Google.Cloud.DataCatalog.Lineage.V1\xca\x02#Google\\Cloud\\DataCatalog\\Lineage\\V1\xea\x02\'Google::Cloud::DataCatalog::Lineage::V1b\x06proto3"
|
18
|
+
descriptor_data = "\n1google/cloud/datacatalog/lineage/v1/lineage.proto\x12#google.cloud.datacatalog.lineage.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x03\n\x07Process\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12U\n\nattributes\x18\x03 \x03(\x0b\x32<.google.cloud.datacatalog.lineage.v1.Process.AttributesEntryB\x03\xe0\x41\x01\x12@\n\x06origin\x18\x04 \x01(\x0b\x32+.google.cloud.datacatalog.lineage.v1.OriginB\x03\xe0\x41\x01\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01:d\xea\x41\x61\n\"datalineage.googleapis.com/Process\x12;projects/{project}/locations/{location}/processes/{process}\"\xb5\x04\n\x03Run\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\nattributes\x18\x03 \x03(\x0b\x32\x38.google.cloud.datacatalog.lineage.v1.Run.AttributesEntryB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32..google.cloud.datacatalog.lineage.v1.Run.StateB\x03\xe0\x41\x02\x1aI\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01\"I\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0b\n\x07\x41\x42ORTED\x10\x04:k\xea\x41h\n\x1e\x64\x61talineage.googleapis.com/Run\x12\x46projects/{project}/locations/{location}/processes/{process}/runs/{run}\"\xe3\x02\n\x0cLineageEvent\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x42\n\x05links\x18\x08 \x03(\x0b\x32..google.cloud.datacatalog.lineage.v1.EventLinkB\x03\xe0\x41\x01\x12\x33\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01:\x93\x01\xea\x41\x8f\x01\n\'datalineage.googleapis.com/LineageEvent\x12\x64projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}\"\xa1\x01\n\tEventLink\x12I\n\x06source\x18\x01 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\x12I\n\x06target\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x02\"4\n\x0f\x45ntityReference\x12!\n\x14\x66ully_qualified_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xe6\x03\n\x11OperationMetadata\x12P\n\x05state\x18\x01 \x01(\x0e\x32<.google.cloud.datacatalog.lineage.v1.OperationMetadata.StateB\x03\xe0\x41\x03\x12X\n\x0eoperation_type\x18\x02 \x01(\x0e\x32;.google.cloud.datacatalog.lineage.v1.OperationMetadata.TypeB\x03\xe0\x41\x03\x12\x15\n\x08resource\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rresource_uuid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"4\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\n\n\x06\x43REATE\x10\x02\"\x80\x01\n!ProcessOpenLineageRunEventRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x32\n\x0copen_lineage\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xd6\x01\n\"ProcessOpenLineageRunEventResponse\x12\x38\n\x07process\x18\x01 \x01(\tB\'\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x30\n\x03run\x18\x02 \x01(\tB#\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\x12\x44\n\x0elineage_events\x18\x03 \x03(\tB,\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\"\xaa\x01\n\x14\x43reateProcessRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x42\n\x07process\x18\x02 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xa2\x01\n\x14UpdateProcessRequest\x12\x42\n\x07process\x18\x01 \x01(\x0b\x32,.google.cloud.datacatalog.lineage.v1.ProcessB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"M\n\x11GetProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\"y\n\x14ListProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x15ListProcessesResponse\x12?\n\tprocesses\x18\x01 \x03(\x0b\x32,.google.cloud.datacatalog.lineage.v1.Process\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"g\n\x14\x44\x65leteProcessRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\x9a\x01\n\x10\x43reateRunRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12:\n\x03run\x18\x02 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\x96\x01\n\x10UpdateRunRequest\x12:\n\x03run\x18\x01 \x01(\x0b\x32(.google.cloud.datacatalog.lineage.v1.RunB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"E\n\rGetRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\"p\n\x0fListRunsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61talineage.googleapis.com/Run\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"c\n\x10ListRunsResponse\x12\x36\n\x04runs\x18\x01 \x03(\x0b\x32(.google.cloud.datacatalog.lineage.v1.Run\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x10\x44\x65leteRunRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x64\x61talineage.googleapis.com/Run\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xbf\x01\n\x19\x43reateLineageEventRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12M\n\rlineage_event\x18\x02 \x01(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEventB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"W\n\x16GetLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\"\x82\x01\n\x18ListLineageEventsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'datalineage.googleapis.com/LineageEvent\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x7f\n\x19ListLineageEventsResponse\x12I\n\x0elineage_events\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x19\x44\x65leteLineageEventRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalineage.googleapis.com/LineageEvent\x12\x15\n\rallow_missing\x18\x02 \x01(\x08\"\xa7\x02\n\x12SearchLinksRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12K\n\x06source\x18\x04 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12K\n\x06target\x18\x05 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReferenceB\x03\xe0\x41\x01H\x00\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x42\n\n\x08\x63riteria\"h\n\x13SearchLinksResponse\x12\x38\n\x05links\x18\x01 \x03(\x0b\x32).google.cloud.datacatalog.lineage.v1.Link\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x86\x02\n\x04Link\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12\x44\n\x06source\x18\x02 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12\x44\n\x06target\x18\x03 \x01(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.EntityReference\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x98\x01\n\x1f\x42\x61tchSearchLinkProcessesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"datalineage.googleapis.com/Process\x12\x12\n\x05links\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\"\x85\x01\n BatchSearchLinkProcessesResponse\x12H\n\rprocess_links\x18\x01 \x03(\x0b\x32\x31.google.cloud.datacatalog.lineage.v1.ProcessLinks\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8d\x01\n\x0cProcessLinks\x12\x38\n\x07process\x18\x01 \x01(\tB\'\xfa\x41$\n\"datalineage.googleapis.com/Process\x12\x43\n\x05links\x18\x02 \x03(\x0b\x32\x34.google.cloud.datacatalog.lineage.v1.ProcessLinkInfo\"}\n\x0fProcessLinkInfo\x12\x0c\n\x04link\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe9\x01\n\x06Origin\x12K\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x36.google.cloud.datacatalog.lineage.v1.Origin.SourceType\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x83\x01\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43USTOM\x10\x01\x12\x0c\n\x08\x42IGQUERY\x10\x02\x12\x0f\n\x0b\x44\x41TA_FUSION\x10\x03\x12\x0c\n\x08\x43OMPOSER\x10\x04\x12\x11\n\rLOOKER_STUDIO\x10\x05\x12\x0c\n\x08\x44\x41TAPROC\x10\x06\x32\xbc\x1d\n\x07Lineage\x12\x99\x02\n\x1aProcessOpenLineageRunEvent\x12\x46.google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventRequest\x1aG.google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventResponse\"j\x82\xd3\xe4\x93\x02N\">/v1/{parent=projects/*/locations/*}:processOpenLineageRunEvent:\x0copen_lineage\xda\x41\x13parent,open_lineage\x12\xc9\x01\n\rCreateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.CreateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"O\x82\xd3\xe4\x93\x02\x38\"-/v1/{parent=projects/*/locations/*}/processes:\x07process\xda\x41\x0eparent,process\x12\xd6\x01\n\rUpdateProcess\x12\x39.google.cloud.datacatalog.lineage.v1.UpdateProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"\\\x82\xd3\xe4\x93\x02@25/v1/{process.name=projects/*/locations/*/processes/*}:\x07process\xda\x41\x13process,update_mask\x12\xb0\x01\n\nGetProcess\x12\x36.google.cloud.datacatalog.lineage.v1.GetProcessRequest\x1a,.google.cloud.datacatalog.lineage.v1.Process\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\x12\xc6\x01\n\rListProcesses\x12\x39.google.cloud.datacatalog.lineage.v1.ListProcessesRequest\x1a:.google.cloud.datacatalog.lineage.v1.ListProcessesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/processes\xda\x41\x06parent\x12\xf9\x01\n\rDeleteProcess\x12\x39.google.cloud.datacatalog.lineage.v1.DeleteProcessRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/processes/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xbc\x01\n\tCreateRun\x12\x35.google.cloud.datacatalog.lineage.v1.CreateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"N\x82\xd3\xe4\x93\x02;\"4/v1/{parent=projects/*/locations/*/processes/*}/runs:\x03run\xda\x41\nparent,run\x12\xc5\x01\n\tUpdateRun\x12\x35.google.cloud.datacatalog.lineage.v1.UpdateRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"W\x82\xd3\xe4\x93\x02?28/v1/{run.name=projects/*/locations/*/processes/*/runs/*}:\x03run\xda\x41\x0frun,update_mask\x12\xab\x01\n\x06GetRun\x12\x32.google.cloud.datacatalog.lineage.v1.GetRunRequest\x1a(.google.cloud.datacatalog.lineage.v1.Run\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\x12\xbe\x01\n\x08ListRuns\x12\x34.google.cloud.datacatalog.lineage.v1.ListRunsRequest\x1a\x35.google.cloud.datacatalog.lineage.v1.ListRunsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*/processes/*}/runs\xda\x41\x06parent\x12\xf8\x01\n\tDeleteRun\x12\x35.google.cloud.datacatalog.lineage.v1.DeleteRunRequest\x1a\x1d.google.longrunning.Operation\"\x94\x01\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/processes/*/runs/*}\xda\x41\x04name\xca\x41N\n\x15google.protobuf.Empty\x12\x35google.cloud.datacatalog.lineage.v1.OperationMetadata\x12\xfb\x01\n\x12\x43reateLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.CreateLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"r\x82\xd3\xe4\x93\x02U\"D/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents:\rlineage_event\xda\x41\x14parent,lineage_event\x12\xd6\x01\n\x0fGetLineageEvent\x12;.google.cloud.datacatalog.lineage.v1.GetLineageEventRequest\x1a\x31.google.cloud.datacatalog.lineage.v1.LineageEvent\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xe9\x01\n\x11ListLineageEvents\x12=.google.cloud.datacatalog.lineage.v1.ListLineageEventsRequest\x1a>.google.cloud.datacatalog.lineage.v1.ListLineageEventsResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/processes/*/runs/*}/lineageEvents\xda\x41\x06parent\x12\xc1\x01\n\x12\x44\x65leteLineageEvent\x12>.google.cloud.datacatalog.lineage.v1.DeleteLineageEventRequest\x1a\x16.google.protobuf.Empty\"S\x82\xd3\xe4\x93\x02\x46*D/v1/{name=projects/*/locations/*/processes/*/runs/*/lineageEvents/*}\xda\x41\x04name\x12\xbc\x01\n\x0bSearchLinks\x12\x37.google.cloud.datacatalog.lineage.v1.SearchLinksRequest\x1a\x38.google.cloud.datacatalog.lineage.v1.SearchLinksResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/{parent=projects/*/locations/*}:searchLinks:\x01*\x12\xf0\x01\n\x18\x42\x61tchSearchLinkProcesses\x12\x44.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesRequest\x1a\x45.google.cloud.datacatalog.lineage.v1.BatchSearchLinkProcessesResponse\"G\x82\xd3\xe4\x93\x02\x41\"</v1/{parent=projects/*/locations/*}:batchSearchLinkProcesses:\x01*\x1aN\xca\x41\x1a\x64\x61talineage.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n\'com.google.cloud.datacatalog.lineage.v1B\x0cLineageProtoP\x01ZAcloud.google.com/go/datacatalog/lineage/apiv1/lineagepb;lineagepb\xaa\x02#Google.Cloud.DataCatalog.Lineage.V1\xca\x02#Google\\Cloud\\DataCatalog\\Lineage\\V1\xea\x02\'Google::Cloud::DataCatalog::Lineage::V1b\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -58,6 +58,8 @@ module Google
|
|
58
58
|
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata").msgclass
|
59
59
|
OperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata.State").enummodule
|
60
60
|
OperationMetadata::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.OperationMetadata.Type").enummodule
|
61
|
+
ProcessOpenLineageRunEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventRequest").msgclass
|
62
|
+
ProcessOpenLineageRunEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventResponse").msgclass
|
61
63
|
CreateProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.CreateProcessRequest").msgclass
|
62
64
|
UpdateProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.UpdateProcessRequest").msgclass
|
63
65
|
GetProcessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.lineage.v1.GetProcessRequest").msgclass
|
@@ -37,6 +37,11 @@ module Google
|
|
37
37
|
self.unmarshal_class_method = :decode
|
38
38
|
self.service_name = 'google.cloud.datacatalog.lineage.v1.Lineage'
|
39
39
|
|
40
|
+
# Creates new lineage events together with their parents: process and run.
|
41
|
+
# Updates the process and run if they already exist.
|
42
|
+
# Mapped from Open Lineage specification:
|
43
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
|
44
|
+
rpc :ProcessOpenLineageRunEvent, ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventRequest, ::Google::Cloud::DataCatalog::Lineage::V1::ProcessOpenLineageRunEventResponse
|
40
45
|
# Creates a new process.
|
41
46
|
rpc :CreateProcess, ::Google::Cloud::DataCatalog::Lineage::V1::CreateProcessRequest, ::Google::Cloud::DataCatalog::Lineage::V1::Process
|
42
47
|
# Updates a process.
|
@@ -37,8 +37,11 @@ module Google
|
|
37
37
|
# or numbers, spaces or characters like `_-:&.`
|
38
38
|
# @!attribute [rw] attributes
|
39
39
|
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
40
|
-
# Optional. The attributes of the process.
|
41
|
-
#
|
40
|
+
# Optional. The attributes of the process. Should only be used for the
|
41
|
+
# purpose of non-semantic management (classifying, describing or labeling the
|
42
|
+
# process).
|
43
|
+
#
|
44
|
+
# Up to 100 attributes are allowed.
|
42
45
|
# @!attribute [rw] origin
|
43
46
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Origin]
|
44
47
|
# Optional. The origin of this process and its runs and lineage events.
|
@@ -72,8 +75,10 @@ module Google
|
|
72
75
|
# or numbers, spaces or characters like `_-:&.`
|
73
76
|
# @!attribute [rw] attributes
|
74
77
|
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
75
|
-
# Optional. The attributes of the run.
|
76
|
-
#
|
78
|
+
# Optional. The attributes of the run. Should only be used for the purpose of
|
79
|
+
# non-semantic management (classifying, describing or labeling the run).
|
80
|
+
#
|
81
|
+
# Up to 100 attributes are allowed.
|
77
82
|
# @!attribute [rw] start_time
|
78
83
|
# @return [::Google::Protobuf::Timestamp]
|
79
84
|
# Required. The timestamp of the start of the run.
|
@@ -131,7 +136,7 @@ module Google
|
|
131
136
|
# Optional. List of source-target pairs. Can't contain more than 100 tuples.
|
132
137
|
# @!attribute [rw] start_time
|
133
138
|
# @return [::Google::Protobuf::Timestamp]
|
134
|
-
#
|
139
|
+
# Required. The beginning of the transformation which resulted in this
|
135
140
|
# lineage event. For streaming scenarios, it should be the beginning of the
|
136
141
|
# period from which the lineage is being reported.
|
137
142
|
# @!attribute [rw] end_time
|
@@ -159,16 +164,9 @@ module Google
|
|
159
164
|
# The soft reference to everything you can attach a lineage event to.
|
160
165
|
# @!attribute [rw] fully_qualified_name
|
161
166
|
# @return [::String]
|
162
|
-
# Required. Fully Qualified Name
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# Examples:
|
167
|
-
#
|
168
|
-
# * `bigquery:dataset.project_id.dataset_id`
|
169
|
-
# * `bigquery:table.project_id.dataset_id.table_id`
|
170
|
-
# * `pubsub:project_id.topic_id`
|
171
|
-
# * `dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId`
|
167
|
+
# Required. [Fully Qualified Name
|
168
|
+
# (FQN)](https://cloud.google.com/data-catalog/docs/fully-qualified-names)
|
169
|
+
# of the entity.
|
172
170
|
class EntityReference
|
173
171
|
include ::Google::Protobuf::MessageExts
|
174
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -225,9 +223,53 @@ module Google
|
|
225
223
|
|
226
224
|
# The resource deletion operation.
|
227
225
|
DELETE = 1
|
226
|
+
|
227
|
+
# The resource creation operation.
|
228
|
+
CREATE = 2
|
228
229
|
end
|
229
230
|
end
|
230
231
|
|
232
|
+
# Request message for
|
233
|
+
# [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEvent].
|
234
|
+
# @!attribute [rw] parent
|
235
|
+
# @return [::String]
|
236
|
+
# Required. The name of the project and its location that should own the
|
237
|
+
# process, run, and lineage event.
|
238
|
+
# @!attribute [rw] open_lineage
|
239
|
+
# @return [::Google::Protobuf::Struct]
|
240
|
+
# Required. OpenLineage message following OpenLineage format:
|
241
|
+
# https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json
|
242
|
+
# @!attribute [rw] request_id
|
243
|
+
# @return [::String]
|
244
|
+
# A unique identifier for this request. Restricted to 36 ASCII characters.
|
245
|
+
# A random UUID is recommended. This request is idempotent only if a
|
246
|
+
# `request_id` is provided.
|
247
|
+
class ProcessOpenLineageRunEventRequest
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
252
|
+
# Response message for
|
253
|
+
# [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEvent].
|
254
|
+
# @!attribute [rw] process
|
255
|
+
# @return [::String]
|
256
|
+
# Created process name.
|
257
|
+
# Format: `projects/{project}/locations/{location}/processes/{process}`.
|
258
|
+
# @!attribute [rw] run
|
259
|
+
# @return [::String]
|
260
|
+
# Created run name.
|
261
|
+
# Format:
|
262
|
+
# `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
|
263
|
+
# @!attribute [rw] lineage_events
|
264
|
+
# @return [::Array<::String>]
|
265
|
+
# Created lineage event names.
|
266
|
+
# Format:
|
267
|
+
# `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
|
268
|
+
class ProcessOpenLineageRunEventResponse
|
269
|
+
include ::Google::Protobuf::MessageExts
|
270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
|
+
end
|
272
|
+
|
231
273
|
# Request message for
|
232
274
|
# [CreateProcess][google.cloud.datacatalog.lineage.v1.CreateProcess].
|
233
275
|
# @!attribute [rw] parent
|
@@ -360,6 +402,9 @@ module Google
|
|
360
402
|
# @return [::Google::Protobuf::FieldMask]
|
361
403
|
# The list of fields to update. Currently not used. The whole message is
|
362
404
|
# updated.
|
405
|
+
# @!attribute [rw] allow_missing
|
406
|
+
# @return [::Boolean]
|
407
|
+
# If set to true and the run is not found, the request creates it.
|
363
408
|
class UpdateRunRequest
|
364
409
|
include ::Google::Protobuf::MessageExts
|
365
410
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -511,7 +556,7 @@ module Google
|
|
511
556
|
# {::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client#search_links SearchLinks}.
|
512
557
|
# @!attribute [rw] parent
|
513
558
|
# @return [::String]
|
514
|
-
# Required. The project and location you want search in
|
559
|
+
# Required. The project and location you want search in.
|
515
560
|
# @!attribute [rw] source
|
516
561
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::EntityReference]
|
517
562
|
# Optional. Send asset information in the **source** field to retrieve all
|
@@ -585,7 +630,7 @@ module Google
|
|
585
630
|
# {::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client#batch_search_link_processes BatchSearchLinkProcesses}.
|
586
631
|
# @!attribute [rw] parent
|
587
632
|
# @return [::String]
|
588
|
-
# Required. The project and location you want search
|
633
|
+
# Required. The project and location where you want to search.
|
589
634
|
# @!attribute [rw] links
|
590
635
|
# @return [::Array<::String>]
|
591
636
|
# Required. An array of links to check for their associated LineageProcesses.
|
@@ -664,6 +709,10 @@ module Google
|
|
664
709
|
# @!attribute [rw] source_type
|
665
710
|
# @return [::Google::Cloud::DataCatalog::Lineage::V1::Origin::SourceType]
|
666
711
|
# Type of the source.
|
712
|
+
#
|
713
|
+
# Use of a source_type other than `CUSTOM` for process creation
|
714
|
+
# or updating is highly discouraged, and may be restricted in the future
|
715
|
+
# without notice.
|
667
716
|
# @!attribute [rw] name
|
668
717
|
# @return [::String]
|
669
718
|
# If the source_type isn't CUSTOM, the value of this field should be a GCP
|
@@ -698,6 +747,9 @@ module Google
|
|
698
747
|
|
699
748
|
# Looker Studio
|
700
749
|
LOOKER_STUDIO = 5
|
750
|
+
|
751
|
+
# Dataproc
|
752
|
+
DATAPROC = 6
|
701
753
|
end
|
702
754
|
end
|
703
755
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-data_catalog-lineage-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|