google-cloud-dataflow-v1beta3 0.8.2 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b5e747ad74b79f9ca85457812bf00016fc22c19a4f632b157c81589d4365770
4
- data.tar.gz: 9623ff0324eaf5fb4053e182bce77978e7095561ef9baf34a13ec3315a3e1cc5
3
+ metadata.gz: 5780c5c72d97d40a0a6e5ec1a91ed89eee37e4af9bae04e04f38c9d9a99b77f8
4
+ data.tar.gz: dd055ef2135a4c9fea2cefc7cfbe1503e1e1cec5a19a944dfb28fb7a2211818c
5
5
  SHA512:
6
- metadata.gz: c2cbed3166c031ab9c96999d0ad6d9e441a77c5edd0d972f3d771124c9c05ac68d8d48a47ad30bdcbc00f52ad953e9428b97b7d801d99c2950bbecfc73864ad4
7
- data.tar.gz: 58a441ff48f83c0e8529dec818cf98e9c483684ff6941bb4249e1c45eb860d481f06214b9821721776f01c7472f3bf88b472e387e2a567b0555c8bf0bceeff65
6
+ metadata.gz: 8132f20f36fd966e9f674c689974d64dbd2bae3e7fe2a20a2e284271bccb1c1bf323b4ed8af74dc8e84591b1299b690c238f13b20e0364204583bab7bf15d12e
7
+ data.tar.gz: 26e95022a5c067b7c4ca3f53008403a97db24c43fd5302517e2bb0a00794482487af3c348ce4e5870a28789c72562ebef76c460f8f0ca5b9ea96369a18a7710b
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -30,6 +30,9 @@ module Google
30
30
  # Provides a service for Flex templates. This feature is not ready yet.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
35
38
 
@@ -222,10 +225,11 @@ module Google
222
225
  # Customize the options with defaults
223
226
  metadata = @config.rpcs.launch_flex_template.metadata.to_h
224
227
 
225
- # Set x-goog-api-client and x-goog-user-project headers
228
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
226
229
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
227
230
  lib_name: @config.lib_name, lib_version: @config.lib_version,
228
231
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
232
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
229
233
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
230
234
 
231
235
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Provides a service for Flex templates. This feature is not ready yet.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
37
40
 
@@ -214,12 +217,13 @@ module Google
214
217
  # Customize the options with defaults
215
218
  call_metadata = @config.rpcs.launch_flex_template.metadata.to_h
216
219
 
217
- # Set x-goog-api-client and x-goog-user-project headers
220
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
218
221
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
219
222
  lib_name: @config.lib_name, lib_version: @config.lib_version,
220
223
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
221
224
  transports_version_send: [:rest]
222
225
 
226
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
223
227
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
224
228
 
225
229
  options.apply_defaults timeout: @config.rpcs.launch_flex_template.timeout,
@@ -31,6 +31,9 @@ module Google
31
31
  # A Job is a multi-stage computation graph run by the Cloud Dataflow service.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
36
39
 
@@ -232,10 +235,11 @@ module Google
232
235
  # Customize the options with defaults
233
236
  metadata = @config.rpcs.create_job.metadata.to_h
234
237
 
235
- # Set x-goog-api-client and x-goog-user-project headers
238
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
236
239
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
237
240
  lib_name: @config.lib_name, lib_version: @config.lib_version,
238
241
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
242
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
239
243
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
240
244
 
241
245
  header_params = {}
@@ -334,10 +338,11 @@ module Google
334
338
  # Customize the options with defaults
335
339
  metadata = @config.rpcs.get_job.metadata.to_h
336
340
 
337
- # Set x-goog-api-client and x-goog-user-project headers
341
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
338
342
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
339
343
  lib_name: @config.lib_name, lib_version: @config.lib_version,
340
344
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
345
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
341
346
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
342
347
 
343
348
  header_params = {}
@@ -440,10 +445,11 @@ module Google
440
445
  # Customize the options with defaults
441
446
  metadata = @config.rpcs.update_job.metadata.to_h
442
447
 
443
- # Set x-goog-api-client and x-goog-user-project headers
448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
444
449
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
445
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
446
451
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
452
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
453
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
454
 
449
455
  header_params = {}
@@ -558,10 +564,11 @@ module Google
558
564
  # Customize the options with defaults
559
565
  metadata = @config.rpcs.list_jobs.metadata.to_h
560
566
 
561
- # Set x-goog-api-client and x-goog-user-project headers
567
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
562
568
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
563
569
  lib_name: @config.lib_name, lib_version: @config.lib_version,
564
570
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
571
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
565
572
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
566
573
 
567
574
  header_params = {}
@@ -667,10 +674,11 @@ module Google
667
674
  # Customize the options with defaults
668
675
  metadata = @config.rpcs.aggregated_list_jobs.metadata.to_h
669
676
 
670
- # Set x-goog-api-client and x-goog-user-project headers
677
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
671
678
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
672
679
  lib_name: @config.lib_name, lib_version: @config.lib_version,
673
680
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
681
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
674
682
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
675
683
 
676
684
  header_params = {}
