google-cloud-dataform-v1beta1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -230,6 +230,196 @@ module Google
230
230
  result
231
231
  end
232
232
 
233
+ ##
234
+ # Baseline implementation for the commit_repository_changes REST call
235
+ #
236
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CommitRepositoryChangesRequest]
237
+ # A request object representing the call parameters. Required.
238
+ # @param options [::Gapic::CallOptions]
239
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
240
+ #
241
+ # @yield [result, operation] Access the result along with the TransportOperation object
242
+ # @yieldparam result [::Google::Protobuf::Empty]
243
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
244
+ #
245
+ # @return [::Google::Protobuf::Empty]
246
+ # A result object deserialized from the server's reply
247
+ def commit_repository_changes request_pb, options = nil
248
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
249
+
250
+ verb, uri, query_string_params, body = ServiceStub.transcode_commit_repository_changes_request request_pb
251
+ query_string_params = if query_string_params.any?
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
+ else
254
+ {}
255
+ end
256
+
257
+ response = @client_stub.make_http_request(
258
+ verb,
259
+ uri: uri,
260
+ body: body || "",
261
+ params: query_string_params,
262
+ options: options
263
+ )
264
+ operation = ::Gapic::Rest::TransportOperation.new response
265
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
266
+
267
+ yield result, operation if block_given?
268
+ result
269
+ end
270
+
271
+ ##
272
+ # Baseline implementation for the read_repository_file REST call
273
+ #
274
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileRequest]
275
+ # A request object representing the call parameters. Required.
276
+ # @param options [::Gapic::CallOptions]
277
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
278
+ #
279
+ # @yield [result, operation] Access the result along with the TransportOperation object
280
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileResponse]
281
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
282
+ #
283
+ # @return [::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileResponse]
284
+ # A result object deserialized from the server's reply
285
+ def read_repository_file request_pb, options = nil
286
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
287
+
288
+ verb, uri, query_string_params, body = ServiceStub.transcode_read_repository_file_request request_pb
289
+ query_string_params = if query_string_params.any?
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
+ else
292
+ {}
293
+ end
294
+
295
+ response = @client_stub.make_http_request(
296
+ verb,
297
+ uri: uri,
298
+ body: body || "",
299
+ params: query_string_params,
300
+ options: options
301
+ )
302
+ operation = ::Gapic::Rest::TransportOperation.new response
303
+ result = ::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileResponse.decode_json response.body, ignore_unknown_fields: true
304
+
305
+ yield result, operation if block_given?
306
+ result
307
+ end
308
+
309
+ ##
310
+ # Baseline implementation for the query_repository_directory_contents REST call
311
+ #
312
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsRequest]
313
+ # A request object representing the call parameters. Required.
314
+ # @param options [::Gapic::CallOptions]
315
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
316
+ #
317
+ # @yield [result, operation] Access the result along with the TransportOperation object
318
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsResponse]
319
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
320
+ #
321
+ # @return [::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsResponse]
322
+ # A result object deserialized from the server's reply
323
+ def query_repository_directory_contents request_pb, options = nil
324
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
325
+
326
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_repository_directory_contents_request request_pb
327
+ query_string_params = if query_string_params.any?
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
+ else
330
+ {}
331
+ end
332
+
333
+ response = @client_stub.make_http_request(
334
+ verb,
335
+ uri: uri,
336
+ body: body || "",
337
+ params: query_string_params,
338
+ options: options
339
+ )
340
+ operation = ::Gapic::Rest::TransportOperation.new response
341
+ result = ::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsResponse.decode_json response.body, ignore_unknown_fields: true
342
+
343
+ yield result, operation if block_given?
344
+ result
345
+ end
346
+
347
+ ##
348
+ # Baseline implementation for the fetch_repository_history REST call
349
+ #
350
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryRequest]
351
+ # A request object representing the call parameters. Required.
352
+ # @param options [::Gapic::CallOptions]
353
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
354
+ #
355
+ # @yield [result, operation] Access the result along with the TransportOperation object
356
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryResponse]
357
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
358
+ #
359
+ # @return [::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryResponse]
360
+ # A result object deserialized from the server's reply
361
+ def fetch_repository_history request_pb, options = nil
362
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
363
+
364
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_repository_history_request request_pb
365
+ query_string_params = if query_string_params.any?
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
+ else
368
+ {}
369
+ end
370
+
371
+ response = @client_stub.make_http_request(
372
+ verb,
373
+ uri: uri,
374
+ body: body || "",
375
+ params: query_string_params,
376
+ options: options
377
+ )
378
+ operation = ::Gapic::Rest::TransportOperation.new response
379
+ result = ::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryResponse.decode_json response.body, ignore_unknown_fields: true
380
+
381
+ yield result, operation if block_given?
382
+ result
383
+ end
384
+
385
+ ##
386
+ # Baseline implementation for the compute_repository_access_token_status REST call
387
+ #
388
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusRequest]
389
+ # A request object representing the call parameters. Required.
390
+ # @param options [::Gapic::CallOptions]
391
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
392
+ #
393
+ # @yield [result, operation] Access the result along with the TransportOperation object
394
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusResponse]
395
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
396
+ #
397
+ # @return [::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusResponse]
398
+ # A result object deserialized from the server's reply
399
+ def compute_repository_access_token_status request_pb, options = nil
400
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
401
+
402
+ verb, uri, query_string_params, body = ServiceStub.transcode_compute_repository_access_token_status_request request_pb
403
+ query_string_params = if query_string_params.any?
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
+ else
406
+ {}
407
+ end
408
+
409
+ response = @client_stub.make_http_request(
410
+ verb,
411
+ uri: uri,
412
+ body: body || "",
413
+ params: query_string_params,
414
+ options: options
415
+ )
416
+ operation = ::Gapic::Rest::TransportOperation.new response
417
+ result = ::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusResponse.decode_json response.body, ignore_unknown_fields: true
418
+
419
+ yield result, operation if block_given?
420
+ result
421
+ end
422
+
233
423
  ##
