google-cloud-dataflow-v1beta3 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/client.rb +16 -0
- data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/jobs/rest/client.rb +104 -0
- data/lib/google/cloud/dataflow/v1beta3/messages/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/messages/rest/client.rb +20 -0
- data/lib/google/cloud/dataflow/v1beta3/metrics/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/metrics/rest/client.rb +56 -0
- data/lib/google/cloud/dataflow/v1beta3/snapshots/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/snapshots/rest/client.rb +48 -0
- data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +10 -1
- data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/client.rb +48 -0
- data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aac45754ceeb7b28c97bb2316ecc1641170275974260f79e17a2c881b4f5e4b2
|
4
|
+
data.tar.gz: 58c6b4c7b1081e04d740087ae215017ec59fde042e2e0eff963e7fdcc2b33699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c278af553319fea37823484ec531529c49b4087fb73865d4614447d4016db27dcfa3366ecb2127b8f9b71d01ab795b937147736fd422e1ae0898e4c93713f7e9
|
7
|
+
data.tar.gz: ebec15a0de7022b7e946142c1fc49d319504ef7fc4afd7209f30faa9b4241dd20a7475391282eb9f5294de7d20c44de1afa2980ea5e3f28319b962c91e13f78a
|
@@ -136,7 +136,8 @@ module Google
|
|
136
136
|
credentials: credentials,
|
137
137
|
endpoint: @config.endpoint,
|
138
138
|
channel_args: @config.channel_args,
|
139
|
-
interceptors: @config.interceptors
|
139
|
+
interceptors: @config.interceptors,
|
140
|
+
channel_pool_config: @config.channel_pool
|
140
141
|
)
|
141
142
|
end
|
142
143
|
|
@@ -358,6 +359,14 @@ module Google
|
|
358
359
|
end
|
359
360
|
end
|
360
361
|
|
362
|
+
##
|
363
|
+
# Configuration for the channel pool
|
364
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
365
|
+
#
|
366
|
+
def channel_pool
|
367
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
368
|
+
end
|
369
|
+
|
361
370
|
##
|
362
371
|
# Configuration RPC class for the FlexTemplatesService API.
|
363
372
|
#
|
@@ -169,6 +169,22 @@ module Google
|
|
169
169
|
# @return [::Google::Cloud::Dataflow::V1beta3::LaunchFlexTemplateResponse]
|
170
170
|
#
|
171
171
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
172
|
+
#
|
173
|
+
# @example Basic example
|
174
|
+
# require "google/cloud/dataflow/v1beta3"
|
175
|
+
#
|
176
|
+
# # Create a client object. The client can be reused for multiple calls.
|
177
|
+
# client = Google::Cloud::Dataflow::V1beta3::FlexTemplatesService::Rest::Client.new
|
178
|
+
#
|
179
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
180
|
+
# request = Google::Cloud::Dataflow::V1beta3::LaunchFlexTemplateRequest.new
|
181
|
+
#
|
182
|
+
# # Call the launch_flex_template method.
|
183
|
+
# result = client.launch_flex_template request
|
184
|
+
#
|
185
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::LaunchFlexTemplateResponse.
|
186
|
+
# p result
|
187
|
+
#
|
172
188
|
def launch_flex_template request, options = nil
|
173
189
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
174
190
|
|
@@ -139,7 +139,8 @@ module Google
|
|
139
139
|
credentials: credentials,
|
140
140
|
endpoint: @config.endpoint,
|
141
141
|
channel_args: @config.channel_args,
|
142
|
-
interceptors: @config.interceptors
|
142
|
+
interceptors: @config.interceptors,
|
143
|
+
channel_pool_config: @config.channel_pool
|
143
144
|
)
|
144
145
|
end
|
145
146
|
|
@@ -979,6 +980,14 @@ module Google
|
|
979
980
|
end
|
980
981
|
end
|
981
982
|
|
983
|
+
##
|
984
|
+
# Configuration for the channel pool
|
985
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
986
|
+
#
|
987
|
+
def channel_pool
|
988
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
989
|
+
end
|
990
|
+
|
982
991
|
##
|
983
992
|
# Configuration RPC class for the Jobs API.
|
984
993
|
#
|
@@ -179,6 +179,22 @@ module Google
|
|
179
179
|
# @return [::Google::Cloud::Dataflow::V1beta3::Job]
|
180
180
|
#
|
181
181
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
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::Jobs::Rest::Client.new
|
188
|
+
#
|
189
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
190
|
+
# request = Google::Cloud::Dataflow::V1beta3::CreateJobRequest.new
|
191
|
+
#
|
192
|
+
# # Call the create_job method.
|
193
|
+
# result = client.create_job request
|
194
|
+
#
|
195
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
196
|
+
# p result
|
197
|
+
#
|
182
198
|
def create_job request, options = nil
|
183
199
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
184
200
|
|
@@ -255,6 +271,22 @@ module Google
|
|
255
271
|
# @return [::Google::Cloud::Dataflow::V1beta3::Job]
|
256
272
|
#
|
257
273
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
274
|
+
#
|
275
|
+
# @example Basic example
|
276
|
+
# require "google/cloud/dataflow/v1beta3"
|
277
|
+
#
|
278
|
+
# # Create a client object. The client can be reused for multiple calls.
|
279
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Rest::Client.new
|
280
|
+
#
|
281
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
282
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobRequest.new
|
283
|
+
#
|
284
|
+
# # Call the get_job method.
|
285
|
+
# result = client.get_job request
|
286
|
+
#
|
287
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
288
|
+
# p result
|
289
|
+
#
|
258
290
|
def get_job request, options = nil
|
259
291
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
260
292
|
|
@@ -332,6 +364,22 @@ module Google
|
|
332
364
|
# @return [::Google::Cloud::Dataflow::V1beta3::Job]
|
333
365
|
#
|
334
366
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
367
|
+
#
|
368
|
+
# @example Basic example
|
369
|
+
# require "google/cloud/dataflow/v1beta3"
|
370
|
+
#
|
371
|
+
# # Create a client object. The client can be reused for multiple calls.
|
372
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Rest::Client.new
|
373
|
+
#
|
374
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
375
|
+
# request = Google::Cloud::Dataflow::V1beta3::UpdateJobRequest.new
|
376
|
+
#
|
377
|
+
# # Call the update_job method.
|
378
|
+
# result = client.update_job request
|
379
|
+
#
|
380
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
381
|
+
# p result
|
382
|
+
#
|
335
383
|
def update_job request, options = nil
|
336
384
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
337
385
|
|
@@ -417,6 +465,26 @@ module Google
|
|
417
465
|
# @return [::Google::Cloud::Dataflow::V1beta3::ListJobsResponse]
|
418
466
|
#
|
419
467
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
468
|
+
#
|
469
|
+
# @example Basic example
|
470
|
+
# require "google/cloud/dataflow/v1beta3"
|
471
|
+
#
|
472
|
+
# # Create a client object. The client can be reused for multiple calls.
|
473
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Rest::Client.new
|
474
|
+
#
|
475
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
476
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobsRequest.new
|
477
|
+
#
|
478
|
+
# # Call the list_jobs method.
|
479
|
+
# result = client.list_jobs request
|
480
|
+
#
|
481
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
482
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
483
|
+
# result.each do |item|
|
484
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::Job.
|
485
|
+
# p item
|
486
|
+
# end
|
487
|
+
#
|
420
488
|
def list_jobs request, options = nil
|
421
489
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
422
490
|
|
@@ -495,6 +563,26 @@ module Google
|
|
495
563
|
# @return [::Google::Cloud::Dataflow::V1beta3::ListJobsResponse]
|
496
564
|
#
|
497
565
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
566
|
+
#
|
567
|
+
# @example Basic example
|
568
|
+
# require "google/cloud/dataflow/v1beta3"
|
569
|
+
#
|
570
|
+
# # Create a client object. The client can be reused for multiple calls.
|
571
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Rest::Client.new
|
572
|
+
#
|
573
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
574
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobsRequest.new
|
575
|
+
#
|
576
|
+
# # Call the aggregated_list_jobs method.
|
577
|
+
# result = client.aggregated_list_jobs request
|
578
|
+
#
|
579
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
580
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
581
|
+
# result.each do |item|
|
582
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::Job.
|
583
|
+
# p item
|
584
|
+
# end
|
585
|
+
#
|
498
586
|
def aggregated_list_jobs request, options = nil
|
499
587
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
500
588
|
|
@@ -567,6 +655,22 @@ module Google
|
|
567
655
|
# @return [::Google::Cloud::Dataflow::V1beta3::Snapshot]
|
568
656
|
#
|
569
657
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
658
|
+
#
|
659
|
+
# @example Basic example
|
660
|
+
# require "google/cloud/dataflow/v1beta3"
|
661
|
+
#
|
662
|
+
# # Create a client object. The client can be reused for multiple calls.
|
663
|
+
# client = Google::Cloud::Dataflow::V1beta3::Jobs::Rest::Client.new
|
664
|
+
#
|
665
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
666
|
+
# request = Google::Cloud::Dataflow::V1beta3::SnapshotJobRequest.new
|
667
|
+
#
|
668
|
+
# # Call the snapshot_job method.
|
669
|
+
# result = client.snapshot_job request
|
670
|
+
#
|
671
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Snapshot.
|
672
|
+
# p result
|
673
|
+
#
|
570
674
|
def snapshot_job request, options = nil
|
571
675
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
572
676
|
|
@@ -139,7 +139,8 @@ module Google
|
|
139
139
|
credentials: credentials,
|
140
140
|
endpoint: @config.endpoint,
|
141
141
|
channel_args: @config.channel_args,
|
142
|
-
interceptors: @config.interceptors
|
142
|
+
interceptors: @config.interceptors,
|
143
|
+
channel_pool_config: @config.channel_pool
|
143
144
|
)
|
144
145
|
end
|
145
146
|
|
@@ -388,6 +389,14 @@ module Google
|
|
388
389
|
end
|
389
390
|
end
|
390
391
|
|
392
|
+
##
|
393
|
+
# Configuration for the channel pool
|
394
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
395
|
+
#
|
396
|
+
def channel_pool
|
397
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
398
|
+
end
|
399
|
+
|
391
400
|
##
|
392
401
|
# Configuration RPC class for the Messages API.
|
393
402
|
#
|
@@ -191,6 +191,26 @@ module Google
|
|
191
191
|
# @return [::Google::Cloud::Dataflow::V1beta3::ListJobMessagesResponse]
|
192
192
|
#
|
193
193
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
194
|
+
#
|
195
|
+
# @example Basic example
|
196
|
+
# require "google/cloud/dataflow/v1beta3"
|
197
|
+
#
|
198
|
+
# # Create a client object. The client can be reused for multiple calls.
|
199
|
+
# client = Google::Cloud::Dataflow::V1beta3::Messages::Rest::Client.new
|
200
|
+
#
|
201
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
202
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListJobMessagesRequest.new
|
203
|
+
#
|
204
|
+
# # Call the list_job_messages method.
|
205
|
+
# result = client.list_job_messages request
|
206
|
+
#
|
207
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
208
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
209
|
+
# result.each do |item|
|
210
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::JobMessage.
|
211
|
+
# p item
|
212
|
+
# end
|
213
|
+
#
|
194
214
|
def list_job_messages request, options = nil
|
195
215
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
196
216
|
|
@@ -139,7 +139,8 @@ module Google
|
|
139
139
|
credentials: credentials,
|
140
140
|
endpoint: @config.endpoint,
|
141
141
|
channel_args: @config.channel_args,
|
142
|
-
interceptors: @config.interceptors
|
142
|
+
interceptors: @config.interceptors,
|
143
|
+
channel_pool_config: @config.channel_pool
|
143
144
|
)
|
144
145
|
end
|
145
146
|
|
@@ -604,6 +605,14 @@ module Google
|
|
604
605
|
end
|
605
606
|
end
|
606
607
|
|
608
|
+
##
|
609
|
+
# Configuration for the channel pool
|
610
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
611
|
+
#
|
612
|
+
def channel_pool
|
613
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
614
|
+
end
|
615
|
+
|
607
616
|
##
|
608
617
|
# Configuration RPC class for the Metrics API.
|
609
618
|
#
|
@@ -178,6 +178,22 @@ module Google
|
|
178
178
|
# @return [::Google::Cloud::Dataflow::V1beta3::JobMetrics]
|
179
179
|
#
|
180
180
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
181
|
+
#
|
182
|
+
# @example Basic example
|
183
|
+
# require "google/cloud/dataflow/v1beta3"
|
184
|
+
#
|
185
|
+
# # Create a client object. The client can be reused for multiple calls.
|
186
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Rest::Client.new
|
187
|
+
#
|
188
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
189
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobMetricsRequest.new
|
190
|
+
#
|
191
|
+
# # Call the get_job_metrics method.
|
192
|
+
# result = client.get_job_metrics request
|
193
|
+
#
|
194
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::JobMetrics.
|
195
|
+
# p result
|
196
|
+
#
|
181
197
|
def get_job_metrics request, options = nil
|
182
198
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
183
199
|
|
@@ -256,6 +272,26 @@ module Google
|
|
256
272
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataflow::V1beta3::StageSummary>]
|
257
273
|
#
|
258
274
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
275
|
+
#
|
276
|
+
# @example Basic example
|
277
|
+
# require "google/cloud/dataflow/v1beta3"
|
278
|
+
#
|
279
|
+
# # Create a client object. The client can be reused for multiple calls.
|
280
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Rest::Client.new
|
281
|
+
#
|
282
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
283
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetJobExecutionDetailsRequest.new
|
284
|
+
#
|
285
|
+
# # Call the get_job_execution_details method.
|
286
|
+
# result = client.get_job_execution_details request
|
287
|
+
#
|
288
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
289
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
290
|
+
# result.each do |item|
|
291
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::StageSummary.
|
292
|
+
# p item
|
293
|
+
# end
|
294
|
+
#
|
259
295
|
def get_job_execution_details request, options = nil
|
260
296
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
261
297
|
|
@@ -342,6 +378,26 @@ module Google
|
|
342
378
|
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataflow::V1beta3::WorkerDetails>]
|
343
379
|
#
|
344
380
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
381
|
+
#
|
382
|
+
# @example Basic example
|
383
|
+
# require "google/cloud/dataflow/v1beta3"
|
384
|
+
#
|
385
|
+
# # Create a client object. The client can be reused for multiple calls.
|
386
|
+
# client = Google::Cloud::Dataflow::V1beta3::Metrics::Rest::Client.new
|
387
|
+
#
|
388
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
389
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetStageExecutionDetailsRequest.new
|
390
|
+
#
|
391
|
+
# # Call the get_stage_execution_details method.
|
392
|
+
# result = client.get_stage_execution_details request
|
393
|
+
#
|
394
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
395
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
396
|
+
# result.each do |item|
|
397
|
+
# # Each element is of type ::Google::Cloud::Dataflow::V1beta3::WorkerDetails.
|
398
|
+
# p item
|
399
|
+
# end
|
400
|
+
#
|
345
401
|
def get_stage_execution_details request, options = nil
|
346
402
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
347
403
|
|
@@ -138,7 +138,8 @@ module Google
|
|
138
138
|
credentials: credentials,
|
139
139
|
endpoint: @config.endpoint,
|
140
140
|
channel_args: @config.channel_args,
|
141
|
-
interceptors: @config.interceptors
|
141
|
+
interceptors: @config.interceptors,
|
142
|
+
channel_pool_config: @config.channel_pool
|
142
143
|
)
|
143
144
|
end
|
144
145
|
|
@@ -548,6 +549,14 @@ module Google
|
|
548
549
|
end
|
549
550
|
end
|
550
551
|
|
552
|
+
##
|
553
|
+
# Configuration for the channel pool
|
554
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
555
|
+
#
|
556
|
+
def channel_pool
|
557
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
558
|
+
end
|
559
|
+
|
551
560
|
##
|
552
561
|
# Configuration RPC class for the Snapshots API.
|
553
562
|
#
|
@@ -166,6 +166,22 @@ module Google
|
|
166
166
|
# @return [::Google::Cloud::Dataflow::V1beta3::Snapshot]
|
167
167
|
#
|
168
168
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
169
|
+
#
|
170
|
+
# @example Basic example
|
171
|
+
# require "google/cloud/dataflow/v1beta3"
|
172
|
+
#
|
173
|
+
# # Create a client object. The client can be reused for multiple calls.
|
174
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Rest::Client.new
|
175
|
+
#
|
176
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
177
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetSnapshotRequest.new
|
178
|
+
#
|
179
|
+
# # Call the get_snapshot method.
|
180
|
+
# result = client.get_snapshot request
|
181
|
+
#
|
182
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Snapshot.
|
183
|
+
# p result
|
184
|
+
#
|
169
185
|
def get_snapshot request, options = nil
|
170
186
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
171
187
|
|
@@ -232,6 +248,22 @@ module Google
|
|
232
248
|
# @return [::Google::Cloud::Dataflow::V1beta3::DeleteSnapshotResponse]
|
233
249
|
#
|
234
250
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
251
|
+
#
|
252
|
+
# @example Basic example
|
253
|
+
# require "google/cloud/dataflow/v1beta3"
|
254
|
+
#
|
255
|
+
# # Create a client object. The client can be reused for multiple calls.
|
256
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Rest::Client.new
|
257
|
+
#
|
258
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
259
|
+
# request = Google::Cloud::Dataflow::V1beta3::DeleteSnapshotRequest.new
|
260
|
+
#
|
261
|
+
# # Call the delete_snapshot method.
|
262
|
+
# result = client.delete_snapshot request
|
263
|
+
#
|
264
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::DeleteSnapshotResponse.
|
265
|
+
# p result
|
266
|
+
#
|
235
267
|
def delete_snapshot request, options = nil
|
236
268
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
237
269
|
|
@@ -298,6 +330,22 @@ module Google
|
|
298
330
|
# @return [::Google::Cloud::Dataflow::V1beta3::ListSnapshotsResponse]
|
299
331
|
#
|
300
332
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
333
|
+
#
|
334
|
+
# @example Basic example
|
335
|
+
# require "google/cloud/dataflow/v1beta3"
|
336
|
+
#
|
337
|
+
# # Create a client object. The client can be reused for multiple calls.
|
338
|
+
# client = Google::Cloud::Dataflow::V1beta3::Snapshots::Rest::Client.new
|
339
|
+
#
|
340
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
341
|
+
# request = Google::Cloud::Dataflow::V1beta3::ListSnapshotsRequest.new
|
342
|
+
#
|
343
|
+
# # Call the list_snapshots method.
|
344
|
+
# result = client.list_snapshots request
|
345
|
+
#
|
346
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::ListSnapshotsResponse.
|
347
|
+
# p result
|
348
|
+
#
|
301
349
|
def list_snapshots request, options = nil
|
302
350
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
303
351
|
|
@@ -138,7 +138,8 @@ module Google
|
|
138
138
|
credentials: credentials,
|
139
139
|
endpoint: @config.endpoint,
|
140
140
|
channel_args: @config.channel_args,
|
141
|
-
interceptors: @config.interceptors
|
141
|
+
interceptors: @config.interceptors,
|
142
|
+
channel_pool_config: @config.channel_pool
|
142
143
|
)
|
143
144
|
end
|
144
145
|
|
@@ -567,6 +568,14 @@ module Google
|
|
567
568
|
end
|
568
569
|
end
|
569
570
|
|
571
|
+
##
|
572
|
+
# Configuration for the channel pool
|
573
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
574
|
+
#
|
575
|
+
def channel_pool
|
576
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
577
|
+
end
|
578
|
+
|
570
579
|
##
|
571
580
|
# Configuration RPC class for the TemplatesService API.
|
572
581
|
#
|
@@ -176,6 +176,22 @@ module Google
|
|
176
176
|
# @return [::Google::Cloud::Dataflow::V1beta3::Job]
|
177
177
|
#
|
178
178
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
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::TemplatesService::Rest::Client.new
|
185
|
+
#
|
186
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
187
|
+
# request = Google::Cloud::Dataflow::V1beta3::CreateJobFromTemplateRequest.new
|
188
|
+
#
|
189
|
+
# # Call the create_job_from_template method.
|
190
|
+
# result = client.create_job_from_template request
|
191
|
+
#
|
192
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::Job.
|
193
|
+
# p result
|
194
|
+
#
|
179
195
|
def create_job_from_template request, options = nil
|
180
196
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
181
197
|
|
@@ -254,6 +270,22 @@ module Google
|
|
254
270
|
# @return [::Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse]
|
255
271
|
#
|
256
272
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
273
|
+
#
|
274
|
+
# @example Basic example
|
275
|
+
# require "google/cloud/dataflow/v1beta3"
|
276
|
+
#
|
277
|
+
# # Create a client object. The client can be reused for multiple calls.
|
278
|
+
# client = Google::Cloud::Dataflow::V1beta3::TemplatesService::Rest::Client.new
|
279
|
+
#
|
280
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
281
|
+
# request = Google::Cloud::Dataflow::V1beta3::LaunchTemplateRequest.new
|
282
|
+
#
|
283
|
+
# # Call the launch_template method.
|
284
|
+
# result = client.launch_template request
|
285
|
+
#
|
286
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse.
|
287
|
+
# p result
|
288
|
+
#
|
257
289
|
def launch_template request, options = nil
|
258
290
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
259
291
|
|
@@ -326,6 +358,22 @@ module Google
|
|
326
358
|
# @return [::Google::Cloud::Dataflow::V1beta3::GetTemplateResponse]
|
327
359
|
#
|
328
360
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
361
|
+
#
|
362
|
+
# @example Basic example
|
363
|
+
# require "google/cloud/dataflow/v1beta3"
|
364
|
+
#
|
365
|
+
# # Create a client object. The client can be reused for multiple calls.
|
366
|
+
# client = Google::Cloud::Dataflow::V1beta3::TemplatesService::Rest::Client.new
|
367
|
+
#
|
368
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
369
|
+
# request = Google::Cloud::Dataflow::V1beta3::GetTemplateRequest.new
|
370
|
+
#
|
371
|
+
# # Call the get_template method.
|
372
|
+
# result = client.get_template request
|
373
|
+
#
|
374
|
+
# # The returned object is of type Google::Cloud::Dataflow::V1beta3::GetTemplateResponse.
|
375
|
+
# p result
|
376
|
+
#
|
329
377
|
def get_template request, options = nil
|
330
378
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
331
379
|
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
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.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
|
-
rubygems_version: 3.4.
|
260
|
+
rubygems_version: 3.4.19
|
261
261
|
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: Manages Google Cloud Dataflow projects on Google Cloud Platform.
|