google-cloud-dataplex-v1 2.9.0 → 2.10.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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataplex/v1/analyze_pb.rb +2 -25
  4. data/lib/google/cloud/dataplex/v1/approval_workflow_pb.rb +33 -0
  5. data/lib/google/cloud/dataplex/v1/bindings_override.rb +24 -24
  6. data/lib/google/cloud/dataplex/v1/business_glossary_pb.rb +3 -26
  7. data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +2 -0
  8. data/lib/google/cloud/dataplex/v1/business_glossary_service/credentials.rb +4 -1
  9. data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +2 -0
  10. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/client.rb +2 -0
  11. data/lib/google/cloud/dataplex/v1/business_glossary_service/rest/operations.rb +2 -0
  12. data/lib/google/cloud/dataplex/v1/catalog_pb.rb +20 -27
  13. data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +1074 -73
  14. data/lib/google/cloud/dataplex/v1/catalog_service/credentials.rb +4 -1
  15. data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +2 -0
  16. data/lib/google/cloud/dataplex/v1/catalog_service/paths.rb +19 -0
  17. data/lib/google/cloud/dataplex/v1/catalog_service/rest/client.rb +1020 -82
  18. data/lib/google/cloud/dataplex/v1/catalog_service/rest/operations.rb +2 -0
  19. data/lib/google/cloud/dataplex/v1/catalog_service/rest/service_stub.rb +554 -0
  20. data/lib/google/cloud/dataplex/v1/catalog_services_pb.rb +18 -15
  21. data/lib/google/cloud/dataplex/v1/cmek_pb.rb +3 -26
  22. data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +2 -0
  23. data/lib/google/cloud/dataplex/v1/cmek_service/credentials.rb +2 -1
  24. data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +2 -0
  25. data/lib/google/cloud/dataplex/v1/cmek_service/rest/client.rb +2 -0
  26. data/lib/google/cloud/dataplex/v1/cmek_service/rest/operations.rb +2 -0
  27. data/lib/google/cloud/dataplex/v1/content_pb.rb +3 -38
  28. data/lib/google/cloud/dataplex/v1/content_services_pb.rb +0 -49
  29. data/lib/google/cloud/dataplex/v1/data_discovery_pb.rb +4 -24
  30. data/lib/google/cloud/dataplex/v1/data_documentation_pb.rb +10 -24
  31. data/lib/google/cloud/dataplex/v1/data_product_service/client.rb +1644 -0
  32. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/credentials.rb +7 -4
  33. data/lib/google/cloud/dataplex/v1/data_product_service/operations.rb +843 -0
  34. data/lib/google/cloud/dataplex/v1/data_product_service/paths.rb +231 -0
  35. data/lib/google/cloud/dataplex/v1/data_product_service/rest/client.rb +1533 -0
  36. data/lib/google/cloud/dataplex/v1/data_product_service/rest/operations.rb +956 -0
  37. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest/service_stub.rb +284 -160
  38. data/lib/google/cloud/dataplex/v1/{content_service → data_product_service}/rest.rb +11 -10
  39. data/lib/google/cloud/dataplex/v1/{content_service.rb → data_product_service.rb} +15 -14
  40. data/lib/google/cloud/dataplex/v1/data_products_pb.rb +52 -0
  41. data/lib/google/cloud/dataplex/v1/data_products_services_pb.rb +69 -0
  42. data/lib/google/cloud/dataplex/v1/data_profile_pb.rb +4 -26
  43. data/lib/google/cloud/dataplex/v1/data_quality_pb.rb +13 -26
  44. data/lib/google/cloud/dataplex/v1/data_quality_rule_template_pb.rb +25 -0
  45. data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +99 -1
  46. data/lib/google/cloud/dataplex/v1/data_scan_service/credentials.rb +4 -1
  47. data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +2 -0
  48. data/lib/google/cloud/dataplex/v1/data_scan_service/paths.rb +21 -0
  49. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/client.rb +92 -1
  50. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/operations.rb +2 -0
  51. data/lib/google/cloud/dataplex/v1/data_scan_service/rest/service_stub.rb +62 -0
  52. data/lib/google/cloud/dataplex/v1/data_taxonomy_pb.rb +3 -27
  53. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +2 -0
  54. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/credentials.rb +2 -1
  55. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +2 -0
  56. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/client.rb +2 -0
  57. data/lib/google/cloud/dataplex/v1/data_taxonomy_service/rest/operations.rb +2 -0
  58. data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +2 -664
  59. data/lib/google/cloud/dataplex/v1/dataplex_service/credentials.rb +4 -1
  60. data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +2 -0
  61. data/lib/google/cloud/dataplex/v1/dataplex_service/paths.rb +0 -21
  62. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/client.rb +2 -622
  63. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/operations.rb +2 -0
  64. data/lib/google/cloud/dataplex/v1/dataplex_service/rest/service_stub.rb +0 -368
  65. data/lib/google/cloud/dataplex/v1/datascans_common_pb.rb +3 -24
  66. data/lib/google/cloud/dataplex/v1/datascans_pb.rb +9 -31
  67. data/lib/google/cloud/dataplex/v1/datascans_services_pb.rb +2 -0
  68. data/lib/google/cloud/dataplex/v1/logs_pb.rb +3 -27
  69. data/lib/google/cloud/dataplex/v1/metadata_pb.rb +3 -25
  70. data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +2 -0
  71. data/lib/google/cloud/dataplex/v1/metadata_service/credentials.rb +2 -1
  72. data/lib/google/cloud/dataplex/v1/metadata_service/rest/client.rb +2 -0
  73. data/lib/google/cloud/dataplex/v1/processing_pb.rb +5 -24
  74. data/lib/google/cloud/dataplex/v1/resources_pb.rb +2 -25
  75. data/lib/google/cloud/dataplex/v1/rest.rb +1 -1
  76. data/lib/google/cloud/dataplex/v1/security_pb.rb +2 -23
  77. data/lib/google/cloud/dataplex/v1/service_pb.rb +3 -38
  78. data/lib/google/cloud/dataplex/v1/service_services_pb.rb +0 -13
  79. data/lib/google/cloud/dataplex/v1/tasks_pb.rb +2 -25
  80. data/lib/google/cloud/dataplex/v1/version.rb +1 -1
  81. data/lib/google/cloud/dataplex/v1.rb +1 -0
  82. data/proto_docs/google/api/client.rb +149 -29
  83. data/proto_docs/google/cloud/dataplex/v1/approval_workflow.rb +263 -0
  84. data/proto_docs/google/cloud/dataplex/v1/catalog.rb +427 -3
  85. data/proto_docs/google/cloud/dataplex/v1/data_discovery.rb +13 -0
  86. data/proto_docs/google/cloud/dataplex/v1/data_documentation.rb +118 -2
  87. data/proto_docs/google/cloud/dataplex/v1/data_products.rb +567 -0
  88. data/proto_docs/google/cloud/dataplex/v1/data_profile.rb +21 -0
  89. data/proto_docs/google/cloud/dataplex/v1/data_quality.rb +240 -10
  90. data/proto_docs/google/cloud/dataplex/v1/data_quality_rule_template.rb +88 -0
  91. data/proto_docs/google/cloud/dataplex/v1/datascans.rb +82 -5
  92. data/proto_docs/google/cloud/dataplex/v1/datascans_common.rb +7 -3
  93. data/proto_docs/google/cloud/dataplex/v1/logs.rb +7 -0
  94. data/proto_docs/google/cloud/dataplex/v1/processing.rb +27 -3
  95. data/proto_docs/google/cloud/dataplex/v1/service.rb +0 -148
  96. metadata +20 -12
  97. data/lib/google/cloud/dataplex/v1/content_service/client.rb +0 -1261
  98. data/lib/google/cloud/dataplex/v1/content_service/paths.rb +0 -73
  99. data/lib/google/cloud/dataplex/v1/content_service/rest/client.rb +0 -1171
  100. data/proto_docs/google/cloud/dataplex/v1/content.rb +0 -142
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -16,16 +16,16 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google/cloud/dataplex/v1/content_pb"
19
+ require "google/cloud/dataplex/v1/data_products_pb"
20
20
 
