google-cloud-dataform-v1 0.2.1 → 0.4.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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +5 -5
  4. data/lib/google/cloud/dataform/v1/bindings_override.rb +0 -57
  5. data/lib/google/cloud/dataform/v1/dataform/client.rb +2061 -48
  6. data/lib/google/cloud/dataform/v1/dataform/operations.rb +843 -0
  7. data/lib/google/cloud/dataform/v1/dataform/paths.rb +38 -0
  8. data/lib/google/cloud/dataform/v1/dataform/rest/client.rb +1944 -65
  9. data/lib/google/cloud/dataform/v1/dataform/rest/operations.rb +927 -0
  10. data/lib/google/cloud/dataform/v1/dataform/rest/service_stub.rb +1719 -481
  11. data/lib/google/cloud/dataform/v1/dataform/rest.rb +1 -0
  12. data/lib/google/cloud/dataform/v1/dataform.rb +1 -0
  13. data/lib/google/cloud/dataform/v1/dataform_pb.rb +44 -28
  14. data/lib/google/cloud/dataform/v1/dataform_services_pb.rb +54 -0
  15. data/lib/google/cloud/dataform/v1/version.rb +1 -1
  16. data/lib/google/longrunning/bindings_override.rb +71 -0
  17. data/lib/google/longrunning/operations/client.rb +954 -0
  18. data/lib/google/longrunning/operations/credentials.rb +40 -0
  19. data/lib/google/longrunning/operations/operations.rb +839 -0
  20. data/lib/google/longrunning/operations/rest/client.rb +777 -0
  21. data/lib/google/longrunning/operations/rest/operations.rb +923 -0
  22. data/lib/google/longrunning/operations/rest/service_stub.rb +322 -0
  23. data/lib/google/longrunning/operations/rest.rb +57 -0
  24. data/lib/google/longrunning/operations.rb +59 -0
  25. data/lib/google/longrunning/rest.rb +34 -0
  26. data/lib/google/longrunning.rb +41 -0
  27. data/lib/google-cloud-dataform-v1.rb +1 -0
  28. data/proto_docs/google/api/client.rb +149 -29
  29. data/proto_docs/google/cloud/dataform/v1/dataform.rb +759 -3
  30. data/proto_docs/google/longrunning/operations.rb +191 -0
  31. metadata +18 -4
@@ -74,23 +74,23 @@ module Google
74
74
  end
75
75
 
76
76
  ##
77
- # Baseline implementation for the list_repositories REST call
77
+ # Baseline implementation for the get_team_folder REST call
78
78
  #
79
- # @param request_pb [::Google::Cloud::Dataform::V1::ListRepositoriesRequest]
79
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetTeamFolderRequest]
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::Dataform::V1::ListRepositoriesResponse]
85
+ # @yieldparam result [::Google::Cloud::Dataform::V1::TeamFolder]
86
86
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
87
87
  #
88
- # @return [::Google::Cloud::Dataform::V1::ListRepositoriesResponse]
88
+ # @return [::Google::Cloud::Dataform::V1::TeamFolder]
89
89
  # A result object deserialized from the server's reply
90
- def list_repositories request_pb, options = nil
90
+ def get_team_folder 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_list_repositories_request request_pb
93
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_team_folder_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: "list_repositories",
105
+ method_name: "get_team_folder",
106
106
  options: options
107
107
  )
108
108
  operation = ::Gapic::Rest::TransportOperation.new response
109
- result = ::Google::Cloud::Dataform::V1::ListRepositoriesResponse.decode_json response.body, ignore_unknown_fields: true
109
+ result = ::Google::Cloud::Dataform::V1::TeamFolder.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 get_repository REST call
117
+ # Baseline implementation for the create_team_folder REST call
118
118
  #
119
- # @param request_pb [::Google::Cloud::Dataform::V1::GetRepositoryRequest]
119
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateTeamFolderRequest]
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::Dataform::V1::Repository]
125
+ # @yieldparam result [::Google::Cloud::Dataform::V1::TeamFolder]
126
126
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
127
127
  #
128
- # @return [::Google::Cloud::Dataform::V1::Repository]
128
+ # @return [::Google::Cloud::Dataform::V1::TeamFolder]
129
129
  # A result object deserialized from the server's reply
130
- def get_repository request_pb, options = nil
130
+ def create_team_folder 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_get_repository_request request_pb
133
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_team_folder_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: "get_repository",
145
+ method_name: "create_team_folder",
146
146
  options: options
147
147
  )
148
148
  operation = ::Gapic::Rest::TransportOperation.new response
149
- result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
149
+ result = ::Google::Cloud::Dataform::V1::TeamFolder.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 create_repository REST call
157
+ # Baseline implementation for the update_team_folder REST call
158
158
  #
159
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateRepositoryRequest]
159
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateTeamFolderRequest]
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::Cloud::Dataform::V1::Repository]
165
+ # @yieldparam result [::Google::Cloud::Dataform::V1::TeamFolder]
166
166
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
167
167
  #
168
- # @return [::Google::Cloud::Dataform::V1::Repository]
168
+ # @return [::Google::Cloud::Dataform::V1::TeamFolder]
169
169
  # A result object deserialized from the server's reply
170
- def create_repository request_pb, options = nil
170
+ def update_team_folder 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_create_repository_request request_pb
173
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_team_folder_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: "create_repository",
185
+ method_name: "update_team_folder",
186
186
  options: options
187
187
  )
188
188
  operation = ::Gapic::Rest::TransportOperation.new response
189
- result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
189
+ result = ::Google::Cloud::Dataform::V1::TeamFolder.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 update_repository REST call
197
+ # Baseline implementation for the delete_team_folder REST call
198
198
  #
199
- # @param request_pb [::Google::Cloud::Dataform::V1::UpdateRepositoryRequest]
199
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteTeamFolderRequest]
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::Dataform::V1::Repository]
205
+ # @yieldparam result [::Google::Protobuf::Empty]
206
206
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
207
207
  #
208
- # @return [::Google::Cloud::Dataform::V1::Repository]
208
+ # @return [::Google::Protobuf::Empty]
209
209
  # A result object deserialized from the server's reply
210
- def update_repository request_pb, options = nil
210
+ def delete_team_folder 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_update_repository_request request_pb
213
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_team_folder_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: "update_repository",
225
+ method_name: "delete_team_folder",
226
226
  options: options
227
227
  )
228
228
  operation = ::Gapic::Rest::TransportOperation.new response
229
- result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
229
+ result = ::Google::Protobuf::Empty.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 delete_repository REST call
237
+ # Baseline implementation for the delete_team_folder_tree REST call
238
238
  #
239
- # @param request_pb [::Google::Cloud::Dataform::V1::DeleteRepositoryRequest]
239
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteTeamFolderTreeRequest]
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::Protobuf::Empty]
245
+ # @yieldparam result [::Google::Longrunning::Operation]
246
246
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
247
247
  #
248
- # @return [::Google::Protobuf::Empty]
248
+ # @return [::Google::Longrunning::Operation]
249
249
  # A result object deserialized from the server's reply
250
- def delete_repository request_pb, options = nil
250
+ def delete_team_folder_tree 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_delete_repository_request request_pb
253
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_team_folder_tree_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: "delete_repository",
265
+ method_name: "delete_team_folder_tree",
266
266
  options: options
267
267
  )
268
268
  operation = ::Gapic::Rest::TransportOperation.new response
269
- result = ::Google::Protobuf::Empty.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 commit_repository_changes REST call
277
+ # Baseline implementation for the query_team_folder_contents REST call
278
278
  #
279
- # @param request_pb [::Google::Cloud::Dataform::V1::CommitRepositoryChangesRequest]
279
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryTeamFolderContentsRequest]
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::Cloud::Dataform::V1::CommitRepositoryChangesResponse]
285
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryTeamFolderContentsResponse]
286
286
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
287
287
  #
288
- # @return [::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse]
288
+ # @return [::Google::Cloud::Dataform::V1::QueryTeamFolderContentsResponse]
289
289
  # A result object deserialized from the server's reply
290
- def commit_repository_changes request_pb, options = nil
290
+ def query_team_folder_contents 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_commit_repository_changes_request request_pb
293
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_team_folder_contents_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: "commit_repository_changes",
305
+ method_name: "query_team_folder_contents",
306
306
  options: options
307
307
  )
308
308
  operation = ::Gapic::Rest::TransportOperation.new response
309
- result = ::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse.decode_json response.body, ignore_unknown_fields: true
309
+ result = ::Google::Cloud::Dataform::V1::QueryTeamFolderContentsResponse.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 read_repository_file REST call
317
+ # Baseline implementation for the search_team_folders REST call
318
318
  #
319
- # @param request_pb [::Google::Cloud::Dataform::V1::ReadRepositoryFileRequest]
319
+ # @param request_pb [::Google::Cloud::Dataform::V1::SearchTeamFoldersRequest]
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::Cloud::Dataform::V1::ReadRepositoryFileResponse]
325
+ # @yieldparam result [::Google::Cloud::Dataform::V1::SearchTeamFoldersResponse]
326
326
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
327
327
  #
328
- # @return [::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse]
328
+ # @return [::Google::Cloud::Dataform::V1::SearchTeamFoldersResponse]
329
329
  # A result object deserialized from the server's reply
330
- def read_repository_file request_pb, options = nil
330
+ def search_team_folders 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_read_repository_file_request request_pb
333
+ verb, uri, query_string_params, body = ServiceStub.transcode_search_team_folders_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: "read_repository_file",
345
+ method_name: "search_team_folders",
346
346
  options: options
347
347
  )
348
348
  operation = ::Gapic::Rest::TransportOperation.new response
349
- result = ::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse.decode_json response.body, ignore_unknown_fields: true
349
+ result = ::Google::Cloud::Dataform::V1::SearchTeamFoldersResponse.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 query_repository_directory_contents REST call
357
+ # Baseline implementation for the get_folder REST call
358
358
  #
359
- # @param request_pb [::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsRequest]
359
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetFolderRequest]
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::Dataform::V1::QueryRepositoryDirectoryContentsResponse]
365
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Folder]
366
366
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
367
367
  #
368
- # @return [::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse]
368
+ # @return [::Google::Cloud::Dataform::V1::Folder]
369
369
  # A result object deserialized from the server's reply
370
- def query_repository_directory_contents request_pb, options = nil
370
+ def get_folder 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_query_repository_directory_contents_request request_pb
373
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_folder_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,11 @@ module Google
382
382
  uri: uri,
383
383
  body: body || "",
384
384
  params: query_string_params,
385
- method_name: "query_repository_directory_contents",
385
+ method_name: "get_folder",
386
386
  options: options
387
387
  )
388
388
  operation = ::Gapic::Rest::TransportOperation.new response
389
- result = ::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse.decode_json response.body, ignore_unknown_fields: true
389
+ result = ::Google::Cloud::Dataform::V1::Folder.decode_json response.body, ignore_unknown_fields: true
390
390
  catch :response do
391
391
  yield result, operation if block_given?
392
392
  result
@@ -394,23 +394,23 @@ module Google
394
394
  end
395
395
 
396
396
  ##
397
- # Baseline implementation for the fetch_repository_history REST call
397
+ # Baseline implementation for the create_folder REST call
398
398
  #
399
- # @param request_pb [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryRequest]
399
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateFolderRequest]
400
400
  # A request object representing the call parameters. Required.
401
401
  # @param options [::Gapic::CallOptions]
402
402
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
403
403
  #
404
404
  # @yield [result, operation] Access the result along with the TransportOperation object
405
- # @yieldparam result [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse]
405
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Folder]
406
406
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
407
407
  #
408
- # @return [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse]
408
+ # @return [::Google::Cloud::Dataform::V1::Folder]
409
409
  # A result object deserialized from the server's reply
410
- def fetch_repository_history request_pb, options = nil
410
+ def create_folder request_pb, options = nil
411
411
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
412
412
 
413
- verb, uri, query_string_params, body = ServiceStub.transcode_fetch_repository_history_request request_pb
413
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_folder_request request_pb
414
414
  query_string_params = if query_string_params.any?
415
415
  query_string_params.to_h { |p| p.split "=", 2 }
416
416
  else
@@ -422,11 +422,11 @@ module Google
422
422
  uri: uri,
423
423
  body: body || "",
424
424
  params: query_string_params,
425
- method_name: "fetch_repository_history",
425
+ method_name: "create_folder",
426
426
  options: options
427
427
  )
428
428
  operation = ::Gapic::Rest::TransportOperation.new response
429
- result = ::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse.decode_json response.body, ignore_unknown_fields: true
429
+ result = ::Google::Cloud::Dataform::V1::Folder.decode_json response.body, ignore_unknown_fields: true
430
430
  catch :response do
431
431
  yield result, operation if block_given?
432
432
  result
@@ -434,23 +434,23 @@ module Google
434
434
  end
435
435
 
436
436
  ##
437
- # Baseline implementation for the compute_repository_access_token_status REST call
437
+ # Baseline implementation for the update_folder REST call
438
438
  #
439
- # @param request_pb [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusRequest]
439
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateFolderRequest]
440
440
  # A request object representing the call parameters. Required.
441
441
  # @param options [::Gapic::CallOptions]
442
442
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
443
443
  #
444
444
  # @yield [result, operation] Access the result along with the TransportOperation object
445
- # @yieldparam result [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse]
445
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Folder]
446
446
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
447
447
  #
448
- # @return [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse]
448
+ # @return [::Google::Cloud::Dataform::V1::Folder]
449
449
  # A result object deserialized from the server's reply
450
- def compute_repository_access_token_status request_pb, options = nil
450
+ def update_folder request_pb, options = nil
451
451
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
452
452
 
453
- verb, uri, query_string_params, body = ServiceStub.transcode_compute_repository_access_token_status_request request_pb
453
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_folder_request request_pb
454
454
  query_string_params = if query_string_params.any?
455
455
  query_string_params.to_h { |p| p.split "=", 2 }
456
456
  else
@@ -462,11 +462,11 @@ module Google
462
462
  uri: uri,
463
463
  body: body || "",
464
464
  params: query_string_params,
465
- method_name: "compute_repository_access_token_status",
465
+ method_name: "update_folder",
466
466
  options: options
467
467
  )
468
468
  operation = ::Gapic::Rest::TransportOperation.new response
469
- result = ::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse.decode_json response.body, ignore_unknown_fields: true
469
+ result = ::Google::Cloud::Dataform::V1::Folder.decode_json response.body, ignore_unknown_fields: true
470
470
  catch :response do
471
471
  yield result, operation if block_given?
472
472
  result
@@ -474,23 +474,23 @@ module Google
474
474
  end
475
475
 
476
476
  ##
477
- # Baseline implementation for the fetch_remote_branches REST call
477
+ # Baseline implementation for the delete_folder REST call
478
478
  #
479
- # @param request_pb [::Google::Cloud::Dataform::V1::FetchRemoteBranchesRequest]
479
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteFolderRequest]
480
480
  # A request object representing the call parameters. Required.
481
481
  # @param options [::Gapic::CallOptions]
482
482
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
483
483
  #
484
484
  # @yield [result, operation] Access the result along with the TransportOperation object
485
- # @yieldparam result [::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse]
485
+ # @yieldparam result [::Google::Protobuf::Empty]
486
486
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
487
487
  #
488
- # @return [::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse]
488
+ # @return [::Google::Protobuf::Empty]
489
489
  # A result object deserialized from the server's reply
490
- def fetch_remote_branches request_pb, options = nil
490
+ def delete_folder request_pb, options = nil
491
491
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
492
492
 
493
- verb, uri, query_string_params, body = ServiceStub.transcode_fetch_remote_branches_request request_pb
493
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_folder_request request_pb
494
494
  query_string_params = if query_string_params.any?
495
495
  query_string_params.to_h { |p| p.split "=", 2 }
496
496
  else
@@ -502,11 +502,11 @@ module Google
502
502
  uri: uri,
503
503
  body: body || "",
504
504
  params: query_string_params,
505
- method_name: "fetch_remote_branches",
505
+ method_name: "delete_folder",
506
506
  options: options
507
507
  )
508
508
  operation = ::Gapic::Rest::TransportOperation.new response
509
- result = ::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse.decode_json response.body, ignore_unknown_fields: true
509
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
510
510
  catch :response do
511
511
  yield result, operation if block_given?
512
512
  result
@@ -514,23 +514,23 @@ module Google
514
514
  end
515
515
 
516
516
  ##
517
- # Baseline implementation for the list_workspaces REST call
517
+ # Baseline implementation for the delete_folder_tree REST call
518
518
  #
519
- # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkspacesRequest]
519
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteFolderTreeRequest]
520
520
  # A request object representing the call parameters. Required.
521
521
  # @param options [::Gapic::CallOptions]
522
522
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
523
523
  #
524
524
  # @yield [result, operation] Access the result along with the TransportOperation object
525
- # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkspacesResponse]
525
+ # @yieldparam result [::Google::Longrunning::Operation]
526
526
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
527
527
  #
528
- # @return [::Google::Cloud::Dataform::V1::ListWorkspacesResponse]
528
+ # @return [::Google::Longrunning::Operation]
529
529
  # A result object deserialized from the server's reply
530
- def list_workspaces request_pb, options = nil
530
+ def delete_folder_tree request_pb, options = nil
531
531
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
532
532
 
533
- verb, uri, query_string_params, body = ServiceStub.transcode_list_workspaces_request request_pb
533
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_folder_tree_request request_pb
534
534
  query_string_params = if query_string_params.any?
535
535
  query_string_params.to_h { |p| p.split "=", 2 }
536
536
  else
@@ -542,11 +542,11 @@ module Google
542
542
  uri: uri,
543
543
  body: body || "",
544
544
  params: query_string_params,
545
- method_name: "list_workspaces",
545
+ method_name: "delete_folder_tree",
546
546
  options: options
547
547
  )
548
548
  operation = ::Gapic::Rest::TransportOperation.new response
549
- result = ::Google::Cloud::Dataform::V1::ListWorkspacesResponse.decode_json response.body, ignore_unknown_fields: true
549
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
550
550
  catch :response do
551
551
  yield result, operation if block_given?
552
552
  result
@@ -554,23 +554,23 @@ module Google
554
554
  end
555
555
 
556
556
  ##
557
- # Baseline implementation for the get_workspace REST call
557
+ # Baseline implementation for the query_folder_contents REST call
558
558
  #
559
- # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkspaceRequest]
559
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryFolderContentsRequest]
560
560
  # A request object representing the call parameters. Required.
561
561
  # @param options [::Gapic::CallOptions]
562
562
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
563
563
  #
564
564
  # @yield [result, operation] Access the result along with the TransportOperation object