@@ -753,10 +761,11 @@ module Google
753
761
  # Customize the options with defaults
754
762
  metadata = @config.rpcs.check_active_jobs.metadata.to_h
755
763
 
756
- # Set x-goog-api-client and x-goog-user-project headers
764
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
757
765
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
758
766
  lib_name: @config.lib_name, lib_version: @config.lib_version,
759
767
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
768
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
760
769
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
761
770
 
762
771
  options.apply_defaults timeout: @config.rpcs.check_active_jobs.timeout,
@@ -840,10 +849,11 @@ module Google
840
849
  # Customize the options with defaults
841
850
  metadata = @config.rpcs.snapshot_job.metadata.to_h
842
851
 
843
- # Set x-goog-api-client and x-goog-user-project headers
852
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
844
853
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
845
854
  lib_name: @config.lib_name, lib_version: @config.lib_version,
846
855
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
856
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
847
857
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
848
858
 
849
859
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # A Job is a multi-stage computation graph run by the Cloud Dataflow service.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
38
41
 
@@ -224,12 +227,13 @@ module Google
224
227
  # Customize the options with defaults
225
228
  call_metadata = @config.rpcs.create_job.metadata.to_h
226
229
 
227
- # Set x-goog-api-client and x-goog-user-project headers
230
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
228
231
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
229
232
  lib_name: @config.lib_name, lib_version: @config.lib_version,
230
233
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
231
234
  transports_version_send: [:rest]
232
235
 
236
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
233
237
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
234
238
 
235
239
  options.apply_defaults timeout: @config.rpcs.create_job.timeout,
@@ -316,12 +320,13 @@ module Google
316
320
  # Customize the options with defaults
317
321
  call_metadata = @config.rpcs.get_job.metadata.to_h
318
322
 
319
- # Set x-goog-api-client and x-goog-user-project headers
323
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
320
324
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
321
325
  lib_name: @config.lib_name, lib_version: @config.lib_version,
322
326
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
323
327
  transports_version_send: [:rest]
324
328
 
329
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
325
330
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
326
331
 
327
332
  options.apply_defaults timeout: @config.rpcs.get_job.timeout,
@@ -409,12 +414,13 @@ module Google
409
414
  # Customize the options with defaults
410
415
  call_metadata = @config.rpcs.update_job.metadata.to_h
411
416
 
412
- # Set x-goog-api-client and x-goog-user-project headers
417
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
413
418
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
414
419
  lib_name: @config.lib_name, lib_version: @config.lib_version,
415
420
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
416
421
  transports_version_send: [:rest]
417
422
 
423
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
418
424
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
419
425
 
420
426
  options.apply_defaults timeout: @config.rpcs.update_job.timeout,
@@ -514,12 +520,13 @@ module Google
514
520
  # Customize the options with defaults
515
521
  call_metadata = @config.rpcs.list_jobs.metadata.to_h
516
522
 
517
- # Set x-goog-api-client and x-goog-user-project headers
523
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
518
524
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
519
525
  lib_name: @config.lib_name, lib_version: @config.lib_version,
520
526
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
521
527
  transports_version_send: [:rest]
522
528
 
529
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
523
530
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
524
531
 
525
532
  options.apply_defaults timeout: @config.rpcs.list_jobs.timeout,
@@ -612,12 +619,13 @@ module Google
612
619
  # Customize the options with defaults
613
620
  call_metadata = @config.rpcs.aggregated_list_jobs.metadata.to_h
614
621
 
615
- # Set x-goog-api-client and x-goog-user-project headers
622
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
616
623
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
617
624
  lib_name: @config.lib_name, lib_version: @config.lib_version,
618
625
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
619
626
  transports_version_send: [:rest]
620
627
 
628
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
621
629
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
622
630
 
623
631
  options.apply_defaults timeout: @config.rpcs.aggregated_list_jobs.timeout,
@@ -700,12 +708,13 @@ module Google
700
708
  # Customize the options with defaults
701
709
  call_metadata = @config.rpcs.snapshot_job.metadata.to_h
702
710
 
703
- # Set x-goog-api-client and x-goog-user-project headers
711
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
704
712
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
705
713
  lib_name: @config.lib_name, lib_version: @config.lib_version,
706
714
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
707
715
  transports_version_send: [:rest]
708
716
 
717
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
709
718
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
710
719
 
711
720
  options.apply_defaults timeout: @config.rpcs.snapshot_job.timeout,
@@ -31,6 +31,9 @@ module Google
31
31
  # Dataflow jobs.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
36
39
 
@@ -248,10 +251,11 @@ module Google
248
251
  # Customize the options with defaults
249
252
  metadata = @config.rpcs.list_job_messages.metadata.to_h
250
253
 
251
- # Set x-goog-api-client and x-goog-user-project headers
254
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
252
255
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
253
256
  lib_name: @config.lib_name, lib_version: @config.lib_version,
254
257
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
258
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
255
259
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
256
260
 
257
261
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # Dataflow jobs.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
38
41
 
@@ -240,12 +243,13 @@ module Google
240
243
  # Customize the options with defaults