21
21
  module Google
22
22
  module Cloud
23
23
  module Dataplex
24
24
  module V1
25
- module ContentService
25
+ module DataProductService
26
26
  module Rest
27
27
  ##
28
- # REST service stub for the ContentService service.
28
+ # REST service stub for the DataProductService service.
29
29
  # Service stub contains baseline method implementations
30
30
  # including transcoding, making the REST call, and deserialing the response.
31
31
  #
@@ -74,23 +74,23 @@ module Google
74
74
  end
75
75
 
76
76
  ##
77
- # Baseline implementation for the create_content REST call
77
+ # Baseline implementation for the create_data_product REST call
78
78
  #
79
- # @param request_pb [::Google::Cloud::Dataplex::V1::CreateContentRequest]
79
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateDataProductRequest]
80
80
  # A request object representing the call parameters. Required.
81
81
  # @param options [::Gapic::CallOptions]
82
82
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
83
83
  #
84
84
  # @yield [result, operation] Access the result along with the TransportOperation object
85
- # @yieldparam result [::Google::Cloud::Dataplex::V1::Content]
85
+ # @yieldparam result [::Google::Longrunning::Operation]
86
86
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
87
87
  #
88
- # @return [::Google::Cloud::Dataplex::V1::Content]
88
+ # @return [::Google::Longrunning::Operation]
89
89
  # A result object deserialized from the server's reply
90
- def create_content request_pb, options = nil
90
+ def create_data_product request_pb, options = nil
91
91
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
92
92
 
93
- verb, uri, query_string_params, body = ServiceStub.transcode_create_content_request request_pb
93
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_data_product_request request_pb
94
94
  query_string_params = if query_string_params.any?
95
95
  query_string_params.to_h { |p| p.split "=", 2 }
96
96
  else
@@ -102,11 +102,11 @@ module Google
102
102
  uri: uri,
103
103
  body: body || "",
