google-cloud-compute-v1 1.5.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/addresses/rest/client.rb +87 -0
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +74 -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/client.rb +151 -0
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +142 -23
- data/lib/google/cloud/compute/v1/compute_pb.rb +357 -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/client.rb +82 -0
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +68 -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/client.rb +87 -0
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +77 -16
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +82 -0
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +72 -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/client.rb +155 -0
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +142 -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_ssl_policies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +759 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +408 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/region_ssl_policies.rb +47 -0
- 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_target_tcp_proxies/credentials.rb +52 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +587 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +288 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +33 -0
- data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +47 -0
- 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/client.rb +82 -0
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +80 -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/client.rb +86 -0
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +69 -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/client.rb +87 -0
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +74 -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/client.rb +87 -0
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +74 -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/lib/google/cloud/compute/v1.rb +2 -0
- data/proto_docs/google/cloud/compute/v1/compute.rb +968 -39
- metadata +12 -2
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Networks 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,8 +464,8 @@ module Google
|
|
464
464
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/addPeering",
|
465
465
|
body: "networks_add_peering_request_resource",
|
466
466
|
matches: [
|
467
|
-
["project", %r{[^/]
|
468
|
-
["network", %r{[^/]
|
467
|
+
["project", %r{^[^/]+/?$}, false],
|
468
|
+
["network", %r{^[^/]+/?$}, false]
|
469
469
|
]
|
470
470
|
)
|
471
471
|
transcoder.transcode request_pb
|
@@ -486,8 +486,8 @@ module Google
|
|
486
486
|
uri_method: :delete,
|
487
487
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}",
|
488
488
|
matches: [
|
489
|
-
["project", %r{[^/]
|
490
|
-
["network", %r{[^/]
|
489
|
+
["project", %r{^[^/]+/?$}, false],
|
490
|
+
["network", %r{^[^/]+/?$}, false]
|
491
491
|
]
|
492
492
|
)
|
493
493
|
transcoder.transcode request_pb
|
@@ -508,8 +508,8 @@ module Google
|
|
508
508
|
uri_method: :get,
|
509
509
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}",
|
510
510
|
matches: [
|
511
|
-
["project", %r{[^/]
|
512
|
-
["network", %r{[^/]
|
511
|
+
["project", %r{^[^/]+/?$}, false],
|
512
|
+
["network", %r{^[^/]+/?$}, false]
|
513
513
|
]
|
514
514
|
)
|
515
515
|
transcoder.transcode request_pb
|
@@ -530,8 +530,8 @@ module Google
|
|
530
530
|
uri_method: :get,
|
531
531
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/getEffectiveFirewalls",
|
532
532
|
matches: [
|
533
|
-
["project", %r{[^/]
|
534
|
-
["network", %r{[^/]
|
533
|
+
["project", %r{^[^/]+/?$}, false],
|
534
|
+
["network", %r{^[^/]+/?$}, false]
|
535
535
|
]
|
536
536
|
)
|
537
537
|
transcoder.transcode request_pb
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
uri_template: "/compute/v1/projects/{project}/global/networks",
|
554
554
|
body: "network_resource",
|
555
555
|
matches: [
|
556
|
-
["project", %r{[^/]
|
556
|
+
["project", %r{^[^/]+/?$}, false]
|
557
557
|
]
|
558
558
|
)
|
559
559
|
transcoder.transcode request_pb
|
@@ -574,7 +574,7 @@ module Google
|
|
574
574
|
uri_method: :get,
|
575
575
|
uri_template: "/compute/v1/projects/{project}/global/networks",
|
576
576
|
matches: [
|
577
|
-
["project", %r{[^/]
|
577
|
+
["project", %r{^[^/]+/?$}, false]
|
578
578
|
]
|
579
579
|
)
|
580
580
|
transcoder.transcode request_pb
|
@@ -595,8 +595,8 @@ module Google
|
|
595
595
|
uri_method: :get,
|
596
596
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/listPeeringRoutes",
|
597
597
|
matches: [
|
598
|
-
["project", %r{[^/]
|
599
|
-
["network", %r{[^/]
|
598
|
+
["project", %r{^[^/]+/?$}, false],
|
599
|
+
["network", %r{^[^/]+/?$}, false]
|
600
600
|
]
|
601
601
|
)
|
602
602
|
transcoder.transcode request_pb
|
@@ -618,8 +618,8 @@ module Google
|
|
618
618
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}",
|
619
619
|
body: "network_resource",
|
620
620
|
matches: [
|
621
|
-
["project", %r{[^/]
|
622
|
-
["network", %r{[^/]
|
621
|
+
["project", %r{^[^/]+/?$}, false],
|
622
|
+
["network", %r{^[^/]+/?$}, false]
|
623
623
|
]
|
624
624
|
)
|
625
625
|
transcoder.transcode request_pb
|
@@ -641,8 +641,8 @@ module Google
|
|
641
641
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/removePeering",
|
642
642
|
body: "networks_remove_peering_request_resource",
|
643
643
|
matches: [
|
644
|
-
["project", %r{[^/]
|
645
|
-
["network", %r{[^/]
|
644
|
+
["project", %r{^[^/]+/?$}, false],
|
645
|
+
["network", %r{^[^/]+/?$}, false]
|
646
646
|
]
|
647
647
|
)
|
648
648
|
transcoder.transcode request_pb
|
@@ -663,8 +663,8 @@ module Google
|
|
663
663
|
uri_method: :post,
|
664
664
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/switchToCustomMode",
|
665
665
|
matches: [
|
666
|
-
["project", %r{[^/]
|
667
|
-
["network", %r{[^/]
|
666
|
+
["project", %r{^[^/]+/?$}, false],
|
667
|
+
["network", %r{^[^/]+/?$}, false]
|
668
668
|
]
|
669
669
|
)
|
670
670
|
transcoder.transcode request_pb
|
@@ -686,8 +686,8 @@ module Google
|
|
686
686
|
uri_template: "/compute/v1/projects/{project}/global/networks/{network}/updatePeering",
|
687
687
|
body: "networks_update_peering_request_resource",
|
688
688
|
matches: [
|
689
|
-
["project", %r{[^/]
|
690
|
-
["network", %r{[^/]
|
689
|
+
["project", %r{^[^/]+/?$}, false],
|
690
|
+
["network", %r{^[^/]+/?$}, false]
|
691
691
|
]
|
692
692
|
)
|
693
693
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the NodeGroups 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:
|
@@ -538,9 +538,9 @@ module Google
|
|
538
538
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/addNodes",
|
539
539
|
body: "node_groups_add_nodes_request_resource",
|
540
540
|
matches: [
|
541
|
-
["project", %r{[^/]
|
542
|
-
["zone", %r{[^/]
|
543
|
-
["node_group", %r{[^/]
|
541
|
+
["project", %r{^[^/]+/?$}, false],
|
542
|
+
["zone", %r{^[^/]+/?$}, false],
|
543
|
+
["node_group", %r{^[^/]+/?$}, false]
|
544
544
|
]
|
545
545
|
)
|
546
546
|
transcoder.transcode request_pb
|
@@ -561,7 +561,7 @@ module Google
|
|
561
561
|
uri_method: :get,
|
562
562
|
uri_template: "/compute/v1/projects/{project}/aggregated/nodeGroups",
|
563
563
|
matches: [
|
564
|
-
["project", %r{[^/]
|
564
|
+
["project", %r{^[^/]+/?$}, false]
|
565
565
|
]
|
566
566
|
)
|
567
567
|
transcoder.transcode request_pb
|
@@ -582,9 +582,9 @@ module Google
|
|
582
582
|
uri_method: :delete,
|
583
583
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}",
|
584
584
|
matches: [
|
585
|
-
["project", %r{[^/]
|
586
|
-
["zone", %r{[^/]
|
587
|
-
["node_group", %r{[^/]
|
585
|
+
["project", %r{^[^/]+/?$}, false],
|
586
|
+
["zone", %r{^[^/]+/?$}, false],
|
587
|
+
["node_group", %r{^[^/]+/?$}, false]
|
588
588
|
]
|
589
589
|
)
|
590
590
|
transcoder.transcode request_pb
|
@@ -606,9 +606,9 @@ module Google
|
|
606
606
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/deleteNodes",
|
607
607
|
body: "node_groups_delete_nodes_request_resource",
|
608
608
|
matches: [
|
609
|
-
["project", %r{[^/]
|
610
|
-
["zone", %r{[^/]
|
611
|
-
["node_group", %r{[^/]
|
609
|
+
["project", %r{^[^/]+/?$}, false],
|
610
|
+
["zone", %r{^[^/]+/?$}, false],
|
611
|
+
["node_group", %r{^[^/]+/?$}, false]
|
612
612
|
]
|
613
613
|
)
|
614
614
|
transcoder.transcode request_pb
|
@@ -629,9 +629,9 @@ module Google
|
|
629
629
|
uri_method: :get,
|
630
630
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}",
|
631
631
|
matches: [
|
632
|
-
["project", %r{[^/]
|
633
|
-
["zone", %r{[^/]
|
634
|
-
["node_group", %r{[^/]
|
632
|
+
["project", %r{^[^/]+/?$}, false],
|
633
|
+
["zone", %r{^[^/]+/?$}, false],
|
634
|
+
["node_group", %r{^[^/]+/?$}, false]
|
635
635
|
]
|
636
636
|
)
|
637
637
|
transcoder.transcode request_pb
|
@@ -652,9 +652,9 @@ module Google
|
|
652
652
|
uri_method: :get,
|
653
653
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy",
|
654
654
|
matches: [
|
655
|
-
["project", %r{[^/]
|
656
|
-
["zone", %r{[^/]
|
657
|
-
["resource", %r{[^/]
|
655
|
+
["project", %r{^[^/]+/?$}, false],
|
656
|
+
["zone", %r{^[^/]+/?$}, false],
|
657
|
+
["resource", %r{^[^/]+/?$}, false]
|
658
658
|
]
|
659
659
|
)
|
660
660
|
transcoder.transcode request_pb
|
@@ -676,8 +676,8 @@ module Google
|
|
676
676
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups",
|
677
677
|
body: "node_group_resource",
|
678
678
|
matches: [
|
679
|
-
["project", %r{[^/]
|
680
|
-
["zone", %r{[^/]
|
679
|
+
["project", %r{^[^/]+/?$}, false],
|
680
|
+
["zone", %r{^[^/]+/?$}, false]
|
681
681
|
]
|
682
682
|
)
|
683
683
|
transcoder.transcode request_pb
|
@@ -698,8 +698,8 @@ module Google
|
|
698
698
|
uri_method: :get,
|
699
699
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups",
|
700
700
|
matches: [
|
701
|
-
["project", %r{[^/]
|
702
|
-
["zone", %r{[^/]
|
701
|
+
["project", %r{^[^/]+/?$}, false],
|
702
|
+
["zone", %r{^[^/]+/?$}, false]
|
703
703
|
]
|
704
704
|
)
|
705
705
|
transcoder.transcode request_pb
|
@@ -720,9 +720,9 @@ module Google
|
|
720
720
|
uri_method: :post,
|
721
721
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/listNodes",
|
722
722
|
matches: [
|
723
|
-
["project", %r{[^/]
|
724
|
-
["zone", %r{[^/]
|
725
|
-
["node_group", %r{[^/]
|
723
|
+
["project", %r{^[^/]+/?$}, false],
|
724
|
+
["zone", %r{^[^/]+/?$}, false],
|
725
|
+
["node_group", %r{^[^/]+/?$}, false]
|
726
726
|
]
|
727
727
|
)
|
728
728
|
transcoder.transcode request_pb
|
@@ -744,9 +744,9 @@ module Google
|
|
744
744
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}",
|
745
745
|
body: "node_group_resource",
|
746
746
|
matches: [
|
747
|
-
["project", %r{[^/]
|
748
|
-
["zone", %r{[^/]
|
749
|
-
["node_group", %r{[^/]
|
747
|
+
["project", %r{^[^/]+/?$}, false],
|
748
|
+
["zone", %r{^[^/]+/?$}, false],
|
749
|
+
["node_group", %r{^[^/]+/?$}, false]
|
750
750
|
]
|
751
751
|
)
|
752
752
|
transcoder.transcode request_pb
|
@@ -768,9 +768,9 @@ module Google
|
|
768
768
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy",
|
769
769
|
body: "zone_set_policy_request_resource",
|
770
770
|
matches: [
|
771
|
-
["project", %r{[^/]
|
772
|
-
["zone", %r{[^/]
|
773
|
-
["resource", %r{[^/]
|
771
|
+
["project", %r{^[^/]+/?$}, false],
|
772
|
+
["zone", %r{^[^/]+/?$}, false],
|
773
|
+
["resource", %r{^[^/]+/?$}, false]
|
774
774
|
]
|
775
775
|
)
|
776
776
|
transcoder.transcode request_pb
|
@@ -792,9 +792,9 @@ module Google
|
|
792
792
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/setNodeTemplate",
|
793
793
|
body: "node_groups_set_node_template_request_resource",
|
794
794
|
matches: [
|
795
|
-
["project", %r{[^/]
|
796
|
-
["zone", %r{[^/]
|
797
|
-
["node_group", %r{[^/]
|
795
|
+
["project", %r{^[^/]+/?$}, false],
|
796
|
+
["zone", %r{^[^/]+/?$}, false],
|
797
|
+
["node_group", %r{^[^/]+/?$}, false]
|
798
798
|
]
|
799
799
|
)
|
800
800
|
transcoder.transcode request_pb
|
@@ -816,9 +816,9 @@ module Google
|
|
816
816
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions",
|
817
817
|
body: "test_permissions_request_resource",
|
818
818
|
matches: [
|
819
|
-
["project", %r{[^/]
|
820
|
-
["zone", %r{[^/]
|
821
|
-
["resource", %r{[^/]
|
819
|
+
["project", %r{^[^/]+/?$}, false],
|
820
|
+
["zone", %r{^[^/]+/?$}, false],
|
821
|
+
["resource", %r{^[^/]+/?$}, false]
|
822
822
|
]
|
823
823
|
)
|
824
824
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the NodeTemplates 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/nodeTemplates",
|
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}/nodeTemplates/{node_template}",
|
375
375
|
matches: [
|
376
|
-
["project", %r{[^/]
|
377
|
-
["region", %r{[^/]
|
378
|
-
["node_template", %r{[^/]
|
376
|
+
["project", %r{^[^/]+/?$}, false],
|
377
|
+
["region", %r{^[^/]+/?$}, false],
|
378
|
+
["node_template", %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}/nodeTemplates/{node_template}",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["region", %r{[^/]
|
401
|
-
["node_template", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["region", %r{^[^/]+/?$}, false],
|
401
|
+
["node_template", %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}/nodeTemplates/{resource}/getIamPolicy",
|
421
421
|
matches: [
|
422
|
-
["project", %r{[^/]
|
423
|
-
["region", %r{[^/]
|
424
|
-
["resource", %r{[^/]
|
422
|
+
["project", %r{^[^/]+/?$}, false],
|
423
|
+
["region", %r{^[^/]+/?$}, false],
|
424
|
+
["resource", %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}/nodeTemplates",
|
444
444
|
body: "node_template_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}/nodeTemplates",
|
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}/nodeTemplates/{resource}/setIamPolicy",
|
489
489
|
body: "region_set_policy_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}/nodeTemplates/{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
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the NodeTypes 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:
|
@@ -167,7 +167,7 @@ module Google
|
|
167
167
|
uri_method: :get,
|
168
168
|
uri_template: "/compute/v1/projects/{project}/aggregated/nodeTypes",
|
169
169
|
matches: [
|
170
|
-
["project", %r{[^/]
|
170
|
+
["project", %r{^[^/]+/?$}, false]
|
171
171
|
]
|
172
172
|
)
|
173
173
|
transcoder.transcode request_pb
|
@@ -188,9 +188,9 @@ module Google
|
|
188
188
|
uri_method: :get,
|
189
189
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeTypes/{node_type}",
|
190
190
|
matches: [
|
191
|
-
["project", %r{[^/]
|
192
|
-
["zone", %r{[^/]
|
193
|
-
["node_type", %r{[^/]
|
191
|
+
["project", %r{^[^/]+/?$}, false],
|
192
|
+
["zone", %r{^[^/]+/?$}, false],
|
193
|
+
["node_type", %r{^[^/]+/?$}, false]
|
194
194
|
]
|
195
195
|
)
|
196
196
|
transcoder.transcode request_pb
|
@@ -211,8 +211,8 @@ module Google
|
|
211
211
|
uri_method: :get,
|
212
212
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeTypes",
|
213
213
|
matches: [
|
214
|
-
["project", %r{[^/]
|
215
|
-
["zone", %r{[^/]
|
214
|
+
["project", %r{^[^/]+/?$}, false],
|
215
|
+
["zone", %r{^[^/]+/?$}, false]
|
216
216
|
]
|
217
217
|
)
|
218
218
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the PacketMirrorings 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:
|
@@ -315,7 +315,7 @@ module Google
|
|
315
315
|
uri_method: :get,
|
316
316
|
uri_template: "/compute/v1/projects/{project}/aggregated/packetMirrorings",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false]
|
319
319
|
]
|
320
320
|
)
|
321
321
|
transcoder.transcode request_pb
|
@@ -336,9 +336,9 @@ module Google
|
|
336
336
|
uri_method: :delete,
|
337
337
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
338
338
|
matches: [
|
339
|
-
["project", %r{[^/]
|
340
|
-
["region", %r{[^/]
|
341
|
-
["packet_mirroring", %r{[^/]
|
339
|
+
["project", %r{^[^/]+/?$}, false],
|
340
|
+
["region", %r{^[^/]+/?$}, false],
|
341
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
342
342
|
]
|
343
343
|
)
|
344
344
|
transcoder.transcode request_pb
|
@@ -359,9 +359,9 @@ module Google
|
|
359
359
|
uri_method: :get,
|
360
360
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
361
361
|
matches: [
|
362
|
-
["project", %r{[^/]
|
363
|
-
["region", %r{[^/]
|
364
|
-
["packet_mirroring", %r{[^/]
|
362
|
+
["project", %r{^[^/]+/?$}, false],
|
363
|
+
["region", %r{^[^/]+/?$}, false],
|
364
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
365
365
|
]
|
366
366
|
)
|
367
367
|
transcoder.transcode request_pb
|
@@ -383,8 +383,8 @@ module Google
|
|
383
383
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings",
|
384
384
|
body: "packet_mirroring_resource",
|
385
385
|
matches: [
|
386
|
-
["project", %r{[^/]
|
387
|
-
["region", %r{[^/]
|
386
|
+
["project", %r{^[^/]+/?$}, false],
|
387
|
+
["region", %r{^[^/]+/?$}, false]
|
388
388
|
]
|
389
389
|
)
|
390
390
|
transcoder.transcode request_pb
|
@@ -405,8 +405,8 @@ module Google
|
|
405
405
|
uri_method: :get,
|
406
406
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings",
|
407
407
|
matches: [
|
408
|
-
["project", %r{[^/]
|
409
|
-
["region", %r{[^/]
|
408
|
+
["project", %r{^[^/]+/?$}, false],
|
409
|
+
["region", %r{^[^/]+/?$}, false]
|
410
410
|
]
|
411
411
|
)
|
412
412
|
transcoder.transcode request_pb
|
@@ -428,9 +428,9 @@ module Google
|
|
428
428
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
429
429
|
body: "packet_mirroring_resource",
|
430
430
|
matches: [
|
431
|
-
["project", %r{[^/]
|
432
|
-
["region", %r{[^/]
|
433
|
-
["packet_mirroring", %r{[^/]
|
431
|
+
["project", %r{^[^/]+/?$}, false],
|
432
|
+
["region", %r{^[^/]+/?$}, false],
|
433
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
434
434
|
]
|
435
435
|
)
|
436
436
|
transcoder.transcode request_pb
|
@@ -452,9 +452,9 @@ module Google
|
|
452
452
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions",
|
453
453
|
body: "test_permissions_request_resource",
|
454
454
|
matches: [
|
455
|
-
["project", %r{[^/]
|
456
|
-
["region", %r{[^/]
|
457
|
-
["resource", %r{[^/]
|
455
|
+
["project", %r{^[^/]+/?$}, false],
|
456
|
+
["region", %r{^[^/]+/?$}, false],
|
457
|
+
["resource", %r{^[^/]+/?$}, false]
|
458
458
|
]
|
459
459
|
)
|
460
460
|
transcoder.transcode request_pb
|