google-cloud-dataflow-v1beta3 0.9.0 → 0.9.1
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 +5 -1
- data/lib/google/cloud/dataflow/v1beta3/flex_templates_service/rest/client.rb +5 -1
- data/lib/google/cloud/dataflow/v1beta3/jobs/client.rb +17 -7
- data/lib/google/cloud/dataflow/v1beta3/jobs/rest/client.rb +15 -6
- data/lib/google/cloud/dataflow/v1beta3/messages/client.rb +5 -1
- data/lib/google/cloud/dataflow/v1beta3/messages/rest/client.rb +5 -1
- data/lib/google/cloud/dataflow/v1beta3/metrics/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/metrics/rest/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/snapshots/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/snapshots/rest/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/templates_service/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/templates_service/rest/client.rb +9 -3
- data/lib/google/cloud/dataflow/v1beta3/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -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: 5780c5c72d97d40a0a6e5ec1a91ed89eee37e4af9bae04e04f38c9d9a99b77f8
|
4
|
+
data.tar.gz: dd055ef2135a4c9fea2cefc7cfbe1503e1e1cec5a19a944dfb28fb7a2211818c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8132f20f36fd966e9f674c689974d64dbd2bae3e7fe2a20a2e284271bccb1c1bf323b4ed8af74dc8e84591b1299b690c238f13b20e0364204583bab7bf15d12e
|
7
|
+
data.tar.gz: 26e95022a5c067b7c4ca3f53008403a97db24c43fd5302517e2bb0a00794482487af3c348ce4e5870a28789c72562ebef76c460f8f0ca5b9ea96369a18a7710b
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|
@@ -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
|
-
#
|
298
|
-
#
|
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
|
-
#
|
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
|
-
#
|
317
|
-
#
|
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'.
|
128
|
-
#
|
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.9.
|
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-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|