104
104
  params: query_string_params,
105
- method_name: "create_content",
105
+ method_name: "create_data_product",
106
106
  options: options
107
107
  )
108
108
  operation = ::Gapic::Rest::TransportOperation.new response
109
- result = ::Google::Cloud::Dataplex::V1::Content.decode_json response.body, ignore_unknown_fields: true
109
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
110
110
  catch :response do
111
111
  yield result, operation if block_given?
112
112
  result
@@ -114,23 +114,23 @@ module Google
114
114
  end
115
115
 
116
116
  ##
117
- # Baseline implementation for the update_content REST call
117
+ # Baseline implementation for the delete_data_product REST call
118
118
  #
119
- # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateContentRequest]
119
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteDataProductRequest]
120
120
  # A request object representing the call parameters. Required.
121
121
  # @param options [::Gapic::CallOptions]
122
122
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
123
123
  #
124
124
  # @yield [result, operation] Access the result along with the TransportOperation object
125
- # @yieldparam result [::Google::Cloud::Dataplex::V1::Content]
125
+ # @yieldparam result [::Google::Longrunning::Operation]
126
126
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
127
  #
128
- # @return [::Google::Cloud::Dataplex::V1::Content]
128
+ # @return [::Google::Longrunning::Operation]
129
129
  # A result object deserialized from the server's reply
130
- def update_content request_pb, options = nil
130
+ def delete_data_product request_pb, options = nil
131
131
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
132
132
 
133
- verb, uri, query_string_params, body = ServiceStub.transcode_update_content_request request_pb
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_data_product_request request_pb
134
134
  query_string_params = if query_string_params.any?
135
135
  query_string_params.to_h { |p| p.split "=", 2 }
136
136
  else
@@ -142,11 +142,11 @@ module Google
142
142
  uri: uri,
143
143
  body: body || "",
144
144
  params: query_string_params,
145
- method_name: "update_content",
145
+ method_name: "delete_data_product",
146
146
  options: options
147
147
  )
148
148
  operation = ::Gapic::Rest::TransportOperation.new response
149
- result = ::Google::Cloud::Dataplex::V1::Content.decode_json response.body, ignore_unknown_fields: true
149
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
150
150
  catch :response do
151
151
  yield result, operation if block_given?
152
152
  result
@@ -154,23 +154,23 @@ module Google
154
154
  end
155
155
 
156
156
  ##
157
- # Baseline implementation for the delete_content REST call
157
+ # Baseline implementation for the get_data_product REST call
158
158
  #
159
- # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteContentRequest]
159
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetDataProductRequest]
160
160
  # A request object representing the call parameters. Required.
161
161
  # @param options [::Gapic::CallOptions]
162
162
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
163
163
  #
164
164
  # @yield [result, operation] Access the result along with the TransportOperation object
165
- # @yieldparam result [::Google::Protobuf::Empty]
165
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::DataProduct]
166
166
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
167
  #
168
- # @return [::Google::Protobuf::Empty]
168
+ # @return [::Google::Cloud::Dataplex::V1::DataProduct]
169
169
  # A result object deserialized from the server's reply
170
- def delete_content request_pb, options = nil
170
+ def get_data_product request_pb, options = nil
171
171
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
172
172
 
173
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_content_request request_pb
173
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_data_product_request request_pb
174
174
  query_string_params = if query_string_params.any?
175
175
  query_string_params.to_h { |p| p.split "=", 2 }
176
176
  else
@@ -182,11 +182,11 @@ module Google
182
182
  uri: uri,
183
183
  body: body || "",
184
184
  params: query_string_params,
185
- method_name: "delete_content",
185
+ method_name: "get_data_product",
186
186
  options: options
187
187
  )
188
188
  operation = ::Gapic::Rest::TransportOperation.new response
189
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
189
+ result = ::Google::Cloud::Dataplex::V1::DataProduct.decode_json response.body, ignore_unknown_fields: true
190
190
  catch :response do
191
191
  yield result, operation if block_given?
192
192
  result
@@ -194,23 +194,23 @@ module Google
194
194
  end
195
195
 
196
196
  ##
197
- # Baseline implementation for the get_content REST call
197
+ # Baseline implementation for the list_data_products REST call
198
198
  #
199
- # @param request_pb [::Google::Cloud::Dataplex::V1::GetContentRequest]
199
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListDataProductsRequest]
200
200
  # A request object representing the call parameters. Required.
201
201
  # @param options [::Gapic::CallOptions]
202
202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
203
  #
204
204
  # @yield [result, operation] Access the result along with the TransportOperation object
205
- # @yieldparam result [::Google::Cloud::Dataplex::V1::Content]
205
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::ListDataProductsResponse]
206
206
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
207
207
  #
208
- # @return [::Google::Cloud::Dataplex::V1::Content]
208
+ # @return [::Google::Cloud::Dataplex::V1::ListDataProductsResponse]
209
209
  # A result object deserialized from the server's reply
210
- def get_content request_pb, options = nil
210
+ def list_data_products request_pb, options = nil
211
211
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
212
212
 
