google-cloud-network_management-v1 0.14.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/network_management/v1/reachability_service/client.rb +15 -6
- data/lib/google/cloud/network_management/v1/reachability_service/operations.rb +13 -5
- data/lib/google/cloud/network_management/v1/reachability_service/rest/client.rb +15 -6
- data/lib/google/cloud/network_management/v1/reachability_service/rest/operations.rb +11 -4
- data/lib/google/cloud/network_management/v1/version.rb +1 -1
- 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: d1a6ee67e71f05014642e36ac0acf8db1b68248f9d1e8aa93e7db74875a4be98
|
|
4
|
+
data.tar.gz: ff950291f9c7ade4acf8f2e2e0ed02357e980cf8982981a88e58441f15f50753
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acee9593d2141eb82d781604633b3e20f5a05ec4d1aea1632dca9f629d3e3a2c72da705da4e0392e15f52738cc4e1504d6a66df5b2ae411f307496aa8be631a8
|
|
7
|
+
data.tar.gz: 91376912a5465b1fd3dab95c26b010338d08a921eb8d8b8e2cc1eeaaafbc2f9c89bc602400af5857b164222cb07d20fe5891f3aa854ddb3f59f25cbc436e7669
|
|
@@ -39,6 +39,9 @@ module Google
|
|
|
39
39
|
# to troubleshoot connectivity issues.
|
|
40
40
|
#
|
|
41
41
|
class Client
|
|
42
|
+
# @private
|
|
43
|
+
API_VERSION = ""
|
|
44
|
+
|
|
42
45
|
# @private
|
|
43
46
|
DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
|
|
44
47
|
|
|
@@ -298,10 +301,11 @@ module Google
|
|
|
298
301
|
# Customize the options with defaults
|
|
299
302
|
metadata = @config.rpcs.list_connectivity_tests.metadata.to_h
|
|
300
303
|
|
|
301
|
-
# Set x-goog-api-client
|
|
304
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
302
305
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
303
306
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
304
307
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
308
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
305
309
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
306
310
|
|
|
307
311
|
header_params = {}
|
|
@@ -385,10 +389,11 @@ module Google
|
|
|
385
389
|
# Customize the options with defaults
|
|
386
390
|
metadata = @config.rpcs.get_connectivity_test.metadata.to_h
|
|
387
391
|
|
|
388
|
-
# Set x-goog-api-client
|
|
392
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
389
393
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
390
394
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
391
395
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
396
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
392
397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
393
398
|
|
|
394
399
|
header_params = {}
|
|
@@ -501,10 +506,11 @@ module Google
|
|
|
501
506
|
# Customize the options with defaults
|
|
502
507
|
metadata = @config.rpcs.create_connectivity_test.metadata.to_h
|
|
503
508
|
|
|
504
|
-
# Set x-goog-api-client
|
|
509
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
505
510
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
506
511
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
507
512
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
513
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
508
514
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
509
515
|
|
|
510
516
|
header_params = {}
|
|
@@ -610,10 +616,11 @@ module Google
|
|
|
610
616
|
# Customize the options with defaults
|
|
611
617
|
metadata = @config.rpcs.update_connectivity_test.metadata.to_h
|
|
612
618
|
|
|
613
|
-
# Set x-goog-api-client
|
|
619
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
614
620
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
615
621
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
616
622
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
623
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
617
624
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
618
625
|
|
|
619
626
|
header_params = {}
|
|
@@ -715,10 +722,11 @@ module Google
|
|
|
715
722
|
# Customize the options with defaults
|
|
716
723
|
metadata = @config.rpcs.rerun_connectivity_test.metadata.to_h
|
|
717
724
|
|
|
718
|
-
# Set x-goog-api-client
|
|
725
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
719
726
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
720
727
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
721
728
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
729
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
722
730
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
723
731
|
|
|
724
732
|
header_params = {}
|
|
@@ -809,10 +817,11 @@ module Google
|
|
|
809
817
|
# Customize the options with defaults
|
|
810
818
|
metadata = @config.rpcs.delete_connectivity_test.metadata.to_h
|
|
811
819
|
|
|
812
|
-
# Set x-goog-api-client
|
|
820
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
813
821
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
814
822
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
815
823
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
824
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
816
825
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
817
826
|
|
|
818
827
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module ReachabilityService
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -41,6 +41,9 @@ module Google
|
|
|
41
41
|
# to troubleshoot connectivity issues.
|
|
42
42
|
#
|
|
43
43
|
class Client
|
|
44
|
+
# @private
|
|
45
|
+
API_VERSION = ""
|
|
46
|
+
|
|
44
47
|
# @private
|
|
45
48
|
DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
|
|
46
49
|
|
|
@@ -292,12 +295,13 @@ module Google
|
|
|
292
295
|
# Customize the options with defaults
|
|
293
296
|
call_metadata = @config.rpcs.list_connectivity_tests.metadata.to_h
|
|
294
297
|
|
|
295
|
-
# Set x-goog-api-client
|
|
298
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
296
299
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
297
300
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
298
301
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
299
302
|
transports_version_send: [:rest]
|
|
300
303
|
|
|
304
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
301
305
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
302
306
|
|
|
303
307
|
options.apply_defaults timeout: @config.rpcs.list_connectivity_tests.timeout,
|
|
@@ -371,12 +375,13 @@ module Google
|
|
|
371
375
|
# Customize the options with defaults
|
|
372
376
|
call_metadata = @config.rpcs.get_connectivity_test.metadata.to_h
|
|
373
377
|
|
|
374
|
-
# Set x-goog-api-client
|
|
378
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
375
379
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
376
380
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
377
381
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
378
382
|
transports_version_send: [:rest]
|
|
379
383
|
|
|
384
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
380
385
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
381
386
|
|
|
382
387
|
options.apply_defaults timeout: @config.rpcs.get_connectivity_test.timeout,
|
|
@@ -480,12 +485,13 @@ module Google
|
|
|
480
485
|
# Customize the options with defaults
|
|
481
486
|
call_metadata = @config.rpcs.create_connectivity_test.metadata.to_h
|
|
482
487
|
|
|
483
|
-
# Set x-goog-api-client
|
|
488
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
484
489
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
485
490
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
486
491
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
487
492
|
transports_version_send: [:rest]
|
|
488
493
|
|
|
494
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
489
495
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
490
496
|
|
|
491
497
|
options.apply_defaults timeout: @config.rpcs.create_connectivity_test.timeout,
|
|
@@ -582,12 +588,13 @@ module Google
|
|
|
582
588
|
# Customize the options with defaults
|
|
583
589
|
call_metadata = @config.rpcs.update_connectivity_test.metadata.to_h
|
|
584
590
|
|
|
585
|
-
# Set x-goog-api-client
|
|
591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
586
592
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
587
593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
588
594
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
589
595
|
transports_version_send: [:rest]
|
|
590
596
|
|
|
597
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
591
598
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
592
599
|
|
|
593
600
|
options.apply_defaults timeout: @config.rpcs.update_connectivity_test.timeout,
|
|
@@ -680,12 +687,13 @@ module Google
|
|
|
680
687
|
# Customize the options with defaults
|
|
681
688
|
call_metadata = @config.rpcs.rerun_connectivity_test.metadata.to_h
|
|
682
689
|
|
|
683
|
-
# Set x-goog-api-client
|
|
690
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
684
691
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
685
692
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
686
693
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
687
694
|
transports_version_send: [:rest]
|
|
688
695
|
|
|
696
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
689
697
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
690
698
|
|
|
691
699
|
options.apply_defaults timeout: @config.rpcs.rerun_connectivity_test.timeout,
|
|
@@ -767,12 +775,13 @@ module Google
|
|
|
767
775
|
# Customize the options with defaults
|
|
768
776
|
call_metadata = @config.rpcs.delete_connectivity_test.metadata.to_h
|
|
769
777
|
|
|
770
|
-
# Set x-goog-api-client
|
|
778
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
771
779
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
772
780
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
773
781
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
774
782
|
transports_version_send: [:rest]
|
|
775
783
|
|
|
784
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
776
785
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
777
786
|
|
|
778
787
|
options.apply_defaults timeout: @config.rpcs.delete_connectivity_test.timeout,
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Rest
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "networkmanagement.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -181,12 +184,13 @@ module Google
|
|
|
181
184
|
# Customize the options with defaults
|
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
183
186
|
|
|
184
|
-
# Set x-goog-api-client
|
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
187
190
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
188
191
|
transports_version_send: [:rest]
|
|
189
192
|
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
195
|
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +273,13 @@ module Google
|
|
|
269
273
|
# Customize the options with defaults
|
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
275
|
|
|
272
|
-
# Set x-goog-api-client
|
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
279
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
276
280
|
transports_version_send: [:rest]
|
|
277
281
|
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
284
|
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +356,13 @@ module Google
|
|
|
351
356
|
# Customize the options with defaults
|
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
358
|
|
|
354
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
362
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
358
363
|
transports_version_send: [:rest]
|
|
359
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
367
|
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -438,12 +444,13 @@ module Google
|
|
|
438
444
|
# Customize the options with defaults
|
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
446
|
|
|
441
|
-
# Set x-goog-api-client
|
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
450
|
gapic_version: ::Google::Cloud::NetworkManagement::V1::VERSION,
|
|
445
451
|
transports_version_send: [:rest]
|
|
446
452
|
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
455
|
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_management-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|