234
424
  # Baseline implementation for the fetch_remote_branches REST call
235
425
  #
@@ -1029,23 +1219,23 @@ module Google
1029
1219
  end
1030
1220
 
1031
1221
  ##
1032
- # Baseline implementation for the list_compilation_results REST call
1222
+ # Baseline implementation for the list_release_configs REST call
1033
1223
  #
1034
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsRequest]
1224
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsRequest]
1035
1225
  # A request object representing the call parameters. Required.
1036
1226
  # @param options [::Gapic::CallOptions]
1037
1227
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1038
1228
  #
1039
1229
  # @yield [result, operation] Access the result along with the TransportOperation object
1040
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse]
1230
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsResponse]
1041
1231
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1042
1232
  #
1043
- # @return [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse]
1233
+ # @return [::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsResponse]
1044
1234
  # A result object deserialized from the server's reply
1045
- def list_compilation_results request_pb, options = nil
1235
+ def list_release_configs request_pb, options = nil
1046
1236
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1047
1237
 
1048
- verb, uri, query_string_params, body = ServiceStub.transcode_list_compilation_results_request request_pb
1238
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_release_configs_request request_pb
1049
1239
  query_string_params = if query_string_params.any?
1050
1240
  query_string_params.to_h { |p| p.split "=", 2 }
1051
1241
  else
@@ -1060,30 +1250,30 @@ module Google
1060
1250
  options: options
1061
1251
  )
1062
1252
  operation = ::Gapic::Rest::TransportOperation.new response
1063
- result = ::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse.decode_json response.body, ignore_unknown_fields: true
1253
+ result = ::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsResponse.decode_json response.body, ignore_unknown_fields: true
1064
1254
 
1065
1255
  yield result, operation if block_given?
1066
1256
  result
1067
1257
  end
1068
1258
 
1069
1259
  ##
1070
- # Baseline implementation for the get_compilation_result REST call
1260
+ # Baseline implementation for the get_release_config REST call
1071
1261
  #
1072
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetCompilationResultRequest]
1262
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetReleaseConfigRequest]
1073
1263
  # A request object representing the call parameters. Required.
1074
1264
  # @param options [::Gapic::CallOptions]
1075
1265
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1076
1266
  #
1077
1267
  # @yield [result, operation] Access the result along with the TransportOperation object
1078
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1268
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1079
1269
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1080
1270
  #
1081
- # @return [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1271
+ # @return [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1082
1272
  # A result object deserialized from the server's reply
1083
- def get_compilation_result request_pb, options = nil
1273
+ def get_release_config request_pb, options = nil
1084
1274
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1085
1275
 
1086
- verb, uri, query_string_params, body = ServiceStub.transcode_get_compilation_result_request request_pb
1276
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_release_config_request request_pb
1087
1277
  query_string_params = if query_string_params.any?
1088
1278
  query_string_params.to_h { |p| p.split "=", 2 }
1089
1279
  else
@@ -1098,30 +1288,30 @@ module Google
1098
1288
  options: options
1099
1289
  )
1100
1290
  operation = ::Gapic::Rest::TransportOperation.new response
1101
- result = ::Google::Cloud::Dataform::V1beta1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1291
+ result = ::Google::Cloud::Dataform::V1beta1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1102
1292
 
1103
1293
  yield result, operation if block_given?
1104
1294
  result
1105
1295
  end
1106
1296
 
1107
1297
  ##
1108
- # Baseline implementation for the create_compilation_result REST call
1298
+ # Baseline implementation for the create_release_config REST call
1109
1299
  #
1110
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest]
1300
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateReleaseConfigRequest]
1111
1301
  # A request object representing the call parameters. Required.
1112
1302
  # @param options [::Gapic::CallOptions]
1113
1303
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1114
1304
  #
1115
1305
  # @yield [result, operation] Access the result along with the TransportOperation object
1116
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1306
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1117
1307
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1118
1308
  #
1119
- # @return [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1309
+ # @return [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1120
1310
  # A result object deserialized from the server's reply
1121
- def create_compilation_result request_pb, options = nil
1311
+ def create_release_config request_pb, options = nil
1122
1312
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1123
1313
 
1124
- verb, uri, query_string_params, body = ServiceStub.transcode_create_compilation_result_request request_pb
1314
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_release_config_request request_pb
1125
1315
  query_string_params = if query_string_params.any?
1126
1316
  query_string_params.to_h { |p| p.split "=", 2 }
1127
1317
  else
@@ -1136,30 +1326,30 @@ module Google
1136
1326
  options: options
1137
1327
  )
1138
1328
  operation = ::Gapic::Rest::TransportOperation.new response
1139
- result = ::Google::Cloud::Dataform::V1beta1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1329
+ result = ::Google::Cloud::Dataform::V1beta1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1140
1330
 
1141
1331
  yield result, operation if block_given?
1142
1332
  result
1143
1333
  end
1144
1334
 
1145
1335
  ##
1146
- # Baseline implementation for the query_compilation_result_actions REST call
1336
+ # Baseline implementation for the update_release_config REST call
1147
1337
  #
1148
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsRequest]
1338
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateReleaseConfigRequest]
1149
1339
  # A request object representing the call parameters. Required.
1150
1340
  # @param options [::Gapic::CallOptions]
1151
1341
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1152
1342
  #
1153
1343
  # @yield [result, operation] Access the result along with the TransportOperation object
1154
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse]
1344
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1155
1345
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1156
1346
  #
1157
- # @return [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse]
1347
+ # @return [::Google::Cloud::Dataform::V1beta1::ReleaseConfig]
1158
1348
  # A result object deserialized from the server's reply