565
- # @yieldparam result [::Google::Cloud::Dataform::V1::Workspace]
565
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryFolderContentsResponse]
566
566
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
567
567
  #
568
- # @return [::Google::Cloud::Dataform::V1::Workspace]
568
+ # @return [::Google::Cloud::Dataform::V1::QueryFolderContentsResponse]
569
569
  # A result object deserialized from the server's reply
570
- def get_workspace request_pb, options = nil
570
+ def query_folder_contents request_pb, options = nil
571
571
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
572
572
 
573
- verb, uri, query_string_params, body = ServiceStub.transcode_get_workspace_request request_pb
573
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_folder_contents_request request_pb
574
574
  query_string_params = if query_string_params.any?
575
575
  query_string_params.to_h { |p| p.split "=", 2 }
576
576
  else
@@ -582,11 +582,11 @@ module Google
582
582
  uri: uri,
583
583
  body: body || "",
584
584
  params: query_string_params,
585
- method_name: "get_workspace",
585
+ method_name: "query_folder_contents",
586
586
  options: options
587
587
  )
588
588
  operation = ::Gapic::Rest::TransportOperation.new response
589
- result = ::Google::Cloud::Dataform::V1::Workspace.decode_json response.body, ignore_unknown_fields: true
589
+ result = ::Google::Cloud::Dataform::V1::QueryFolderContentsResponse.decode_json response.body, ignore_unknown_fields: true
590
590
  catch :response do
591
591
  yield result, operation if block_given?
592
592
  result
@@ -594,23 +594,23 @@ module Google
594
594
  end
595
595
 
596
596
  ##
597
- # Baseline implementation for the create_workspace REST call
597
+ # Baseline implementation for the query_user_root_contents REST call
598
598
  #
599
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkspaceRequest]
599
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryUserRootContentsRequest]
600
600
  # A request object representing the call parameters. Required.
601
601
  # @param options [::Gapic::CallOptions]
602
602
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
603
603
  #
604
604
  # @yield [result, operation] Access the result along with the TransportOperation object
605
- # @yieldparam result [::Google::Cloud::Dataform::V1::Workspace]
605
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryUserRootContentsResponse]
606
606
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
607
607
  #
608
- # @return [::Google::Cloud::Dataform::V1::Workspace]
608
+ # @return [::Google::Cloud::Dataform::V1::QueryUserRootContentsResponse]
609
609
  # A result object deserialized from the server's reply
610
- def create_workspace request_pb, options = nil
610
+ def query_user_root_contents request_pb, options = nil
611
611
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
612
612
 
613
- verb, uri, query_string_params, body = ServiceStub.transcode_create_workspace_request request_pb
613
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_user_root_contents_request request_pb
614
614
  query_string_params = if query_string_params.any?
615
615
  query_string_params.to_h { |p| p.split "=", 2 }
616
616
  else
@@ -622,11 +622,11 @@ module Google
622
622
  uri: uri,
623
623
  body: body || "",
624
624
  params: query_string_params,
625
- method_name: "create_workspace",
625
+ method_name: "query_user_root_contents",
626
626
  options: options
627
627
  )
628
628
  operation = ::Gapic::Rest::TransportOperation.new response
629
- result = ::Google::Cloud::Dataform::V1::Workspace.decode_json response.body, ignore_unknown_fields: true
629
+ result = ::Google::Cloud::Dataform::V1::QueryUserRootContentsResponse.decode_json response.body, ignore_unknown_fields: true
630
630
  catch :response do
631
631
  yield result, operation if block_given?
632
632
  result
@@ -634,23 +634,23 @@ module Google
634
634
  end
635
635
 
636
636
  ##
637
- # Baseline implementation for the delete_workspace REST call
637
+ # Baseline implementation for the move_folder REST call
638
638
  #
639
- # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkspaceRequest]
639
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveFolderRequest]
640
640
  # A request object representing the call parameters. Required.
641
641
  # @param options [::Gapic::CallOptions]
642
642
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
643
643
  #
644
644
  # @yield [result, operation] Access the result along with the TransportOperation object
645
- # @yieldparam result [::Google::Protobuf::Empty]
645
+ # @yieldparam result [::Google::Longrunning::Operation]
646
646
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
647
647
  #
648
- # @return [::Google::Protobuf::Empty]
648
+ # @return [::Google::Longrunning::Operation]
649
649
  # A result object deserialized from the server's reply
650
- def delete_workspace request_pb, options = nil
650
+ def move_folder request_pb, options = nil
651
651
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
652
652
 
653
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_workspace_request request_pb
653
+ verb, uri, query_string_params, body = ServiceStub.transcode_move_folder_request request_pb
654
654
  query_string_params = if query_string_params.any?
655
655
  query_string_params.to_h { |p| p.split "=", 2 }
656
656
  else
@@ -662,11 +662,11 @@ module Google
662
662
  uri: uri,
663
663
  body: body || "",
664
664
  params: query_string_params,
665
- method_name: "delete_workspace",
665
+ method_name: "move_folder",
666
666
  options: options
667
667
  )
668
668
  operation = ::Gapic::Rest::TransportOperation.new response
669
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
669
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
670
670
  catch :response do
671
671
  yield result, operation if block_given?
672
672
  result
@@ -674,23 +674,23 @@ module Google
674
674
  end
675
675
 
676
676
  ##
677
- # Baseline implementation for the install_npm_packages REST call
677
+ # Baseline implementation for the list_repositories REST call
678
678
  #
679
- # @param request_pb [::Google::Cloud::Dataform::V1::InstallNpmPackagesRequest]
679
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListRepositoriesRequest]
680
680
  # A request object representing the call parameters. Required.
681
681
  # @param options [::Gapic::CallOptions]
682
682
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
683
683
  #
684
684
  # @yield [result, operation] Access the result along with the TransportOperation object
685
- # @yieldparam result [::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse]
685
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListRepositoriesResponse]
686
686
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
687
687
  #
688
- # @return [::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse]
688
+ # @return [::Google::Cloud::Dataform::V1::ListRepositoriesResponse]
689
689
  # A result object deserialized from the server's reply
690
- def install_npm_packages request_pb, options = nil
690
+ def list_repositories request_pb, options = nil
691
691
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
692
692
 
693
- verb, uri, query_string_params, body = ServiceStub.transcode_install_npm_packages_request request_pb
693
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_repositories_request request_pb
694
694
  query_string_params = if query_string_params.any?
695
695
  query_string_params.to_h { |p| p.split "=", 2 }
696
696
  else
@@ -702,11 +702,11 @@ module Google
702
702
  uri: uri,
703
703
  body: body || "",
704
704
  params: query_string_params,
705
- method_name: "install_npm_packages",
705
+ method_name: "list_repositories",
706
706
  options: options
707
707
  )
708
708
  operation = ::Gapic::Rest::TransportOperation.new response
709
- result = ::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse.decode_json response.body, ignore_unknown_fields: true
709
+ result = ::Google::Cloud::Dataform::V1::ListRepositoriesResponse.decode_json response.body, ignore_unknown_fields: true
710
710
  catch :response do
711
711
  yield result, operation if block_given?
712
712
  result
@@ -714,23 +714,23 @@ module Google
714
714
  end
715
715
 
716
716
  ##
717
- # Baseline implementation for the pull_git_commits REST call
717
+ # Baseline implementation for the get_repository REST call
718
718
  #
719
- # @param request_pb [::Google::Cloud::Dataform::V1::PullGitCommitsRequest]
719
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetRepositoryRequest]
720
720
  # A request object representing the call parameters. Required.
721
721
  # @param options [::Gapic::CallOptions]
722
722
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
723
723
  #
724
724
  # @yield [result, operation] Access the result along with the TransportOperation object
725
- # @yieldparam result [::Google::Cloud::Dataform::V1::PullGitCommitsResponse]
725
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Repository]
726
726
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
727
727
  #
728
- # @return [::Google::Cloud::Dataform::V1::PullGitCommitsResponse]
728
+ # @return [::Google::Cloud::Dataform::V1::Repository]
729
729
  # A result object deserialized from the server's reply
730
- def pull_git_commits request_pb, options = nil
730
+ def get_repository request_pb, options = nil
731
731
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
732
732
 
733
- verb, uri, query_string_params, body = ServiceStub.transcode_pull_git_commits_request request_pb
733
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_repository_request request_pb
734
734
  query_string_params = if query_string_params.any?
735
735
  query_string_params.to_h { |p| p.split "=", 2 }
736
736
  else
@@ -742,11 +742,11 @@ module Google
742
742
  uri: uri,
743
743
  body: body || "",
744
744
  params: query_string_params,
745
- method_name: "pull_git_commits",
745
+ method_name: "get_repository",
746
746
  options: options
747
747
  )
748
748
  operation = ::Gapic::Rest::TransportOperation.new response
749
- result = ::Google::Cloud::Dataform::V1::PullGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
749
+ result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
750
750
  catch :response do
751
751
  yield result, operation if block_given?
752
752
  result
@@ -754,23 +754,23 @@ module Google
754
754
  end
755
755
 
756
756
  ##
757
- # Baseline implementation for the push_git_commits REST call
757
+ # Baseline implementation for the create_repository REST call
758
758
  #
759
- # @param request_pb [::Google::Cloud::Dataform::V1::PushGitCommitsRequest]
759
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateRepositoryRequest]
760
760
  # A request object representing the call parameters. Required.
761
761
  # @param options [::Gapic::CallOptions]
762
762
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
763
763
  #
764
764
  # @yield [result, operation] Access the result along with the TransportOperation object
765
- # @yieldparam result [::Google::Cloud::Dataform::V1::PushGitCommitsResponse]
765
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Repository]
766
766
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
767
767
  #
768
- # @return [::Google::Cloud::Dataform::V1::PushGitCommitsResponse]
768
+ # @return [::Google::Cloud::Dataform::V1::Repository]
769
769
  # A result object deserialized from the server's reply
770
- def push_git_commits request_pb, options = nil
770
+ def create_repository request_pb, options = nil
771
771
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
772
772
 
773
- verb, uri, query_string_params, body = ServiceStub.transcode_push_git_commits_request request_pb
773
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_repository_request request_pb
774
774
  query_string_params = if query_string_params.any?
775
775
  query_string_params.to_h { |p| p.split "=", 2 }
776
776
  else
@@ -782,11 +782,11 @@ module Google
782
782
  uri: uri,
783
783
  body: body || "",
784
784
  params: query_string_params,
785
- method_name: "push_git_commits",
785
+ method_name: "create_repository",
786
786
  options: options
787
787
  )
788
788
  operation = ::Gapic::Rest::TransportOperation.new response
789
- result = ::Google::Cloud::Dataform::V1::PushGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
789
+ result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
790
790
  catch :response do
791
791
  yield result, operation if block_given?
792
792
  result
@@ -794,23 +794,23 @@ module Google
794
794
  end
795
795
 
796
796
  ##
797
- # Baseline implementation for the fetch_file_git_statuses REST call
797
+ # Baseline implementation for the update_repository REST call
798
798
  #
799
- # @param request_pb [::Google::Cloud::Dataform::V1::FetchFileGitStatusesRequest]
799
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateRepositoryRequest]
800
800
  # A request object representing the call parameters. Required.
801
801
  # @param options [::Gapic::CallOptions]
802
802
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
803
803
  #
804
804
  # @yield [result, operation] Access the result along with the TransportOperation object
805
- # @yieldparam result [::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse]
805
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Repository]
806
806
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
807
807
  #
808
- # @return [::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse]
808
+ # @return [::Google::Cloud::Dataform::V1::Repository]
809
809
  # A result object deserialized from the server's reply
810
- def fetch_file_git_statuses request_pb, options = nil
810
+ def update_repository request_pb, options = nil
811
811
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
812
812
 
813
- verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_git_statuses_request request_pb
813
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_repository_request request_pb
814
814
  query_string_params = if query_string_params.any?
815
815
  query_string_params.to_h { |p| p.split "=", 2 }
816
816
  else
@@ -822,11 +822,11 @@ module Google
822
822
  uri: uri,
823
823
  body: body || "",
824
824
  params: query_string_params,
825
- method_name: "fetch_file_git_statuses",
825
+ method_name: "update_repository",
826
826
  options: options
827
827
  )
828
828
  operation = ::Gapic::Rest::TransportOperation.new response
829
- result = ::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse.decode_json response.body, ignore_unknown_fields: true
829
+ result = ::Google::Cloud::Dataform::V1::Repository.decode_json response.body, ignore_unknown_fields: true
830
830
  catch :response do
831
831
  yield result, operation if block_given?
832
832
  result
@@ -834,23 +834,23 @@ module Google
834
834
  end
835
835
 
836
836
  ##
837
- # Baseline implementation for the fetch_git_ahead_behind REST call
837
+ # Baseline implementation for the delete_repository REST call
838
838
  #
839
- # @param request_pb [::Google::Cloud::Dataform::V1::FetchGitAheadBehindRequest]
839
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteRepositoryRequest]
840
840
  # A request object representing the call parameters. Required.
841
841
  # @param options [::Gapic::CallOptions]
842
842
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
843
843
  #
844
844
  # @yield [result, operation] Access the result along with the TransportOperation object
845
- # @yieldparam result [::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse]
845
+ # @yieldparam result [::Google::Protobuf::Empty]
846
846
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
847
847
  #
848
- # @return [::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse]
848
+ # @return [::Google::Protobuf::Empty]
849
849
  # A result object deserialized from the server's reply
850
- def fetch_git_ahead_behind request_pb, options = nil
850
+ def delete_repository request_pb, options = nil
851
851
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
852
852
 
853
- verb, uri, query_string_params, body = ServiceStub.transcode_fetch_git_ahead_behind_request request_pb
853
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_repository_request request_pb
854
854
  query_string_params = if query_string_params.any?
855
855
  query_string_params.to_h { |p| p.split "=", 2 }
856
856
  else
@@ -862,11 +862,11 @@ module Google
862
862
  uri: uri,
863
863
  body: body || "",
864
864
  params: query_string_params,
865
- method_name: "fetch_git_ahead_behind",
865
+ method_name: "delete_repository",
866
866
  options: options
867
867
  )
868
868
  operation = ::Gapic::Rest::TransportOperation.new response
869
- result = ::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse.decode_json response.body, ignore_unknown_fields: true
869
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
870
870
  catch :response do
871
871
  yield result, operation if block_given?
872
872
  result
@@ -874,23 +874,23 @@ module Google
874
874
  end
875
875
 
876
876
  ##
877
- # Baseline implementation for the commit_workspace_changes REST call
877
+ # Baseline implementation for the move_repository REST call
878
878
  #
879
- # @param request_pb [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesRequest]
879
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveRepositoryRequest]
880
880
  # A request object representing the call parameters. Required.
881
881
  # @param options [::Gapic::CallOptions]
882
882
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
883
883
  #
884
884
  # @yield [result, operation] Access the result along with the TransportOperation object
885
- # @yieldparam result [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse]
885
+ # @yieldparam result [::Google::Longrunning::Operation]
886
886
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
887
887
  #
888
- # @return [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse]
888
+ # @return [::Google::Longrunning::Operation]
889
889
  # A result object deserialized from the server's reply
890
- def commit_workspace_changes request_pb, options = nil
890
+ def move_repository request_pb, options = nil
891
891
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
892
892
 
893
- verb, uri, query_string_params, body = ServiceStub.transcode_commit_workspace_changes_request request_pb
893
+ verb, uri, query_string_params, body = ServiceStub.transcode_move_repository_request request_pb
894
894
  query_string_params = if query_string_params.any?
895
895
  query_string_params.to_h { |p| p.split "=", 2 }
896
896
  else
@@ -902,11 +902,11 @@ module Google
902
902
  uri: uri,
903
903
  body: body || "",
904
904
  params: query_string_params,
905
- method_name: "commit_workspace_changes",
905
+ method_name: "move_repository",
906
906
  options: options
907
907
  )
908
908
  operation = ::Gapic::Rest::TransportOperation.new response
909
- result = ::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
909
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
910
910
  catch :response do
911
911
  yield result, operation if block_given?
912
912
  result
@@ -914,23 +914,23 @@ module Google
914
914
  end
915
915
 
916
916
  ##
917
- # Baseline implementation for the reset_workspace_changes REST call
917
+ # Baseline implementation for the commit_repository_changes REST call
918
918
  #
919
- # @param request_pb [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesRequest]
919
+ # @param request_pb [::Google::Cloud::Dataform::V1::CommitRepositoryChangesRequest]
920
920
  # A request object representing the call parameters. Required.
921
921
  # @param options [::Gapic::CallOptions]
922
922
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
923
923
  #
924
924
  # @yield [result, operation] Access the result along with the TransportOperation object
925
- # @yieldparam result [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse]
925
+ # @yieldparam result [::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse]
926
926
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
927
927
  #
928
- # @return [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse]
928
+ # @return [::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse]
929
929
  # A result object deserialized from the server's reply
930
- def reset_workspace_changes request_pb, options = nil
930
+ def commit_repository_changes request_pb, options = nil
931
931
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
932
932
 
933
- verb, uri, query_string_params, body = ServiceStub.transcode_reset_workspace_changes_request request_pb
933
+ verb, uri, query_string_params, body = ServiceStub.transcode_commit_repository_changes_request request_pb
934
934
  query_string_params = if query_string_params.any?
935
935
  query_string_params.to_h { |p| p.split "=", 2 }
936
936
  else
@@ -942,11 +942,11 @@ module Google
942
942
  uri: uri,
943
943
  body: body || "",
944
944
  params: query_string_params,
945
- method_name: "reset_workspace_changes",
945
+ method_name: "commit_repository_changes",
946
946
  options: options
947
947
  )
948
948
  operation = ::Gapic::Rest::TransportOperation.new response
949
- result = ::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
949
+ result = ::Google::Cloud::Dataform::V1::CommitRepositoryChangesResponse.decode_json response.body, ignore_unknown_fields: true
950
950
  catch :response do
951
951
  yield result, operation if block_given?
952
952
  result
@@ -954,23 +954,23 @@ module Google
954
954
  end
955
955
 
956
956
  ##
957
- # Baseline implementation for the fetch_file_diff REST call
957
+ # Baseline implementation for the read_repository_file REST call
958
958
  #
959
- # @param request_pb [::Google::Cloud::Dataform::V1::FetchFileDiffRequest]
959
+ # @param request_pb [::Google::Cloud::Dataform::V1::ReadRepositoryFileRequest]
960
960
  # A request object representing the call parameters. Required.
961
961
  # @param options [::Gapic::CallOptions]
962
962
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
963
963
  #
