google-cloud-compute-v1 1.5.0 → 1.6.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/compute/v1/accelerator_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +23 -23
- data/lib/google/cloud/compute/v1/compute_pb.rb +129 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +37 -37
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +4 -4
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +58 -58
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +132 -132
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +6 -6
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +32 -32
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +37 -37
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +19 -19
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +7 -7
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +36 -36
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +57 -57
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -4
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +50 -50
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +28 -28
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +28 -28
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +20 -20
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +9 -9
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +11 -11
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +32 -32
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +31 -31
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +5 -5
- data/proto_docs/google/cloud/compute/v1/compute.rb +331 -13
- metadata +2 -2
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetPools service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -464,9 +464,9 @@ module Google
|
|
464
464
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/addHealthCheck",
|
465
465
|
body: "target_pools_add_health_check_request_resource",
|
466
466
|
matches: [
|
467
|
-
["project", %r{[^/]
|
468
|
-
["region", %r{[^/]
|
469
|
-
["target_pool", %r{[^/]
|
467
|
+
["project", %r{^[^/]+/?$}, false],
|
468
|
+
["region", %r{^[^/]+/?$}, false],
|
469
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
470
470
|
]
|
471
471
|
)
|
472
472
|
transcoder.transcode request_pb
|
@@ -488,9 +488,9 @@ module Google
|
|
488
488
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/addInstance",
|
489
489
|
body: "target_pools_add_instance_request_resource",
|
490
490
|
matches: [
|
491
|
-
["project", %r{[^/]
|
492
|
-
["region", %r{[^/]
|
493
|
-
["target_pool", %r{[^/]
|
491
|
+
["project", %r{^[^/]+/?$}, false],
|
492
|
+
["region", %r{^[^/]+/?$}, false],
|
493
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
494
494
|
]
|
495
495
|
)
|
496
496
|
transcoder.transcode request_pb
|
@@ -511,7 +511,7 @@ module Google
|
|
511
511
|
uri_method: :get,
|
512
512
|
uri_template: "/compute/v1/projects/{project}/aggregated/targetPools",
|
513
513
|
matches: [
|
514
|
-
["project", %r{[^/]
|
514
|
+
["project", %r{^[^/]+/?$}, false]
|
515
515
|
]
|
516
516
|
)
|
517
517
|
transcoder.transcode request_pb
|
@@ -532,9 +532,9 @@ module Google
|
|
532
532
|
uri_method: :delete,
|
533
533
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}",
|
534
534
|
matches: [
|
535
|
-
["project", %r{[^/]
|
536
|
-
["region", %r{[^/]
|
537
|
-
["target_pool", %r{[^/]
|
535
|
+
["project", %r{^[^/]+/?$}, false],
|
536
|
+
["region", %r{^[^/]+/?$}, false],
|
537
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
538
538
|
]
|
539
539
|
)
|
540
540
|
transcoder.transcode request_pb
|
@@ -555,9 +555,9 @@ module Google
|
|
555
555
|
uri_method: :get,
|
556
556
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}",
|
557
557
|
matches: [
|
558
|
-
["project", %r{[^/]
|
559
|
-
["region", %r{[^/]
|
560
|
-
["target_pool", %r{[^/]
|
558
|
+
["project", %r{^[^/]+/?$}, false],
|
559
|
+
["region", %r{^[^/]+/?$}, false],
|
560
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
561
561
|
]
|
562
562
|
)
|
563
563
|
transcoder.transcode request_pb
|
@@ -579,9 +579,9 @@ module Google
|
|
579
579
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/getHealth",
|
580
580
|
body: "instance_reference_resource",
|
581
581
|
matches: [
|
582
|
-
["project", %r{[^/]
|
583
|
-
["region", %r{[^/]
|
584
|
-
["target_pool", %r{[^/]
|
582
|
+
["project", %r{^[^/]+/?$}, false],
|
583
|
+
["region", %r{^[^/]+/?$}, false],
|
584
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
585
585
|
]
|
586
586
|
)
|
587
587
|
transcoder.transcode request_pb
|
@@ -603,8 +603,8 @@ module Google
|
|
603
603
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools",
|
604
604
|
body: "target_pool_resource",
|
605
605
|
matches: [
|
606
|
-
["project", %r{[^/]
|
607
|
-
["region", %r{[^/]
|
606
|
+
["project", %r{^[^/]+/?$}, false],
|
607
|
+
["region", %r{^[^/]+/?$}, false]
|
608
608
|
]
|
609
609
|
)
|
610
610
|
transcoder.transcode request_pb
|
@@ -625,8 +625,8 @@ module Google
|
|
625
625
|
uri_method: :get,
|
626
626
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools",
|
627
627
|
matches: [
|
628
|
-
["project", %r{[^/]
|
629
|
-
["region", %r{[^/]
|
628
|
+
["project", %r{^[^/]+/?$}, false],
|
629
|
+
["region", %r{^[^/]+/?$}, false]
|
630
630
|
]
|
631
631
|
)
|
632
632
|
transcoder.transcode request_pb
|
@@ -648,9 +648,9 @@ module Google
|
|
648
648
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/removeHealthCheck",
|
649
649
|
body: "target_pools_remove_health_check_request_resource",
|
650
650
|
matches: [
|
651
|
-
["project", %r{[^/]
|
652
|
-
["region", %r{[^/]
|
653
|
-
["target_pool", %r{[^/]
|
651
|
+
["project", %r{^[^/]+/?$}, false],
|
652
|
+
["region", %r{^[^/]+/?$}, false],
|
653
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
654
654
|
]
|
655
655
|
)
|
656
656
|
transcoder.transcode request_pb
|
@@ -672,9 +672,9 @@ module Google
|
|
672
672
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/removeInstance",
|
673
673
|
body: "target_pools_remove_instance_request_resource",
|
674
674
|
matches: [
|
675
|
-
["project", %r{[^/]
|
676
|
-
["region", %r{[^/]
|
677
|
-
["target_pool", %r{[^/]
|
675
|
+
["project", %r{^[^/]+/?$}, false],
|
676
|
+
["region", %r{^[^/]+/?$}, false],
|
677
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
678
678
|
]
|
679
679
|
)
|
680
680
|
transcoder.transcode request_pb
|
@@ -696,9 +696,9 @@ module Google
|
|
696
696
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/setBackup",
|
697
697
|
body: "target_reference_resource",
|
698
698
|
matches: [
|
699
|
-
["project", %r{[^/]
|
700
|
-
["region", %r{[^/]
|
701
|
-
["target_pool", %r{[^/]
|
699
|
+
["project", %r{^[^/]+/?$}, false],
|
700
|
+
["region", %r{^[^/]+/?$}, false],
|
701
|
+
["target_pool", %r{^[^/]+/?$}, false]
|
702
702
|
]
|
703
703
|
)
|
704
704
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetSslProxies service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -389,8 +389,8 @@ module Google
|
|
389
389
|
uri_method: :delete,
|
390
390
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
393
|
-
["target_ssl_proxy", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false],
|
393
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
394
394
|
]
|
395
395
|
)
|
396
396
|
transcoder.transcode request_pb
|
@@ -411,8 +411,8 @@ module Google
|
|
411
411
|
uri_method: :get,
|
412
412
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}",
|
413
413
|
matches: [
|
414
|
-
["project", %r{[^/]
|
415
|
-
["target_ssl_proxy", %r{[^/]
|
414
|
+
["project", %r{^[^/]+/?$}, false],
|
415
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
416
416
|
]
|
417
417
|
)
|
418
418
|
transcoder.transcode request_pb
|
@@ -434,7 +434,7 @@ module Google
|
|
434
434
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies",
|
435
435
|
body: "target_ssl_proxy_resource",
|
436
436
|
matches: [
|
437
|
-
["project", %r{[^/]
|
437
|
+
["project", %r{^[^/]+/?$}, false]
|
438
438
|
]
|
439
439
|
)
|
440
440
|
transcoder.transcode request_pb
|
@@ -455,7 +455,7 @@ module Google
|
|
455
455
|
uri_method: :get,
|
456
456
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies",
|
457
457
|
matches: [
|
458
|
-
["project", %r{[^/]
|
458
|
+
["project", %r{^[^/]+/?$}, false]
|
459
459
|
]
|
460
460
|
)
|
461
461
|
transcoder.transcode request_pb
|
@@ -477,8 +477,8 @@ module Google
|
|
477
477
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}/setBackendService",
|
478
478
|
body: "target_ssl_proxies_set_backend_service_request_resource",
|
479
479
|
matches: [
|
480
|
-
["project", %r{[^/]
|
481
|
-
["target_ssl_proxy", %r{[^/]
|
480
|
+
["project", %r{^[^/]+/?$}, false],
|
481
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
482
482
|
]
|
483
483
|
)
|
484
484
|
transcoder.transcode request_pb
|
@@ -500,8 +500,8 @@ module Google
|
|
500
500
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}/setCertificateMap",
|
501
501
|
body: "target_ssl_proxies_set_certificate_map_request_resource",
|
502
502
|
matches: [
|
503
|
-
["project", %r{[^/]
|
504
|
-
["target_ssl_proxy", %r{[^/]
|
503
|
+
["project", %r{^[^/]+/?$}, false],
|
504
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
505
505
|
]
|
506
506
|
)
|
507
507
|
transcoder.transcode request_pb
|
@@ -523,8 +523,8 @@ module Google
|
|
523
523
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}/setProxyHeader",
|
524
524
|
body: "target_ssl_proxies_set_proxy_header_request_resource",
|
525
525
|
matches: [
|
526
|
-
["project", %r{[^/]
|
527
|
-
["target_ssl_proxy", %r{[^/]
|
526
|
+
["project", %r{^[^/]+/?$}, false],
|
527
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
528
528
|
]
|
529
529
|
)
|
530
530
|
transcoder.transcode request_pb
|
@@ -546,8 +546,8 @@ module Google
|
|
546
546
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}/setSslCertificates",
|
547
547
|
body: "target_ssl_proxies_set_ssl_certificates_request_resource",
|
548
548
|
matches: [
|
549
|
-
["project", %r{[^/]
|
550
|
-
["target_ssl_proxy", %r{[^/]
|
549
|
+
["project", %r{^[^/]+/?$}, false],
|
550
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
551
551
|
]
|
552
552
|
)
|
553
553
|
transcoder.transcode request_pb
|
@@ -569,8 +569,8 @@ module Google
|
|
569
569
|
uri_template: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}/setSslPolicy",
|
570
570
|
body: "ssl_policy_reference_resource",
|
571
571
|
matches: [
|
572
|
-
["project", %r{[^/]
|
573
|
-
["target_ssl_proxy", %r{[^/]
|
572
|
+
["project", %r{^[^/]+/?$}, false],
|
573
|
+
["target_ssl_proxy", %r{^[^/]+/?$}, false]
|
574
574
|
]
|
575
575
|
)
|
576
576
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetTcpProxies service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -278,8 +278,8 @@ module Google
|
|
278
278
|
uri_method: :delete,
|
279
279
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies/{target_tcp_proxy}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["target_tcp_proxy", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["target_tcp_proxy", %r{^[^/]+/?$}, false]
|
283
283
|
]
|
284
284
|
)
|
285
285
|
transcoder.transcode request_pb
|
@@ -300,8 +300,8 @@ module Google
|
|
300
300
|
uri_method: :get,
|
301
301
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies/{target_tcp_proxy}",
|
302
302
|
matches: [
|
303
|
-
["project", %r{[^/]
|
304
|
-
["target_tcp_proxy", %r{[^/]
|
303
|
+
["project", %r{^[^/]+/?$}, false],
|
304
|
+
["target_tcp_proxy", %r{^[^/]+/?$}, false]
|
305
305
|
]
|
306
306
|
)
|
307
307
|
transcoder.transcode request_pb
|
@@ -323,7 +323,7 @@ module Google
|
|
323
323
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies",
|
324
324
|
body: "target_tcp_proxy_resource",
|
325
325
|
matches: [
|
326
|
-
["project", %r{[^/]
|
326
|
+
["project", %r{^[^/]+/?$}, false]
|
327
327
|
]
|
328
328
|
)
|
329
329
|
transcoder.transcode request_pb
|
@@ -344,7 +344,7 @@ module Google
|
|
344
344
|
uri_method: :get,
|
345
345
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies",
|
346
346
|
matches: [
|
347
|
-
["project", %r{[^/]
|
347
|
+
["project", %r{^[^/]+/?$}, false]
|
348
348
|
]
|
349
349
|
)
|
350
350
|
transcoder.transcode request_pb
|
@@ -366,8 +366,8 @@ module Google
|
|
366
366
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies/{target_tcp_proxy}/setBackendService",
|
367
367
|
body: "target_tcp_proxies_set_backend_service_request_resource",
|
368
368
|
matches: [
|
369
|
-
["project", %r{[^/]
|
370
|
-
["target_tcp_proxy", %r{[^/]
|
369
|
+
["project", %r{^[^/]+/?$}, false],
|
370
|
+
["target_tcp_proxy", %r{^[^/]+/?$}, false]
|
371
371
|
]
|
372
372
|
)
|
373
373
|
transcoder.transcode request_pb
|
@@ -389,8 +389,8 @@ module Google
|
|
389
389
|
uri_template: "/compute/v1/projects/{project}/global/targetTcpProxies/{target_tcp_proxy}/setProxyHeader",
|
390
390
|
body: "target_tcp_proxies_set_proxy_header_request_resource",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
393
|
-
["target_tcp_proxy", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false],
|
393
|
+
["target_tcp_proxy", %r{^[^/]+/?$}, false]
|
394
394
|
]
|
395
395
|
)
|
396
396
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetVpnGateways service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -241,7 +241,7 @@ module Google
|
|
241
241
|
uri_method: :get,
|
242
242
|
uri_template: "/compute/v1/projects/{project}/aggregated/targetVpnGateways",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false]
|
245
245
|
]
|
246
246
|
)
|
247
247
|
transcoder.transcode request_pb
|
@@ -262,9 +262,9 @@ module Google
|
|
262
262
|
uri_method: :delete,
|
263
263
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{target_vpn_gateway}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["region", %r{[^/]
|
267
|
-
["target_vpn_gateway", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["region", %r{^[^/]+/?$}, false],
|
267
|
+
["target_vpn_gateway", %r{^[^/]+/?$}, false]
|
268
268
|
]
|
269
269
|
)
|
270
270
|
transcoder.transcode request_pb
|
@@ -285,9 +285,9 @@ module Google
|
|
285
285
|
uri_method: :get,
|
286
286
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{target_vpn_gateway}",
|
287
287
|
matches: [
|
288
|
-
["project", %r{[^/]
|
289
|
-
["region", %r{[^/]
|
290
|
-
["target_vpn_gateway", %r{[^/]
|
288
|
+
["project", %r{^[^/]+/?$}, false],
|
289
|
+
["region", %r{^[^/]+/?$}, false],
|
290
|
+
["target_vpn_gateway", %r{^[^/]+/?$}, false]
|
291
291
|
]
|
292
292
|
)
|
293
293
|
transcoder.transcode request_pb
|
@@ -309,8 +309,8 @@ module Google
|
|
309
309
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetVpnGateways",
|
310
310
|
body: "target_vpn_gateway_resource",
|
311
311
|
matches: [
|
312
|
-
["project", %r{[^/]
|
313
|
-
["region", %r{[^/]
|
312
|
+
["project", %r{^[^/]+/?$}, false],
|
313
|
+
["region", %r{^[^/]+/?$}, false]
|
314
314
|
]
|
315
315
|
)
|
316
316
|
transcoder.transcode request_pb
|
@@ -331,8 +331,8 @@ module Google
|
|
331
331
|
uri_method: :get,
|
332
332
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetVpnGateways",
|
333
333
|
matches: [
|
334
|
-
["project", %r{[^/]
|
335
|
-
["region", %r{[^/]
|
334
|
+
["project", %r{^[^/]+/?$}, false],
|
335
|
+
["region", %r{^[^/]+/?$}, false]
|
336
336
|
]
|
337
337
|
)
|
338
338
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the UrlMaps service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -389,7 +389,7 @@ module Google
|
|
389
389
|
uri_method: :get,
|
390
390
|
uri_template: "/compute/v1/projects/{project}/aggregated/urlMaps",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false]
|
393
393
|
]
|
394
394
|
)
|
395
395
|
transcoder.transcode request_pb
|
@@ -410,8 +410,8 @@ module Google
|
|
410
410
|
uri_method: :delete,
|
411
411
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}",
|
412
412
|
matches: [
|
413
|
-
["project", %r{[^/]
|
414
|
-
["url_map", %r{[^/]
|
413
|
+
["project", %r{^[^/]+/?$}, false],
|
414
|
+
["url_map", %r{^[^/]+/?$}, false]
|
415
415
|
]
|
416
416
|
)
|
417
417
|
transcoder.transcode request_pb
|
@@ -432,8 +432,8 @@ module Google
|
|
432
432
|
uri_method: :get,
|
433
433
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}",
|
434
434
|
matches: [
|
435
|
-
["project", %r{[^/]
|
436
|
-
["url_map", %r{[^/]
|
435
|
+
["project", %r{^[^/]+/?$}, false],
|
436
|
+
["url_map", %r{^[^/]+/?$}, false]
|
437
437
|
]
|
438
438
|
)
|
439
439
|
transcoder.transcode request_pb
|
@@ -455,7 +455,7 @@ module Google
|
|
455
455
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps",
|
456
456
|
body: "url_map_resource",
|
457
457
|
matches: [
|
458
|
-
["project", %r{[^/]
|
458
|
+
["project", %r{^[^/]+/?$}, false]
|
459
459
|
]
|
460
460
|
)
|
461
461
|
transcoder.transcode request_pb
|
@@ -477,8 +477,8 @@ module Google
|
|
477
477
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}/invalidateCache",
|
478
478
|
body: "cache_invalidation_rule_resource",
|
479
479
|
matches: [
|
480
|
-
["project", %r{[^/]
|
481
|
-
["url_map", %r{[^/]
|
480
|
+
["project", %r{^[^/]+/?$}, false],
|
481
|
+
["url_map", %r{^[^/]+/?$}, false]
|
482
482
|
]
|
483
483
|
)
|
484
484
|
transcoder.transcode request_pb
|
@@ -499,7 +499,7 @@ module Google
|
|
499
499
|
uri_method: :get,
|
500
500
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps",
|
501
501
|
matches: [
|
502
|
-
["project", %r{[^/]
|
502
|
+
["project", %r{^[^/]+/?$}, false]
|
503
503
|
]
|
504
504
|
)
|
505
505
|
transcoder.transcode request_pb
|
@@ -521,8 +521,8 @@ module Google
|
|
521
521
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}",
|
522
522
|
body: "url_map_resource",
|
523
523
|
matches: [
|
524
|
-
["project", %r{[^/]
|
525
|
-
["url_map", %r{[^/]
|
524
|
+
["project", %r{^[^/]+/?$}, false],
|
525
|
+
["url_map", %r{^[^/]+/?$}, false]
|
526
526
|
]
|
527
527
|
)
|
528
528
|
transcoder.transcode request_pb
|
@@ -544,8 +544,8 @@ module Google
|
|
544
544
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}",
|
545
545
|
body: "url_map_resource",
|
546
546
|
matches: [
|
547
|
-
["project", %r{[^/]
|
548
|
-
["url_map", %r{[^/]
|
547
|
+
["project", %r{^[^/]+/?$}, false],
|
548
|
+
["url_map", %r{^[^/]+/?$}, false]
|
549
549
|
]
|
550
550
|
)
|
551
551
|
transcoder.transcode request_pb
|
@@ -567,8 +567,8 @@ module Google
|
|
567
567
|
uri_template: "/compute/v1/projects/{project}/global/urlMaps/{url_map}/validate",
|
568
568
|
body: "url_maps_validate_request_resource",
|
569
569
|
matches: [
|
570
|
-
["project", %r{[^/]
|
571
|
-
["url_map", %r{[^/]
|
570
|
+
["project", %r{^[^/]+/?$}, false],
|
571
|
+
["url_map", %r{^[^/]+/?$}, false]
|
572
572
|
]
|
573
573
|
)
|
574
574
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the VpnGateways service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
uri_method: :get,
|
353
353
|
uri_template: "/compute/v1/projects/{project}/aggregated/vpnGateways",
|
354
354
|
matches: [
|
355
|
-
["project", %r{[^/]
|
355
|
+
["project", %r{^[^/]+/?$}, false]
|
356
356
|
]
|
357
357
|
)
|
358
358
|
transcoder.transcode request_pb
|
@@ -373,9 +373,9 @@ module Google
|
|
373
373
|
uri_method: :delete,
|
374
374
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}",
|
375
375
|
matches: [
|
376
|
-
["project", %r{[^/]
|
377
|
-
["region", %r{[^/]
|
378
|
-
["vpn_gateway", %r{[^/]
|
376
|
+
["project", %r{^[^/]+/?$}, false],
|
377
|
+
["region", %r{^[^/]+/?$}, false],
|
378
|
+
["vpn_gateway", %r{^[^/]+/?$}, false]
|
379
379
|
]
|
380
380
|
)
|
381
381
|
transcoder.transcode request_pb
|
@@ -396,9 +396,9 @@ module Google
|
|
396
396
|
uri_method: :get,
|
397
397
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["region", %r{[^/]
|
401
|
-
["vpn_gateway", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["region", %r{^[^/]+/?$}, false],
|
401
|
+
["vpn_gateway", %r{^[^/]+/?$}, false]
|
402
402
|
]
|
403
403
|
)
|
404
404
|
transcoder.transcode request_pb
|
@@ -419,9 +419,9 @@ module Google
|
|
419
419
|
uri_method: :get,
|
420
420
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}/getStatus",
|
421
421
|
matches: [
|
422
|
-
["project", %r{[^/]
|
423
|
-
["region", %r{[^/]
|
424
|
-
["vpn_gateway", %r{[^/]
|
422
|
+
["project", %r{^[^/]+/?$}, false],
|
423
|
+
["region", %r{^[^/]+/?$}, false],
|
424
|
+
["vpn_gateway", %r{^[^/]+/?$}, false]
|
425
425
|
]
|
426
426
|
)
|
427
427
|
transcoder.transcode request_pb
|
@@ -443,8 +443,8 @@ module Google
|
|
443
443
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways",
|
444
444
|
body: "vpn_gateway_resource",
|
445
445
|
matches: [
|
446
|
-
["project", %r{[^/]
|
447
|
-
["region", %r{[^/]
|
446
|
+
["project", %r{^[^/]+/?$}, false],
|
447
|
+
["region", %r{^[^/]+/?$}, false]
|
448
448
|
]
|
449
449
|
)
|
450
450
|
transcoder.transcode request_pb
|
@@ -465,8 +465,8 @@ module Google
|
|
465
465
|
uri_method: :get,
|
466
466
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways",
|
467
467
|
matches: [
|
468
|
-
["project", %r{[^/]
|
469
|
-
["region", %r{[^/]
|
468
|
+
["project", %r{^[^/]+/?$}, false],
|
469
|
+
["region", %r{^[^/]+/?$}, false]
|
470
470
|
]
|
471
471
|
)
|
472
472
|
transcoder.transcode request_pb
|
@@ -488,9 +488,9 @@ module Google
|
|
488
488
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels",
|
489
489
|
body: "region_set_labels_request_resource",
|
490
490
|
matches: [
|
491
|
-
["project", %r{[^/]
|
492
|
-
["region", %r{[^/]
|
493
|
-
["resource", %r{[^/]
|
491
|
+
["project", %r{^[^/]+/?$}, false],
|
492
|
+
["region", %r{^[^/]+/?$}, false],
|
493
|
+
["resource", %r{^[^/]+/?$}, false]
|
494
494
|
]
|
495
495
|
)
|
496
496
|
transcoder.transcode request_pb
|
@@ -512,9 +512,9 @@ module Google
|
|
512
512
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions",
|
513
513
|
body: "test_permissions_request_resource",
|
514
514
|
matches: [
|
515
|
-
["project", %r{[^/]
|
516
|
-
["region", %r{[^/]
|
517
|
-
["resource", %r{[^/]
|
515
|
+
["project", %r{^[^/]+/?$}, false],
|
516
|
+
["region", %r{^[^/]+/?$}, false],
|
517
|
+
["resource", %r{^[^/]+/?$}, false]
|
518
518
|
]
|
519
519
|
)
|
520
520
|
transcoder.transcode request_pb
|