1159
- def query_compilation_result_actions request_pb, options = nil
1349
+ def update_release_config request_pb, options = nil
1160
1350
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1161
1351
 
1162
- verb, uri, query_string_params, body = ServiceStub.transcode_query_compilation_result_actions_request request_pb
1352
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_release_config_request request_pb
1163
1353
  query_string_params = if query_string_params.any?
1164
1354
  query_string_params.to_h { |p| p.split "=", 2 }
1165
1355
  else
@@ -1174,30 +1364,30 @@ module Google
1174
1364
  options: options
1175
1365
  )
1176
1366
  operation = ::Gapic::Rest::TransportOperation.new response
1177
- result = ::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse.decode_json response.body, ignore_unknown_fields: true
1367
+ result = ::Google::Cloud::Dataform::V1beta1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1178
1368
 
1179
1369
  yield result, operation if block_given?
1180
1370
  result
1181
1371
  end
1182
1372
 
1183
1373
  ##
1184
- # Baseline implementation for the list_workflow_invocations REST call
1374
+ # Baseline implementation for the delete_release_config REST call
1185
1375
  #
1186
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsRequest]
1376
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteReleaseConfigRequest]
1187
1377
  # A request object representing the call parameters. Required.
1188
1378
  # @param options [::Gapic::CallOptions]
1189
1379
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1190
1380
  #
1191
1381
  # @yield [result, operation] Access the result along with the TransportOperation object
1192
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse]
1382
+ # @yieldparam result [::Google::Protobuf::Empty]
1193
1383
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1194
1384
  #
1195
- # @return [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse]
1385
+ # @return [::Google::Protobuf::Empty]
1196
1386
  # A result object deserialized from the server's reply
1197
- def list_workflow_invocations request_pb, options = nil
1387
+ def delete_release_config request_pb, options = nil
1198
1388
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1199
1389
 
1200
- verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_invocations_request request_pb
1390
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_release_config_request request_pb
1201
1391
  query_string_params = if query_string_params.any?
1202
1392
  query_string_params.to_h { |p| p.split "=", 2 }
1203
1393
  else
@@ -1212,30 +1402,30 @@ module Google
1212
1402
  options: options
1213
1403
  )
1214
1404
  operation = ::Gapic::Rest::TransportOperation.new response
1215
- result = ::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse.decode_json response.body, ignore_unknown_fields: true
1405
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1216
1406
 
1217
1407
  yield result, operation if block_given?
1218
1408
  result
1219
1409
  end
1220
1410
 
1221
1411
  ##
1222
- # Baseline implementation for the get_workflow_invocation REST call
1412
+ # Baseline implementation for the list_compilation_results REST call
1223
1413
  #
1224
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetWorkflowInvocationRequest]
1414
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsRequest]
1225
1415
  # A request object representing the call parameters. Required.
1226
1416
  # @param options [::Gapic::CallOptions]
1227
1417
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1228
1418
  #
1229
1419
  # @yield [result, operation] Access the result along with the TransportOperation object
1230
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1420
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse]
1231
1421
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1232
1422
  #
1233
- # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1423
+ # @return [::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse]
1234
1424
  # A result object deserialized from the server's reply
1235
- def get_workflow_invocation request_pb, options = nil
1425
+ def list_compilation_results request_pb, options = nil
1236
1426
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1237
1427
 
1238
- verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_invocation_request request_pb
1428
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_compilation_results_request request_pb
1239
1429
  query_string_params = if query_string_params.any?
1240
1430
  query_string_params.to_h { |p| p.split "=", 2 }
1241
1431
  else
@@ -1250,30 +1440,30 @@ module Google
1250
1440
  options: options
1251
1441
  )
1252
1442
  operation = ::Gapic::Rest::TransportOperation.new response
1253
- result = ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
1443
+ result = ::Google::Cloud::Dataform::V1beta1::ListCompilationResultsResponse.decode_json response.body, ignore_unknown_fields: true
1254
1444
 
1255
1445
  yield result, operation if block_given?
1256
1446
  result
1257
1447
  end
1258
1448
 
1259
1449
  ##
1260
- # Baseline implementation for the create_workflow_invocation REST call
1450
+ # Baseline implementation for the get_compilation_result REST call
1261
1451
  #
1262
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateWorkflowInvocationRequest]
1452
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetCompilationResultRequest]
1263
1453
  # A request object representing the call parameters. Required.
1264
1454
  # @param options [::Gapic::CallOptions]
1265
1455
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1266
1456
  #
1267
1457
  # @yield [result, operation] Access the result along with the TransportOperation object
1268
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1458
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1269
1459
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1270
1460
  #
1271
- # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1461
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1272
1462
  # A result object deserialized from the server's reply
1273
- def create_workflow_invocation request_pb, options = nil
1463
+ def get_compilation_result request_pb, options = nil
1274
1464
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1275
1465
 
1276
- verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_invocation_request request_pb
1466
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_compilation_result_request request_pb
1277
1467
  query_string_params = if query_string_params.any?
1278
1468
  query_string_params.to_h { |p| p.split "=", 2 }
1279
1469
  else
@@ -1288,30 +1478,30 @@ module Google
1288
1478
  options: options
1289
1479
  )
1290
1480
  operation = ::Gapic::Rest::TransportOperation.new response
1291
- result = ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
1481
+ result = ::Google::Cloud::Dataform::V1beta1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1292
1482
 
1293
1483
  yield result, operation if block_given?
1294
1484
  result
1295
1485
  end
1296
1486
 
1297
1487
  ##
1298
- # Baseline implementation for the delete_workflow_invocation REST call
1488
+ # Baseline implementation for the create_compilation_result REST call
1299
1489
  #