964
964
  # @yield [result, operation] Access the result along with the TransportOperation object
965
- # @yieldparam result [::Google::Cloud::Dataform::V1::FetchFileDiffResponse]
965
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse]
966
966
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
967
967
  #
968
- # @return [::Google::Cloud::Dataform::V1::FetchFileDiffResponse]
968
+ # @return [::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse]
969
969
  # A result object deserialized from the server's reply
970
- def fetch_file_diff request_pb, options = nil
970
+ def read_repository_file request_pb, options = nil
971
971
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
972
972
 
973
- verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_diff_request request_pb
973
+ verb, uri, query_string_params, body = ServiceStub.transcode_read_repository_file_request request_pb
974
974
  query_string_params = if query_string_params.any?
975
975
  query_string_params.to_h { |p| p.split "=", 2 }
976
976
  else
@@ -982,11 +982,11 @@ module Google
982
982
  uri: uri,
983
983
  body: body || "",
984
984
  params: query_string_params,
985
- method_name: "fetch_file_diff",
985
+ method_name: "read_repository_file",
986
986
  options: options
987
987
  )
988
988
  operation = ::Gapic::Rest::TransportOperation.new response
989
- result = ::Google::Cloud::Dataform::V1::FetchFileDiffResponse.decode_json response.body, ignore_unknown_fields: true
989
+ result = ::Google::Cloud::Dataform::V1::ReadRepositoryFileResponse.decode_json response.body, ignore_unknown_fields: true
990
990
  catch :response do
991
991
  yield result, operation if block_given?
992
992
  result
@@ -994,23 +994,23 @@ module Google
994
994
  end
995
995
 
996
996
  ##
997
- # Baseline implementation for the query_directory_contents REST call
997
+ # Baseline implementation for the query_repository_directory_contents REST call
998
998
  #
999
- # @param request_pb [::Google::Cloud::Dataform::V1::QueryDirectoryContentsRequest]
999
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsRequest]
1000
1000
  # A request object representing the call parameters. Required.
1001
1001
  # @param options [::Gapic::CallOptions]
1002
1002
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1003
1003
  #
1004
1004
  # @yield [result, operation] Access the result along with the TransportOperation object
1005
- # @yieldparam result [::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse]
1005
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse]
1006
1006
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1007
1007
  #
1008
- # @return [::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse]
1008
+ # @return [::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse]
1009
1009
  # A result object deserialized from the server's reply
1010
- def query_directory_contents request_pb, options = nil
1010
+ def query_repository_directory_contents request_pb, options = nil
1011
1011
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1012
1012
 
1013
- verb, uri, query_string_params, body = ServiceStub.transcode_query_directory_contents_request request_pb
1013
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_repository_directory_contents_request request_pb
1014
1014
  query_string_params = if query_string_params.any?
1015
1015
  query_string_params.to_h { |p| p.split "=", 2 }
1016
1016
  else
@@ -1022,11 +1022,11 @@ module Google
1022
1022
  uri: uri,
1023
1023
  body: body || "",
1024
1024
  params: query_string_params,
1025
- method_name: "query_directory_contents",
1025
+ method_name: "query_repository_directory_contents",
1026
1026
  options: options
1027
1027
  )
1028
1028
  operation = ::Gapic::Rest::TransportOperation.new response
1029
- result = ::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse.decode_json response.body, ignore_unknown_fields: true
1029
+ result = ::Google::Cloud::Dataform::V1::QueryRepositoryDirectoryContentsResponse.decode_json response.body, ignore_unknown_fields: true
1030
1030
  catch :response do
1031
1031
  yield result, operation if block_given?
1032
1032
  result
@@ -1034,23 +1034,23 @@ module Google
1034
1034
  end
1035
1035
 
1036
1036
  ##
1037
- # Baseline implementation for the search_files REST call
1037
+ # Baseline implementation for the fetch_repository_history REST call
1038
1038
  #
1039
- # @param request_pb [::Google::Cloud::Dataform::V1::SearchFilesRequest]
1039
+ # @param request_pb [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryRequest]
1040
1040
  # A request object representing the call parameters. Required.
1041
1041
  # @param options [::Gapic::CallOptions]
1042
1042
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1043
1043
  #
1044
1044
  # @yield [result, operation] Access the result along with the TransportOperation object
1045
- # @yieldparam result [::Google::Cloud::Dataform::V1::SearchFilesResponse]
1045
+ # @yieldparam result [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse]
1046
1046
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1047
1047
  #
1048
- # @return [::Google::Cloud::Dataform::V1::SearchFilesResponse]
1048
+ # @return [::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse]
1049
1049
  # A result object deserialized from the server's reply
1050
- def search_files request_pb, options = nil
1050
+ def fetch_repository_history request_pb, options = nil
1051
1051
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1052
1052
 
1053
- verb, uri, query_string_params, body = ServiceStub.transcode_search_files_request request_pb
1053
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_repository_history_request request_pb
1054
1054
  query_string_params = if query_string_params.any?
1055
1055
  query_string_params.to_h { |p| p.split "=", 2 }
1056
1056
  else
@@ -1062,11 +1062,11 @@ module Google
1062
1062
  uri: uri,
1063
1063
  body: body || "",
1064
1064
  params: query_string_params,
1065
- method_name: "search_files",
1065
+ method_name: "fetch_repository_history",
1066
1066
  options: options
1067
1067
  )
1068
1068
  operation = ::Gapic::Rest::TransportOperation.new response
1069
- result = ::Google::Cloud::Dataform::V1::SearchFilesResponse.decode_json response.body, ignore_unknown_fields: true
1069
+ result = ::Google::Cloud::Dataform::V1::FetchRepositoryHistoryResponse.decode_json response.body, ignore_unknown_fields: true
1070
1070
  catch :response do
1071
1071
  yield result, operation if block_given?
1072
1072
  result
@@ -1074,23 +1074,23 @@ module Google
1074
1074
  end
1075
1075
 
1076
1076
  ##
1077
- # Baseline implementation for the make_directory REST call
1077
+ # Baseline implementation for the compute_repository_access_token_status REST call
1078
1078
  #
1079
- # @param request_pb [::Google::Cloud::Dataform::V1::MakeDirectoryRequest]
1079
+ # @param request_pb [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusRequest]
1080
1080
  # A request object representing the call parameters. Required.
1081
1081
  # @param options [::Gapic::CallOptions]
1082
1082
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1083
1083
  #
1084
1084
  # @yield [result, operation] Access the result along with the TransportOperation object
1085
- # @yieldparam result [::Google::Cloud::Dataform::V1::MakeDirectoryResponse]
1085
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse]
1086
1086
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1087
1087
  #
1088
- # @return [::Google::Cloud::Dataform::V1::MakeDirectoryResponse]
1088
+ # @return [::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse]
1089
1089
  # A result object deserialized from the server's reply
1090
- def make_directory request_pb, options = nil
1090
+ def compute_repository_access_token_status request_pb, options = nil
1091
1091
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1092
1092
 
1093
- verb, uri, query_string_params, body = ServiceStub.transcode_make_directory_request request_pb
1093
+ verb, uri, query_string_params, body = ServiceStub.transcode_compute_repository_access_token_status_request request_pb
1094
1094
  query_string_params = if query_string_params.any?
1095
1095
  query_string_params.to_h { |p| p.split "=", 2 }
1096
1096
  else
@@ -1102,11 +1102,11 @@ module Google
1102
1102
  uri: uri,
1103
1103
  body: body || "",
1104
1104
  params: query_string_params,
1105
- method_name: "make_directory",
1105
+ method_name: "compute_repository_access_token_status",
1106
1106
  options: options
1107
1107
  )
1108
1108
  operation = ::Gapic::Rest::TransportOperation.new response
1109
- result = ::Google::Cloud::Dataform::V1::MakeDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1109
+ result = ::Google::Cloud::Dataform::V1::ComputeRepositoryAccessTokenStatusResponse.decode_json response.body, ignore_unknown_fields: true
1110
1110
  catch :response do
1111
1111
  yield result, operation if block_given?
1112
1112
  result
@@ -1114,23 +1114,23 @@ module Google
1114
1114
  end
1115
1115
 
1116
1116
  ##
1117
- # Baseline implementation for the remove_directory REST call
1117
+ # Baseline implementation for the fetch_remote_branches REST call
1118
1118
  #
1119
- # @param request_pb [::Google::Cloud::Dataform::V1::RemoveDirectoryRequest]
1119
+ # @param request_pb [::Google::Cloud::Dataform::V1::FetchRemoteBranchesRequest]
1120
1120
  # A request object representing the call parameters. Required.
1121
1121
  # @param options [::Gapic::CallOptions]
1122
1122
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1123
1123
  #
1124
1124
  # @yield [result, operation] Access the result along with the TransportOperation object
1125
- # @yieldparam result [::Google::Cloud::Dataform::V1::RemoveDirectoryResponse]
1125
+ # @yieldparam result [::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse]
1126
1126
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1127
1127
  #
1128
- # @return [::Google::Cloud::Dataform::V1::RemoveDirectoryResponse]
1128
+ # @return [::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse]
1129
1129
  # A result object deserialized from the server's reply
1130
- def remove_directory request_pb, options = nil
1130
+ def fetch_remote_branches request_pb, options = nil
1131
1131
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1132
1132
 
1133
- verb, uri, query_string_params, body = ServiceStub.transcode_remove_directory_request request_pb
1133
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_remote_branches_request request_pb
1134
1134
  query_string_params = if query_string_params.any?
1135
1135
  query_string_params.to_h { |p| p.split "=", 2 }
1136
1136
  else
@@ -1142,11 +1142,11 @@ module Google
1142
1142
  uri: uri,
1143
1143
  body: body || "",
1144
1144
  params: query_string_params,
1145
- method_name: "remove_directory",
1145
+ method_name: "fetch_remote_branches",
1146
1146
  options: options
1147
1147
  )
1148
1148
  operation = ::Gapic::Rest::TransportOperation.new response
1149
- result = ::Google::Cloud::Dataform::V1::RemoveDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1149
+ result = ::Google::Cloud::Dataform::V1::FetchRemoteBranchesResponse.decode_json response.body, ignore_unknown_fields: true
1150
1150
  catch :response do
1151
1151
  yield result, operation if block_given?
1152
1152
  result
@@ -1154,23 +1154,23 @@ module Google
1154
1154
  end
1155
1155
 
1156
1156
  ##
1157
- # Baseline implementation for the move_directory REST call
1157
+ # Baseline implementation for the list_workspaces REST call
1158
1158
  #
1159
- # @param request_pb [::Google::Cloud::Dataform::V1::MoveDirectoryRequest]
1159
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkspacesRequest]
1160
1160
  # A request object representing the call parameters. Required.
1161
1161
  # @param options [::Gapic::CallOptions]
1162
1162
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1163
1163
  #
1164
1164
  # @yield [result, operation] Access the result along with the TransportOperation object
1165
- # @yieldparam result [::Google::Cloud::Dataform::V1::MoveDirectoryResponse]
1165
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkspacesResponse]
1166
1166
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1167
1167
  #
1168
- # @return [::Google::Cloud::Dataform::V1::MoveDirectoryResponse]
1168
+ # @return [::Google::Cloud::Dataform::V1::ListWorkspacesResponse]
1169
1169
  # A result object deserialized from the server's reply
1170
- def move_directory request_pb, options = nil
1170
+ def list_workspaces request_pb, options = nil
1171
1171
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1172
1172
 
1173
- verb, uri, query_string_params, body = ServiceStub.transcode_move_directory_request request_pb
1173
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_workspaces_request request_pb
1174
1174
  query_string_params = if query_string_params.any?
1175
1175
  query_string_params.to_h { |p| p.split "=", 2 }
1176
1176
  else
@@ -1182,11 +1182,11 @@ module Google
1182
1182
  uri: uri,
1183
1183
  body: body || "",
1184
1184
  params: query_string_params,
1185
- method_name: "move_directory",
1185
+ method_name: "list_workspaces",
1186
1186
  options: options
1187
1187
  )
1188
1188
  operation = ::Gapic::Rest::TransportOperation.new response
1189
- result = ::Google::Cloud::Dataform::V1::MoveDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1189
+ result = ::Google::Cloud::Dataform::V1::ListWorkspacesResponse.decode_json response.body, ignore_unknown_fields: true
1190
1190
  catch :response do
1191
1191
  yield result, operation if block_given?
1192
1192
  result
@@ -1194,23 +1194,23 @@ module Google
1194
1194
  end
1195
1195
 
1196
1196
  ##
1197
- # Baseline implementation for the read_file REST call
1197
+ # Baseline implementation for the get_workspace REST call
1198
1198
  #
1199
- # @param request_pb [::Google::Cloud::Dataform::V1::ReadFileRequest]
1199
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkspaceRequest]
1200
1200
  # A request object representing the call parameters. Required.
1201
1201
  # @param options [::Gapic::CallOptions]
1202
1202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1203
1203
  #
1204
1204
  # @yield [result, operation] Access the result along with the TransportOperation object
1205
- # @yieldparam result [::Google::Cloud::Dataform::V1::ReadFileResponse]
1205
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Workspace]
1206
1206
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1207
1207
  #
1208
- # @return [::Google::Cloud::Dataform::V1::ReadFileResponse]
1208
+ # @return [::Google::Cloud::Dataform::V1::Workspace]
1209
1209
  # A result object deserialized from the server's reply
1210
- def read_file request_pb, options = nil
1210
+ def get_workspace request_pb, options = nil
1211
1211
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1212
1212
 
1213
- verb, uri, query_string_params, body = ServiceStub.transcode_read_file_request request_pb
1213
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_workspace_request request_pb
1214
1214
  query_string_params = if query_string_params.any?
1215
1215
  query_string_params.to_h { |p| p.split "=", 2 }
1216
1216
  else
@@ -1222,11 +1222,11 @@ module Google
1222
1222
  uri: uri,
1223
1223
  body: body || "",
1224
1224
  params: query_string_params,
1225
- method_name: "read_file",
1225
+ method_name: "get_workspace",
1226
1226
  options: options
1227
1227
  )
1228
1228
  operation = ::Gapic::Rest::TransportOperation.new response
1229
- result = ::Google::Cloud::Dataform::V1::ReadFileResponse.decode_json response.body, ignore_unknown_fields: true
1229
+ result = ::Google::Cloud::Dataform::V1::Workspace.decode_json response.body, ignore_unknown_fields: true
1230
1230
  catch :response do
1231
1231
  yield result, operation if block_given?
1232
1232
  result
@@ -1234,23 +1234,23 @@ module Google
1234
1234
  end
1235
1235
 
1236
1236
  ##
1237
- # Baseline implementation for the remove_file REST call
1237
+ # Baseline implementation for the create_workspace REST call
1238
1238
  #
1239
- # @param request_pb [::Google::Cloud::Dataform::V1::RemoveFileRequest]
1239
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkspaceRequest]
1240
1240
  # A request object representing the call parameters. Required.
1241
1241
  # @param options [::Gapic::CallOptions]
1242
1242
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1243
1243
  #
1244
1244
  # @yield [result, operation] Access the result along with the TransportOperation object
1245
- # @yieldparam result [::Google::Cloud::Dataform::V1::RemoveFileResponse]
1245
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Workspace]
1246
1246
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1247
1247
  #
1248
- # @return [::Google::Cloud::Dataform::V1::RemoveFileResponse]
1248
+ # @return [::Google::Cloud::Dataform::V1::Workspace]
1249
1249
  # A result object deserialized from the server's reply
1250
- def remove_file request_pb, options = nil
1250
+ def create_workspace request_pb, options = nil
1251
1251
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1252
1252
 
1253
- verb, uri, query_string_params, body = ServiceStub.transcode_remove_file_request request_pb
1253
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_workspace_request request_pb
1254
1254
  query_string_params = if query_string_params.any?
1255
1255
  query_string_params.to_h { |p| p.split "=", 2 }
1256
1256
  else
@@ -1262,11 +1262,11 @@ module Google
1262
1262
  uri: uri,
1263
1263
  body: body || "",
1264
1264
  params: query_string_params,
1265
- method_name: "remove_file",
1265
+ method_name: "create_workspace",
1266
1266
  options: options
1267
1267
  )
1268
1268
  operation = ::Gapic::Rest::TransportOperation.new response
1269
- result = ::Google::Cloud::Dataform::V1::RemoveFileResponse.decode_json response.body, ignore_unknown_fields: true
1269
+ result = ::Google::Cloud::Dataform::V1::Workspace.decode_json response.body, ignore_unknown_fields: true
1270
1270
  catch :response do
1271
1271
  yield result, operation if block_given?
1272
1272
  result
@@ -1274,23 +1274,23 @@ module Google
1274
1274
  end
1275
1275
 
1276
1276
  ##
1277
- # Baseline implementation for the move_file REST call
1277
+ # Baseline implementation for the delete_workspace REST call
1278
1278
  #
1279
- # @param request_pb [::Google::Cloud::Dataform::V1::MoveFileRequest]
1279
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkspaceRequest]
1280
1280
  # A request object representing the call parameters. Required.
1281
1281
  # @param options [::Gapic::CallOptions]
1282
1282
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1283
1283
  #
1284
1284
  # @yield [result, operation] Access the result along with the TransportOperation object
1285
- # @yieldparam result [::Google::Cloud::Dataform::V1::MoveFileResponse]
1285
+ # @yieldparam result [::Google::Protobuf::Empty]
1286
1286
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1287
1287
  #
1288
- # @return [::Google::Cloud::Dataform::V1::MoveFileResponse]
1288
+ # @return [::Google::Protobuf::Empty]
1289
1289
  # A result object deserialized from the server's reply
1290
- def move_file request_pb, options = nil
1290
+ def delete_workspace request_pb, options = nil
1291
1291
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1292
1292
 
1293
- verb, uri, query_string_params, body = ServiceStub.transcode_move_file_request request_pb
1293
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_workspace_request request_pb
1294
1294
  query_string_params = if query_string_params.any?
1295
1295
  query_string_params.to_h { |p| p.split "=", 2 }
1296
1296
  else
@@ -1302,11 +1302,11 @@ module Google
1302
1302
  uri: uri,
1303
1303
  body: body || "",
1304
1304
  params: query_string_params,
1305
- method_name: "move_file",
1305
+ method_name: "delete_workspace",
1306
1306
  options: options
1307
1307
  )
1308
1308
  operation = ::Gapic::Rest::TransportOperation.new response
1309
- result = ::Google::Cloud::Dataform::V1::MoveFileResponse.decode_json response.body, ignore_unknown_fields: true
1309
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1310
1310
  catch :response do
1311
1311
  yield result, operation if block_given?