213
- verb, uri, query_string_params, body = ServiceStub.transcode_get_content_request request_pb
213
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_data_products_request request_pb
214
214
  query_string_params = if query_string_params.any?
215
215
  query_string_params.to_h { |p| p.split "=", 2 }
216
216
  else
@@ -222,11 +222,11 @@ module Google
222
222
  uri: uri,
223
223
  body: body || "",
224
224
  params: query_string_params,
225
- method_name: "get_content",
225
+ method_name: "list_data_products",
226
226
  options: options
227
227
  )
228
228
  operation = ::Gapic::Rest::TransportOperation.new response
229
- result = ::Google::Cloud::Dataplex::V1::Content.decode_json response.body, ignore_unknown_fields: true
229
+ result = ::Google::Cloud::Dataplex::V1::ListDataProductsResponse.decode_json response.body, ignore_unknown_fields: true
230
230
  catch :response do
231
231
  yield result, operation if block_given?
232
232
  result
@@ -234,23 +234,23 @@ module Google
234
234
  end
235
235
 
236
236
  ##
237
- # Baseline implementation for the get_iam_policy REST call
237
+ # Baseline implementation for the update_data_product REST call
238
238
  #
239
- # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
239
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateDataProductRequest]
240
240
  # A request object representing the call parameters. Required.
241
241
  # @param options [::Gapic::CallOptions]
242
242
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
243
243
  #
244
244
  # @yield [result, operation] Access the result along with the TransportOperation object
245
- # @yieldparam result [::Google::Iam::V1::Policy]
245
+ # @yieldparam result [::Google::Longrunning::Operation]
246
246
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
247
247
  #
248
- # @return [::Google::Iam::V1::Policy]
248
+ # @return [::Google::Longrunning::Operation]
249
249
  # A result object deserialized from the server's reply
250
- def get_iam_policy request_pb, options = nil
250
+ def update_data_product request_pb, options = nil
251
251
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
252
252
 
253
- verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
253
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_data_product_request request_pb
254
254
  query_string_params = if query_string_params.any?
255
255
  query_string_params.to_h { |p| p.split "=", 2 }
256
256
  else
@@ -262,11 +262,11 @@ module Google
262
262
  uri: uri,
263
263
  body: body || "",
264
264
  params: query_string_params,
265
- method_name: "get_iam_policy",
265
+ method_name: "update_data_product",
266
266
  options: options
267
267
  )
268
268
  operation = ::Gapic::Rest::TransportOperation.new response
269
- result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
269
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
270
270
  catch :response do
271
271
  yield result, operation if block_given?
272
272
  result
@@ -274,23 +274,23 @@ module Google
274
274
  end
275
275
 
276
276
  ##
277
- # Baseline implementation for the set_iam_policy REST call
277
+ # Baseline implementation for the request_data_product_access REST call
278
278
  #
279
- # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
279
+ # @param request_pb [::Google::Cloud::Dataplex::V1::RequestDataProductAccessRequest]
280
280
  # A request object representing the call parameters. Required.
281
281
  # @param options [::Gapic::CallOptions]
282
282
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
283
283
  #
284
284
  # @yield [result, operation] Access the result along with the TransportOperation object
285
- # @yieldparam result [::Google::Iam::V1::Policy]
285
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::RequestDataProductAccessResponse]
286
286
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
287
287
  #
288
- # @return [::Google::Iam::V1::Policy]
288
+ # @return [::Google::Cloud::Dataplex::V1::RequestDataProductAccessResponse]
289
289
  # A result object deserialized from the server's reply
290
- def set_iam_policy request_pb, options = nil
290
+ def request_data_product_access request_pb, options = nil
291
291
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
292
292
 
293
- verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
293
+ verb, uri, query_string_params, body = ServiceStub.transcode_request_data_product_access_request request_pb
294
294
  query_string_params = if query_string_params.any?
295
295
  query_string_params.to_h { |p| p.split "=", 2 }
296
296
  else
@@ -302,11 +302,11 @@ module Google
302
302
  uri: uri,
303
303
  body: body || "",
304
304
  params: query_string_params,
305
- method_name: "set_iam_policy",
305
+ method_name: "request_data_product_access",
306
306
  options: options
307
307
  )
308
308
  operation = ::Gapic::Rest::TransportOperation.new response
309
- result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
309
+ result = ::Google::Cloud::Dataplex::V1::RequestDataProductAccessResponse.decode_json response.body, ignore_unknown_fields: true
310
310
  catch :response do
311
311
  yield result, operation if block_given?
312
312
  result
@@ -314,23 +314,23 @@ module Google
314
314
  end
315
315
 
316
316
  ##
317
- # Baseline implementation for the test_iam_permissions REST call
317
+ # Baseline implementation for the create_data_asset REST call
318
318
  #
319
- # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
319
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateDataAssetRequest]
320
320
  # A request object representing the call parameters. Required.
321
321
  # @param options [::Gapic::CallOptions]
322
322
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
323
323
  #
324
324
  # @yield [result, operation] Access the result along with the TransportOperation object