1300
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteWorkflowInvocationRequest]
1490
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest]
1301
1491
  # A request object representing the call parameters. Required.
1302
1492
  # @param options [::Gapic::CallOptions]
1303
1493
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1304
1494
  #
1305
1495
  # @yield [result, operation] Access the result along with the TransportOperation object
1306
- # @yieldparam result [::Google::Protobuf::Empty]
1496
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1307
1497
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1308
1498
  #
1309
- # @return [::Google::Protobuf::Empty]
1499
+ # @return [::Google::Cloud::Dataform::V1beta1::CompilationResult]
1310
1500
  # A result object deserialized from the server's reply
1311
- def delete_workflow_invocation request_pb, options = nil
1501
+ def create_compilation_result request_pb, options = nil
1312
1502
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1313
1503
 
1314
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_invocation_request request_pb
1504
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_compilation_result_request request_pb
1315
1505
  query_string_params = if query_string_params.any?
1316
1506
  query_string_params.to_h { |p| p.split "=", 2 }
1317
1507
  else
@@ -1326,30 +1516,30 @@ module Google
1326
1516
  options: options
1327
1517
  )
1328
1518
  operation = ::Gapic::Rest::TransportOperation.new response
1329
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1519
+ result = ::Google::Cloud::Dataform::V1beta1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1330
1520
 
1331
1521
  yield result, operation if block_given?
1332
1522
  result
1333
1523
  end
1334
1524
 
1335
1525
  ##
1336
- # Baseline implementation for the cancel_workflow_invocation REST call
1526
+ # Baseline implementation for the query_compilation_result_actions REST call
1337
1527
  #
1338
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::CancelWorkflowInvocationRequest]
1528
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsRequest]
1339
1529
  # A request object representing the call parameters. Required.
1340
1530
  # @param options [::Gapic::CallOptions]
1341
1531
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1342
1532
  #
1343
1533
  # @yield [result, operation] Access the result along with the TransportOperation object
1344
- # @yieldparam result [::Google::Protobuf::Empty]
1534
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse]
1345
1535
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1346
1536
  #
1347
- # @return [::Google::Protobuf::Empty]
1537
+ # @return [::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse]
1348
1538
  # A result object deserialized from the server's reply
1349
- def cancel_workflow_invocation request_pb, options = nil
1539
+ def query_compilation_result_actions request_pb, options = nil
1350
1540
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1351
1541
 
1352
- verb, uri, query_string_params, body = ServiceStub.transcode_cancel_workflow_invocation_request request_pb
1542
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_compilation_result_actions_request request_pb
1353
1543
  query_string_params = if query_string_params.any?
1354
1544
  query_string_params.to_h { |p| p.split "=", 2 }
1355
1545
  else
@@ -1364,25 +1554,405 @@ module Google
1364
1554
  options: options
1365
1555
  )
1366
1556
  operation = ::Gapic::Rest::TransportOperation.new response
1367
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1557
+ result = ::Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsResponse.decode_json response.body, ignore_unknown_fields: true
1368
1558
 
1369
1559
  yield result, operation if block_given?
1370
1560
  result
1371
1561
  end
1372
1562
 
1373
1563
  ##
1374
- # Baseline implementation for the query_workflow_invocation_actions REST call
1564
+ # Baseline implementation for the list_workflow_configs REST call
1375
1565
  #
1376
- # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsRequest]
1566
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsRequest]
1377
1567
  # A request object representing the call parameters. Required.
1378
1568
  # @param options [::Gapic::CallOptions]
1379
1569
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1380
1570
  #
1381
1571
  # @yield [result, operation] Access the result along with the TransportOperation object
1382
- # @yieldparam result [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsResponse]
1572
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsResponse]
1383
1573
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1384
1574
  #