1312
1312
  result
@@ -1314,23 +1314,23 @@ module Google
1314
1314
  end
1315
1315
 
1316
1316
  ##
1317
- # Baseline implementation for the write_file REST call
1317
+ # Baseline implementation for the install_npm_packages REST call
1318
1318
  #
1319
- # @param request_pb [::Google::Cloud::Dataform::V1::WriteFileRequest]
1319
+ # @param request_pb [::Google::Cloud::Dataform::V1::InstallNpmPackagesRequest]
1320
1320
  # A request object representing the call parameters. Required.
1321
1321
  # @param options [::Gapic::CallOptions]
1322
1322
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1323
1323
  #
1324
1324
  # @yield [result, operation] Access the result along with the TransportOperation object
1325
- # @yieldparam result [::Google::Cloud::Dataform::V1::WriteFileResponse]
1325
+ # @yieldparam result [::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse]
1326
1326
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1327
1327
  #
1328
- # @return [::Google::Cloud::Dataform::V1::WriteFileResponse]
1328
+ # @return [::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse]
1329
1329
  # A result object deserialized from the server's reply
1330
- def write_file request_pb, options = nil
1330
+ def install_npm_packages request_pb, options = nil
1331
1331
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1332
1332
 
1333
- verb, uri, query_string_params, body = ServiceStub.transcode_write_file_request request_pb
1333
+ verb, uri, query_string_params, body = ServiceStub.transcode_install_npm_packages_request request_pb
1334
1334
  query_string_params = if query_string_params.any?
1335
1335
  query_string_params.to_h { |p| p.split "=", 2 }
1336
1336
  else
@@ -1342,11 +1342,11 @@ module Google
1342
1342
  uri: uri,
1343
1343
  body: body || "",
1344
1344
  params: query_string_params,
1345
- method_name: "write_file",
1345
+ method_name: "install_npm_packages",
1346
1346
  options: options
1347
1347
  )
1348
1348
  operation = ::Gapic::Rest::TransportOperation.new response
1349
- result = ::Google::Cloud::Dataform::V1::WriteFileResponse.decode_json response.body, ignore_unknown_fields: true
1349
+ result = ::Google::Cloud::Dataform::V1::InstallNpmPackagesResponse.decode_json response.body, ignore_unknown_fields: true
1350
1350
  catch :response do
1351
1351
  yield result, operation if block_given?
1352
1352
  result
@@ -1354,23 +1354,23 @@ module Google
1354
1354
  end
1355
1355
 
1356
1356
  ##
1357
- # Baseline implementation for the list_release_configs REST call
1357
+ # Baseline implementation for the pull_git_commits REST call
1358
1358
  #
1359
- # @param request_pb [::Google::Cloud::Dataform::V1::ListReleaseConfigsRequest]
1359
+ # @param request_pb [::Google::Cloud::Dataform::V1::PullGitCommitsRequest]
1360
1360
  # A request object representing the call parameters. Required.
1361
1361
  # @param options [::Gapic::CallOptions]
1362
1362
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1363
1363
  #
1364
1364
  # @yield [result, operation] Access the result along with the TransportOperation object
1365
- # @yieldparam result [::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse]
1365
+ # @yieldparam result [::Google::Cloud::Dataform::V1::PullGitCommitsResponse]
1366
1366
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1367
1367
  #
1368
- # @return [::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse]
1368
+ # @return [::Google::Cloud::Dataform::V1::PullGitCommitsResponse]
1369
1369
  # A result object deserialized from the server's reply
1370
- def list_release_configs request_pb, options = nil
1370
+ def pull_git_commits request_pb, options = nil
1371
1371
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1372
1372
 
1373
- verb, uri, query_string_params, body = ServiceStub.transcode_list_release_configs_request request_pb
1373
+ verb, uri, query_string_params, body = ServiceStub.transcode_pull_git_commits_request request_pb
1374
1374
  query_string_params = if query_string_params.any?
1375
1375
  query_string_params.to_h { |p| p.split "=", 2 }
1376
1376
  else
@@ -1382,11 +1382,11 @@ module Google
1382
1382
  uri: uri,
1383
1383
  body: body || "",
1384
1384
  params: query_string_params,
1385
- method_name: "list_release_configs",
1385
+ method_name: "pull_git_commits",
1386
1386
  options: options
1387
1387
  )
1388
1388
  operation = ::Gapic::Rest::TransportOperation.new response
1389
- result = ::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse.decode_json response.body, ignore_unknown_fields: true
1389
+ result = ::Google::Cloud::Dataform::V1::PullGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
1390
1390
  catch :response do
1391
1391
  yield result, operation if block_given?
1392
1392
  result
@@ -1394,23 +1394,23 @@ module Google
1394
1394
  end
1395
1395
 
1396
1396
  ##
1397
- # Baseline implementation for the get_release_config REST call
1397
+ # Baseline implementation for the push_git_commits REST call
1398
1398
  #
1399
- # @param request_pb [::Google::Cloud::Dataform::V1::GetReleaseConfigRequest]
1399
+ # @param request_pb [::Google::Cloud::Dataform::V1::PushGitCommitsRequest]
1400
1400
  # A request object representing the call parameters. Required.
1401
1401
  # @param options [::Gapic::CallOptions]
1402
1402
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1403
1403
  #
1404
1404
  # @yield [result, operation] Access the result along with the TransportOperation object
1405
- # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
1405
+ # @yieldparam result [::Google::Cloud::Dataform::V1::PushGitCommitsResponse]
1406
1406
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1407
1407
  #
1408
- # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
1408
+ # @return [::Google::Cloud::Dataform::V1::PushGitCommitsResponse]
1409
1409
  # A result object deserialized from the server's reply
1410
- def get_release_config request_pb, options = nil
1410
+ def push_git_commits request_pb, options = nil
1411
1411
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1412
1412
 
1413
- verb, uri, query_string_params, body = ServiceStub.transcode_get_release_config_request request_pb
1413
+ verb, uri, query_string_params, body = ServiceStub.transcode_push_git_commits_request request_pb
1414
1414
  query_string_params = if query_string_params.any?
1415
1415
  query_string_params.to_h { |p| p.split "=", 2 }
1416
1416
  else
@@ -1422,11 +1422,11 @@ module Google
1422
1422
  uri: uri,
1423
1423
  body: body || "",
1424
1424
  params: query_string_params,
1425
- method_name: "get_release_config",
1425
+ method_name: "push_git_commits",
1426
1426
  options: options
1427
1427
  )
1428
1428
  operation = ::Gapic::Rest::TransportOperation.new response
1429
- result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1429
+ result = ::Google::Cloud::Dataform::V1::PushGitCommitsResponse.decode_json response.body, ignore_unknown_fields: true
1430
1430
  catch :response do
1431
1431
  yield result, operation if block_given?
1432
1432
  result
@@ -1434,23 +1434,23 @@ module Google
1434
1434
  end
1435
1435
 
1436
1436
  ##
1437
- # Baseline implementation for the create_release_config REST call
1437
+ # Baseline implementation for the fetch_file_git_statuses REST call
1438
1438
  #
1439
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateReleaseConfigRequest]
1439
+ # @param request_pb [::Google::Cloud::Dataform::V1::FetchFileGitStatusesRequest]
1440
1440
  # A request object representing the call parameters. Required.
1441
1441
  # @param options [::Gapic::CallOptions]
1442
1442
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1443
1443
  #
1444
1444
  # @yield [result, operation] Access the result along with the TransportOperation object
1445
- # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
1445
+ # @yieldparam result [::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse]
1446
1446
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1447
1447
  #
1448
- # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
1448
+ # @return [::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse]
1449
1449
  # A result object deserialized from the server's reply
1450
- def create_release_config request_pb, options = nil
1450
+ def fetch_file_git_statuses request_pb, options = nil
1451
1451
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1452
1452
 
1453
- verb, uri, query_string_params, body = ServiceStub.transcode_create_release_config_request request_pb
1453
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_git_statuses_request request_pb
1454
1454
  query_string_params = if query_string_params.any?
1455
1455
  query_string_params.to_h { |p| p.split "=", 2 }
1456
1456
  else
@@ -1462,11 +1462,11 @@ module Google
1462
1462
  uri: uri,
1463
1463
  body: body || "",
1464
1464
  params: query_string_params,
1465
- method_name: "create_release_config",
1465
+ method_name: "fetch_file_git_statuses",
1466
1466
  options: options
1467
1467
  )
1468
1468
  operation = ::Gapic::Rest::TransportOperation.new response
1469
- result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1469
+ result = ::Google::Cloud::Dataform::V1::FetchFileGitStatusesResponse.decode_json response.body, ignore_unknown_fields: true
1470
1470
  catch :response do
1471
1471
  yield result, operation if block_given?
1472
1472
  result
@@ -1474,23 +1474,23 @@ module Google
1474
1474
  end
1475
1475
 
1476
1476
  ##
1477
- # Baseline implementation for the update_release_config REST call
1477
+ # Baseline implementation for the fetch_git_ahead_behind REST call
1478
1478
  #
1479
- # @param request_pb [::Google::Cloud::Dataform::V1::UpdateReleaseConfigRequest]
1479
+ # @param request_pb [::Google::Cloud::Dataform::V1::FetchGitAheadBehindRequest]
1480
1480
  # A request object representing the call parameters. Required.
1481
1481
  # @param options [::Gapic::CallOptions]
1482
1482
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1483
1483
  #
1484
1484
  # @yield [result, operation] Access the result along with the TransportOperation object
1485
- # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
1485
+ # @yieldparam result [::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse]
1486
1486
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1487
1487
  #
1488
- # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
1488
+ # @return [::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse]
1489
1489
  # A result object deserialized from the server's reply
1490
- def update_release_config request_pb, options = nil
1490
+ def fetch_git_ahead_behind request_pb, options = nil
1491
1491
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1492
1492
 
1493
- verb, uri, query_string_params, body = ServiceStub.transcode_update_release_config_request request_pb
1493
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_git_ahead_behind_request request_pb
1494
1494
  query_string_params = if query_string_params.any?
1495
1495
  query_string_params.to_h { |p| p.split "=", 2 }
1496
1496
  else
@@ -1502,11 +1502,11 @@ module Google
1502
1502
  uri: uri,
1503
1503
  body: body || "",
1504
1504
  params: query_string_params,
1505
- method_name: "update_release_config",
1505
+ method_name: "fetch_git_ahead_behind",
1506
1506
  options: options
1507
1507
  )
1508
1508
  operation = ::Gapic::Rest::TransportOperation.new response
1509
- result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
1509
+ result = ::Google::Cloud::Dataform::V1::FetchGitAheadBehindResponse.decode_json response.body, ignore_unknown_fields: true
1510
1510
  catch :response do
1511
1511
  yield result, operation if block_given?
1512
1512
  result
@@ -1514,23 +1514,23 @@ module Google
1514
1514
  end
1515
1515
 
1516
1516
  ##
1517
- # Baseline implementation for the delete_release_config REST call
1517
+ # Baseline implementation for the commit_workspace_changes REST call
1518
1518
  #
1519
- # @param request_pb [::Google::Cloud::Dataform::V1::DeleteReleaseConfigRequest]
1519
+ # @param request_pb [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesRequest]
1520
1520
  # A request object representing the call parameters. Required.
1521
1521
  # @param options [::Gapic::CallOptions]
1522
1522
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1523
1523
  #
1524
1524
  # @yield [result, operation] Access the result along with the TransportOperation object
1525
- # @yieldparam result [::Google::Protobuf::Empty]
1525
+ # @yieldparam result [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse]
1526
1526
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1527
1527
  #
1528
- # @return [::Google::Protobuf::Empty]
1528
+ # @return [::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse]
1529
1529
  # A result object deserialized from the server's reply
1530
- def delete_release_config request_pb, options = nil
1530
+ def commit_workspace_changes request_pb, options = nil
1531
1531
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1532
1532
 
1533
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_release_config_request request_pb
1533
+ verb, uri, query_string_params, body = ServiceStub.transcode_commit_workspace_changes_request request_pb
1534
1534
  query_string_params = if query_string_params.any?
1535
1535
  query_string_params.to_h { |p| p.split "=", 2 }
1536
1536
  else
@@ -1542,11 +1542,11 @@ module Google
1542
1542
  uri: uri,
1543
1543
  body: body || "",
1544
1544
  params: query_string_params,
1545
- method_name: "delete_release_config",
1545
+ method_name: "commit_workspace_changes",
1546
1546
  options: options
1547
1547
  )
1548
1548
  operation = ::Gapic::Rest::TransportOperation.new response
1549
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1549
+ result = ::Google::Cloud::Dataform::V1::CommitWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
1550
1550
  catch :response do
1551
1551
  yield result, operation if block_given?
1552
1552
  result
@@ -1554,23 +1554,23 @@ module Google
1554
1554
  end
1555
1555
 
1556
1556
  ##
1557
- # Baseline implementation for the list_compilation_results REST call
1557
+ # Baseline implementation for the reset_workspace_changes REST call
1558
1558
  #
1559
- # @param request_pb [::Google::Cloud::Dataform::V1::ListCompilationResultsRequest]
1559
+ # @param request_pb [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesRequest]
1560
1560
  # A request object representing the call parameters. Required.
1561
1561
  # @param options [::Gapic::CallOptions]
1562
1562
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1563
1563
  #
1564
1564
  # @yield [result, operation] Access the result along with the TransportOperation object
1565
- # @yieldparam result [::Google::Cloud::Dataform::V1::ListCompilationResultsResponse]
1565
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse]
1566
1566
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1567
1567
  #
1568
- # @return [::Google::Cloud::Dataform::V1::ListCompilationResultsResponse]
1568
+ # @return [::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse]
1569
1569
  # A result object deserialized from the server's reply
1570
- def list_compilation_results request_pb, options = nil
1570
+ def reset_workspace_changes request_pb, options = nil
1571
1571
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1572
1572
 
1573
- verb, uri, query_string_params, body = ServiceStub.transcode_list_compilation_results_request request_pb
1573
+ verb, uri, query_string_params, body = ServiceStub.transcode_reset_workspace_changes_request request_pb
1574
1574
  query_string_params = if query_string_params.any?
1575
1575
  query_string_params.to_h { |p| p.split "=", 2 }
1576
1576
  else
@@ -1582,11 +1582,11 @@ module Google
1582
1582
  uri: uri,
1583
1583
  body: body || "",
1584
1584
  params: query_string_params,
1585
- method_name: "list_compilation_results",
1585
+ method_name: "reset_workspace_changes",
1586
1586
  options: options
1587
1587
  )
1588
1588
  operation = ::Gapic::Rest::TransportOperation.new response
1589
- result = ::Google::Cloud::Dataform::V1::ListCompilationResultsResponse.decode_json response.body, ignore_unknown_fields: true
1589
+ result = ::Google::Cloud::Dataform::V1::ResetWorkspaceChangesResponse.decode_json response.body, ignore_unknown_fields: true
1590
1590
  catch :response do
1591
1591
  yield result, operation if block_given?
1592
1592
  result
@@ -1594,23 +1594,23 @@ module Google
1594
1594
  end
1595
1595
 
1596
1596
  ##
1597
- # Baseline implementation for the get_compilation_result REST call
1597
+ # Baseline implementation for the fetch_file_diff REST call
1598
1598
  #
1599
- # @param request_pb [::Google::Cloud::Dataform::V1::GetCompilationResultRequest]
1599
+ # @param request_pb [::Google::Cloud::Dataform::V1::FetchFileDiffRequest]
1600
1600
  # A request object representing the call parameters. Required.
1601
1601
  # @param options [::Gapic::CallOptions]
1602
1602
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1603
1603
  #
1604
1604
  # @yield [result, operation] Access the result along with the TransportOperation object
1605
- # @yieldparam result [::Google::Cloud::Dataform::V1::CompilationResult]
1605
+ # @yieldparam result [::Google::Cloud::Dataform::V1::FetchFileDiffResponse]
1606
1606
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1607
1607
  #
1608
- # @return [::Google::Cloud::Dataform::V1::CompilationResult]
1608
+ # @return [::Google::Cloud::Dataform::V1::FetchFileDiffResponse]
1609
1609
  # A result object deserialized from the server's reply
1610
- def get_compilation_result request_pb, options = nil
1610
+ def fetch_file_diff request_pb, options = nil
1611
1611
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1612
1612
 
1613
- verb, uri, query_string_params, body = ServiceStub.transcode_get_compilation_result_request request_pb
1613
+ verb, uri, query_string_params, body = ServiceStub.transcode_fetch_file_diff_request request_pb
1614
1614
  query_string_params = if query_string_params.any?
1615
1615
  query_string_params.to_h { |p| p.split "=", 2 }
1616
1616
  else
@@ -1622,11 +1622,11 @@ module Google
1622
1622
  uri: uri,
1623
1623
  body: body || "",
1624
1624
  params: query_string_params,
1625
- method_name: "get_compilation_result",
1625
+ method_name: "fetch_file_diff",
1626
1626
  options: options
1627
1627
  )
1628
1628
  operation = ::Gapic::Rest::TransportOperation.new response
1629
- result = ::Google::Cloud::Dataform::V1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1629
+ result = ::Google::Cloud::Dataform::V1::FetchFileDiffResponse.decode_json response.body, ignore_unknown_fields: true
1630
1630
  catch :response do
1631
1631
  yield result, operation if block_given?
1632
1632
  result
@@ -1634,23 +1634,23 @@ module Google
1634
1634
  end
1635
1635
 
1636
1636
  ##
1637
- # Baseline implementation for the create_compilation_result REST call
1637
+ # Baseline implementation for the query_directory_contents REST call
1638
1638
  #
1639
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateCompilationResultRequest]
1639
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryDirectoryContentsRequest]
1640
1640
  # A request object representing the call parameters. Required.
1641
1641
  # @param options [::Gapic::CallOptions]
1642
1642
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1643
1643
  #
1644
1644
  # @yield [result, operation] Access the result along with the TransportOperation object
1645
- # @yieldparam result [::Google::Cloud::Dataform::V1::CompilationResult]
1645
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse]
1646
1646
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1647
1647
  #
1648
- # @return [::Google::Cloud::Dataform::V1::CompilationResult]
1648
+ # @return [::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse]
1649
1649
  # A result object deserialized from the server's reply
1650
- def create_compilation_result request_pb, options = nil
1650
+ def query_directory_contents request_pb, options = nil
1651
1651
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1652
1652
 
1653
- verb, uri, query_string_params, body = ServiceStub.transcode_create_compilation_result_request request_pb
1653
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_directory_contents_request request_pb
1654
1654
  query_string_params = if query_string_params.any?