325
- # @yieldparam result [::Google::Iam::V1::TestIamPermissionsResponse]
325
+ # @yieldparam result [::Google::Longrunning::Operation]
326
326
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
327
327
  #
328
- # @return [::Google::Iam::V1::TestIamPermissionsResponse]
328
+ # @return [::Google::Longrunning::Operation]
329
329
  # A result object deserialized from the server's reply
330
- def test_iam_permissions request_pb, options = nil
330
+ def create_data_asset request_pb, options = nil
331
331
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
332
332
 
333
- verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
333
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_data_asset_request request_pb
334
334
  query_string_params = if query_string_params.any?
335
335
  query_string_params.to_h { |p| p.split "=", 2 }
336
336
  else
@@ -342,11 +342,11 @@ module Google
342
342
  uri: uri,
343
343
  body: body || "",
344
344
  params: query_string_params,
345
- method_name: "test_iam_permissions",
345
+ method_name: "create_data_asset",
346
346
  options: options
347
347
  )
348
348
  operation = ::Gapic::Rest::TransportOperation.new response
349
- result = ::Google::Iam::V1::TestIamPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
349
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
350
350
  catch :response do
351
351
  yield result, operation if block_given?
352
352
  result
@@ -354,23 +354,23 @@ module Google
354
354
  end
355
355
 
356
356
  ##
357
- # Baseline implementation for the list_content REST call
357
+ # Baseline implementation for the update_data_asset REST call
358
358
  #
359
- # @param request_pb [::Google::Cloud::Dataplex::V1::ListContentRequest]
359
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateDataAssetRequest]
360
360
  # A request object representing the call parameters. Required.
361
361
  # @param options [::Gapic::CallOptions]
362
362
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
363
363
  #
364
364
  # @yield [result, operation] Access the result along with the TransportOperation object
365
- # @yieldparam result [::Google::Cloud::Dataplex::V1::ListContentResponse]
365
+ # @yieldparam result [::Google::Longrunning::Operation]
366
366
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
367
  #
368
- # @return [::Google::Cloud::Dataplex::V1::ListContentResponse]
368
+ # @return [::Google::Longrunning::Operation]
369
369
  # A result object deserialized from the server's reply
370
- def list_content request_pb, options = nil
370
+ def update_data_asset request_pb, options = nil
371
371
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
372
372
 
373
- verb, uri, query_string_params, body = ServiceStub.transcode_list_content_request request_pb
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_data_asset_request request_pb
374
374
  query_string_params = if query_string_params.any?
375
375
  query_string_params.to_h { |p| p.split "=", 2 }
376
376
  else
@@ -382,11 +382,131 @@ module Google
382
382
  uri: uri,
383
383
  body: body || "",
384
384
  params: query_string_params,
385
- method_name: "list_content",
385
+ method_name: "update_data_asset",
386
386
  options: options
387
387
  )
388
388
  operation = ::Gapic::Rest::TransportOperation.new response
389
- result = ::Google::Cloud::Dataplex::V1::ListContentResponse.decode_json response.body, ignore_unknown_fields: true
389
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
390
+ catch :response do
391
+ yield result, operation if block_given?
392
+ result
393
+ end
394
+ end
395
+
396
+ ##
397
+ # Baseline implementation for the delete_data_asset REST call
398
+ #
399
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteDataAssetRequest]
400
+ # A request object representing the call parameters. Required.
401
+ # @param options [::Gapic::CallOptions]
402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
+ #
404
+ # @yield [result, operation] Access the result along with the TransportOperation object
405
+ # @yieldparam result [::Google::Longrunning::Operation]
406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
+ #
408
+ # @return [::Google::Longrunning::Operation]
409
+ # A result object deserialized from the server's reply
410
+ def delete_data_asset request_pb, options = nil
411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
+
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_data_asset_request request_pb
414
+ query_string_params = if query_string_params.any?
415
+ query_string_params.to_h { |p| p.split "=", 2 }
416
+ else
417
+ {}
418
+ end
419
+
420
+ response = @client_stub.make_http_request(
421
+ verb,
422
+ uri: uri,
423
+ body: body || "",
424
+ params: query_string_params,
425
+ method_name: "delete_data_asset",
426
+ options: options
427
+ )
428
+ operation = ::Gapic::Rest::TransportOperation.new response
429
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
430
+ catch :response do
431
+ yield result, operation if block_given?
432
+ result
433
+ end
434
+ end
435
+
436
+ ##
437
+ # Baseline implementation for the get_data_asset REST call
438
+ #
439
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetDataAssetRequest]
440
+ # A request object representing the call parameters. Required.
441
+ # @param options [::Gapic::CallOptions]
442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
443
+ #
444
+ # @yield [result, operation] Access the result along with the TransportOperation object
445
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::DataAsset]
446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
447
+ #
448
+ # @return [::Google::Cloud::Dataplex::V1::DataAsset]
449
+ # A result object deserialized from the server's reply
450
+ def get_data_asset request_pb, options = nil
451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
452
+
453
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_data_asset_request request_pb
454
+ query_string_params = if query_string_params.any?
455
+ query_string_params.to_h { |p| p.split "=", 2 }
456
+ else
457
+ {}
458
+ end
459
+
460
+ response = @client_stub.make_http_request(
461
+ verb,
462
+ uri: uri,
463
+ body: body || "",
464
+ params: query_string_params,
465
+ method_name: "get_data_asset",
466
+ options: options
467
+ )
468
+ operation = ::Gapic::Rest::TransportOperation.new response
469
+ result = ::Google::Cloud::Dataplex::V1::DataAsset.decode_json response.body, ignore_unknown_fields: true
470
+ catch :response do
471
+ yield result, operation if block_given?
472
+ result
473
+ end
474
+ end
475
+
476
+ ##
477
+ # Baseline implementation for the list_data_assets REST call
478
+ #
479
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListDataAssetsRequest]
480
+ # A request object representing the call parameters. Required.
481
+ # @param options [::Gapic::CallOptions]
482
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
483
+ #
484
+ # @yield [result, operation] Access the result along with the TransportOperation object
485
+ # @yieldparam result [::Google::Cloud::Dataplex::V1::ListDataAssetsResponse]
486
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
487
+ #
488
+ # @return [::Google::Cloud::Dataplex::V1::ListDataAssetsResponse]
489
+ # A result object deserialized from the server's reply
490
+ def list_data_assets request_pb, options = nil
491
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
492
+
493
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_data_assets_request request_pb
494
+ query_string_params = if query_string_params.any?
495
+ query_string_params.to_h { |p| p.split "=", 2 }
496
+ else
497
+ {}
498
+ end
499
+
500
+ response = @client_stub.make_http_request(
501
+ verb,
502
+ uri: uri,
503
+ body: body || "",
504
+ params: query_string_params,
505
+ method_name: "list_data_assets",
506
+ options: options
507
+ )
508
+ operation = ::Gapic::Rest::TransportOperation.new response
509
+ result = ::Google::Cloud::Dataplex::V1::ListDataAssetsResponse.decode_json response.body, ignore_unknown_fields: true
390
510
  catch :response do