1385
- # @return [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsResponse]
1575
+ # @return [::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsResponse]
1576
+ # A result object deserialized from the server's reply
1577
+ def list_workflow_configs request_pb, options = nil
1578
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1579
+
1580
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_configs_request request_pb
1581
+ query_string_params = if query_string_params.any?
1582
+ query_string_params.to_h { |p| p.split "=", 2 }
1583
+ else
1584
+ {}
1585
+ end
1586
+
1587
+ response = @client_stub.make_http_request(
1588
+ verb,
1589
+ uri: uri,
1590
+ body: body || "",
1591
+ params: query_string_params,
1592
+ options: options
1593
+ )
1594
+ operation = ::Gapic::Rest::TransportOperation.new response
1595
+ result = ::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsResponse.decode_json response.body, ignore_unknown_fields: true
1596
+
1597
+ yield result, operation if block_given?
1598
+ result
1599
+ end
1600
+
1601
+ ##
1602
+ # Baseline implementation for the get_workflow_config REST call
1603
+ #
1604
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetWorkflowConfigRequest]
1605
+ # A request object representing the call parameters. Required.
1606
+ # @param options [::Gapic::CallOptions]
1607
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1608
+ #
1609
+ # @yield [result, operation] Access the result along with the TransportOperation object
1610
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1611
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1612
+ #
1613
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1614
+ # A result object deserialized from the server's reply
1615
+ def get_workflow_config request_pb, options = nil
1616
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1617
+
1618
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_config_request request_pb
1619
+ query_string_params = if query_string_params.any?
1620
+ query_string_params.to_h { |p| p.split "=", 2 }
1621
+ else
1622
+ {}
1623
+ end
1624
+
1625
+ response = @client_stub.make_http_request(
1626
+ verb,
1627
+ uri: uri,
1628
+ body: body || "",
1629
+ params: query_string_params,
1630
+ options: options
1631
+ )
1632
+ operation = ::Gapic::Rest::TransportOperation.new response
1633
+ result = ::Google::Cloud::Dataform::V1beta1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1634
+
1635
+ yield result, operation if block_given?
1636
+ result
1637
+ end
1638
+
1639
+ ##
1640
+ # Baseline implementation for the create_workflow_config REST call
1641
+ #
1642
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateWorkflowConfigRequest]
1643
+ # A request object representing the call parameters. Required.
1644
+ # @param options [::Gapic::CallOptions]
1645
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1646
+ #
1647
+ # @yield [result, operation] Access the result along with the TransportOperation object
1648
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1649
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1650
+ #
1651
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1652
+ # A result object deserialized from the server's reply
1653
+ def create_workflow_config request_pb, options = nil
1654
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1655
+
1656
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_config_request request_pb
1657
+ query_string_params = if query_string_params.any?
1658
+ query_string_params.to_h { |p| p.split "=", 2 }
1659
+ else
1660
+ {}
1661
+ end
1662
+
1663
+ response = @client_stub.make_http_request(
1664
+ verb,
1665
+ uri: uri,
1666
+ body: body || "",
1667
+ params: query_string_params,
1668
+ options: options
1669
+ )
1670
+ operation = ::Gapic::Rest::TransportOperation.new response
1671
+ result = ::Google::Cloud::Dataform::V1beta1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1672
+
1673
+ yield result, operation if block_given?
1674
+ result
1675
+ end
1676
+
1677
+ ##
1678
+ # Baseline implementation for the update_workflow_config REST call
1679
+ #
1680
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateWorkflowConfigRequest]
1681
+ # A request object representing the call parameters. Required.
1682
+ # @param options [::Gapic::CallOptions]
1683
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1684
+ #
1685
+ # @yield [result, operation] Access the result along with the TransportOperation object
1686
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1687
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1688
+ #
1689
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowConfig]
1690
+ # A result object deserialized from the server's reply
1691
+ def update_workflow_config request_pb, options = nil
1692
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1693
+
1694
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_workflow_config_request request_pb
1695
+ query_string_params = if query_string_params.any?
1696
+ query_string_params.to_h { |p| p.split "=", 2 }
1697
+ else
1698
+ {}
1699
+ end
1700
+
1701
+ response = @client_stub.make_http_request(
1702
+ verb,
1703
+ uri: uri,
1704
+ body: body || "",
1705
+ params: query_string_params,
1706
+ options: options
1707
+ )
1708
+ operation = ::Gapic::Rest::TransportOperation.new response
1709
+ result = ::Google::Cloud::Dataform::V1beta1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1710
+
1711
+ yield result, operation if block_given?
1712
+ result
1713
+ end
1714
+
1715
+ ##
1716
+ # Baseline implementation for the delete_workflow_config REST call
1717
+ #
1718
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteWorkflowConfigRequest]
1719
+ # A request object representing the call parameters. Required.
1720
+ # @param options [::Gapic::CallOptions]
1721
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1722
+ #
1723
+ # @yield [result, operation] Access the result along with the TransportOperation object
1724
+ # @yieldparam result [::Google::Protobuf::Empty]
1725
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1726
+ #
1727
+ # @return [::Google::Protobuf::Empty]
1728
+ # A result object deserialized from the server's reply
1729
+ def delete_workflow_config request_pb, options = nil
1730
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1731
+
1732
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_config_request request_pb
1733
+ query_string_params = if query_string_params.any?
1734
+ query_string_params.to_h { |p| p.split "=", 2 }
1735
+ else
1736
+ {}
1737
+ end
1738
+
1739
+ response = @client_stub.make_http_request(
1740
+ verb,
1741
+ uri: uri,
1742
+ body: body || "",
1743
+ params: query_string_params,
1744
+ options: options
1745
+ )
1746
+ operation = ::Gapic::Rest::TransportOperation.new response
1747
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1748
+
1749
+ yield result, operation if block_given?
1750
+ result
1751
+ end
1752
+
1753
+ ##
1754
+ # Baseline implementation for the list_workflow_invocations REST call
1755
+ #
1756
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsRequest]
1757
+ # A request object representing the call parameters. Required.
1758
+ # @param options [::Gapic::CallOptions]
1759
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1760
+ #
1761
+ # @yield [result, operation] Access the result along with the TransportOperation object
1762
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse]
1763
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1764
+ #
1765
+ # @return [::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse]
1766
+ # A result object deserialized from the server's reply
1767
+ def list_workflow_invocations request_pb, options = nil
1768
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1769
+
1770
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_invocations_request request_pb
1771
+ query_string_params = if query_string_params.any?
1772
+ query_string_params.to_h { |p| p.split "=", 2 }
1773
+ else
1774
+ {}
1775
+ end
1776
+
1777
+ response = @client_stub.make_http_request(
1778
+ verb,
1779
+ uri: uri,
1780
+ body: body || "",
1781
+ params: query_string_params,
1782
+ options: options
1783
+ )
1784
+ operation = ::Gapic::Rest::TransportOperation.new response
1785
+ result = ::Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsResponse.decode_json response.body, ignore_unknown_fields: true
1786
+
1787
+ yield result, operation if block_given?
1788
+ result
1789
+ end
1790
+
1791
+ ##
1792
+ # Baseline implementation for the get_workflow_invocation REST call
1793
+ #
1794
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetWorkflowInvocationRequest]
1795
+ # A request object representing the call parameters. Required.
1796
+ # @param options [::Gapic::CallOptions]
1797
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1798
+ #
1799
+ # @yield [result, operation] Access the result along with the TransportOperation object
1800
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1801
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1802
+ #
1803
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1804
+ # A result object deserialized from the server's reply
1805
+ def get_workflow_invocation request_pb, options = nil
1806
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1807
+
1808
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_invocation_request request_pb
1809
+ query_string_params = if query_string_params.any?
1810
+ query_string_params.to_h { |p| p.split "=", 2 }
1811
+ else
1812
+ {}
1813
+ end
1814
+
1815
+ response = @client_stub.make_http_request(
1816
+ verb,
1817
+ uri: uri,
1818
+ body: body || "",
1819
+ params: query_string_params,
1820
+ options: options
1821
+ )
1822
+ operation = ::Gapic::Rest::TransportOperation.new response
1823
+ result = ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
1824
+
1825
+ yield result, operation if block_given?
1826
+ result
1827
+ end
1828
+
1829
+ ##
1830
+ # Baseline implementation for the create_workflow_invocation REST call
1831
+ #
1832
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateWorkflowInvocationRequest]
1833
+ # A request object representing the call parameters. Required.
1834
+ # @param options [::Gapic::CallOptions]
1835
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1836
+ #
1837
+ # @yield [result, operation] Access the result along with the TransportOperation object
1838
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1839
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1840
+ #
1841
+ # @return [::Google::Cloud::Dataform::V1beta1::WorkflowInvocation]
1842
+ # A result object deserialized from the server's reply
1843
+ def create_workflow_invocation request_pb, options = nil
1844
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1845
+
1846
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_invocation_request request_pb
1847
+ query_string_params = if query_string_params.any?
1848
+ query_string_params.to_h { |p| p.split "=", 2 }
1849
+ else
1850
+ {}
1851
+ end
1852
+
1853
+ response = @client_stub.make_http_request(
1854
+ verb,
1855
+ uri: uri,
1856
+ body: body || "",
1857
+ params: query_string_params,
1858
+ options: options
1859
+ )
1860
+ operation = ::Gapic::Rest::TransportOperation.new response
1861
+ result = ::Google::Cloud::Dataform::V1beta1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
1862
+
1863
+ yield result, operation if block_given?
1864
+ result
1865
+ end
1866
+
1867
+ ##
1868
+ # Baseline implementation for the delete_workflow_invocation REST call
1869
+ #
1870
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteWorkflowInvocationRequest]
1871
+ # A request object representing the call parameters. Required.
1872
+ # @param options [::Gapic::CallOptions]
1873
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1874
+ #
1875
+ # @yield [result, operation] Access the result along with the TransportOperation object
1876
+ # @yieldparam result [::Google::Protobuf::Empty]
1877
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1878
+ #
1879
+ # @return [::Google::Protobuf::Empty]
1880
+ # A result object deserialized from the server's reply
1881
+ def delete_workflow_invocation request_pb, options = nil
1882
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1883
+
1884
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_invocation_request request_pb
1885
+ query_string_params = if query_string_params.any?
1886
+ query_string_params.to_h { |p| p.split "=", 2 }
1887
+ else
1888
+ {}
1889
+ end
1890
+
1891
+ response = @client_stub.make_http_request(
1892
+ verb,
1893
+ uri: uri,
1894
+ body: body || "",
1895
+ params: query_string_params,
1896
+ options: options
1897
+ )
1898
+ operation = ::Gapic::Rest::TransportOperation.new response
1899
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1900
+
1901
+ yield result, operation if block_given?
1902
+ result
1903
+ end
1904
+
1905
+ ##
1906
+ # Baseline implementation for the cancel_workflow_invocation REST call
1907
+ #
1908
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CancelWorkflowInvocationRequest]
1909
+ # A request object representing the call parameters. Required.
1910
+ # @param options [::Gapic::CallOptions]
1911
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1912
+ #
1913
+ # @yield [result, operation] Access the result along with the TransportOperation object
1914
+ # @yieldparam result [::Google::Protobuf::Empty]
1915
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1916
+ #
1917
+ # @return [::Google::Protobuf::Empty]
1918
+ # A result object deserialized from the server's reply
1919
+ def cancel_workflow_invocation request_pb, options = nil
1920
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1921
+
1922
+ verb, uri, query_string_params, body = ServiceStub.transcode_cancel_workflow_invocation_request request_pb
1923
+ query_string_params = if query_string_params.any?
1924
+ query_string_params.to_h { |p| p.split "=", 2 }
1925
+ else
1926
+ {}
1927
+ end
1928
+
1929
+ response = @client_stub.make_http_request(
1930
+ verb,
1931
+ uri: uri,
1932
+ body: body || "",
1933
+ params: query_string_params,
1934
+ options: options
1935
+ )
1936
+ operation = ::Gapic::Rest::TransportOperation.new response
1937
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1938
+
1939
+ yield result, operation if block_given?
1940
+ result
1941
+ end
1942
+
1943
+ ##
1944
+ # Baseline implementation for the query_workflow_invocation_actions REST call
1945
+ #
1946
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsRequest]
1947
+ # A request object representing the call parameters. Required.
1948
+ # @param options [::Gapic::CallOptions]
1949
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1950
+ #
1951
+ # @yield [result, operation] Access the result along with the TransportOperation object
1952
+ # @yieldparam result [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsResponse]
1953
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1954
+ #
1955
+ # @return [::Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsResponse]
1386
1956
  # A result object deserialized from the server's reply