1655
1655
  query_string_params.to_h { |p| p.split "=", 2 }
1656
1656
  else
@@ -1662,11 +1662,11 @@ module Google
1662
1662
  uri: uri,
1663
1663
  body: body || "",
1664
1664
  params: query_string_params,
1665
- method_name: "create_compilation_result",
1665
+ method_name: "query_directory_contents",
1666
1666
  options: options
1667
1667
  )
1668
1668
  operation = ::Gapic::Rest::TransportOperation.new response
1669
- result = ::Google::Cloud::Dataform::V1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
1669
+ result = ::Google::Cloud::Dataform::V1::QueryDirectoryContentsResponse.decode_json response.body, ignore_unknown_fields: true
1670
1670
  catch :response do
1671
1671
  yield result, operation if block_given?
1672
1672
  result
@@ -1674,23 +1674,23 @@ module Google
1674
1674
  end
1675
1675
 
1676
1676
  ##
1677
- # Baseline implementation for the query_compilation_result_actions REST call
1677
+ # Baseline implementation for the search_files REST call
1678
1678
  #
1679
- # @param request_pb [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsRequest]
1679
+ # @param request_pb [::Google::Cloud::Dataform::V1::SearchFilesRequest]
1680
1680
  # A request object representing the call parameters. Required.
1681
1681
  # @param options [::Gapic::CallOptions]
1682
1682
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1683
1683
  #
1684
1684
  # @yield [result, operation] Access the result along with the TransportOperation object
1685
- # @yieldparam result [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse]
1685
+ # @yieldparam result [::Google::Cloud::Dataform::V1::SearchFilesResponse]
1686
1686
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1687
1687
  #
1688
- # @return [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse]
1688
+ # @return [::Google::Cloud::Dataform::V1::SearchFilesResponse]
1689
1689
  # A result object deserialized from the server's reply
1690
- def query_compilation_result_actions request_pb, options = nil
1690
+ def search_files request_pb, options = nil
1691
1691
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1692
1692
 
1693
- verb, uri, query_string_params, body = ServiceStub.transcode_query_compilation_result_actions_request request_pb
1693
+ verb, uri, query_string_params, body = ServiceStub.transcode_search_files_request request_pb
1694
1694
  query_string_params = if query_string_params.any?
1695
1695
  query_string_params.to_h { |p| p.split "=", 2 }
1696
1696
  else
@@ -1702,11 +1702,11 @@ module Google
1702
1702
  uri: uri,
1703
1703
  body: body || "",
1704
1704
  params: query_string_params,
1705
- method_name: "query_compilation_result_actions",
1705
+ method_name: "search_files",
1706
1706
  options: options
1707
1707
  )
1708
1708
  operation = ::Gapic::Rest::TransportOperation.new response
1709
- result = ::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse.decode_json response.body, ignore_unknown_fields: true
1709
+ result = ::Google::Cloud::Dataform::V1::SearchFilesResponse.decode_json response.body, ignore_unknown_fields: true
1710
1710
  catch :response do
1711
1711
  yield result, operation if block_given?
1712
1712
  result
@@ -1714,23 +1714,23 @@ module Google
1714
1714
  end
1715
1715
 
1716
1716
  ##
1717
- # Baseline implementation for the list_workflow_configs REST call
1717
+ # Baseline implementation for the make_directory REST call
1718
1718
  #
1719
- # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkflowConfigsRequest]
1719
+ # @param request_pb [::Google::Cloud::Dataform::V1::MakeDirectoryRequest]
1720
1720
  # A request object representing the call parameters. Required.
1721
1721
  # @param options [::Gapic::CallOptions]
1722
1722
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1723
1723
  #
1724
1724
  # @yield [result, operation] Access the result along with the TransportOperation object
1725
- # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse]
1725
+ # @yieldparam result [::Google::Cloud::Dataform::V1::MakeDirectoryResponse]
1726
1726
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1727
1727
  #
1728
- # @return [::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse]
1728
+ # @return [::Google::Cloud::Dataform::V1::MakeDirectoryResponse]
1729
1729
  # A result object deserialized from the server's reply
1730
- def list_workflow_configs request_pb, options = nil
1730
+ def make_directory request_pb, options = nil
1731
1731
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1732
1732
 
1733
- verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_configs_request request_pb
1733
+ verb, uri, query_string_params, body = ServiceStub.transcode_make_directory_request request_pb
1734
1734
  query_string_params = if query_string_params.any?
1735
1735
  query_string_params.to_h { |p| p.split "=", 2 }
1736
1736
  else
@@ -1742,11 +1742,11 @@ module Google
1742
1742
  uri: uri,
1743
1743
  body: body || "",
1744
1744
  params: query_string_params,
1745
- method_name: "list_workflow_configs",
1745
+ method_name: "make_directory",
1746
1746
  options: options
1747
1747
  )
1748
1748
  operation = ::Gapic::Rest::TransportOperation.new response
1749
- result = ::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse.decode_json response.body, ignore_unknown_fields: true
1749
+ result = ::Google::Cloud::Dataform::V1::MakeDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1750
1750
  catch :response do
1751
1751
  yield result, operation if block_given?
1752
1752
  result
@@ -1754,23 +1754,23 @@ module Google
1754
1754
  end
1755
1755
 
1756
1756
  ##
1757
- # Baseline implementation for the get_workflow_config REST call
1757
+ # Baseline implementation for the remove_directory REST call
1758
1758
  #
1759
- # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkflowConfigRequest]
1759
+ # @param request_pb [::Google::Cloud::Dataform::V1::RemoveDirectoryRequest]
1760
1760
  # A request object representing the call parameters. Required.
1761
1761
  # @param options [::Gapic::CallOptions]
1762
1762
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1763
1763
  #
1764
1764
  # @yield [result, operation] Access the result along with the TransportOperation object
1765
- # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
1765
+ # @yieldparam result [::Google::Cloud::Dataform::V1::RemoveDirectoryResponse]
1766
1766
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1767
1767
  #
1768
- # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
1768
+ # @return [::Google::Cloud::Dataform::V1::RemoveDirectoryResponse]
1769
1769
  # A result object deserialized from the server's reply
1770
- def get_workflow_config request_pb, options = nil
1770
+ def remove_directory request_pb, options = nil
1771
1771
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1772
1772
 
1773
- verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_config_request request_pb
1773
+ verb, uri, query_string_params, body = ServiceStub.transcode_remove_directory_request request_pb
1774
1774
  query_string_params = if query_string_params.any?
1775
1775
  query_string_params.to_h { |p| p.split "=", 2 }
1776
1776
  else
@@ -1782,11 +1782,11 @@ module Google
1782
1782
  uri: uri,
1783
1783
  body: body || "",
1784
1784
  params: query_string_params,
1785
- method_name: "get_workflow_config",
1785
+ method_name: "remove_directory",
1786
1786
  options: options
1787
1787
  )
1788
1788
  operation = ::Gapic::Rest::TransportOperation.new response
1789
- result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1789
+ result = ::Google::Cloud::Dataform::V1::RemoveDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1790
1790
  catch :response do
1791
1791
  yield result, operation if block_given?
1792
1792
  result
@@ -1794,23 +1794,23 @@ module Google
1794
1794
  end
1795
1795
 
1796
1796
  ##
1797
- # Baseline implementation for the create_workflow_config REST call
1797
+ # Baseline implementation for the move_directory REST call
1798
1798
  #
1799
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkflowConfigRequest]
1799
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveDirectoryRequest]
1800
1800
  # A request object representing the call parameters. Required.
1801
1801
  # @param options [::Gapic::CallOptions]
1802
1802
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1803
1803
  #
1804
1804
  # @yield [result, operation] Access the result along with the TransportOperation object
1805
- # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
1805
+ # @yieldparam result [::Google::Cloud::Dataform::V1::MoveDirectoryResponse]
1806
1806
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1807
1807
  #
1808
- # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
1808
+ # @return [::Google::Cloud::Dataform::V1::MoveDirectoryResponse]
1809
1809
  # A result object deserialized from the server's reply
1810
- def create_workflow_config request_pb, options = nil
1810
+ def move_directory request_pb, options = nil
1811
1811
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1812
1812
 
1813
- verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_config_request request_pb
1813
+ verb, uri, query_string_params, body = ServiceStub.transcode_move_directory_request request_pb
1814
1814
  query_string_params = if query_string_params.any?
1815
1815
  query_string_params.to_h { |p| p.split "=", 2 }
1816
1816
  else
@@ -1822,11 +1822,11 @@ module Google
1822
1822
  uri: uri,
1823
1823
  body: body || "",
1824
1824
  params: query_string_params,
1825
- method_name: "create_workflow_config",
1825
+ method_name: "move_directory",
1826
1826
  options: options
1827
1827
  )
1828
1828
  operation = ::Gapic::Rest::TransportOperation.new response
1829
- result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1829
+ result = ::Google::Cloud::Dataform::V1::MoveDirectoryResponse.decode_json response.body, ignore_unknown_fields: true
1830
1830
  catch :response do
1831
1831
  yield result, operation if block_given?
1832
1832
  result
@@ -1834,23 +1834,23 @@ module Google
1834
1834
  end
1835
1835
 
1836
1836
  ##
1837
- # Baseline implementation for the update_workflow_config REST call
1837
+ # Baseline implementation for the read_file REST call
1838
1838
  #
1839
- # @param request_pb [::Google::Cloud::Dataform::V1::UpdateWorkflowConfigRequest]
1839
+ # @param request_pb [::Google::Cloud::Dataform::V1::ReadFileRequest]
1840
1840
  # A request object representing the call parameters. Required.
1841
1841
  # @param options [::Gapic::CallOptions]
1842
1842
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1843
1843
  #
1844
1844
  # @yield [result, operation] Access the result along with the TransportOperation object
1845
- # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
1845
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ReadFileResponse]
1846
1846
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1847
1847
  #
1848
- # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
1848
+ # @return [::Google::Cloud::Dataform::V1::ReadFileResponse]
1849
1849
  # A result object deserialized from the server's reply
1850
- def update_workflow_config request_pb, options = nil
1850
+ def read_file request_pb, options = nil
1851
1851
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1852
1852
 
1853
- verb, uri, query_string_params, body = ServiceStub.transcode_update_workflow_config_request request_pb
1853
+ verb, uri, query_string_params, body = ServiceStub.transcode_read_file_request request_pb
1854
1854
  query_string_params = if query_string_params.any?
1855
1855
  query_string_params.to_h { |p| p.split "=", 2 }
1856
1856
  else
@@ -1862,11 +1862,11 @@ module Google
1862
1862
  uri: uri,
1863
1863
  body: body || "",
1864
1864
  params: query_string_params,
1865
- method_name: "update_workflow_config",
1865
+ method_name: "read_file",
1866
1866
  options: options
1867
1867
  )
1868
1868
  operation = ::Gapic::Rest::TransportOperation.new response
1869
- result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
1869
+ result = ::Google::Cloud::Dataform::V1::ReadFileResponse.decode_json response.body, ignore_unknown_fields: true
1870
1870
  catch :response do
1871
1871
  yield result, operation if block_given?
1872
1872
  result
@@ -1874,23 +1874,23 @@ module Google
1874
1874
  end
1875
1875
 
1876
1876
  ##
1877
- # Baseline implementation for the delete_workflow_config REST call
1877
+ # Baseline implementation for the remove_file REST call
1878
1878
  #
1879
- # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkflowConfigRequest]
1879
+ # @param request_pb [::Google::Cloud::Dataform::V1::RemoveFileRequest]
1880
1880
  # A request object representing the call parameters. Required.
1881
1881
  # @param options [::Gapic::CallOptions]
1882
1882
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1883
1883
  #
1884
1884
  # @yield [result, operation] Access the result along with the TransportOperation object
1885
- # @yieldparam result [::Google::Protobuf::Empty]
1885
+ # @yieldparam result [::Google::Cloud::Dataform::V1::RemoveFileResponse]
1886
1886
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1887
1887
  #
1888
- # @return [::Google::Protobuf::Empty]
1888
+ # @return [::Google::Cloud::Dataform::V1::RemoveFileResponse]
1889
1889
  # A result object deserialized from the server's reply
1890
- def delete_workflow_config request_pb, options = nil
1890
+ def remove_file request_pb, options = nil
1891
1891
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1892
1892
 
1893
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_config_request request_pb
1893
+ verb, uri, query_string_params, body = ServiceStub.transcode_remove_file_request request_pb
1894
1894
  query_string_params = if query_string_params.any?
1895
1895
  query_string_params.to_h { |p| p.split "=", 2 }
1896
1896
  else
@@ -1902,11 +1902,11 @@ module Google
1902
1902
  uri: uri,
1903
1903
  body: body || "",
1904
1904
  params: query_string_params,
1905
- method_name: "delete_workflow_config",
1905
+ method_name: "remove_file",
1906
1906
  options: options
1907
1907
  )
1908
1908
  operation = ::Gapic::Rest::TransportOperation.new response
1909
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
1909
+ result = ::Google::Cloud::Dataform::V1::RemoveFileResponse.decode_json response.body, ignore_unknown_fields: true
1910
1910
  catch :response do
1911
1911
  yield result, operation if block_given?
1912
1912
  result
@@ -1914,23 +1914,23 @@ module Google
1914
1914
  end
1915
1915
 
1916
1916
  ##
1917
- # Baseline implementation for the list_workflow_invocations REST call
1917
+ # Baseline implementation for the move_file REST call
1918
1918
  #
1919
- # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsRequest]
1919
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveFileRequest]
1920
1920
  # A request object representing the call parameters. Required.
1921
1921
  # @param options [::Gapic::CallOptions]
1922
1922
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1923
1923
  #
1924
1924
  # @yield [result, operation] Access the result along with the TransportOperation object
1925
- # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse]
1925
+ # @yieldparam result [::Google::Cloud::Dataform::V1::MoveFileResponse]
1926
1926
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1927
1927
  #
1928
- # @return [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse]
1928
+ # @return [::Google::Cloud::Dataform::V1::MoveFileResponse]
1929
1929
  # A result object deserialized from the server's reply
1930
- def list_workflow_invocations request_pb, options = nil
1930
+ def move_file request_pb, options = nil
1931
1931
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1932
1932
 
1933
- verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_invocations_request request_pb
1933
+ verb, uri, query_string_params, body = ServiceStub.transcode_move_file_request request_pb
1934
1934
  query_string_params = if query_string_params.any?
1935
1935
  query_string_params.to_h { |p| p.split "=", 2 }
1936
1936
  else
@@ -1942,11 +1942,11 @@ module Google
1942
1942
  uri: uri,
1943
1943
  body: body || "",
1944
1944
  params: query_string_params,
1945
- method_name: "list_workflow_invocations",
1945
+ method_name: "move_file",
1946
1946
  options: options
1947
1947
  )
1948
1948
  operation = ::Gapic::Rest::TransportOperation.new response
1949
- result = ::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse.decode_json response.body, ignore_unknown_fields: true
1949
+ result = ::Google::Cloud::Dataform::V1::MoveFileResponse.decode_json response.body, ignore_unknown_fields: true
1950
1950
  catch :response do
1951
1951
  yield result, operation if block_given?
1952
1952
  result
@@ -1954,23 +1954,23 @@ module Google
1954
1954
  end
1955
1955
 
1956
1956
  ##
1957
- # Baseline implementation for the get_workflow_invocation REST call
1957
+ # Baseline implementation for the write_file REST call
1958
1958
  #
1959
- # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkflowInvocationRequest]
1959
+ # @param request_pb [::Google::Cloud::Dataform::V1::WriteFileRequest]
1960
1960
  # A request object representing the call parameters. Required.
1961
1961
  # @param options [::Gapic::CallOptions]
1962
1962
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1963
1963
  #
1964
1964
  # @yield [result, operation] Access the result along with the TransportOperation object
1965
- # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowInvocation]
1965
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WriteFileResponse]
1966
1966
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1967
1967
  #
1968
- # @return [::Google::Cloud::Dataform::V1::WorkflowInvocation]
1968
+ # @return [::Google::Cloud::Dataform::V1::WriteFileResponse]
1969
1969
  # A result object deserialized from the server's reply
1970
- def get_workflow_invocation request_pb, options = nil
1970
+ def write_file request_pb, options = nil
1971
1971
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
1972
1972
 
1973
- verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_invocation_request request_pb
1973
+ verb, uri, query_string_params, body = ServiceStub.transcode_write_file_request request_pb
1974
1974
  query_string_params = if query_string_params.any?
1975
1975
  query_string_params.to_h { |p| p.split "=", 2 }
1976
1976
  else
@@ -1982,11 +1982,11 @@ module Google
1982
1982
  uri: uri,
1983
1983
  body: body || "",
1984
1984
  params: query_string_params,
1985
- method_name: "get_workflow_invocation",
1985
+ method_name: "write_file",
1986
1986
  options: options
1987
1987
  )
1988
1988
  operation = ::Gapic::Rest::TransportOperation.new response
1989
- result = ::Google::Cloud::Dataform::V1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
1989
+ result = ::Google::Cloud::Dataform::V1::WriteFileResponse.decode_json response.body, ignore_unknown_fields: true
1990
1990
  catch :response do
1991
1991
  yield result, operation if block_given?
1992
1992
  result
@@ -1994,23 +1994,23 @@ module Google
1994
1994
  end
1995
1995
 
1996
1996
  ##
1997
- # Baseline implementation for the create_workflow_invocation REST call
1997
+ # Baseline implementation for the list_release_configs REST call
1998
1998
  #
1999
- # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkflowInvocationRequest]
1999
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListReleaseConfigsRequest]
2000
2000
  # A request object representing the call parameters. Required.
2001
2001
  # @param options [::Gapic::CallOptions]
2002
2002
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2003
2003
  #
2004
2004
  # @yield [result, operation] Access the result along with the TransportOperation object
2005
- # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2005
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse]
2006
2006
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2007
2007
  #
2008
- # @return [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2008
+ # @return [::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse]
2009
2009
  # A result object deserialized from the server's reply
2010
- def create_workflow_invocation request_pb, options = nil
2010
+ def list_release_configs request_pb, options = nil
2011
2011
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
2012
2012
 
2013
- verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_invocation_request request_pb
2013
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_release_configs_request request_pb
2014
2014
  query_string_params = if query_string_params.any?
2015
2015
  query_string_params.to_h { |p| p.split "=", 2 }
2016
2016
  else
@@ -2022,11 +2022,11 @@ module Google
2022
2022
  uri: uri,
2023
2023
  body: body || "",
2024
2024
  params: query_string_params,
2025
- method_name: "create_workflow_invocation",
2025
+ method_name: "list_release_configs",
2026
2026
  options: options
