google-cloud-dataflow-v1beta3 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb +15 -0
- data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +117 -0
- data/lib/google/cloud/dataflow/v1beta3/messages/client.rb +21 -0
- data/lib/google/cloud/dataflow/v1beta3/metrics/client.rb +57 -0
- data/lib/google/cloud/dataflow/v1beta3/snapshots/client.rb +45 -0
- data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +45 -0
- data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
- data/lib/google/dataflow/v1beta3/environment_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/jobs_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/jobs_services_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/messages_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/messages_services_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/metrics_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/metrics_services_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/snapshots_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/snapshots_services_pb.rb +1 -1
- data/lib/google/dataflow/v1beta3/templates_pb.rb +2 -2
- data/lib/google/dataflow/v1beta3/templates_services_pb.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2c9998081aa7320e2809aba412fa54763297ee36d7b6facbc6cdfd9aee2b7f
|
4
|
+
data.tar.gz: 595d06eaa8f6795d60ff95a0196658c7923fbcc29ddef025bc837dc664574086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54d1896081aa65053f8ba17999391f85f7d31e625cf13fee6812856158d592d11e081d0ff06f112058bd7db5e1a9e55fd86b2a9146ae60b8cabb9124e067159d
|
7
|
+
data.tar.gz: 6becab9a61d99015d65bb65bca5516bb8bd4723809374cc6bb678114a21e4de7ed774372e4e85aea8adc3eb7df4e13dad3b8bc01a44b4b3700addf352e1614db
|
@@ -180,6 +180,21 @@ module Google
|
|
180
180
|
#
|
181
181
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
182
182
|
#
|
183
|
+
# @example Basic example
|
184
|
+
# require "google/cloud/dataflow/v1beta3"
|
185
|
+
#
|
186
|
+
# # Create a client object. The client can be reused for multiple calls.
|
187
|
+
# client = Google::Cloud::Dataflow::V1beta3::FlexTemplatesService::Client.new
|
188
|
+
#
|
189
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
190
|
+
# request = Google::Cloud::Dataflow::V1beta3::LaunchFlexTemplateRequest.new
|
191
|
+
#
|
192
|
+
# # Call the launch_flex_template method.
|
193
|
+
# result = client.launch_flex_template request
|
194
|
+
#
|
195
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::LaunchFlexTemplateResponse.
|
196
|
+
# p result
|
197
|
+
#
|
183
198
|
def launch_flex_template request, options = nil
|
184
199
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
185
200
|
|
@@ -190,6 +190,21 @@ module Google
|
|
190
190
|
#
|
191
191
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
192
192
|
#
|
193
|
+
# @example Basic example
|
194
|
+
# require "google/cloud/dataflow/v1beta3"
|
195
|
+
#
|
196
|
+
# # Create a client object. The client can be reused for multiple calls.
|
197
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
198
|
+
#
|
199
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
200
|
+
# request = Google::Cloud::Dataflow::V1beta3::CreateJobRequest.new
|
201
|
+
#
|
202
|
+
# # Call the create_job method.
|
203
|
+
# result = client.create_job request
|
204
|
+
#
|
205
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
206
|
+
# p result
|
207
|
+
#
|
193
208
|
def create_job request, options = nil
|
194
209
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
195
210
|
|
@@ -266,6 +281,21 @@ module Google
|
|
266
281
|
#
|
267
282
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
268
283
|
#
|
284
|
+
# @example Basic example
|
285
|
+
# require "google/cloud/dataflow/v1beta3"
|
286
|
+
#
|
287
|
+
# # Create a client object. The client can be reused for multiple calls.
|
288
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
289
|
+
#
|
290
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
291
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobRequest.new
|
292
|
+
#
|
293
|
+
# # Call the get_job method.
|
294
|
+
# result = client.get_job request
|
295
|
+
#
|
296
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
297
|
+
# p result
|
298
|
+
#
|
269
299
|
def get_job request, options = nil
|
270
300
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
271
301
|
|
@@ -343,6 +373,21 @@ module Google
|
|
343
373
|
#
|
344
374
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
345
375
|
#
|
376
|
+
# @example Basic example
|
377
|
+
# require "google/cloud/dataflow/v1beta3"
|
378
|
+
#
|
379
|
+
# # Create a client object. The client can be reused for multiple calls.
|
380
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
381
|
+
#
|
382
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
383
|
+
# request = Google::Cloud::Dataflow::V1beta3::UpdateJobRequest.new
|
384
|
+
#
|
385
|
+
# # Call the update_job method.
|
386
|
+
# result = client.update_job request
|
387
|
+
#
|
388
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
389
|
+
# p result
|
390
|
+
#
|
346
391
|
def update_job request, options = nil
|
347
392
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
348
393
|
|
@@ -428,6 +473,27 @@ module Google
|
|
428
473
|
#
|
429
474
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
430
475
|
#
|
476
|
+
# @example Basic example
|
477
|
+
# require "google/cloud/dataflow/v1beta3"
|
478
|
+
#
|
479
|
+
# # Create a client object. The client can be reused for multiple calls.
|
480
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
481
|
+
#
|
482
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
483
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobsRequest.new
|
484
|
+
#
|
485
|
+
# # Call the list_jobs method.
|
486
|
+
# result = client.list_jobs request
|
487
|
+
#
|
488
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
489
|
+
# # iterate over all elements by calling #each, and the enumerable
|
490
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
491
|
+
# # methods are also available for managing paging directly.
|
492
|
+
# result.each do |response|
|
493
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::Job.
|
494
|
+
# p response
|
495
|
+
# end
|
496
|
+
#
|
431
497
|
def list_jobs request, options = nil
|
432
498
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
433
499
|
|
@@ -507,6 +573,27 @@ module Google
|
|
507
573
|
#
|
508
574
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
509
575
|
#
|
576
|
+
# @example Basic example
|
577
|
+
# require "google/cloud/dataflow/v1beta3"
|
578
|
+
#
|
579
|
+
# # Create a client object. The client can be reused for multiple calls.
|
580
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
581
|
+
#
|
582
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
583
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobsRequest.new
|
584
|
+
#
|
585
|
+
# # Call the aggregated_list_jobs method.
|
586
|
+
# result = client.aggregated_list_jobs request
|
587
|
+
#
|
588
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
589
|
+
# # iterate over all elements by calling #each, and the enumerable
|
590
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
591
|
+
# # methods are also available for managing paging directly.
|
592
|
+
# result.each do |response|
|
593
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::Job.
|
594
|
+
# p response
|
595
|
+
# end
|
596
|
+
#
|
510
597
|
def aggregated_list_jobs request, options = nil
|
511
598
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
512
599
|
|
@@ -570,6 +657,21 @@ module Google
|
|
570
657
|
#
|
571
658
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
572
659
|
#
|
660
|
+
# @example Basic example
|
661
|
+
# require "google/cloud/dataflow/v1beta3"
|
662
|
+
#
|
663
|
+
# # Create a client object. The client can be reused for multiple calls.
|
664
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
665
|
+
#
|
666
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
667
|
+
# request = Google::Cloud::Dataflow::V1beta3::CheckActiveJobsRequest.new
|
668
|
+
#
|
669
|
+
# # Call the check_active_jobs method.
|
670
|
+
# result = client.check_active_jobs request
|
671
|
+
#
|
672
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::CheckActiveJobsResponse.
|
673
|
+
# p result
|
674
|
+
#
|
573
675
|
def check_active_jobs request, options = nil
|
574
676
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
575
677
|
|
@@ -642,6 +744,21 @@ module Google
|
|
642
744
|
#
|
643
745
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
644
746
|
#
|
747
|
+
# @example Basic example
|
748
|
+
# require "google/cloud/dataflow/v1beta3"
|
749
|
+
#
|
750
|
+
# # Create a client object. The client can be reused for multiple calls.
|
751
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Client.new
|
752
|
+
#
|
753
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
754
|
+
# request = Google::Cloud::Dataflow::V1beta3::SnapshotJobRequest.new
|
755
|
+
#
|
756
|
+
# # Call the snapshot_job method.
|
757
|
+
# result = client.snapshot_job request
|
758
|
+
#
|
759
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Snapshot.
|
760
|
+
# p result
|
761
|
+
#
|
645
762
|
def snapshot_job request, options = nil
|
646
763
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
647
764
|
|
@@ -202,6 +202,27 @@ module Google
|
|
202
202
|
#
|
203
203
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
204
204
|
#
|
205
|
+
# @example Basic example
|
206
|
+
# require "google/cloud/dataflow/v1beta3"
|
207
|
+
#
|
208
|
+
# # Create a client object. The client can be reused for multiple calls.
|
209
|
+
# client = Google::Cloud::Dataflow::V1beta3::Messages::Client.new
|
210
|
+
#
|
211
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
212
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobMessagesRequest.new
|
213
|
+
#
|
214
|
+
# # Call the list_job_messages method.
|
215
|
+
# result = client.list_job_messages request
|
216
|
+
#
|
217
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
218
|
+
# # iterate over all elements by calling #each, and the enumerable
|
219
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
220
|
+
# # methods are also available for managing paging directly.
|
221
|
+
# result.each do |response|
|
222
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::JobMessage.
|
223
|
+
# p response
|
224
|
+
# end
|
225
|
+
#
|
205
226
|
def list_job_messages request, options = nil
|
206
227
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
207
228
|
|
@@ -189,6 +189,21 @@ module Google
|
|
189
189
|
#
|
190
190
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
191
191
|
#
|
192
|
+
# @example Basic example
|
193
|
+
# require "google/cloud/dataflow/v1beta3"
|
194
|
+
#
|
195
|
+
# # Create a client object. The client can be reused for multiple calls.
|
196
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Client.new
|
197
|
+
#
|
198
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
199
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobMetricsRequest.new
|
200
|
+
#
|
201
|
+
# # Call the get_job_metrics method.
|
202
|
+
# result = client.get_job_metrics request
|
203
|
+
#
|
204
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::JobMetrics.
|
205
|
+
# p result
|
206
|
+
#
|
192
207
|
def get_job_metrics request, options = nil
|
193
208
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
194
209
|
|
@@ -267,6 +282,27 @@ module Google
|
|
267
282
|
#
|
268
283
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
269
284
|
#
|
285
|
+
# @example Basic example
|
286
|
+
# require "google/cloud/dataflow/v1beta3"
|
287
|
+
#
|
288
|
+
# # Create a client object. The client can be reused for multiple calls.
|
289
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Client.new
|
290
|
+
#
|
291
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
292
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobExecutionDetailsRequest.new
|
293
|
+
#
|
294
|
+
# # Call the get_job_execution_details method.
|
295
|
+
# result = client.get_job_execution_details request
|
296
|
+
#
|
297
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
298
|
+
# # iterate over all elements by calling #each, and the enumerable
|
299
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
300
|
+
# # methods are also available for managing paging directly.
|
301
|
+
# result.each do |response|
|
302
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::StageSummary.
|
303
|
+
# p response
|
304
|
+
# end
|
305
|
+
#
|
270
306
|
def get_job_execution_details request, options = nil
|
271
307
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
308
|
|
@@ -353,6 +389,27 @@ module Google
|
|
353
389
|
#
|
354
390
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
355
391
|
#
|
392
|
+
# @example Basic example
|
393
|
+
# require "google/cloud/dataflow/v1beta3"
|
394
|
+
#
|
395
|
+
# # Create a client object. The client can be reused for multiple calls.
|
396
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Client.new
|
397
|
+
#
|
398
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
399
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetStageExecutionDetailsRequest.new
|
400
|
+
#
|
401
|
+
# # Call the get_stage_execution_details method.
|
402
|
+
# result = client.get_stage_execution_details request
|
403
|
+
#
|
404
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can
|
405
|
+
# # iterate over all elements by calling #each, and the enumerable
|
406
|
+
# # will lazily make API calls to fetch subsequent pages. Other
|
407
|
+
# # methods are also available for managing paging directly.
|
408
|
+
# result.each do |response|
|
409
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::WorkerDetails.
|
410
|
+
# p response
|
411
|
+
# end
|
412
|
+
#
|
356
413
|
def get_stage_execution_details request, options = nil
|
357
414
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
358
415
|
|
@@ -177,6 +177,21 @@ module Google
|
|
177
177
|
#
|
178
178
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
179
179
|
#
|
180
|
+
# @example Basic example
|
181
|
+
# require "google/cloud/dataflow/v1beta3"
|
182
|
+
#
|
183
|
+
# # Create a client object. The client can be reused for multiple calls.
|
184
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Client.new
|
185
|
+
#
|
186
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
187
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetSnapshotRequest.new
|
188
|
+
#
|
189
|
+
# # Call the get_snapshot method.
|
190
|
+
# result = client.get_snapshot request
|
191
|
+
#
|
192
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Snapshot.
|
193
|
+
# p result
|
194
|
+
#
|
180
195
|
def get_snapshot request, options = nil
|
181
196
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
182
197
|
|
@@ -243,6 +258,21 @@ module Google
|
|
243
258
|
#
|
244
259
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
245
260
|
#
|
261
|
+
# @example Basic example
|
262
|
+
# require "google/cloud/dataflow/v1beta3"
|
263
|
+
#
|
264
|
+
# # Create a client object. The client can be reused for multiple calls.
|
265
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Client.new
|
266
|
+
#
|
267
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
268
|
+
# request = Google::Cloud::Dataflow::V1beta3::DeleteSnapshotRequest.new
|
269
|
+
#
|
270
|
+
# # Call the delete_snapshot method.
|
271
|
+
# result = client.delete_snapshot request
|
272
|
+
#
|
273
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::DeleteSnapshotResponse.
|
274
|
+
# p result
|
275
|
+
#
|
246
276
|
def delete_snapshot request, options = nil
|
247
277
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
248
278
|
|
@@ -309,6 +339,21 @@ module Google
|
|
309
339
|
#
|
310
340
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
311
341
|
#
|
342
|
+
# @example Basic example
|
343
|
+
# require "google/cloud/dataflow/v1beta3"
|
344
|
+
#
|
345
|
+
# # Create a client object. The client can be reused for multiple calls.
|
346
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Client.new
|
347
|
+
#
|
348
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
349
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListSnapshotsRequest.new
|
350
|
+
#
|
351
|
+
# # Call the list_snapshots method.
|
352
|
+
# result = client.list_snapshots request
|
353
|
+
#
|
354
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::ListSnapshotsResponse.
|
355
|
+
# p result
|
356
|
+
#
|
312
357
|
def list_snapshots request, options = nil
|
313
358
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
314
359
|
|
@@ -187,6 +187,21 @@ module Google
|
|
187
187
|
#
|
188
188
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
189
189
|
#
|
190
|
+
# @example Basic example
|
191
|
+
# require "google/cloud/dataflow/v1beta3"
|
192
|
+
#
|
193
|
+
# # Create a client object. The client can be reused for multiple calls.
|
194
|
+
# client = Google::Cloud::Dataflow::V1beta3::TemplatesService::Client.new
|
195
|
+
#
|
196
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
197
|
+
# request = Google::Cloud::Dataflow::V1beta3::CreateJobFromTemplateRequest.new
|
198
|
+
#
|
199
|
+
# # Call the create_job_from_template method.
|
200
|
+
# result = client.create_job_from_template request
|
201
|
+
#
|
202
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
203
|
+
# p result
|
204
|
+
#
|
190
205
|
def create_job_from_template request, options = nil
|
191
206
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
192
207
|
|
@@ -265,6 +280,21 @@ module Google
|
|
265
280
|
#
|
266
281
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
267
282
|
#
|
283
|
+
# @example Basic example
|
284
|
+
# require "google/cloud/dataflow/v1beta3"
|
285
|
+
#
|
286
|
+
# # Create a client object. The client can be reused for multiple calls.
|
287
|
+
# client = Google::Cloud::Dataflow::V1beta3::TemplatesService::Client.new
|
288
|
+
#
|
289
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
290
|
+
# request = Google::Cloud::Dataflow::V1beta3::LaunchTemplateRequest.new
|
291
|
+
#
|
292
|
+
# # Call the launch_template method.
|
293
|
+
# result = client.launch_template request
|
294
|
+
#
|
295
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse.
|
296
|
+
# p result
|
297
|
+
#
|
268
298
|
def launch_template request, options = nil
|
269
299
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
270
300
|
|
@@ -337,6 +367,21 @@ module Google
|
|
337
367
|
#
|
338
368
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
339
369
|
#
|
370
|
+
# @example Basic example
|
371
|
+
# require "google/cloud/dataflow/v1beta3"
|
372
|
+
#
|
373
|
+
# # Create a client object. The client can be reused for multiple calls.
|
374
|
+
# client = Google::Cloud::Dataflow::V1beta3::TemplatesService::Client.new
|
375
|
+
#
|
376
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
377
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetTemplateRequest.new
|
378
|
+
#
|
379
|
+
# # Call the get_template method.
|
380
|
+
# result = client.get_template request
|
381
|
+
#
|
382
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::GetTemplateResponse.
|
383
|
+
# p result
|
384
|
+
#
|
340
385
|
def get_template request, options = nil
|
341
386
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
342
387
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/environment.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/any_pb'
|
8
6
|
require 'google/protobuf/struct_pb'
|
7
|
+
require 'google/protobuf'
|
8
|
+
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/dataflow/v1beta3/environment.proto", :syntax => :proto3) do
|
11
11
|
add_message "google.dataflow.v1beta3.Environment" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/jobs.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/dataflow/v1beta3/environment_pb'
|
8
6
|
require 'google/dataflow/v1beta3/snapshots_pb'
|
@@ -10,6 +8,8 @@ require 'google/protobuf/duration_pb'
|
|
10
8
|
require 'google/protobuf/struct_pb'
|
11
9
|
require 'google/protobuf/timestamp_pb'
|
12
10
|
require 'google/api/client_pb'
|
11
|
+
require 'google/protobuf'
|
12
|
+
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
14
|
add_file("google/dataflow/v1beta3/jobs.proto", :syntax => :proto3) do
|
15
15
|
add_message "google.dataflow.v1beta3.Job" do
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# A Job is a multi-stage computation graph run by the Cloud Dataflow service.
|
29
29
|
class Service
|
30
30
|
|
31
|
-
include GRPC::GenericService
|
31
|
+
include ::GRPC::GenericService
|
32
32
|
|
33
33
|
self.marshal_class_method = :encode
|
34
34
|
self.unmarshal_class_method = :decode
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/messages.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/protobuf/struct_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/api/client_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/dataflow/v1beta3/messages.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.dataflow.v1beta3.JobMessage" do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/metrics.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/protobuf/struct_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/api/client_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/dataflow/v1beta3/metrics.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.dataflow.v1beta3.MetricStructuredName" do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/snapshots.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/api/client_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/dataflow/v1beta3/snapshots.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.dataflow.v1beta3.PubsubSnapshotMetadata" do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/dataflow/v1beta3/templates.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/dataflow/v1beta3/environment_pb'
|
8
6
|
require 'google/dataflow/v1beta3/jobs_pb'
|
9
7
|
require 'google/rpc/status_pb'
|
10
8
|
require 'google/api/client_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/dataflow/v1beta3/templates.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.dataflow.v1beta3.LaunchFlexTemplateResponse" do
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# Provides a method to create Cloud Dataflow jobs from templates.
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
# Provides a service for Flex templates. This feature is not ready yet.
|
48
48
|
class Service
|
49
49
|
|
50
|
-
include GRPC::GenericService
|
50
|
+
include ::GRPC::GenericService
|
51
51
|
|
52
52
|
self.marshal_class_method = :encode
|
53
53
|
self.unmarshal_class_method = :decode
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dataflow-v1beta3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|