1387
1957
  def query_workflow_invocation_actions request_pb, options = nil
1388
1958
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
@@ -1515,6 +2085,112 @@ module Google
1515
2085
  transcoder.transcode request_pb
1516
2086
  end
1517
2087
 
2088
+ ##
2089
+ # @private
2090
+ #
2091
+ # GRPC transcoding helper method for the commit_repository_changes REST call
2092
+ #
2093
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CommitRepositoryChangesRequest]
2094
+ # A request object representing the call parameters. Required.
2095
+ # @return [Array(String, [String, nil], Hash{String => String})]
2096
+ # Uri, Body, Query string parameters
2097
+ def self.transcode_commit_repository_changes_request request_pb
2098
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2099
+ .with_bindings(
2100
+ uri_method: :post,
2101
+ uri_template: "/v1beta1/{name}:commit",
2102
+ body: "*",
2103
+ matches: [
2104
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2105
+ ]
2106
+ )
2107
+ transcoder.transcode request_pb
2108
+ end
2109
+
2110
+ ##
2111
+ # @private
2112
+ #
2113
+ # GRPC transcoding helper method for the read_repository_file REST call
2114
+ #
2115
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ReadRepositoryFileRequest]
2116
+ # A request object representing the call parameters. Required.
2117
+ # @return [Array(String, [String, nil], Hash{String => String})]
2118
+ # Uri, Body, Query string parameters
2119
+ def self.transcode_read_repository_file_request request_pb
2120
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2121
+ .with_bindings(
2122
+ uri_method: :get,
2123
+ uri_template: "/v1beta1/{name}:readFile",
2124
+ matches: [
2125
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2126
+ ]
2127
+ )
2128
+ transcoder.transcode request_pb
2129
+ end
2130
+
2131
+ ##
2132
+ # @private
2133
+ #
2134
+ # GRPC transcoding helper method for the query_repository_directory_contents REST call
2135
+ #
2136
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::QueryRepositoryDirectoryContentsRequest]
2137
+ # A request object representing the call parameters. Required.
2138
+ # @return [Array(String, [String, nil], Hash{String => String})]
2139
+ # Uri, Body, Query string parameters
2140
+ def self.transcode_query_repository_directory_contents_request request_pb
2141
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2142
+ .with_bindings(
2143
+ uri_method: :get,
2144
+ uri_template: "/v1beta1/{name}:queryDirectoryContents",
2145
+ matches: [
2146
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2147
+ ]
2148
+ )
2149
+ transcoder.transcode request_pb
2150
+ end
2151
+
2152
+ ##
2153
+ # @private
2154
+ #
2155
+ # GRPC transcoding helper method for the fetch_repository_history REST call
2156
+ #
2157
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::FetchRepositoryHistoryRequest]
2158
+ # A request object representing the call parameters. Required.
2159
+ # @return [Array(String, [String, nil], Hash{String => String})]
2160
+ # Uri, Body, Query string parameters
2161
+ def self.transcode_fetch_repository_history_request request_pb
2162
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2163
+ .with_bindings(
2164
+ uri_method: :get,
2165
+ uri_template: "/v1beta1/{name}:fetchHistory",
2166
+ matches: [
2167
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2168
+ ]
2169
+ )
2170
+ transcoder.transcode request_pb
2171
+ end
2172
+
2173
+ ##
2174
+ # @private
2175
+ #
2176
+ # GRPC transcoding helper method for the compute_repository_access_token_status REST call
2177
+ #
2178
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ComputeRepositoryAccessTokenStatusRequest]
2179
+ # A request object representing the call parameters. Required.
2180
+ # @return [Array(String, [String, nil], Hash{String => String})]
2181
+ # Uri, Body, Query string parameters
2182
+ def self.transcode_compute_repository_access_token_status_request request_pb
2183
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2184
+ .with_bindings(
2185
+ uri_method: :get,
2186
+ uri_template: "/v1beta1/{name}:computeAccessTokenStatus",
2187
+ matches: [
2188
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2189
+ ]
2190
+ )
2191
+ transcoder.transcode request_pb
2192
+ end
2193
+
1518
2194
  ##