241
244
  call_metadata = @config.rpcs.list_job_messages.metadata.to_h
242
245
 
243
- # Set x-goog-api-client and x-goog-user-project headers
246
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
244
247
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
245
248
  lib_name: @config.lib_name, lib_version: @config.lib_version,
246
249
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
247
250
  transports_version_send: [:rest]
248
251
 
252
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
249
253
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
250
254
 
251
255
  options.apply_defaults timeout: @config.rpcs.list_job_messages.timeout,
@@ -31,6 +31,9 @@ module Google
31
31
  # jobs.
32
32
  #
33
33
  class Client
34
+ # @private
35
+ API_VERSION = ""
36
+
34
37
  # @private
35
38
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
36
39
 
@@ -231,10 +234,11 @@ module Google
231
234
  # Customize the options with defaults
232
235
  metadata = @config.rpcs.get_job_metrics.metadata.to_h
233
236
 
234
- # Set x-goog-api-client and x-goog-user-project headers
237
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
235
238
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
236
239
  lib_name: @config.lib_name, lib_version: @config.lib_version,
237
240
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
241
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
238
242
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
239
243
 
240
244
  header_params = {}
@@ -342,10 +346,11 @@ module Google
342
346
  # Customize the options with defaults
343
347
  metadata = @config.rpcs.get_job_execution_details.metadata.to_h
344
348
 
345
- # Set x-goog-api-client and x-goog-user-project headers
349
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
346
350
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
347
351
  lib_name: @config.lib_name, lib_version: @config.lib_version,
348
352
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
353
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
349
354
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
350
355
 
351
356
  header_params = {}
@@ -461,10 +466,11 @@ module Google
461
466
  # Customize the options with defaults
462
467
  metadata = @config.rpcs.get_stage_execution_details.metadata.to_h
463
468
 
464
- # Set x-goog-api-client and x-goog-user-project headers
469
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
465
470
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
466
471
  lib_name: @config.lib_name, lib_version: @config.lib_version,
467
472
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
473
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
468
474
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
469
475
 
470
476
  header_params = {}
@@ -33,6 +33,9 @@ module Google
33
33
  # jobs.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
38
41
 
@@ -223,12 +226,13 @@ module Google
223
226
  # Customize the options with defaults
224
227
  call_metadata = @config.rpcs.get_job_metrics.metadata.to_h
225
228
 
226
- # Set x-goog-api-client and x-goog-user-project headers
229
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
227
230
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
228
231
  lib_name: @config.lib_name, lib_version: @config.lib_version,
229
232
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
230
233
  transports_version_send: [:rest]
231
234
 
235
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
232
236
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
233
237
 
234
238
  options.apply_defaults timeout: @config.rpcs.get_job_metrics.timeout,
@@ -321,12 +325,13 @@ module Google
321
325
  # Customize the options with defaults
322
326
  call_metadata = @config.rpcs.get_job_execution_details.metadata.to_h
323
327
 
324
- # Set x-goog-api-client and x-goog-user-project headers
328
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
325
329
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
326
330
  lib_name: @config.lib_name, lib_version: @config.lib_version,
327
331
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
328
332
  transports_version_send: [:rest]
329
333
 
334
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
330
335
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
331
336
 
332
337
  options.apply_defaults timeout: @config.rpcs.get_job_execution_details.timeout,
@@ -427,12 +432,13 @@ module Google
427
432
  # Customize the options with defaults
428
433
  call_metadata = @config.rpcs.get_stage_execution_details.metadata.to_h
429
434
 
430
- # Set x-goog-api-client and x-goog-user-project headers
435
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
431
436
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
432
437
  lib_name: @config.lib_name, lib_version: @config.lib_version,
433
438
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
434
439
  transports_version_send: [:rest]
435
440
 
441
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
436
442
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
437
443
 
438
444
  options.apply_defaults timeout: @config.rpcs.get_stage_execution_details.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # Provides methods to manage snapshots of Google Cloud Dataflow jobs.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
35
38
 
@@ -219,10 +222,11 @@ module Google
219
222
  # Customize the options with defaults
220
223
  metadata = @config.rpcs.get_snapshot.metadata.to_h
221
224
 
222
- # Set x-goog-api-client and x-goog-user-project headers
225
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
223
226
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
224
227
  lib_name: @config.lib_name, lib_version: @config.lib_version,
225
228
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
229
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
226
230
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
227
231
 
228
232
  header_params = {}
@@ -314,10 +318,11 @@ module Google
314
318
  # Customize the options with defaults
315
319
  metadata = @config.rpcs.delete_snapshot.metadata.to_h
316
320
 
317
- # Set x-goog-api-client and x-goog-user-project headers
321
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
318
322
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
319
323
  lib_name: @config.lib_name, lib_version: @config.lib_version,
320
324
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
325
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
321
326
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
322
327
 
323
328
  header_params = {}
@@ -409,10 +414,11 @@ module Google
409
414
  # Customize the options with defaults
410
415
  metadata = @config.rpcs.list_snapshots.metadata.to_h
411
416
 