391
511
  yield result, operation if block_given?
392
512
  result
@@ -396,28 +516,20 @@ module Google
396
516
  ##
397
517
  # @private
398
518
  #
399
- # GRPC transcoding helper method for the create_content REST call
519
+ # GRPC transcoding helper method for the create_data_product REST call
400
520
  #
401
- # @param request_pb [::Google::Cloud::Dataplex::V1::CreateContentRequest]
521
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateDataProductRequest]
402
522
  # A request object representing the call parameters. Required.
403
523
  # @return [Array(String, [String, nil], Hash{String => String})]
404
524
  # Uri, Body, Query string parameters
405
- def self.transcode_create_content_request request_pb
525
+ def self.transcode_create_data_product_request request_pb
406
526
  transcoder = Gapic::Rest::GrpcTranscoder.new
407
527
  .with_bindings(
408
528
  uri_method: :post,
409
- uri_template: "/v1/{parent}/contentitems",
410
- body: "content",
411
- matches: [
412
- ["parent", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/?$}, false]
413
- ]
414
- )
415
- .with_bindings(
416
- uri_method: :post,
417
- uri_template: "/v1/{parent}/content",
418
- body: "content",
529
+ uri_template: "/v1/{parent}/dataProducts",
530
+ body: "data_product",
419
531
  matches: [
420
- ["parent", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/?$}, false]
532
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
421
533
  ]
422
534
  )
423
535
  transcoder.transcode request_pb
@@ -426,28 +538,19 @@ module Google
426
538
  ##
427
539
  # @private
428
540
  #
429
- # GRPC transcoding helper method for the update_content REST call
541
+ # GRPC transcoding helper method for the delete_data_product REST call
430
542
  #
431
- # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateContentRequest]
543
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteDataProductRequest]
432
544
  # A request object representing the call parameters. Required.
433
545
  # @return [Array(String, [String, nil], Hash{String => String})]
434
546
  # Uri, Body, Query string parameters
435
- def self.transcode_update_content_request request_pb
547
+ def self.transcode_delete_data_product_request request_pb
436
548
  transcoder = Gapic::Rest::GrpcTranscoder.new