2027
2027
  )
2028
2028
  operation = ::Gapic::Rest::TransportOperation.new response
2029
- result = ::Google::Cloud::Dataform::V1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
2029
+ result = ::Google::Cloud::Dataform::V1::ListReleaseConfigsResponse.decode_json response.body, ignore_unknown_fields: true
2030
2030
  catch :response do
2031
2031
  yield result, operation if block_given?
2032
2032
  result
@@ -2034,23 +2034,23 @@ module Google
2034
2034
  end
2035
2035
 
2036
2036
  ##
2037
- # Baseline implementation for the delete_workflow_invocation REST call
2037
+ # Baseline implementation for the get_release_config REST call
2038
2038
  #
2039
- # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkflowInvocationRequest]
2039
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetReleaseConfigRequest]
2040
2040
  # A request object representing the call parameters. Required.
2041
2041
  # @param options [::Gapic::CallOptions]
2042
2042
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2043
2043
  #
2044
2044
  # @yield [result, operation] Access the result along with the TransportOperation object
2045
- # @yieldparam result [::Google::Protobuf::Empty]
2045
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
2046
2046
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2047
2047
  #
2048
- # @return [::Google::Protobuf::Empty]
2048
+ # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
2049
2049
  # A result object deserialized from the server's reply
2050
- def delete_workflow_invocation request_pb, options = nil
2050
+ def get_release_config request_pb, options = nil
2051
2051
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
2052
2052
 
2053
- verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_invocation_request request_pb
2053
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_release_config_request request_pb
2054
2054
  query_string_params = if query_string_params.any?
2055
2055
  query_string_params.to_h { |p| p.split "=", 2 }
2056
2056
  else
@@ -2062,11 +2062,11 @@ module Google
2062
2062
  uri: uri,
2063
2063
  body: body || "",
2064
2064
  params: query_string_params,
2065
- method_name: "delete_workflow_invocation",
2065
+ method_name: "get_release_config",
2066
2066
  options: options
2067
2067
  )
2068
2068
  operation = ::Gapic::Rest::TransportOperation.new response
2069
- result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2069
+ result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
2070
2070
  catch :response do
2071
2071
  yield result, operation if block_given?
2072
2072
  result
@@ -2074,23 +2074,23 @@ module Google
2074
2074
  end
2075
2075
 
2076
2076
  ##
2077
- # Baseline implementation for the cancel_workflow_invocation REST call
2077
+ # Baseline implementation for the create_release_config REST call
2078
2078
  #
2079
- # @param request_pb [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationRequest]
2079
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateReleaseConfigRequest]
2080
2080
  # A request object representing the call parameters. Required.
2081
2081
  # @param options [::Gapic::CallOptions]
2082
2082
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2083
2083
  #
2084
2084
  # @yield [result, operation] Access the result along with the TransportOperation object
2085
- # @yieldparam result [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse]
2085
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
2086
2086
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2087
2087
  #
2088
- # @return [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse]
2088
+ # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
2089
2089
  # A result object deserialized from the server's reply
2090
- def cancel_workflow_invocation request_pb, options = nil
2090
+ def create_release_config request_pb, options = nil
2091
2091
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
2092
2092
 
2093
- verb, uri, query_string_params, body = ServiceStub.transcode_cancel_workflow_invocation_request request_pb
2093
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_release_config_request request_pb
2094
2094
  query_string_params = if query_string_params.any?
2095
2095
  query_string_params.to_h { |p| p.split "=", 2 }
2096
2096
  else
@@ -2102,11 +2102,11 @@ module Google
2102
2102
  uri: uri,
2103
2103
  body: body || "",
2104
2104
  params: query_string_params,
2105
- method_name: "cancel_workflow_invocation",
2105
+ method_name: "create_release_config",
2106
2106
  options: options
2107
2107
  )
2108
2108
  operation = ::Gapic::Rest::TransportOperation.new response
2109
- result = ::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse.decode_json response.body, ignore_unknown_fields: true
2109
+ result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
2110
2110
  catch :response do
2111
2111
  yield result, operation if block_given?
2112
2112
  result
@@ -2114,23 +2114,23 @@ module Google
2114
2114
  end
2115
2115
 
2116
2116
  ##
2117
- # Baseline implementation for the query_workflow_invocation_actions REST call
2117
+ # Baseline implementation for the update_release_config REST call
2118
2118
  #
2119
- # @param request_pb [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsRequest]
2119
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateReleaseConfigRequest]
2120
2120
  # A request object representing the call parameters. Required.
2121
2121
  # @param options [::Gapic::CallOptions]
2122
2122
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2123
2123
  #
2124
2124
  # @yield [result, operation] Access the result along with the TransportOperation object
2125
- # @yieldparam result [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse]
2125
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ReleaseConfig]
2126
2126
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2127
2127
  #
2128
- # @return [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse]
2128
+ # @return [::Google::Cloud::Dataform::V1::ReleaseConfig]
2129
2129
  # A result object deserialized from the server's reply
2130
- def query_workflow_invocation_actions request_pb, options = nil
2130
+ def update_release_config request_pb, options = nil
2131
2131
  raise ::ArgumentError, "request must be provided" if request_pb.nil?
2132
2132
 
2133
- verb, uri, query_string_params, body = ServiceStub.transcode_query_workflow_invocation_actions_request request_pb
2133
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_release_config_request request_pb
2134
2134
  query_string_params = if query_string_params.any?
2135
2135
  query_string_params.to_h { |p| p.split "=", 2 }
2136
2136
  else
@@ -2142,11 +2142,51 @@ module Google
2142
2142
  uri: uri,
2143
2143
  body: body || "",
2144
2144
  params: query_string_params,
2145
- method_name: "query_workflow_invocation_actions",
2145
+ method_name: "update_release_config",
2146
2146
  options: options
2147
2147
  )
2148
2148
  operation = ::Gapic::Rest::TransportOperation.new response
2149
- result = ::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse.decode_json response.body, ignore_unknown_fields: true
2149
+ result = ::Google::Cloud::Dataform::V1::ReleaseConfig.decode_json response.body, ignore_unknown_fields: true
2150
+ catch :response do
2151
+ yield result, operation if block_given?
2152
+ result
2153
+ end
2154
+ end
2155
+
2156
+ ##
2157
+ # Baseline implementation for the delete_release_config REST call
2158
+ #
2159
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteReleaseConfigRequest]
2160
+ # A request object representing the call parameters. Required.
2161
+ # @param options [::Gapic::CallOptions]
2162
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2163
+ #
2164
+ # @yield [result, operation] Access the result along with the TransportOperation object
2165
+ # @yieldparam result [::Google::Protobuf::Empty]
2166
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2167
+ #
2168
+ # @return [::Google::Protobuf::Empty]
2169
+ # A result object deserialized from the server's reply
2170
+ def delete_release_config request_pb, options = nil
2171
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2172
+
2173
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_release_config_request request_pb
2174
+ query_string_params = if query_string_params.any?
2175
+ query_string_params.to_h { |p| p.split "=", 2 }
2176
+ else
2177
+ {}
2178
+ end
2179
+
2180
+ response = @client_stub.make_http_request(
2181
+ verb,
2182
+ uri: uri,
2183
+ body: body || "",
2184
+ params: query_string_params,
2185
+ method_name: "delete_release_config",
2186
+ options: options
2187
+ )
2188
+ operation = ::Gapic::Rest::TransportOperation.new response
2189
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2150
2190
  catch :response do
2151
2191
  yield result, operation if block_given?
2152
2192
  result
@@ -2154,83 +2194,1125 @@ module Google
2154
2194
  end
2155
2195
 
2156
2196
  ##