412
- # Set x-goog-api-client and x-goog-user-project headers
417
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
413
418
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
414
419
  lib_name: @config.lib_name, lib_version: @config.lib_version,
415
420
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
421
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
416
422
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
417
423
 
418
424
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Provides methods to manage snapshots of Google Cloud Dataflow jobs.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
37
40
 
@@ -211,12 +214,13 @@ module Google
211
214
  # Customize the options with defaults
212
215
  call_metadata = @config.rpcs.get_snapshot.metadata.to_h
213
216
 
214
- # Set x-goog-api-client and x-goog-user-project headers
217
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
215
218
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
216
219
  lib_name: @config.lib_name, lib_version: @config.lib_version,
217
220
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
218
221
  transports_version_send: [:rest]
219
222
 
223
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
220
224
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
221
225
 
222
226
  options.apply_defaults timeout: @config.rpcs.get_snapshot.timeout,
@@ -293,12 +297,13 @@ module Google
293
297
  # Customize the options with defaults
294
298
  call_metadata = @config.rpcs.delete_snapshot.metadata.to_h
295
299
 
296
- # Set x-goog-api-client and x-goog-user-project headers
300
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
297
301
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
298
302
  lib_name: @config.lib_name, lib_version: @config.lib_version,
299
303
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
300
304
  transports_version_send: [:rest]
301
305
 
306
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
302
307
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
303
308
 
304
309
  options.apply_defaults timeout: @config.rpcs.delete_snapshot.timeout,
@@ -375,12 +380,13 @@ module Google
375
380
  # Customize the options with defaults
376
381
  call_metadata = @config.rpcs.list_snapshots.metadata.to_h
377
382
 
378
- # Set x-goog-api-client and x-goog-user-project headers
383
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
379
384
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
380
385
  lib_name: @config.lib_name, lib_version: @config.lib_version,
381
386
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
382
387
  transports_version_send: [:rest]
383
388
 
389
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  options.apply_defaults timeout: @config.rpcs.list_snapshots.timeout,
@@ -30,6 +30,9 @@ module Google
30
30
  # Provides a method to create Cloud Dataflow jobs from templates.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
35
38
 
@@ -229,10 +232,11 @@ module Google
229
232
  # Customize the options with defaults
230
233
  metadata = @config.rpcs.create_job_from_template.metadata.to_h
231
234
 
232
- # Set x-goog-api-client and x-goog-user-project headers
235
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
233
236
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
234
237
  lib_name: @config.lib_name, lib_version: @config.lib_version,
235
238
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
239
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
236
240
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
237
241
 
238
242
  header_params = {}
@@ -333,10 +337,11 @@ module Google
333
337
  # Customize the options with defaults
334
338
  metadata = @config.rpcs.launch_template.metadata.to_h
335
339
 
336
- # Set x-goog-api-client and x-goog-user-project headers
340
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
337
341
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
338
342
  lib_name: @config.lib_name, lib_version: @config.lib_version,
339
343
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
344
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
340
345
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
341
346
 
342
347
  header_params = {}
@@ -431,10 +436,11 @@ module Google
431
436
  # Customize the options with defaults
432
437
  metadata = @config.rpcs.get_template.metadata.to_h
433
438
 
434
- # Set x-goog-api-client and x-goog-user-project headers
439
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
435
440
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
436
441
  lib_name: @config.lib_name, lib_version: @config.lib_version,
437
442
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION
443
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
438
444
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
439
445
 
440
446
  header_params = {}
@@ -32,6 +32,9 @@ module Google
32
32
  # Provides a method to create Cloud Dataflow jobs from templates.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "dataflow.$UNIVERSE_DOMAIN$"
37
40
 
@@ -221,12 +224,13 @@ module Google
221
224
  # Customize the options with defaults
222
225
  call_metadata = @config.rpcs.create_job_from_template.metadata.to_h
223
226
 
224
- # Set x-goog-api-client and x-goog-user-project headers
227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
225
228
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
226
229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
227
230
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
228
231
  transports_version_send: [:rest]
229
232
 
233
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
230
234
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
231
235
 
232
236
  options.apply_defaults timeout: @config.rpcs.create_job_from_template.timeout,
@@ -315,12 +319,13 @@ module Google
315
319
  # Customize the options with defaults
316
320
  call_metadata = @config.rpcs.launch_template.metadata.to_h
317
321
 
318
- # Set x-goog-api-client and x-goog-user-project headers
322
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
319
323
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
320
324
  lib_name: @config.lib_name, lib_version: @config.lib_version,
321
325
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
322
326
  transports_version_send: [:rest]
323
327
 
328
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
324
329
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
325
330
 
326
331
  options.apply_defaults timeout: @config.rpcs.launch_template.timeout,
@@ -403,12 +408,13 @@ module Google
403
408
  # Customize the options with defaults
404
409
  call_metadata = @config.rpcs.get_template.metadata.to_h
405
410
 
406
- # Set x-goog-api-client and x-goog-user-project headers
411
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
407
412
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
408
413
  lib_name: @config.lib_name, lib_version: @config.lib_version,
409
414
  gapic_version: ::Google::Cloud::Dataflow::V1beta3::VERSION,