1519
2195
  # @private
1520
2196
  #
@@ -1968,6 +2644,113 @@ module Google
1968
2644
  transcoder.transcode request_pb
1969
2645
  end
1970
2646
 
2647
+ ##
2648
+ # @private
2649
+ #
2650
+ # GRPC transcoding helper method for the list_release_configs REST call
2651
+ #
2652
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListReleaseConfigsRequest]
2653
+ # A request object representing the call parameters. Required.
2654
+ # @return [Array(String, [String, nil], Hash{String => String})]
2655
+ # Uri, Body, Query string parameters
2656
+ def self.transcode_list_release_configs_request request_pb
2657
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2658
+ .with_bindings(
2659
+ uri_method: :get,
2660
+ uri_template: "/v1beta1/{parent}/releaseConfigs",
2661
+ matches: [
2662
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2663
+ ]
2664
+ )
2665
+ transcoder.transcode request_pb
2666
+ end
2667
+
2668
+ ##
2669
+ # @private
2670
+ #
2671
+ # GRPC transcoding helper method for the get_release_config REST call
2672
+ #
2673
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetReleaseConfigRequest]
2674
+ # A request object representing the call parameters. Required.
2675
+ # @return [Array(String, [String, nil], Hash{String => String})]
2676
+ # Uri, Body, Query string parameters
2677
+ def self.transcode_get_release_config_request request_pb
2678
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2679
+ .with_bindings(
2680
+ uri_method: :get,
2681
+ uri_template: "/v1beta1/{name}",
2682
+ matches: [
2683
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+/?$}, false]
2684
+ ]
2685
+ )
2686
+ transcoder.transcode request_pb
2687
+ end
2688
+
2689
+ ##
2690
+ # @private
2691
+ #
2692
+ # GRPC transcoding helper method for the create_release_config REST call
2693
+ #
2694
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateReleaseConfigRequest]
2695
+ # A request object representing the call parameters. Required.
2696
+ # @return [Array(String, [String, nil], Hash{String => String})]
2697
+ # Uri, Body, Query string parameters
2698
+ def self.transcode_create_release_config_request request_pb
2699
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2700
+ .with_bindings(
2701
+ uri_method: :post,
2702
+ uri_template: "/v1beta1/{parent}/releaseConfigs",
2703
+ body: "release_config",
2704
+ matches: [
2705
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2706
+ ]
2707
+ )
2708
+ transcoder.transcode request_pb
2709
+ end
2710
+
2711
+ ##
2712
+ # @private
2713
+ #
2714
+ # GRPC transcoding helper method for the update_release_config REST call
2715
+ #
2716
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateReleaseConfigRequest]
2717
+ # A request object representing the call parameters. Required.
2718
+ # @return [Array(String, [String, nil], Hash{String => String})]
2719
+ # Uri, Body, Query string parameters
2720
+ def self.transcode_update_release_config_request request_pb
2721
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2722
+ .with_bindings(
2723
+ uri_method: :patch,
2724
+ uri_template: "/v1beta1/{release_config.name}",
2725
+ body: "release_config",
2726
+ matches: [
2727
+ ["release_config.name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+/?$}, false]
2728
+ ]
2729
+ )
2730
+ transcoder.transcode request_pb
2731
+ end
2732
+
2733
+ ##
2734
+ # @private
2735
+ #
2736
+ # GRPC transcoding helper method for the delete_release_config REST call
2737
+ #
2738
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteReleaseConfigRequest]
2739
+ # A request object representing the call parameters. Required.
2740
+ # @return [Array(String, [String, nil], Hash{String => String})]
2741
+ # Uri, Body, Query string parameters
2742
+ def self.transcode_delete_release_config_request request_pb
2743
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2744
+ .with_bindings(
2745
+ uri_method: :delete,
2746
+ uri_template: "/v1beta1/{name}",
2747
+ matches: [
2748
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/releaseConfigs/[^/]+/?$}, false]
2749
+ ]
2750
+ )
2751
+ transcoder.transcode request_pb
2752
+ end
2753
+
1971
2754
  ##