2157
- # Baseline implementation for the get_config REST call
2197
+ # Baseline implementation for the list_compilation_results REST call
2198
+ #
2199
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListCompilationResultsRequest]
2200
+ # A request object representing the call parameters. Required.
2201
+ # @param options [::Gapic::CallOptions]
2202
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2203
+ #
2204
+ # @yield [result, operation] Access the result along with the TransportOperation object
2205
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListCompilationResultsResponse]
2206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2207
+ #
2208
+ # @return [::Google::Cloud::Dataform::V1::ListCompilationResultsResponse]
2209
+ # A result object deserialized from the server's reply
2210
+ def list_compilation_results request_pb, options = nil
2211
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2212
+
2213
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_compilation_results_request request_pb
2214
+ query_string_params = if query_string_params.any?
2215
+ query_string_params.to_h { |p| p.split "=", 2 }
2216
+ else
2217
+ {}
2218
+ end
2219
+
2220
+ response = @client_stub.make_http_request(
2221
+ verb,
2222
+ uri: uri,
2223
+ body: body || "",
2224
+ params: query_string_params,
2225
+ method_name: "list_compilation_results",
2226
+ options: options
2227
+ )
2228
+ operation = ::Gapic::Rest::TransportOperation.new response
2229
+ result = ::Google::Cloud::Dataform::V1::ListCompilationResultsResponse.decode_json response.body, ignore_unknown_fields: true
2230
+ catch :response do
2231
+ yield result, operation if block_given?
2232
+ result
2233
+ end
2234
+ end
2235
+
2236
+ ##
2237
+ # Baseline implementation for the get_compilation_result REST call
2238
+ #
2239
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetCompilationResultRequest]
2240
+ # A request object representing the call parameters. Required.
2241
+ # @param options [::Gapic::CallOptions]
2242
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2243
+ #
2244
+ # @yield [result, operation] Access the result along with the TransportOperation object
2245
+ # @yieldparam result [::Google::Cloud::Dataform::V1::CompilationResult]
2246
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2247
+ #
2248
+ # @return [::Google::Cloud::Dataform::V1::CompilationResult]
2249
+ # A result object deserialized from the server's reply
2250
+ def get_compilation_result request_pb, options = nil
2251
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2252
+
2253
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_compilation_result_request request_pb
2254
+ query_string_params = if query_string_params.any?
2255
+ query_string_params.to_h { |p| p.split "=", 2 }
2256
+ else
2257
+ {}
2258
+ end
2259
+
2260
+ response = @client_stub.make_http_request(
2261
+ verb,
2262
+ uri: uri,
2263
+ body: body || "",
2264
+ params: query_string_params,
2265
+ method_name: "get_compilation_result",
2266
+ options: options
2267
+ )
2268
+ operation = ::Gapic::Rest::TransportOperation.new response
2269
+ result = ::Google::Cloud::Dataform::V1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
2270
+ catch :response do
2271
+ yield result, operation if block_given?
2272
+ result
2273
+ end
2274
+ end
2275
+
2276
+ ##
2277
+ # Baseline implementation for the create_compilation_result REST call
2278
+ #
2279
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateCompilationResultRequest]
2280
+ # A request object representing the call parameters. Required.
2281
+ # @param options [::Gapic::CallOptions]
2282
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2283
+ #
2284
+ # @yield [result, operation] Access the result along with the TransportOperation object
2285
+ # @yieldparam result [::Google::Cloud::Dataform::V1::CompilationResult]
2286
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2287
+ #
2288
+ # @return [::Google::Cloud::Dataform::V1::CompilationResult]
2289
+ # A result object deserialized from the server's reply
2290
+ def create_compilation_result request_pb, options = nil
2291
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2292
+
2293
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_compilation_result_request request_pb
2294
+ query_string_params = if query_string_params.any?
2295
+ query_string_params.to_h { |p| p.split "=", 2 }
2296
+ else
2297
+ {}
2298
+ end
2299
+
2300
+ response = @client_stub.make_http_request(
2301
+ verb,
2302
+ uri: uri,
2303
+ body: body || "",
2304
+ params: query_string_params,
2305
+ method_name: "create_compilation_result",
2306
+ options: options
2307
+ )
2308
+ operation = ::Gapic::Rest::TransportOperation.new response
2309
+ result = ::Google::Cloud::Dataform::V1::CompilationResult.decode_json response.body, ignore_unknown_fields: true
2310
+ catch :response do
2311
+ yield result, operation if block_given?
2312
+ result
2313
+ end
2314
+ end
2315
+
2316
+ ##
2317
+ # Baseline implementation for the query_compilation_result_actions REST call
2318
+ #
2319
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsRequest]
2320
+ # A request object representing the call parameters. Required.
2321
+ # @param options [::Gapic::CallOptions]
2322
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2323
+ #
2324
+ # @yield [result, operation] Access the result along with the TransportOperation object
2325
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse]
2326
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2327
+ #
2328
+ # @return [::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse]
2329
+ # A result object deserialized from the server's reply
2330
+ def query_compilation_result_actions request_pb, options = nil
2331
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2332
+
2333
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_compilation_result_actions_request request_pb
2334
+ query_string_params = if query_string_params.any?
2335
+ query_string_params.to_h { |p| p.split "=", 2 }
2336
+ else
2337
+ {}
2338
+ end
2339
+
2340
+ response = @client_stub.make_http_request(
2341
+ verb,
2342
+ uri: uri,
2343
+ body: body || "",
2344
+ params: query_string_params,
2345
+ method_name: "query_compilation_result_actions",
2346
+ options: options
2347
+ )
2348
+ operation = ::Gapic::Rest::TransportOperation.new response
2349
+ result = ::Google::Cloud::Dataform::V1::QueryCompilationResultActionsResponse.decode_json response.body, ignore_unknown_fields: true
2350
+ catch :response do
2351
+ yield result, operation if block_given?
2352
+ result
2353
+ end
2354
+ end
2355
+
2356
+ ##
2357
+ # Baseline implementation for the list_workflow_configs REST call
2358
+ #
2359
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkflowConfigsRequest]
2360
+ # A request object representing the call parameters. Required.
2361
+ # @param options [::Gapic::CallOptions]
2362
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2363
+ #
2364
+ # @yield [result, operation] Access the result along with the TransportOperation object
2365
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse]
2366
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2367
+ #
2368
+ # @return [::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse]
2369
+ # A result object deserialized from the server's reply
2370
+ def list_workflow_configs request_pb, options = nil
2371
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2372
+
2373
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_configs_request request_pb
2374
+ query_string_params = if query_string_params.any?
2375
+ query_string_params.to_h { |p| p.split "=", 2 }
2376
+ else
2377
+ {}
2378
+ end
2379
+
2380
+ response = @client_stub.make_http_request(
2381
+ verb,
2382
+ uri: uri,
2383
+ body: body || "",
2384
+ params: query_string_params,
2385
+ method_name: "list_workflow_configs",
2386
+ options: options
2387
+ )
2388
+ operation = ::Gapic::Rest::TransportOperation.new response
2389
+ result = ::Google::Cloud::Dataform::V1::ListWorkflowConfigsResponse.decode_json response.body, ignore_unknown_fields: true
2390
+ catch :response do
2391
+ yield result, operation if block_given?
2392
+ result
2393
+ end
2394
+ end
2395
+
2396
+ ##
2397
+ # Baseline implementation for the get_workflow_config REST call
2398
+ #
2399
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkflowConfigRequest]
2400
+ # A request object representing the call parameters. Required.
2401
+ # @param options [::Gapic::CallOptions]
2402
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2403
+ #
2404
+ # @yield [result, operation] Access the result along with the TransportOperation object
2405
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
2406
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2407
+ #
2408
+ # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
2409
+ # A result object deserialized from the server's reply
2410
+ def get_workflow_config request_pb, options = nil
2411
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2412
+
2413
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_config_request request_pb
2414
+ query_string_params = if query_string_params.any?
2415
+ query_string_params.to_h { |p| p.split "=", 2 }
2416
+ else
2417
+ {}
2418
+ end
2419
+
2420
+ response = @client_stub.make_http_request(
2421
+ verb,
2422
+ uri: uri,
2423
+ body: body || "",
2424
+ params: query_string_params,
2425
+ method_name: "get_workflow_config",
2426
+ options: options
2427
+ )
2428
+ operation = ::Gapic::Rest::TransportOperation.new response
2429
+ result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
2430
+ catch :response do
2431
+ yield result, operation if block_given?
2432
+ result
2433
+ end
2434
+ end
2435
+
2436
+ ##
2437
+ # Baseline implementation for the create_workflow_config REST call
2438
+ #
2439
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkflowConfigRequest]
2440
+ # A request object representing the call parameters. Required.
2441
+ # @param options [::Gapic::CallOptions]
2442
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2443
+ #
2444
+ # @yield [result, operation] Access the result along with the TransportOperation object
2445
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
2446
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2447
+ #
2448
+ # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
2449
+ # A result object deserialized from the server's reply
2450
+ def create_workflow_config request_pb, options = nil
2451
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2452
+
2453
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_config_request request_pb
2454
+ query_string_params = if query_string_params.any?
2455
+ query_string_params.to_h { |p| p.split "=", 2 }
2456
+ else
2457
+ {}
2458
+ end
2459
+
2460
+ response = @client_stub.make_http_request(
2461
+ verb,
2462
+ uri: uri,
2463
+ body: body || "",
2464
+ params: query_string_params,
2465
+ method_name: "create_workflow_config",
2466
+ options: options
2467
+ )
2468
+ operation = ::Gapic::Rest::TransportOperation.new response
2469
+ result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
2470
+ catch :response do
2471
+ yield result, operation if block_given?
2472
+ result
2473
+ end
2474
+ end
2475
+
2476
+ ##
2477
+ # Baseline implementation for the update_workflow_config REST call
2478
+ #
2479
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateWorkflowConfigRequest]
2480
+ # A request object representing the call parameters. Required.
2481
+ # @param options [::Gapic::CallOptions]
2482
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2483
+ #
2484
+ # @yield [result, operation] Access the result along with the TransportOperation object
2485
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowConfig]
2486
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2487
+ #
2488
+ # @return [::Google::Cloud::Dataform::V1::WorkflowConfig]
2489
+ # A result object deserialized from the server's reply
2490
+ def update_workflow_config request_pb, options = nil
2491
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2492
+
2493
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_workflow_config_request request_pb
2494
+ query_string_params = if query_string_params.any?
2495
+ query_string_params.to_h { |p| p.split "=", 2 }
2496
+ else
2497
+ {}
2498
+ end
2499
+
2500
+ response = @client_stub.make_http_request(
2501
+ verb,
2502
+ uri: uri,
2503
+ body: body || "",
2504
+ params: query_string_params,
2505
+ method_name: "update_workflow_config",
2506
+ options: options
2507
+ )
2508
+ operation = ::Gapic::Rest::TransportOperation.new response
2509
+ result = ::Google::Cloud::Dataform::V1::WorkflowConfig.decode_json response.body, ignore_unknown_fields: true
2510
+ catch :response do
2511
+ yield result, operation if block_given?
2512
+ result
2513
+ end
2514
+ end
2515
+
2516
+ ##
2517
+ # Baseline implementation for the delete_workflow_config REST call
2518
+ #
2519
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkflowConfigRequest]
2520
+ # A request object representing the call parameters. Required.
2521
+ # @param options [::Gapic::CallOptions]
2522
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2523
+ #
2524
+ # @yield [result, operation] Access the result along with the TransportOperation object
2525
+ # @yieldparam result [::Google::Protobuf::Empty]
2526
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2527
+ #
2528
+ # @return [::Google::Protobuf::Empty]
2529
+ # A result object deserialized from the server's reply
2530
+ def delete_workflow_config request_pb, options = nil
2531
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2532
+
2533
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_config_request request_pb
2534
+ query_string_params = if query_string_params.any?
2535
+ query_string_params.to_h { |p| p.split "=", 2 }
2536
+ else
2537
+ {}
2538
+ end
2539
+
2540
+ response = @client_stub.make_http_request(
2541
+ verb,
2542
+ uri: uri,
2543
+ body: body || "",
2544
+ params: query_string_params,
2545
+ method_name: "delete_workflow_config",
2546
+ options: options
2547
+ )
2548
+ operation = ::Gapic::Rest::TransportOperation.new response
2549
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2550
+ catch :response do
2551
+ yield result, operation if block_given?
2552
+ result
2553
+ end
2554
+ end
2555
+
2556
+ ##
2557
+ # Baseline implementation for the list_workflow_invocations REST call
2558
+ #
2559
+ # @param request_pb [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsRequest]
2560
+ # A request object representing the call parameters. Required.
2561
+ # @param options [::Gapic::CallOptions]
2562
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2563
+ #
2564
+ # @yield [result, operation] Access the result along with the TransportOperation object
2565
+ # @yieldparam result [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse]
2566
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2567
+ #
2568
+ # @return [::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse]
2569
+ # A result object deserialized from the server's reply
2570
+ def list_workflow_invocations request_pb, options = nil
2571
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2572
+
2573
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_invocations_request request_pb
2574
+ query_string_params = if query_string_params.any?
2575
+ query_string_params.to_h { |p| p.split "=", 2 }
2576
+ else
2577
+ {}
2578
+ end
2579
+
2580
+ response = @client_stub.make_http_request(
2581
+ verb,
2582
+ uri: uri,
2583
+ body: body || "",
2584
+ params: query_string_params,
2585
+ method_name: "list_workflow_invocations",
2586
+ options: options
2587
+ )
2588
+ operation = ::Gapic::Rest::TransportOperation.new response
2589
+ result = ::Google::Cloud::Dataform::V1::ListWorkflowInvocationsResponse.decode_json response.body, ignore_unknown_fields: true
2590
+ catch :response do
2591
+ yield result, operation if block_given?
2592
+ result
2593
+ end
2594
+ end
2595
+
2596
+ ##
2597
+ # Baseline implementation for the get_workflow_invocation REST call
2598
+ #
2599
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetWorkflowInvocationRequest]
2600
+ # A request object representing the call parameters. Required.
2601
+ # @param options [::Gapic::CallOptions]
2602
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2603
+ #
2604
+ # @yield [result, operation] Access the result along with the TransportOperation object
2605
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2606
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2607
+ #
2608
+ # @return [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2609
+ # A result object deserialized from the server's reply
2610
+ def get_workflow_invocation request_pb, options = nil
2611
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2612
+
2613
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_invocation_request request_pb
2614
+ query_string_params = if query_string_params.any?
2615
+ query_string_params.to_h { |p| p.split "=", 2 }
2616
+ else
2617
+ {}
2618
+ end
2619
+
2620
+ response = @client_stub.make_http_request(
2621
+ verb,
2622
+ uri: uri,
2623
+ body: body || "",
2624
+ params: query_string_params,
2625
+ method_name: "get_workflow_invocation",
2626
+ options: options
2627
+ )
2628
+ operation = ::Gapic::Rest::TransportOperation.new response
2629
+ result = ::Google::Cloud::Dataform::V1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
2630
+ catch :response do
2631
+ yield result, operation if block_given?
2632
+ result
2633
+ end
2634
+ end
2635
+
2636
+ ##
2637
+ # Baseline implementation for the create_workflow_invocation REST call
2638
+ #
2639
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateWorkflowInvocationRequest]
2640
+ # A request object representing the call parameters. Required.
2641
+ # @param options [::Gapic::CallOptions]
2642
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2643
+ #
2644
+ # @yield [result, operation] Access the result along with the TransportOperation object
2645
+ # @yieldparam result [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2646
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2647
+ #
2648
+ # @return [::Google::Cloud::Dataform::V1::WorkflowInvocation]
2649
+ # A result object deserialized from the server's reply
2650
+ def create_workflow_invocation request_pb, options = nil
2651
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2652
+
2653
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_invocation_request request_pb
2654
+ query_string_params = if query_string_params.any?
2655
+ query_string_params.to_h { |p| p.split "=", 2 }
2656
+ else
2657
+ {}
2658
+ end
2659
+
2660
+ response = @client_stub.make_http_request(
2661
+ verb,
2662
+ uri: uri,
2663
+ body: body || "",
2664
+ params: query_string_params,
2665
+ method_name: "create_workflow_invocation",
2666
+ options: options
2667
+ )
2668
+ operation = ::Gapic::Rest::TransportOperation.new response
2669
+ result = ::Google::Cloud::Dataform::V1::WorkflowInvocation.decode_json response.body, ignore_unknown_fields: true
2670
+ catch :response do
2671
+ yield result, operation if block_given?
2672
+ result
2673
+ end
2674
+ end
2675
+
2676
+ ##
2677
+ # Baseline implementation for the delete_workflow_invocation REST call
2678
+ #
2679
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteWorkflowInvocationRequest]
2680
+ # A request object representing the call parameters. Required.
2681
+ # @param options [::Gapic::CallOptions]
2682
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2683
+ #
2684
+ # @yield [result, operation] Access the result along with the TransportOperation object
2685
+ # @yieldparam result [::Google::Protobuf::Empty]
2686
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2687
+ #
2688
+ # @return [::Google::Protobuf::Empty]
2689
+ # A result object deserialized from the server's reply
2690
+ def delete_workflow_invocation request_pb, options = nil
2691
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2692
+
2693
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_invocation_request request_pb
2694
+ query_string_params = if query_string_params.any?
2695
+ query_string_params.to_h { |p| p.split "=", 2 }
2696
+ else
2697
+ {}
2698
+ end
2699
+
2700
+ response = @client_stub.make_http_request(
2701
+ verb,
2702
+ uri: uri,
2703
+ body: body || "",
2704
+ params: query_string_params,
2705
+ method_name: "delete_workflow_invocation",
2706
+ options: options
2707
+ )
2708
+ operation = ::Gapic::Rest::TransportOperation.new response
2709
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
2710
+ catch :response do
2711
+ yield result, operation if block_given?
2712
+ result
2713
+ end
2714
+ end
2715
+
2716
+ ##
2717
+ # Baseline implementation for the cancel_workflow_invocation REST call
2718
+ #
2719
+ # @param request_pb [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationRequest]
2720
+ # A request object representing the call parameters. Required.
2721
+ # @param options [::Gapic::CallOptions]
2722
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2723
+ #
2724
+ # @yield [result, operation] Access the result along with the TransportOperation object
2725
+ # @yieldparam result [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse]
2726
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2727
+ #
2728
+ # @return [::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse]
2729
+ # A result object deserialized from the server's reply
2730
+ def cancel_workflow_invocation request_pb, options = nil
2731
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2732
+
2733
+ verb, uri, query_string_params, body = ServiceStub.transcode_cancel_workflow_invocation_request request_pb
2734
+ query_string_params = if query_string_params.any?
2735
+ query_string_params.to_h { |p| p.split "=", 2 }
2736
+ else
2737
+ {}
2738
+ end
2739
+
2740
+ response = @client_stub.make_http_request(
2741
+ verb,
2742
+ uri: uri,
2743
+ body: body || "",
2744
+ params: query_string_params,
2745
+ method_name: "cancel_workflow_invocation",
2746
+ options: options
2747
+ )
2748
+ operation = ::Gapic::Rest::TransportOperation.new response
2749
+ result = ::Google::Cloud::Dataform::V1::CancelWorkflowInvocationResponse.decode_json response.body, ignore_unknown_fields: true
2750
+ catch :response do
2751
+ yield result, operation if block_given?
2752
+ result
2753
+ end
2754
+ end
2755
+
2756
+ ##
2757
+ # Baseline implementation for the query_workflow_invocation_actions REST call
2758
+ #
2759
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsRequest]
2760
+ # A request object representing the call parameters. Required.
2761
+ # @param options [::Gapic::CallOptions]
2762
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2763
+ #
2764
+ # @yield [result, operation] Access the result along with the TransportOperation object
2765
+ # @yieldparam result [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse]
2766
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2767
+ #
2768
+ # @return [::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse]
2769
+ # A result object deserialized from the server's reply
2770
+ def query_workflow_invocation_actions request_pb, options = nil
2771
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2772
+
2773
+ verb, uri, query_string_params, body = ServiceStub.transcode_query_workflow_invocation_actions_request request_pb
2774
+ query_string_params = if query_string_params.any?
2775
+ query_string_params.to_h { |p| p.split "=", 2 }
2776
+ else
2777
+ {}
2778
+ end
2779
+
2780
+ response = @client_stub.make_http_request(
2781
+ verb,
2782
+ uri: uri,
2783
+ body: body || "",
2784
+ params: query_string_params,
2785
+ method_name: "query_workflow_invocation_actions",
2786
+ options: options
2787
+ )
2788
+ operation = ::Gapic::Rest::TransportOperation.new response
2789
+ result = ::Google::Cloud::Dataform::V1::QueryWorkflowInvocationActionsResponse.decode_json response.body, ignore_unknown_fields: true
2790
+ catch :response do
2791
+ yield result, operation if block_given?
2792
+ result
2793
+ end
2794
+ end
2795
+
2796
+ ##
2797
+ # Baseline implementation for the get_config REST call
2798
+ #
2799
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetConfigRequest]
2800
+ # A request object representing the call parameters. Required.
2801
+ # @param options [::Gapic::CallOptions]
2802
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2803
+ #
2804
+ # @yield [result, operation] Access the result along with the TransportOperation object
2805
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Config]
2806
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2807
+ #
2808
+ # @return [::Google::Cloud::Dataform::V1::Config]
2809
+ # A result object deserialized from the server's reply
2810
+ def get_config request_pb, options = nil
2811
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2812
+
2813
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_config_request request_pb
2814
+ query_string_params = if query_string_params.any?
2815
+ query_string_params.to_h { |p| p.split "=", 2 }
2816
+ else
2817
+ {}
2818
+ end
2819
+
2820
+ response = @client_stub.make_http_request(
2821
+ verb,
2822
+ uri: uri,
2823
+ body: body || "",
2824
+ params: query_string_params,
2825
+ method_name: "get_config",
2826
+ options: options
2827
+ )
2828
+ operation = ::Gapic::Rest::TransportOperation.new response
2829
+ result = ::Google::Cloud::Dataform::V1::Config.decode_json response.body, ignore_unknown_fields: true
2830
+ catch :response do
2831
+ yield result, operation if block_given?
2832
+ result
2833
+ end
2834
+ end
2835
+
2836
+ ##
2837
+ # Baseline implementation for the update_config REST call
2838
+ #
2839
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateConfigRequest]
2840
+ # A request object representing the call parameters. Required.
2841
+ # @param options [::Gapic::CallOptions]
2842
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2843
+ #
2844
+ # @yield [result, operation] Access the result along with the TransportOperation object
2845
+ # @yieldparam result [::Google::Cloud::Dataform::V1::Config]
2846
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2847
+ #
2848
+ # @return [::Google::Cloud::Dataform::V1::Config]
2849
+ # A result object deserialized from the server's reply
2850
+ def update_config request_pb, options = nil
2851
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2852
+
2853
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_config_request request_pb
2854
+ query_string_params = if query_string_params.any?
2855
+ query_string_params.to_h { |p| p.split "=", 2 }
2856
+ else
2857
+ {}
2858
+ end
2859
+
2860
+ response = @client_stub.make_http_request(
2861
+ verb,
2862
+ uri: uri,
2863
+ body: body || "",
2864
+ params: query_string_params,
2865
+ method_name: "update_config",
2866
+ options: options
2867
+ )
2868
+ operation = ::Gapic::Rest::TransportOperation.new response
2869
+ result = ::Google::Cloud::Dataform::V1::Config.decode_json response.body, ignore_unknown_fields: true
2870
+ catch :response do
2871
+ yield result, operation if block_given?
2872
+ result
2873
+ end
2874
+ end
2875
+
2876
+ ##
2877
+ # Baseline implementation for the get_iam_policy REST call
2878
+ #
2879
+ # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
2880
+ # A request object representing the call parameters. Required.
2881
+ # @param options [::Gapic::CallOptions]
2882
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2883
+ #
2884
+ # @yield [result, operation] Access the result along with the TransportOperation object
2885
+ # @yieldparam result [::Google::Iam::V1::Policy]
2886
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2887
+ #
2888
+ # @return [::Google::Iam::V1::Policy]
2889
+ # A result object deserialized from the server's reply
2890
+ def get_iam_policy request_pb, options = nil
2891
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2892
+
2893
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
2894
+ query_string_params = if query_string_params.any?
2895
+ query_string_params.to_h { |p| p.split "=", 2 }
2896
+ else
2897
+ {}
2898
+ end
2899
+
2900
+ response = @client_stub.make_http_request(
2901
+ verb,
2902
+ uri: uri,
2903
+ body: body || "",
2904
+ params: query_string_params,
2905
+ method_name: "get_iam_policy",
2906
+ options: options
2907
+ )
2908
+ operation = ::Gapic::Rest::TransportOperation.new response
2909
+ result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
2910
+ catch :response do
2911
+ yield result, operation if block_given?
2912
+ result
2913
+ end
2914
+ end
2915
+
2916
+ ##
2917
+ # Baseline implementation for the set_iam_policy REST call
2918
+ #
2919
+ # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
2920
+ # A request object representing the call parameters. Required.
2921
+ # @param options [::Gapic::CallOptions]
2922
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2923
+ #
2924
+ # @yield [result, operation] Access the result along with the TransportOperation object
2925
+ # @yieldparam result [::Google::Iam::V1::Policy]
2926
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2927
+ #
2928
+ # @return [::Google::Iam::V1::Policy]
2929
+ # A result object deserialized from the server's reply
2930
+ def set_iam_policy request_pb, options = nil
2931
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2932
+
2933
+ verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
2934
+ query_string_params = if query_string_params.any?
2935
+ query_string_params.to_h { |p| p.split "=", 2 }
2936
+ else
2937
+ {}
2938
+ end
2939
+
2940
+ response = @client_stub.make_http_request(
2941
+ verb,
2942
+ uri: uri,
2943
+ body: body || "",
2944
+ params: query_string_params,
2945
+ method_name: "set_iam_policy",
2946
+ options: options
2947
+ )
2948
+ operation = ::Gapic::Rest::TransportOperation.new response
2949
+ result = ::Google::Iam::V1::Policy.decode_json response.body, ignore_unknown_fields: true
2950
+ catch :response do
2951
+ yield result, operation if block_given?
2952
+ result
2953
+ end
2954
+ end
2955
+
2956
+ ##
2957
+ # Baseline implementation for the test_iam_permissions REST call
2958
+ #
2959
+ # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
2960
+ # A request object representing the call parameters. Required.
2961
+ # @param options [::Gapic::CallOptions]
2962
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
2963
+ #
2964
+ # @yield [result, operation] Access the result along with the TransportOperation object
2965
+ # @yieldparam result [::Google::Iam::V1::TestIamPermissionsResponse]
2966
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
2967
+ #
2968
+ # @return [::Google::Iam::V1::TestIamPermissionsResponse]
2969
+ # A result object deserialized from the server's reply
2970
+ def test_iam_permissions request_pb, options = nil
2971
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
2972
+
2973
+ verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
2974
+ query_string_params = if query_string_params.any?
2975
+ query_string_params.to_h { |p| p.split "=", 2 }
2976
+ else
2977
+ {}
2978
+ end
2979
+
2980
+ response = @client_stub.make_http_request(
2981
+ verb,
2982
+ uri: uri,
2983
+ body: body || "",
2984
+ params: query_string_params,
2985
+ method_name: "test_iam_permissions",
2986
+ options: options
2987
+ )
2988
+ operation = ::Gapic::Rest::TransportOperation.new response
2989
+ result = ::Google::Iam::V1::TestIamPermissionsResponse.decode_json response.body, ignore_unknown_fields: true
2990
+ catch :response do
2991
+ yield result, operation if block_given?
2992
+ result
2993
+ end
2994
+ end
2995
+
2996
+ ##
2997
+ # @private
2998
+ #
2999
+ # GRPC transcoding helper method for the get_team_folder REST call
3000
+ #
3001
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetTeamFolderRequest]
3002
+ # A request object representing the call parameters. Required.
3003
+ # @return [Array(String, [String, nil], Hash{String => String})]
3004
+ # Uri, Body, Query string parameters
3005
+ def self.transcode_get_team_folder_request request_pb
3006
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3007
+ .with_bindings(
3008
+ uri_method: :get,
3009
+ uri_template: "/v1/{name}",
3010
+ matches: [
3011
+ ["name", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
3012
+ ]
3013
+ )
3014
+ transcoder.transcode request_pb
3015
+ end
3016
+
3017
+ ##
3018
+ # @private
3019
+ #
3020
+ # GRPC transcoding helper method for the create_team_folder REST call
3021
+ #
3022
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateTeamFolderRequest]
3023
+ # A request object representing the call parameters. Required.
3024
+ # @return [Array(String, [String, nil], Hash{String => String})]
3025
+ # Uri, Body, Query string parameters
3026
+ def self.transcode_create_team_folder_request request_pb
3027
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3028
+ .with_bindings(
3029
+ uri_method: :post,
3030
+ uri_template: "/v1/{parent}/teamFolders",
3031
+ body: "team_folder",
3032
+ matches: [
3033
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
3034
+ ]
3035
+ )
3036
+ transcoder.transcode request_pb
3037
+ end
3038
+
3039
+ ##
3040
+ # @private
3041
+ #
3042
+ # GRPC transcoding helper method for the update_team_folder REST call
3043
+ #
3044
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateTeamFolderRequest]
3045
+ # A request object representing the call parameters. Required.
3046
+ # @return [Array(String, [String, nil], Hash{String => String})]
3047
+ # Uri, Body, Query string parameters
3048
+ def self.transcode_update_team_folder_request request_pb
3049
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3050
+ .with_bindings(
3051
+ uri_method: :patch,
3052
+ uri_template: "/v1/{team_folder.name}",
3053
+ body: "team_folder",
3054
+ matches: [
3055
+ ["team_folder.name", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
3056
+ ]
3057
+ )
3058
+ transcoder.transcode request_pb
3059
+ end
3060
+
3061
+ ##
3062
+ # @private
3063
+ #
3064
+ # GRPC transcoding helper method for the delete_team_folder REST call
3065
+ #
3066
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteTeamFolderRequest]
3067
+ # A request object representing the call parameters. Required.
3068
+ # @return [Array(String, [String, nil], Hash{String => String})]
3069
+ # Uri, Body, Query string parameters
3070
+ def self.transcode_delete_team_folder_request request_pb
3071
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3072
+ .with_bindings(
3073
+ uri_method: :delete,
3074
+ uri_template: "/v1/{name}",
3075
+ matches: [
3076
+ ["name", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
3077
+ ]
3078
+ )
3079
+ transcoder.transcode request_pb
3080
+ end
3081
+
3082
+ ##
3083
+ # @private
3084
+ #
3085
+ # GRPC transcoding helper method for the delete_team_folder_tree REST call
3086
+ #
3087
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteTeamFolderTreeRequest]
3088
+ # A request object representing the call parameters. Required.
3089
+ # @return [Array(String, [String, nil], Hash{String => String})]
3090
+ # Uri, Body, Query string parameters
3091
+ def self.transcode_delete_team_folder_tree_request request_pb
3092
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3093
+ .with_bindings(
3094
+ uri_method: :post,
3095
+ uri_template: "/v1/{name}:deleteTree",
3096
+ body: "*",
3097
+ matches: [
3098
+ ["name", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
3099
+ ]
3100
+ )
3101
+ transcoder.transcode request_pb
3102
+ end
3103
+
3104
+ ##
3105
+ # @private
3106
+ #
3107
+ # GRPC transcoding helper method for the query_team_folder_contents REST call
3108
+ #
3109
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryTeamFolderContentsRequest]
3110
+ # A request object representing the call parameters. Required.
3111
+ # @return [Array(String, [String, nil], Hash{String => String})]
3112
+ # Uri, Body, Query string parameters
3113
+ def self.transcode_query_team_folder_contents_request request_pb
3114
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3115
+ .with_bindings(
3116
+ uri_method: :get,
3117
+ uri_template: "/v1/{team_folder}:queryContents",
3118
+ matches: [
3119
+ ["team_folder", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
3120
+ ]
3121
+ )
3122
+ transcoder.transcode request_pb
3123
+ end
3124
+
3125
+ ##
3126
+ # @private
3127
+ #
3128
+ # GRPC transcoding helper method for the search_team_folders REST call
3129
+ #
3130
+ # @param request_pb [::Google::Cloud::Dataform::V1::SearchTeamFoldersRequest]
3131
+ # A request object representing the call parameters. Required.
3132
+ # @return [Array(String, [String, nil], Hash{String => String})]
3133
+ # Uri, Body, Query string parameters
3134
+ def self.transcode_search_team_folders_request request_pb
3135
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3136
+ .with_bindings(
3137
+ uri_method: :get,
3138
+ uri_template: "/v1/{location}/teamFolders:search",
3139
+ matches: [
3140
+ ["location", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
3141
+ ]
3142
+ )
3143
+ transcoder.transcode request_pb
3144
+ end
3145
+
3146
+ ##
3147
+ # @private
3148
+ #
3149
+ # GRPC transcoding helper method for the get_folder REST call
3150
+ #
3151
+ # @param request_pb [::Google::Cloud::Dataform::V1::GetFolderRequest]
3152
+ # A request object representing the call parameters. Required.
3153
+ # @return [Array(String, [String, nil], Hash{String => String})]
3154
+ # Uri, Body, Query string parameters
3155
+ def self.transcode_get_folder_request request_pb
3156
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3157
+ .with_bindings(
3158
+ uri_method: :get,
3159
+ uri_template: "/v1/{name}",
3160
+ matches: [
3161
+ ["name", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3162
+ ]
3163
+ )
3164
+ transcoder.transcode request_pb
3165
+ end
3166
+
3167
+ ##
3168
+ # @private
3169
+ #
3170
+ # GRPC transcoding helper method for the create_folder REST call
3171
+ #
3172
+ # @param request_pb [::Google::Cloud::Dataform::V1::CreateFolderRequest]
3173
+ # A request object representing the call parameters. Required.
3174
+ # @return [Array(String, [String, nil], Hash{String => String})]
3175
+ # Uri, Body, Query string parameters
3176
+ def self.transcode_create_folder_request request_pb
3177
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3178
+ .with_bindings(
3179
+ uri_method: :post,
3180
+ uri_template: "/v1/{parent}/folders",
3181
+ body: "folder",
3182
+ matches: [
3183
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
3184
+ ]
3185
+ )
3186
+ transcoder.transcode request_pb
3187
+ end
3188
+
3189
+ ##
3190
+ # @private
3191
+ #
3192
+ # GRPC transcoding helper method for the update_folder REST call
3193
+ #
3194
+ # @param request_pb [::Google::Cloud::Dataform::V1::UpdateFolderRequest]
3195
+ # A request object representing the call parameters. Required.
3196
+ # @return [Array(String, [String, nil], Hash{String => String})]
3197
+ # Uri, Body, Query string parameters
3198
+ def self.transcode_update_folder_request request_pb
3199
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3200
+ .with_bindings(
3201
+ uri_method: :patch,
3202
+ uri_template: "/v1/{folder.name}",
3203
+ body: "folder",
3204
+ matches: [
3205
+ ["folder.name", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3206
+ ]
3207
+ )
3208
+ transcoder.transcode request_pb
3209
+ end
3210
+
3211
+ ##
3212
+ # @private
2158
3213
  #
2159
- # @param request_pb [::Google::Cloud::Dataform::V1::GetConfigRequest]
3214
+ # GRPC transcoding helper method for the delete_folder REST call
3215
+ #
3216
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteFolderRequest]
2160
3217
  # A request object representing the call parameters. Required.
2161
- # @param options [::Gapic::CallOptions]
2162
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3218
+ # @return [Array(String, [String, nil], Hash{String => String})]
3219
+ # Uri, Body, Query string parameters
3220
+ def self.transcode_delete_folder_request request_pb
3221
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3222
+ .with_bindings(
3223
+ uri_method: :delete,
3224
+ uri_template: "/v1/{name}",
3225
+ matches: [
3226
+ ["name", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3227
+ ]
3228
+ )
3229
+ transcoder.transcode request_pb
3230
+ end
3231
+
3232
+ ##
3233
+ # @private
2163
3234
  #
2164
- # @yield [result, operation] Access the result along with the TransportOperation object
2165
- # @yieldparam result [::Google::Cloud::Dataform::V1::Config]
2166
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
3235
+ # GRPC transcoding helper method for the delete_folder_tree REST call
2167
3236
  #
2168
- # @return [::Google::Cloud::Dataform::V1::Config]
2169
- # A result object deserialized from the server's reply
2170
- def get_config request_pb, options = nil
2171
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
2172
-
2173
- verb, uri, query_string_params, body = ServiceStub.transcode_get_config_request request_pb
2174
- query_string_params = if query_string_params.any?
2175
- query_string_params.to_h { |p| p.split "=", 2 }
2176
- else
2177
- {}
2178
- end
2179
-
2180
- response = @client_stub.make_http_request(
2181
- verb,
2182
- uri: uri,
2183
- body: body || "",
2184
- params: query_string_params,
2185
- method_name: "get_config",
2186
- options: options
2187
- )
2188
- operation = ::Gapic::Rest::TransportOperation.new response
2189
- result = ::Google::Cloud::Dataform::V1::Config.decode_json response.body, ignore_unknown_fields: true
2190
- catch :response do
2191
- yield result, operation if block_given?
2192
- result
2193
- end
3237
+ # @param request_pb [::Google::Cloud::Dataform::V1::DeleteFolderTreeRequest]
3238
+ # A request object representing the call parameters. Required.
3239
+ # @return [Array(String, [String, nil], Hash{String => String})]
3240
+ # Uri, Body, Query string parameters
3241
+ def self.transcode_delete_folder_tree_request request_pb
3242
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3243
+ .with_bindings(
3244
+ uri_method: :post,
3245
+ uri_template: "/v1/{name}:deleteTree",
3246
+ body: "*",
3247
+ matches: [
3248
+ ["name", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3249
+ ]
3250
+ )
3251
+ transcoder.transcode request_pb
2194
3252
  end
2195
3253
 
2196
3254
  ##
2197
- # Baseline implementation for the update_config REST call
3255
+ # @private
2198
3256
  #
2199
- # @param request_pb [::Google::Cloud::Dataform::V1::UpdateConfigRequest]
3257
+ # GRPC transcoding helper method for the query_folder_contents REST call
3258
+ #
3259
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryFolderContentsRequest]
2200
3260
  # A request object representing the call parameters. Required.
2201
- # @param options [::Gapic::CallOptions]
2202
- # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3261
+ # @return [Array(String, [String, nil], Hash{String => String})]
3262
+ # Uri, Body, Query string parameters
3263
+ def self.transcode_query_folder_contents_request request_pb
3264
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3265
+ .with_bindings(
3266
+ uri_method: :get,
3267
+ uri_template: "/v1/{folder}:queryFolderContents",
3268
+ matches: [
3269
+ ["folder", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3270
+ ]
3271
+ )
3272
+ transcoder.transcode request_pb
3273
+ end
3274
+
3275
+ ##
3276
+ # @private
2203
3277
  #
2204
- # @yield [result, operation] Access the result along with the TransportOperation object
2205
- # @yieldparam result [::Google::Cloud::Dataform::V1::Config]
2206
- # @yieldparam operation [::Gapic::Rest::TransportOperation]
3278
+ # GRPC transcoding helper method for the query_user_root_contents REST call
2207
3279
  #
2208
- # @return [::Google::Cloud::Dataform::V1::Config]
2209
- # A result object deserialized from the server's reply
2210
- def update_config request_pb, options = nil
2211
- raise ::ArgumentError, "request must be provided" if request_pb.nil?
2212
-
2213
- verb, uri, query_string_params, body = ServiceStub.transcode_update_config_request request_pb
2214
- query_string_params = if query_string_params.any?
2215
- query_string_params.to_h { |p| p.split "=", 2 }
2216
- else
2217
- {}
2218
- end
3280
+ # @param request_pb [::Google::Cloud::Dataform::V1::QueryUserRootContentsRequest]
3281
+ # A request object representing the call parameters. Required.
3282
+ # @return [Array(String, [String, nil], Hash{String => String})]
3283
+ # Uri, Body, Query string parameters
3284
+ def self.transcode_query_user_root_contents_request request_pb
3285
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3286
+ .with_bindings(
3287
+ uri_method: :get,
3288
+ uri_template: "/v1/{location}:queryUserRootContents",
3289
+ matches: [
3290
+ ["location", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
3291
+ ]
3292
+ )
3293
+ transcoder.transcode request_pb
3294
+ end
2219
3295
 
2220
- response = @client_stub.make_http_request(
2221
- verb,
2222
- uri: uri,
2223
- body: body || "",
2224
- params: query_string_params,
2225
- method_name: "update_config",
2226
- options: options
2227
- )
2228
- operation = ::Gapic::Rest::TransportOperation.new response
2229
- result = ::Google::Cloud::Dataform::V1::Config.decode_json response.body, ignore_unknown_fields: true
2230
- catch :response do
2231
- yield result, operation if block_given?
2232
- result
2233
- end
3296
+ ##
3297
+ # @private
3298
+ #
3299
+ # GRPC transcoding helper method for the move_folder REST call
3300
+ #
3301
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveFolderRequest]
3302
+ # A request object representing the call parameters. Required.
3303
+ # @return [Array(String, [String, nil], Hash{String => String})]
3304
+ # Uri, Body, Query string parameters
3305
+ def self.transcode_move_folder_request request_pb
3306
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3307
+ .with_bindings(
3308
+ uri_method: :post,
3309
+ uri_template: "/v1/{name}:move",
3310
+ body: "*",
3311
+ matches: [
3312
+ ["name", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
3313
+ ]
3314
+ )
3315
+ transcoder.transcode request_pb
2234
3316
  end
2235
3317
 
2236
3318
  ##
@@ -2340,6 +3422,28 @@ module Google
2340
3422
  transcoder.transcode request_pb
2341
3423
  end
2342
3424
 
3425
+ ##
3426
+ # @private
3427
+ #
3428
+ # GRPC transcoding helper method for the move_repository REST call
3429
+ #
3430
+ # @param request_pb [::Google::Cloud::Dataform::V1::MoveRepositoryRequest]
3431
+ # A request object representing the call parameters. Required.
3432
+ # @return [Array(String, [String, nil], Hash{String => String})]
3433
+ # Uri, Body, Query string parameters
3434
+ def self.transcode_move_repository_request request_pb
3435
+ transcoder = Gapic::Rest::GrpcTranscoder.new
3436
+ .with_bindings(
3437
+ uri_method: :post,
3438
+ uri_template: "/v1/{name}:move",
3439
+ body: "*",
3440
+ matches: [
3441
+ ["name", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
3442
+ ]
3443
+ )
3444
+ transcoder.transcode request_pb
3445
+ end
3446
+
2343
3447
  ##
2344
3448
  # @private
2345
3449
  #
@@ -3389,6 +4493,140 @@ module Google
3389
4493
  )
3390
4494
  transcoder.transcode request_pb
3391
4495
  end
4496
+
4497
+ ##
4498
+ # @private
4499
+ #
4500
+ # GRPC transcoding helper method for the get_iam_policy REST call
4501
+ #
4502
+ # @param request_pb [::Google::Iam::V1::GetIamPolicyRequest]
4503
+ # A request object representing the call parameters. Required.
4504
+ # @return [Array(String, [String, nil], Hash{String => String})]
4505
+ # Uri, Body, Query string parameters
4506
+ def self.transcode_get_iam_policy_request request_pb
4507
+ transcoder = Gapic::Rest::GrpcTranscoder.new
4508
+ .with_bindings(
4509
+ uri_method: :get,
4510
+ uri_template: "/v1/{resource}:getIamPolicy",
4511
+ matches: [
4512
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
4513
+ ]
4514
+ )
4515
+ .with_bindings(
4516
+ uri_method: :get,
4517
+ uri_template: "/v1/{resource}:getIamPolicy",
4518
+ matches: [
4519
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
4520
+ ]
4521
+ )
4522
+ .with_bindings(
4523
+ uri_method: :get,
4524
+ uri_template: "/v1/{resource}:getIamPolicy",
4525
+ matches: [
4526
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
4527
+ ]
4528
+ )
4529
+ .with_bindings(
4530
+ uri_method: :get,
4531
+ uri_template: "/v1/{resource}:getIamPolicy",
4532
+ matches: [
4533
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
4534
+ ]
4535
+ )
4536
+ transcoder.transcode request_pb
4537
+ end
4538
+
4539
+ ##
4540
+ # @private
4541
+ #
4542
+ # GRPC transcoding helper method for the set_iam_policy REST call
4543
+ #
4544
+ # @param request_pb [::Google::Iam::V1::SetIamPolicyRequest]
4545
+ # A request object representing the call parameters. Required.
4546
+ # @return [Array(String, [String, nil], Hash{String => String})]
4547
+ # Uri, Body, Query string parameters
4548
+ def self.transcode_set_iam_policy_request request_pb
4549
+ transcoder = Gapic::Rest::GrpcTranscoder.new
4550
+ .with_bindings(
4551
+ uri_method: :post,
4552
+ uri_template: "/v1/{resource}:setIamPolicy",
4553
+ body: "*",
4554
+ matches: [
4555
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
4556
+ ]
4557
+ )
4558
+ .with_bindings(
4559
+ uri_method: :post,
4560
+ uri_template: "/v1/{resource}:setIamPolicy",
4561
+ body: "*",
4562
+ matches: [
4563
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
4564
+ ]
4565
+ )
4566
+ .with_bindings(
4567
+ uri_method: :post,
4568
+ uri_template: "/v1/{resource}:setIamPolicy",
4569
+ body: "*",
4570
+ matches: [
4571
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
4572
+ ]
4573
+ )
4574
+ .with_bindings(
4575
+ uri_method: :post,
4576
+ uri_template: "/v1/{resource}:setIamPolicy",
4577
+ body: "*",
4578
+ matches: [
4579
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
4580
+ ]
4581
+ )
4582
+ transcoder.transcode request_pb
4583
+ end
4584
+
4585
+ ##
4586
+ # @private
4587
+ #
4588
+ # GRPC transcoding helper method for the test_iam_permissions REST call
4589
+ #
4590
+ # @param request_pb [::Google::Iam::V1::TestIamPermissionsRequest]
4591
+ # A request object representing the call parameters. Required.
4592
+ # @return [Array(String, [String, nil], Hash{String => String})]
4593
+ # Uri, Body, Query string parameters
4594
+ def self.transcode_test_iam_permissions_request request_pb
4595
+ transcoder = Gapic::Rest::GrpcTranscoder.new
4596
+ .with_bindings(
4597
+ uri_method: :post,
4598
+ uri_template: "/v1/{resource}:testIamPermissions",
4599
+ body: "*",
4600
+ matches: [
4601
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/?$}, false]
4602
+ ]
4603
+ )
4604
+ .with_bindings(
4605
+ uri_method: :post,
4606
+ uri_template: "/v1/{resource}:testIamPermissions",
4607
+ body: "*",
4608
+ matches: [
4609
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/repositories/[^/]+/workspaces/[^/]+/?$}, false]
4610
+ ]
4611
+ )
4612
+ .with_bindings(
4613
+ uri_method: :post,
4614
+ uri_template: "/v1/{resource}:testIamPermissions",
4615
+ body: "*",
4616
+ matches: [
4617
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/folders/[^/]+/?$}, false]
4618
+ ]
4619
+ )
4620
+ .with_bindings(
4621
+ uri_method: :post,
4622
+ uri_template: "/v1/{resource}:testIamPermissions",
4623
+ body: "*",
4624
+ matches: [
4625
+ ["resource", %r{^projects/[^/]+/locations/[^/]+/teamFolders/[^/]+/?$}, false]
4626
+ ]
4627
+ )
4628
+ transcoder.transcode request_pb
4629
+ end
3392
4630
  end
3393
4631
  end
3394
4632
  end