410
415
  transports_version_send: [:rest]
411
416
 
417
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
412
418
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
413
419
 
414
420
  options.apply_defaults timeout: @config.rpcs.get_template.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataflow
23
23
  module V1beta3
24
- VERSION = "0.8.2"
24
+ VERSION = "0.9.1"
25
25
  end
26
26
  end
27
27
  end
@@ -9,7 +9,7 @@ require 'google/protobuf/any_pb'
9
9
  require 'google/protobuf/struct_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n)google/dataflow/v1beta3/environment.proto\x12\x17google.dataflow.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd0\x05\n\x0b\x45nvironment\x12\x1b\n\x13temp_storage_prefix\x18\x01 \x01(\t\x12#\n\x1b\x63luster_manager_api_service\x18\x02 \x01(\t\x12\x13\n\x0b\x65xperiments\x18\x03 \x03(\t\x12\x17\n\x0fservice_options\x18\x10 \x03(\t\x12\x1c\n\x14service_kms_key_name\x18\x0c \x01(\t\x12\x39\n\x0cworker_pools\x18\x04 \x03(\x0b\x32#.google.dataflow.v1beta3.WorkerPool\x12+\n\nuser_agent\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07version\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x07 \x01(\t\x12\x35\n\x14sdk_pipeline_options\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x14internal_experiments\x18\t \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12Z\n\x1d\x66lex_resource_scheduling_goal\x18\x0b \x01(\x0e\x32\x33.google.dataflow.v1beta3.FlexResourceSchedulingGoal\x12\x15\n\rworker_region\x18\r \x01(\t\x12\x13\n\x0bworker_zone\x18\x0e \x01(\t\x12@\n\x0cshuffle_mode\x18\x0f \x01(\x0e\x32$.google.dataflow.v1beta3.ShuffleModeB\x04\xe2\x41\x01\x03\x12<\n\rdebug_options\x18\x11 \x01(\x0b\x32%.google.dataflow.v1beta3.DebugOptions\")\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\"?\n\x04\x44isk\x12\x0f\n\x07size_gb\x18\x01 \x01(\x05\x12\x11\n\tdisk_type\x18\x02 \x01(\t\x12\x13\n\x0bmount_point\x18\x03 \x01(\t\"\xa1\x01\n\x0eWorkerSettings\x12\x10\n\x08\x62\x61se_url\x18\x01 \x01(\t\x12\x19\n\x11reporting_enabled\x18\x02 \x01(\x08\x12\x14\n\x0cservice_path\x18\x03 \x01(\t\x12\x1c\n\x14shuffle_service_path\x18\x04 \x01(\t\x12\x11\n\tworker_id\x18\x05 \x01(\t\x12\x1b\n\x13temp_storage_prefix\x18\x06 \x01(\t\"\xa4\x04\n\x12TaskRunnerSettings\x12\x11\n\ttask_user\x18\x01 \x01(\t\x12\x12\n\ntask_group\x18\x02 \x01(\t\x12\x14\n\x0coauth_scopes\x18\x03 \x03(\t\x12\x10\n\x08\x62\x61se_url\x18\x04 \x01(\t\x12\x1c\n\x14\x64\x61taflow_api_version\x18\x05 \x01(\t\x12I\n\x18parallel_worker_settings\x18\x06 \x01(\x0b\x32\'.google.dataflow.v1beta3.WorkerSettings\x12\x15\n\rbase_task_dir\x18\x07 \x01(\t\x12\x1d\n\x15\x63ontinue_on_exception\x18\x08 \x01(\x08\x12\x1c\n\x14log_to_serialconsole\x18\t \x01(\x08\x12\x17\n\x0f\x61lsologtostderr\x18\n \x01(\x08\x12\x1b\n\x13log_upload_location\x18\x0b \x01(\t\x12\x0f\n\x07log_dir\x18\x0c \x01(\t\x12\x1b\n\x13temp_storage_prefix\x18\r \x01(\t\x12\x17\n\x0fharness_command\x18\x0e \x01(\t\x12\x1a\n\x12workflow_file_name\x18\x0f \x01(\t\x12\x1e\n\x16\x63ommandlines_file_name\x18\x10 \x01(\t\x12\r\n\x05vm_id\x18\x11 \x01(\t\x12\x15\n\rlanguage_hint\x18\x12 \x01(\t\x12#\n\x1bstreaming_worker_main_class\x18\x13 \x01(\t\"p\n\x13\x41utoscalingSettings\x12@\n\talgorithm\x18\x01 \x01(\x0e\x32-.google.dataflow.v1beta3.AutoscalingAlgorithm\x12\x17\n\x0fmax_num_workers\x18\x02 \x01(\x05\"\x88\x01\n\x18SdkHarnessContainerImage\x12\x17\n\x0f\x63ontainer_image\x18\x01 \x01(\t\x12%\n\x1duse_single_core_per_container\x18\x02 \x01(\x08\x12\x16\n\x0e\x65nvironment_id\x18\x03 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\"\xf2\x07\n\nWorkerPool\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0bnum_workers\x18\x02 \x01(\x05\x12\x32\n\x08packages\x18\x03 \x03(\x0b\x32 .google.dataflow.v1beta3.Package\x12G\n\x13\x64\x65\x66\x61ult_package_set\x18\x04 \x01(\x0e\x32*.google.dataflow.v1beta3.DefaultPackageSet\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12@\n\x0fteardown_policy\x18\x06 \x01(\x0e\x32\'.google.dataflow.v1beta3.TeardownPolicy\x12\x14\n\x0c\x64isk_size_gb\x18\x07 \x01(\x05\x12\x11\n\tdisk_type\x18\x10 \x01(\t\x12\x19\n\x11\x64isk_source_image\x18\x08 \x01(\t\x12\x0c\n\x04zone\x18\t \x01(\t\x12H\n\x13taskrunner_settings\x18\n \x01(\x0b\x32+.google.dataflow.v1beta3.TaskRunnerSettings\x12\x1b\n\x13on_host_maintenance\x18\x0b \x01(\t\x12\x31\n\ndata_disks\x18\x0c \x03(\x0b\x32\x1d.google.dataflow.v1beta3.Disk\x12\x43\n\x08metadata\x18\r \x03(\x0b\x32\x31.google.dataflow.v1beta3.WorkerPool.MetadataEntry\x12J\n\x14\x61utoscaling_settings\x18\x0e \x01(\x0b\x32,.google.dataflow.v1beta3.AutoscalingSettings\x12\'\n\tpool_args\x18\x0f \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0f\n\x07network\x18\x11 \x01(\t\x12\x12\n\nsubnetwork\x18\x13 \x01(\t\x12&\n\x1eworker_harness_container_image\x18\x12 \x01(\t\x12\x1e\n\x16num_threads_per_worker\x18\x14 \x01(\x05\x12O\n\x10ip_configuration\x18\x15 \x01(\x0e\x32\x35.google.dataflow.v1beta3.WorkerIPAddressConfiguration\x12W\n\x1csdk_harness_container_images\x18\x16 \x03(\x0b\x32\x31.google.dataflow.v1beta3.SdkHarnessContainerImage\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0c\x44\x65\x62ugOptions\x12\x1e\n\x16\x65nable_hot_key_logging\x18\x01 \x01(\x08*K\n\x07JobType\x12\x14\n\x10JOB_TYPE_UNKNOWN\x10\x00\x12\x12\n\x0eJOB_TYPE_BATCH\x10\x01\x12\x16\n\x12JOB_TYPE_STREAMING\x10\x02*k\n\x1a\x46lexResourceSchedulingGoal\x12\x16\n\x12\x46LEXRS_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46LEXRS_SPEED_OPTIMIZED\x10\x01\x12\x19\n\x15\x46LEXRS_COST_OPTIMIZED\x10\x02*o\n\x0eTeardownPolicy\x12\x1b\n\x17TEARDOWN_POLICY_UNKNOWN\x10\x00\x12\x13\n\x0fTEARDOWN_ALWAYS\x10\x01\x12\x17\n\x13TEARDOWN_ON_SUCCESS\x10\x02\x12\x12\n\x0eTEARDOWN_NEVER\x10\x03*\x90\x01\n\x11\x44\x65\x66\x61ultPackageSet\x12\x1f\n\x1b\x44\x45\x46\x41ULT_PACKAGE_SET_UNKNOWN\x10\x00\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_NONE\x10\x01\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_JAVA\x10\x02\x12\x1e\n\x1a\x44\x45\x46\x41ULT_PACKAGE_SET_PYTHON\x10\x03*z\n\x14\x41utoscalingAlgorithm\x12!\n\x1d\x41UTOSCALING_ALGORITHM_UNKNOWN\x10\x00\x12\x1e\n\x1a\x41UTOSCALING_ALGORITHM_NONE\x10\x01\x12\x1f\n\x1b\x41UTOSCALING_ALGORITHM_BASIC\x10\x02*f\n\x1cWorkerIPAddressConfiguration\x12\x19\n\x15WORKER_IP_UNSPECIFIED\x10\x00\x12\x14\n\x10WORKER_IP_PUBLIC\x10\x01\x12\x15\n\x11WORKER_IP_PRIVATE\x10\x02*L\n\x0bShuffleMode\x12\x1c\n\x18SHUFFLE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08VM_BASED\x10\x01\x12\x11\n\rSERVICE_BASED\x10\x02\x42\xd3\x01\n\x1b\x63om.google.dataflow.v1beta3B\x10\x45nvironmentProtoP\x01Z=cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb\xaa\x02\x1dGoogle.Cloud.Dataflow.V1Beta3\xca\x02\x1dGoogle\\Cloud\\Dataflow\\V1beta3\xea\x02 Google::Cloud::Dataflow::V1beta3b\x06proto3"