1972
2755
  # @private
1973
2756
  #
@@ -2053,6 +2836,113 @@ module Google
2053
2836
  transcoder.transcode request_pb
2054
2837
  end
2055
2838
 
2839
+ ##
2840
+ # @private
2841
+ #
2842
+ # GRPC transcoding helper method for the list_workflow_configs REST call
2843
+ #
2844
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::ListWorkflowConfigsRequest]
2845
+ # A request object representing the call parameters. Required.
2846
+ # @return [Array(String, [String, nil], Hash{String => String})]
2847
+ # Uri, Body, Query string parameters
2848
+ def self.transcode_list_workflow_configs_request request_pb
2849
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2850
+ .with_bindings(
2851
+ uri_method: :get,
2852
+ uri_template: "/v1beta1/{parent}/workflowConfigs",
2853
+ matches: [
2854
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2855
+ ]
2856
+ )
2857
+ transcoder.transcode request_pb
2858
+ end
2859
+
2860
+ ##
2861
+ # @private
2862
+ #
2863
+ # GRPC transcoding helper method for the get_workflow_config REST call
2864
+ #
2865
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::GetWorkflowConfigRequest]
2866
+ # A request object representing the call parameters. Required.
2867
+ # @return [Array(String, [String, nil], Hash{String => String})]
2868
+ # Uri, Body, Query string parameters
2869
+ def self.transcode_get_workflow_config_request request_pb
2870
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2871
+ .with_bindings(
2872
+ uri_method: :get,
2873
+ uri_template: "/v1beta1/{name}",
2874
+ matches: [
2875
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+/?$}, false]
2876
+ ]
2877
+ )
2878
+ transcoder.transcode request_pb
2879
+ end
2880
+
2881
+ ##
2882
+ # @private
2883
+ #
2884
+ # GRPC transcoding helper method for the create_workflow_config REST call
2885
+ #
2886
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::CreateWorkflowConfigRequest]
2887
+ # A request object representing the call parameters. Required.
2888
+ # @return [Array(String, [String, nil], Hash{String => String})]
2889
+ # Uri, Body, Query string parameters
2890
+ def self.transcode_create_workflow_config_request request_pb
2891
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2892
+ .with_bindings(
2893
+ uri_method: :post,
2894
+ uri_template: "/v1beta1/{parent}/workflowConfigs",
2895
+ body: "workflow_config",
2896
+ matches: [
2897
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
2898
+ ]
2899
+ )
2900
+ transcoder.transcode request_pb
2901
+ end
2902
+
2903
+ ##
2904
+ # @private
2905
+ #
2906
+ # GRPC transcoding helper method for the update_workflow_config REST call
2907
+ #
2908
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::UpdateWorkflowConfigRequest]
2909
+ # A request object representing the call parameters. Required.
2910
+ # @return [Array(String, [String, nil], Hash{String => String})]
2911
+ # Uri, Body, Query string parameters
2912
+ def self.transcode_update_workflow_config_request request_pb
2913
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2914
+ .with_bindings(
2915
+ uri_method: :patch,
2916
+ uri_template: "/v1beta1/{workflow_config.name}",
2917
+ body: "workflow_config",
2918
+ matches: [
2919
+ ["workflow_config.name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+/?$}, false]
2920
+ ]
2921
+ )
2922
+ transcoder.transcode request_pb
2923
+ end
2924
+
2925
+ ##
2926
+ # @private
2927
+ #
2928
+ # GRPC transcoding helper method for the delete_workflow_config REST call
2929
+ #
2930
+ # @param request_pb [::Google::Cloud::Dataform::V1beta1::DeleteWorkflowConfigRequest]
2931
+ # A request object representing the call parameters. Required.
2932
+ # @return [Array(String, [String, nil], Hash{String => String})]
2933
+ # Uri, Body, Query string parameters
2934
+ def self.transcode_delete_workflow_config_request request_pb
2935
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2936
+ .with_bindings(
2937
+ uri_method: :delete,
2938
+ uri_template: "/v1beta1/{name}",
2939
+ matches: [
2940
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workflowConfigs/[^/]+/?$}, false]
2941
+ ]
2942
+ )
2943
+ transcoder.transcode request_pb
2944
+ end
2945
+
2056
2946
  ##
2057
2947
  # @private
2058
2948
  #