437
549
  .with_bindings(
438
- uri_method: :patch,
439
- uri_template: "/v1/{content.name}",
440
- body: "content",
441
- matches: [
442
- ["content.name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
443
- ]
444
- )
445
- .with_bindings(
446
- uri_method: :patch,
447
- uri_template: "/v1/{content.name}",
448
- body: "content",
550
+ uri_method: :delete,
551
+ uri_template: "/v1/{name}",
449
552
  matches: [
450
- ["content.name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
553
+ ["name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
451
554
  ]
452
555
  )
453
556
  transcoder.transcode request_pb
@@ -456,26 +559,19 @@ module Google
456
559
  ##
457
560
  # @private
458
561
  #
459
- # GRPC transcoding helper method for the delete_content REST call
562
+ # GRPC transcoding helper method for the get_data_product REST call
460
563
  #
461
- # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteContentRequest]
564
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetDataProductRequest]
462
565
  # A request object representing the call parameters. Required.
463
566
  # @return [Array(String, [String, nil], Hash{String => String})]
464
567
  # Uri, Body, Query string parameters
465
- def self.transcode_delete_content_request request_pb
568
+ def self.transcode_get_data_product_request request_pb
466
569
  transcoder = Gapic::Rest::GrpcTranscoder.new
467
570
  .with_bindings(
468
- uri_method: :delete,
469
- uri_template: "/v1/{name}",
470
- matches: [
471
- ["name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
472
- ]
473
- )
474
- .with_bindings(
475
- uri_method: :delete,
571
+ uri_method: :get,
476
572
  uri_template: "/v1/{name}",
477
573
  matches: [
478
- ["name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
574
+ ["name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
479
575
  ]
480
576
  )
481
577
  transcoder.transcode request_pb
@@ -484,26 +580,19 @@ module Google
484
580
  ##
485
581
  # @private
486
582
  #
487
- # GRPC transcoding helper method for the get_content REST call
583
+ # GRPC transcoding helper method for the list_data_products REST call
488
584
  #
489
- # @param request_pb [::Google::Cloud::Dataplex::V1::GetContentRequest]
585
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListDataProductsRequest]
490
586
  # A request object representing the call parameters. Required.
491
587
  # @return [Array(String, [String, nil], Hash{String => String})]
492
588
  # Uri, Body, Query string parameters
493
- def self.transcode_get_content_request request_pb
589
+ def self.transcode_list_data_products_request request_pb
494
590
  transcoder = Gapic::Rest::GrpcTranscoder.new
495
591
  .with_bindings(
496
592
  uri_method: :get,
497
- uri_template: "/v1/{name}",
593
+ uri_template: "/v1/{parent}/dataProducts",
498
594
  matches: [
499
- ["name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
500
- ]
501
- )
502
- .with_bindings(
503
- uri_method: :get,
504
- uri_template: "/v1/{name}",
505
- matches: [
506
- ["name", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
595
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
507
596
  ]
508
597
  )
509
598
  transcoder.transcode request_pb
@@ -512,26 +601,20 @@ module Google
512
601
  ##
513
602
  # @private
514
603
  #
515
- # GRPC transcoding helper method for the get_iam_policy REST call
604
+ # GRPC transcoding helper method for the update_data_product REST call
516
605
  #
517
- # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
606
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateDataProductRequest]
518
607
  # A request object representing the call parameters. Required.
519
608
  # @return [Array(String, [String, nil], Hash{String => String})]
520
609
  # Uri, Body, Query string parameters
521
- def self.transcode_get_iam_policy_request request_pb
610
+ def self.transcode_update_data_product_request request_pb
522
611
  transcoder = Gapic::Rest::GrpcTranscoder.new
523
612
  .with_bindings(
524
- uri_method: :get,
525
- uri_template: "/v1/{resource}:getIamPolicy",
526
- matches: [
527
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
528
- ]
529
- )
530
- .with_bindings(
531
- uri_method: :get,
532
- uri_template: "/v1/{resource}:getIamPolicy",
613
+ uri_method: :patch,
614
+ uri_template: "/v1/{data_product.name}",
615
+ body: "data_product",
533
616
  matches: [
534
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
617
+ ["data_product.name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
535
618
  ]
536
619
  )
537
620
  transcoder.transcode request_pb
@@ -540,28 +623,42 @@ module Google
540
623
  ##
541
624
  # @private
542
625
  #
543
- # GRPC transcoding helper method for the set_iam_policy REST call
626
+ # GRPC transcoding helper method for the request_data_product_access REST call
544
627
  #
545
- # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
628
+ # @param request_pb [::Google::Cloud::Dataplex::V1::RequestDataProductAccessRequest]
546
629
  # A request object representing the call parameters. Required.
547
630
  # @return [Array(String, [String, nil], Hash{String => String})]
548
631
  # Uri, Body, Query string parameters
549
- def self.transcode_set_iam_policy_request request_pb
632
+ def self.transcode_request_data_product_access_request request_pb
550
633
  transcoder = Gapic::Rest::GrpcTranscoder.new
551
634
  .with_bindings(
552
635
  uri_method: :post,
553
- uri_template: "/v1/{resource}:setIamPolicy",
636
+ uri_template: "/v1/{parent}:requestAccess",
554
637
  body: "*",
555
638
  matches: [
556
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
639
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
557
640
  ]
558
641
  )
642
+ transcoder.transcode request_pb
643
+ end
644
+
645
+ ##
646
+ # @private
647
+ #
648
+ # GRPC transcoding helper method for the create_data_asset REST call
649
+ #
650
+ # @param request_pb [::Google::Cloud::Dataplex::V1::CreateDataAssetRequest]
651
+ # A request object representing the call parameters. Required.
652
+ # @return [Array(String, [String, nil], Hash{String => String})]
653
+ # Uri, Body, Query string parameters
654
+ def self.transcode_create_data_asset_request request_pb
655
+ transcoder = Gapic::Rest::GrpcTranscoder.new
559
656
  .with_bindings(
560
657
  uri_method: :post,
561
- uri_template: "/v1/{resource}:setIamPolicy",
562
- body: "*",
658
+ uri_template: "/v1/{parent}/dataAssets",
659
+ body: "data_asset",
563
660
  matches: [
564
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
661
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
565
662
  ]
566
663
  )
567
664
  transcoder.transcode request_pb
@@ -570,28 +667,41 @@ module Google
570
667
  ##
571
668
  # @private
572
669
  #
573
- # GRPC transcoding helper method for the test_iam_permissions REST call
670
+ # GRPC transcoding helper method for the update_data_asset REST call
574
671
  #
575
- # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
672
+ # @param request_pb [::Google::Cloud::Dataplex::V1::UpdateDataAssetRequest]
576
673
  # A request object representing the call parameters. Required.
577
674
  # @return [Array(String, [String, nil], Hash{String => String})]
578
675
  # Uri, Body, Query string parameters
579
- def self.transcode_test_iam_permissions_request request_pb
676
+ def self.transcode_update_data_asset_request request_pb
580
677
  transcoder = Gapic::Rest::GrpcTranscoder.new
581
678
  .with_bindings(
582
- uri_method: :post,
583
- uri_template: "/v1/{resource}:testIamPermissions",
584
- body: "*",
679
+ uri_method: :patch,
680
+ uri_template: "/v1/{data_asset.name}",
681
+ body: "data_asset",
585
682
  matches: [
586
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/contentitems(?:/.*)?$}, true]
683
+ ["data_asset.name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+/?$}, false]
587
684
  ]
588
685
  )
686
+ transcoder.transcode request_pb
687
+ end
688
+
689
+ ##
690
+ # @private
691
+ #
692
+ # GRPC transcoding helper method for the delete_data_asset REST call
693
+ #
694
+ # @param request_pb [::Google::Cloud::Dataplex::V1::DeleteDataAssetRequest]
695
+ # A request object representing the call parameters. Required.
696
+ # @return [Array(String, [String, nil], Hash{String => String})]
697
+ # Uri, Body, Query string parameters
698
+ def self.transcode_delete_data_asset_request request_pb
699
+ transcoder = Gapic::Rest::GrpcTranscoder.new
589
700
  .with_bindings(
590
- uri_method: :post,
591
- uri_template: "/v1/{resource}:testIamPermissions",
592
- body: "*",
701
+ uri_method: :delete,
702
+ uri_template: "/v1/{name}",
593
703
  matches: [
594
- ["resource", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/content(?:/.*)?$}, true]
704
+ ["name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+/?$}, false]
595
705
  ]
596
706
  )
597
707
  transcoder.transcode request_pb
@@ -600,26 +710,40 @@ module Google
600
710
  ##
601
711
  # @private
602
712
  #
603
- # GRPC transcoding helper method for the list_content REST call
713
+ # GRPC transcoding helper method for the get_data_asset REST call
604
714
  #
605
- # @param request_pb [::Google::Cloud::Dataplex::V1::ListContentRequest]
715
+ # @param request_pb [::Google::Cloud::Dataplex::V1::GetDataAssetRequest]
606
716
  # A request object representing the call parameters. Required.
607
717
  # @return [Array(String, [String, nil], Hash{String => String})]
608
718
  # Uri, Body, Query string parameters
609
- def self.transcode_list_content_request request_pb
719
+ def self.transcode_get_data_asset_request request_pb
610
720
  transcoder = Gapic::Rest::GrpcTranscoder.new
611
721
  .with_bindings(
612
722
  uri_method: :get,
613
- uri_template: "/v1/{parent}/contentitems",
723
+ uri_template: "/v1/{name}",
614
724
  matches: [
615
- ["parent", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/?$}, false]
725
+ ["name", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/dataAssets/[^/]+/?$}, false]
616
726
  ]
617
727
  )
728
+ transcoder.transcode request_pb
729
+ end
730
+
731
+ ##
732
+ # @private
733
+ #
734
+ # GRPC transcoding helper method for the list_data_assets REST call
735
+ #
736
+ # @param request_pb [::Google::Cloud::Dataplex::V1::ListDataAssetsRequest]
737
+ # A request object representing the call parameters. Required.
738
+ # @return [Array(String, [String, nil], Hash{String => String})]
739
+ # Uri, Body, Query string parameters
740
+ def self.transcode_list_data_assets_request request_pb
741
+ transcoder = Gapic::Rest::GrpcTranscoder.new
618
742
  .with_bindings(
619
743
  uri_method: :get,
620
- uri_template: "/v1/{parent}/content",
744
+ uri_template: "/v1/{parent}/dataAssets",
621
745
  matches: [
622
- ["parent", %r{^projects/[^/]+/locations/[^/]+/lakes/[^/]+/?$}, false]
746
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/dataProducts/[^/]+/?$}, false]
623
747
  ]
624
748
  )
625
749
  transcoder.transcode request_pb