12
+ descriptor_data = "\n)google/dataflow/v1beta3/environment.proto\x12\x17google.dataflow.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xcf\x05\n\x0b\x45nvironment\x12\x1b\n\x13temp_storage_prefix\x18\x01 \x01(\t\x12#\n\x1b\x63luster_manager_api_service\x18\x02 \x01(\t\x12\x13\n\x0b\x65xperiments\x18\x03 \x03(\t\x12\x17\n\x0fservice_options\x18\x10 \x03(\t\x12\x1c\n\x14service_kms_key_name\x18\x0c \x01(\t\x12\x39\n\x0cworker_pools\x18\x04 \x03(\x0b\x32#.google.dataflow.v1beta3.WorkerPool\x12+\n\nuser_agent\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07version\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x07 \x01(\t\x12\x35\n\x14sdk_pipeline_options\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x32\n\x14internal_experiments\x18\t \x01(\x0b\x32\x14.google.protobuf.Any\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12Z\n\x1d\x66lex_resource_scheduling_goal\x18\x0b \x01(\x0e\x32\x33.google.dataflow.v1beta3.FlexResourceSchedulingGoal\x12\x15\n\rworker_region\x18\r \x01(\t\x12\x13\n\x0bworker_zone\x18\x0e \x01(\t\x12?\n\x0cshuffle_mode\x18\x0f \x01(\x0e\x32$.google.dataflow.v1beta3.ShuffleModeB\x03\xe0\x41\x03\x12<\n\rdebug_options\x18\x11 \x01(\x0b\x32%.google.dataflow.v1beta3.DebugOptions\")\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\"?\n\x04\x44isk\x12\x0f\n\x07size_gb\x18\x01 \x01(\x05\x12\x11\n\tdisk_type\x18\x02 \x01(\t\x12\x13\n\x0bmount_point\x18\x03 \x01(\t\"\xa1\x01\n\x0eWorkerSettings\x12\x10\n\x08\x62\x61se_url\x18\x01 \x01(\t\x12\x19\n\x11reporting_enabled\x18\x02 \x01(\x08\x12\x14\n\x0cservice_path\x18\x03 \x01(\t\x12\x1c\n\x14shuffle_service_path\x18\x04 \x01(\t\x12\x11\n\tworker_id\x18\x05 \x01(\t\x12\x1b\n\x13temp_storage_prefix\x18\x06 \x01(\t\"\xa4\x04\n\x12TaskRunnerSettings\x12\x11\n\ttask_user\x18\x01 \x01(\t\x12\x12\n\ntask_group\x18\x02 \x01(\t\x12\x14\n\x0coauth_scopes\x18\x03 \x03(\t\x12\x10\n\x08\x62\x61se_url\x18\x04 \x01(\t\x12\x1c\n\x14\x64\x61taflow_api_version\x18\x05 \x01(\t\x12I\n\x18parallel_worker_settings\x18\x06 \x01(\x0b\x32\'.google.dataflow.v1beta3.WorkerSettings\x12\x15\n\rbase_task_dir\x18\x07 \x01(\t\x12\x1d\n\x15\x63ontinue_on_exception\x18\x08 \x01(\x08\x12\x1c\n\x14log_to_serialconsole\x18\t \x01(\x08\x12\x17\n\x0f\x61lsologtostderr\x18\n \x01(\x08\x12\x1b\n\x13log_upload_location\x18\x0b \x01(\t\x12\x0f\n\x07log_dir\x18\x0c \x01(\t\x12\x1b\n\x13temp_storage_prefix\x18\r \x01(\t\x12\x17\n\x0fharness_command\x18\x0e \x01(\t\x12\x1a\n\x12workflow_file_name\x18\x0f \x01(\t\x12\x1e\n\x16\x63ommandlines_file_name\x18\x10 \x01(\t\x12\r\n\x05vm_id\x18\x11 \x01(\t\x12\x15\n\rlanguage_hint\x18\x12 \x01(\t\x12#\n\x1bstreaming_worker_main_class\x18\x13 \x01(\t\"p\n\x13\x41utoscalingSettings\x12@\n\talgorithm\x18\x01 \x01(\x0e\x32-.google.dataflow.v1beta3.AutoscalingAlgorithm\x12\x17\n\x0fmax_num_workers\x18\x02 \x01(\x05\"\x88\x01\n\x18SdkHarnessContainerImage\x12\x17\n\x0f\x63ontainer_image\x18\x01 \x01(\t\x12%\n\x1duse_single_core_per_container\x18\x02 \x01(\x08\x12\x16\n\x0e\x65nvironment_id\x18\x03 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\"\xf2\x07\n\nWorkerPool\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0bnum_workers\x18\x02 \x01(\x05\x12\x32\n\x08packages\x18\x03 \x03(\x0b\x32 .google.dataflow.v1beta3.Package\x12G\n\x13\x64\x65\x66\x61ult_package_set\x18\x04 \x01(\x0e\x32*.google.dataflow.v1beta3.DefaultPackageSet\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12@\n\x0fteardown_policy\x18\x06 \x01(\x0e\x32\'.google.dataflow.v1beta3.TeardownPolicy\x12\x14\n\x0c\x64isk_size_gb\x18\x07 \x01(\x05\x12\x11\n\tdisk_type\x18\x10 \x01(\t\x12\x19\n\x11\x64isk_source_image\x18\x08 \x01(\t\x12\x0c\n\x04zone\x18\t \x01(\t\x12H\n\x13taskrunner_settings\x18\n \x01(\x0b\x32+.google.dataflow.v1beta3.TaskRunnerSettings\x12\x1b\n\x13on_host_maintenance\x18\x0b \x01(\t\x12\x31\n\ndata_disks\x18\x0c \x03(\x0b\x32\x1d.google.dataflow.v1beta3.Disk\x12\x43\n\x08metadata\x18\r \x03(\x0b\x32\x31.google.dataflow.v1beta3.WorkerPool.MetadataEntry\x12J\n\x14\x61utoscaling_settings\x18\x0e \x01(\x0b\x32,.google.dataflow.v1beta3.AutoscalingSettings\x12\'\n\tpool_args\x18\x0f \x01(\x0b\x32\x14.google.protobuf.Any\x12\x0f\n\x07network\x18\x11 \x01(\t\x12\x12\n\nsubnetwork\x18\x13 \x01(\t\x12&\n\x1eworker_harness_container_image\x18\x12 \x01(\t\x12\x1e\n\x16num_threads_per_worker\x18\x14 \x01(\x05\x12O\n\x10ip_configuration\x18\x15 \x01(\x0e\x32\x35.google.dataflow.v1beta3.WorkerIPAddressConfiguration\x12W\n\x1csdk_harness_container_images\x18\x16 \x03(\x0b\x32\x31.google.dataflow.v1beta3.SdkHarnessContainerImage\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0c\x44\x65\x62ugOptions\x12\x1e\n\x16\x65nable_hot_key_logging\x18\x01 \x01(\x08*K\n\x07JobType\x12\x14\n\x10JOB_TYPE_UNKNOWN\x10\x00\x12\x12\n\x0eJOB_TYPE_BATCH\x10\x01\x12\x16\n\x12JOB_TYPE_STREAMING\x10\x02*k\n\x1a\x46lexResourceSchedulingGoal\x12\x16\n\x12\x46LEXRS_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46LEXRS_SPEED_OPTIMIZED\x10\x01\x12\x19\n\x15\x46LEXRS_COST_OPTIMIZED\x10\x02*o\n\x0eTeardownPolicy\x12\x1b\n\x17TEARDOWN_POLICY_UNKNOWN\x10\x00\x12\x13\n\x0fTEARDOWN_ALWAYS\x10\x01\x12\x17\n\x13TEARDOWN_ON_SUCCESS\x10\x02\x12\x12\n\x0eTEARDOWN_NEVER\x10\x03*\x90\x01\n\x11\x44\x65\x66\x61ultPackageSet\x12\x1f\n\x1b\x44\x45\x46\x41ULT_PACKAGE_SET_UNKNOWN\x10\x00\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_NONE\x10\x01\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_JAVA\x10\x02\x12\x1e\n\x1a\x44\x45\x46\x41ULT_PACKAGE_SET_PYTHON\x10\x03*z\n\x14\x41utoscalingAlgorithm\x12!\n\x1d\x41UTOSCALING_ALGORITHM_UNKNOWN\x10\x00\x12\x1e\n\x1a\x41UTOSCALING_ALGORITHM_NONE\x10\x01\x12\x1f\n\x1b\x41UTOSCALING_ALGORITHM_BASIC\x10\x02*f\n\x1cWorkerIPAddressConfiguration\x12\x19\n\x15WORKER_IP_UNSPECIFIED\x10\x00\x12\x14\n\x10WORKER_IP_PUBLIC\x10\x01\x12\x15\n\x11WORKER_IP_PRIVATE\x10\x02*L\n\x0bShuffleMode\x12\x1c\n\x18SHUFFLE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08VM_BASED\x10\x01\x12\x11\n\rSERVICE_BASED\x10\x02\x42\xd3\x01\n\x1b\x63om.google.dataflow.v1beta3B\x10\x45nvironmentProtoP\x01Z=cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb\xaa\x02\x1dGoogle.Cloud.Dataflow.V1Beta3\xca\x02\x1dGoogle\\Cloud\\Dataflow\\V1beta3\xea\x02 Google::Cloud::Dataflow::V1beta3b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
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.8.2
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.3
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.3
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.18'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.18'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Dataflow is a managed service for executing a wide variety of data processing
160
48
  patterns. Note that google-cloud-dataflow-v1beta3 is a version-specific client library.
161
49
  For most uses, we recommend installing the main client library google-cloud-dataflow
@@ -250,14 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
138
  requirements:
251
139
  - - ">="
252
140
  - !ruby/object:Gem::Version
253
- version: '2.6'
141
+ version: '2.7'
254
142
  required_rubygems_version: !ruby/object:Gem::Requirement
255
143
  requirements:
256
144
  - - ">="
257
145
  - !ruby/object:Gem::Version
258
146
  version: '0'
259
147
  requirements: []
260
- rubygems_version: 3.5.3
148
+ rubygems_version: 3.5.6
261
149
  signing_key:
262
150
  specification_version: 4
263
151
  summary: Manages Google Cloud Dataflow projects on Google Cloud Platform.