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 DiskTypes 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/diskTypes",
|
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}/diskTypes/{disk_type}",
|
190
190
|
matches: [
|
191
|
-
["project", %r{[^/]
|
192
|
-
["zone", %r{[^/]
|
193
|
-
["disk_type", %r{[^/]
|
191
|
+
["project", %r{^[^/]+/?$}, false],
|
192
|
+
["zone", %r{^[^/]+/?$}, false],
|
193
|
+
["disk_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}/diskTypes",
|
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 Disks 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}/disks/{disk}/addResourcePolicies",
|
539
539
|
body: "disks_add_resource_policies_request_resource",
|
540
540
|
matches: [
|
541
|
-
["project", %r{[^/]
|
542
|
-
["zone", %r{[^/]
|
543
|
-
["disk", %r{[^/]
|
541
|
+
["project", %r{^[^/]+/?$}, false],
|
542
|
+
["zone", %r{^[^/]+/?$}, false],
|
543
|
+
["disk", %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/disks",
|
563
563
|
matches: [
|
564
|
-
["project", %r{[^/]
|
564
|
+
["project", %r{^[^/]+/?$}, false]
|
565
565
|
]
|
566
566
|
)
|
567
567
|
transcoder.transcode request_pb
|
@@ -583,9 +583,9 @@ module Google
|
|
583
583
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot",
|
584
584
|
body: "snapshot_resource",
|
585
585
|
matches: [
|
586
|
-
["project", %r{[^/]
|
587
|
-
["zone", %r{[^/]
|
588
|
-
["disk", %r{[^/]
|
586
|
+
["project", %r{^[^/]+/?$}, false],
|
587
|
+
["zone", %r{^[^/]+/?$}, false],
|
588
|
+
["disk", %r{^[^/]+/?$}, false]
|
589
589
|
]
|
590
590
|
)
|
591
591
|
transcoder.transcode request_pb
|
@@ -606,9 +606,9 @@ module Google
|
|
606
606
|
uri_method: :delete,
|
607
607
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}",
|
608
608
|
matches: [
|
609
|
-
["project", %r{[^/]
|
610
|
-
["zone", %r{[^/]
|
611
|
-
["disk", %r{[^/]
|
609
|
+
["project", %r{^[^/]+/?$}, false],
|
610
|
+
["zone", %r{^[^/]+/?$}, false],
|
611
|
+
["disk", %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}/disks/{disk}",
|
631
631
|
matches: [
|
632
|
-
["project", %r{[^/]
|
633
|
-
["zone", %r{[^/]
|
634
|
-
["disk", %r{[^/]
|
632
|
+
["project", %r{^[^/]+/?$}, false],
|
633
|
+
["zone", %r{^[^/]+/?$}, false],
|
634
|
+
["disk", %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}/disks/{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}/disks",
|
677
677
|
body: "disk_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}/disks",
|
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
|
@@ -721,9 +721,9 @@ module Google
|
|
721
721
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies",
|
722
722
|
body: "disks_remove_resource_policies_request_resource",
|
723
723
|
matches: [
|
724
|
-
["project", %r{[^/]
|
725
|
-
["zone", %r{[^/]
|
726
|
-
["disk", %r{[^/]
|
724
|
+
["project", %r{^[^/]+/?$}, false],
|
725
|
+
["zone", %r{^[^/]+/?$}, false],
|
726
|
+
["disk", %r{^[^/]+/?$}, false]
|
727
727
|
]
|
728
728
|
)
|
729
729
|
transcoder.transcode request_pb
|
@@ -745,9 +745,9 @@ module Google
|
|
745
745
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/resize",
|
746
746
|
body: "disks_resize_request_resource",
|
747
747
|
matches: [
|
748
|
-
["project", %r{[^/]
|
749
|
-
["zone", %r{[^/]
|
750
|
-
["disk", %r{[^/]
|
748
|
+
["project", %r{^[^/]+/?$}, false],
|
749
|
+
["zone", %r{^[^/]+/?$}, false],
|
750
|
+
["disk", %r{^[^/]+/?$}, false]
|
751
751
|
]
|
752
752
|
)
|
753
753
|
transcoder.transcode request_pb
|
@@ -769,9 +769,9 @@ module Google
|
|
769
769
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy",
|
770
770
|
body: "zone_set_policy_request_resource",
|
771
771
|
matches: [
|
772
|
-
["project", %r{[^/]
|
773
|
-
["zone", %r{[^/]
|
774
|
-
["resource", %r{[^/]
|
772
|
+
["project", %r{^[^/]+/?$}, false],
|
773
|
+
["zone", %r{^[^/]+/?$}, false],
|
774
|
+
["resource", %r{^[^/]+/?$}, false]
|
775
775
|
]
|
776
776
|
)
|
777
777
|
transcoder.transcode request_pb
|
@@ -793,9 +793,9 @@ module Google
|
|
793
793
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setLabels",
|
794
794
|
body: "zone_set_labels_request_resource",
|
795
795
|
matches: [
|
796
|
-
["project", %r{[^/]
|
797
|
-
["zone", %r{[^/]
|
798
|
-
["resource", %r{[^/]
|
796
|
+
["project", %r{^[^/]+/?$}, false],
|
797
|
+
["zone", %r{^[^/]+/?$}, false],
|
798
|
+
["resource", %r{^[^/]+/?$}, false]
|
799
799
|
]
|
800
800
|
)
|
801
801
|
transcoder.transcode request_pb
|
@@ -817,9 +817,9 @@ module Google
|
|
817
817
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions",
|
818
818
|
body: "test_permissions_request_resource",
|
819
819
|
matches: [
|
820
|
-
["project", %r{[^/]
|
821
|
-
["zone", %r{[^/]
|
822
|
-
["resource", %r{[^/]
|
820
|
+
["project", %r{^[^/]+/?$}, false],
|
821
|
+
["zone", %r{^[^/]+/?$}, false],
|
822
|
+
["resource", %r{^[^/]+/?$}, false]
|
823
823
|
]
|
824
824
|
)
|
825
825
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the ExternalVpnGateways 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/externalVpnGateways/{external_vpn_gateway}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["external_vpn_gateway", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["external_vpn_gateway", %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/externalVpnGateways/{external_vpn_gateway}",
|
302
302
|
matches: [
|
303
|
-
["project", %r{[^/]
|
304
|
-
["external_vpn_gateway", %r{[^/]
|
303
|
+
["project", %r{^[^/]+/?$}, false],
|
304
|
+
["external_vpn_gateway", %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/externalVpnGateways",
|
324
324
|
body: "external_vpn_gateway_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/externalVpnGateways",
|
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/externalVpnGateways/{resource}/setLabels",
|
367
367
|
body: "global_set_labels_request_resource",
|
368
368
|
matches: [
|
369
|
-
["project", %r{[^/]
|
370
|
-
["resource", %r{[^/]
|
369
|
+
["project", %r{^[^/]+/?$}, false],
|
370
|
+
["resource", %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/externalVpnGateways/{resource}/testIamPermissions",
|
390
390
|
body: "test_permissions_request_resource",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
393
|
-
["resource", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false],
|
393
|
+
["resource", %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 FirewallPolicies 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:
|
@@ -723,7 +723,7 @@ module Google
|
|
723
723
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/addAssociation",
|
724
724
|
body: "firewall_policy_association_resource",
|
725
725
|
matches: [
|
726
|
-
["firewall_policy", %r{[^/]
|
726
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
727
727
|
]
|
728
728
|
)
|
729
729
|
transcoder.transcode request_pb
|
@@ -745,7 +745,7 @@ module Google
|
|
745
745
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/addRule",
|
746
746
|
body: "firewall_policy_rule_resource",
|
747
747
|
matches: [
|
748
|
-
["firewall_policy", %r{[^/]
|
748
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
749
749
|
]
|
750
750
|
)
|
751
751
|
transcoder.transcode request_pb
|
@@ -766,7 +766,7 @@ module Google
|
|
766
766
|
uri_method: :post,
|
767
767
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/cloneRules",
|
768
768
|
matches: [
|
769
|
-
["firewall_policy", %r{[^/]
|
769
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
770
770
|
]
|
771
771
|
)
|
772
772
|
transcoder.transcode request_pb
|
@@ -787,7 +787,7 @@ module Google
|
|
787
787
|
uri_method: :delete,
|
788
788
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}",
|
789
789
|
matches: [
|
790
|
-
["firewall_policy", %r{[^/]
|
790
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
791
791
|
]
|
792
792
|
)
|
793
793
|
transcoder.transcode request_pb
|
@@ -808,7 +808,7 @@ module Google
|
|
808
808
|
uri_method: :get,
|
809
809
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}",
|
810
810
|
matches: [
|
811
|
-
["firewall_policy", %r{[^/]
|
811
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
812
812
|
]
|
813
813
|
)
|
814
814
|
transcoder.transcode request_pb
|
@@ -829,7 +829,7 @@ module Google
|
|
829
829
|
uri_method: :get,
|
830
830
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/getAssociation",
|
831
831
|
matches: [
|
832
|
-
["firewall_policy", %r{[^/]
|
832
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
833
833
|
]
|
834
834
|
)
|
835
835
|
transcoder.transcode request_pb
|
@@ -850,7 +850,7 @@ module Google
|
|
850
850
|
uri_method: :get,
|
851
851
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{resource}/getIamPolicy",
|
852
852
|
matches: [
|
853
|
-
["resource", %r{[^/]
|
853
|
+
["resource", %r{^[^/]+/?$}, false]
|
854
854
|
]
|
855
855
|
)
|
856
856
|
transcoder.transcode request_pb
|
@@ -871,7 +871,7 @@ module Google
|
|
871
871
|
uri_method: :get,
|
872
872
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/getRule",
|
873
873
|
matches: [
|
874
|
-
["firewall_policy", %r{[^/]
|
874
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
875
875
|
]
|
876
876
|
)
|
877
877
|
transcoder.transcode request_pb
|
@@ -950,7 +950,7 @@ module Google
|
|
950
950
|
uri_method: :post,
|
951
951
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/move",
|
952
952
|
matches: [
|
953
|
-
["firewall_policy", %r{[^/]
|
953
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
954
954
|
]
|
955
955
|
)
|
956
956
|
transcoder.transcode request_pb
|
@@ -972,7 +972,7 @@ module Google
|
|
972
972
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}",
|
973
973
|
body: "firewall_policy_resource",
|
974
974
|
matches: [
|
975
|
-
["firewall_policy", %r{[^/]
|
975
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
976
976
|
]
|
977
977
|
)
|
978
978
|
transcoder.transcode request_pb
|
@@ -994,7 +994,7 @@ module Google
|
|
994
994
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/patchRule",
|
995
995
|
body: "firewall_policy_rule_resource",
|
996
996
|
matches: [
|
997
|
-
["firewall_policy", %r{[^/]
|
997
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
998
998
|
]
|
999
999
|
)
|
1000
1000
|
transcoder.transcode request_pb
|
@@ -1015,7 +1015,7 @@ module Google
|
|
1015
1015
|
uri_method: :post,
|
1016
1016
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/removeAssociation",
|
1017
1017
|
matches: [
|
1018
|
-
["firewall_policy", %r{[^/]
|
1018
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
1019
1019
|
]
|
1020
1020
|
)
|
1021
1021
|
transcoder.transcode request_pb
|
@@ -1036,7 +1036,7 @@ module Google
|
|
1036
1036
|
uri_method: :post,
|
1037
1037
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{firewall_policy}/removeRule",
|
1038
1038
|
matches: [
|
1039
|
-
["firewall_policy", %r{[^/]
|
1039
|
+
["firewall_policy", %r{^[^/]+/?$}, false]
|
1040
1040
|
]
|
1041
1041
|
)
|
1042
1042
|
transcoder.transcode request_pb
|
@@ -1058,7 +1058,7 @@ module Google
|
|
1058
1058
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{resource}/setIamPolicy",
|
1059
1059
|
body: "global_organization_set_policy_request_resource",
|
1060
1060
|
matches: [
|
1061
|
-
["resource", %r{[^/]
|
1061
|
+
["resource", %r{^[^/]+/?$}, false]
|
1062
1062
|
]
|
1063
1063
|
)
|
1064
1064
|
transcoder.transcode request_pb
|
@@ -1080,7 +1080,7 @@ module Google
|
|
1080
1080
|
uri_template: "/compute/v1/locations/global/firewallPolicies/{resource}/testIamPermissions",
|
1081
1081
|
body: "test_permissions_request_resource",
|
1082
1082
|
matches: [
|
1083
|
-
["resource", %r{[^/]
|
1083
|
+
["resource", %r{^[^/]+/?$}, false]
|
1084
1084
|
]
|
1085
1085
|
)
|
1086
1086
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Firewalls 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/firewalls/{firewall}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["firewall", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["firewall", %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/firewalls/{firewall}",
|
302
302
|
matches: [
|
303
|
-
["project", %r{[^/]
|
304
|
-
["firewall", %r{[^/]
|
303
|
+
["project", %r{^[^/]+/?$}, false],
|
304
|
+
["firewall", %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/firewalls",
|
324
324
|
body: "firewall_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/firewalls",
|
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/firewalls/{firewall}",
|
367
367
|
body: "firewall_resource",
|
368
368
|
matches: [
|
369
|
-
["project", %r{[^/]
|
370
|
-
["firewall", %r{[^/]
|
369
|
+
["project", %r{^[^/]+/?$}, false],
|
370
|
+
["firewall", %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/firewalls/{firewall}",
|
390
390
|
body: "firewall_resource",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
393
|
-
["firewall", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false],
|
393
|
+
["firewall", %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 ForwardingRules 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/forwardingRules",
|
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}/forwardingRules/{forwarding_rule}",
|
375
375
|
matches: [
|
376
|
-
["project", %r{[^/]
|
377
|
-
["region", %r{[^/]
|
378
|
-
["forwarding_rule", %r{[^/]
|
376
|
+
["project", %r{^[^/]+/?$}, false],
|
377
|
+
["region", %r{^[^/]+/?$}, false],
|
378
|
+
["forwarding_rule", %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}/forwardingRules/{forwarding_rule}",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["region", %r{[^/]
|
401
|
-
["forwarding_rule", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["region", %r{^[^/]+/?$}, false],
|
401
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
402
402
|
]
|
403
403
|
)
|
404
404
|
transcoder.transcode request_pb
|
@@ -420,8 +420,8 @@ module Google
|
|
420
420
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/forwardingRules",
|
421
421
|
body: "forwarding_rule_resource",
|
422
422
|
matches: [
|
423
|
-
["project", %r{[^/]
|
424
|
-
["region", %r{[^/]
|
423
|
+
["project", %r{^[^/]+/?$}, false],
|
424
|
+
["region", %r{^[^/]+/?$}, false]
|
425
425
|
]
|
426
426
|
)
|
427
427
|
transcoder.transcode request_pb
|
@@ -442,8 +442,8 @@ module Google
|
|
442
442
|
uri_method: :get,
|
443
443
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/forwardingRules",
|
444
444
|
matches: [
|
445
|
-
["project", %r{[^/]
|
446
|
-
["region", %r{[^/]
|
445
|
+
["project", %r{^[^/]+/?$}, false],
|
446
|
+
["region", %r{^[^/]+/?$}, false]
|
447
447
|
]
|
448
448
|
)
|
449
449
|
transcoder.transcode request_pb
|
@@ -465,9 +465,9 @@ module Google
|
|
465
465
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}",
|
466
466
|
body: "forwarding_rule_resource",
|
467
467
|
matches: [
|
468
|
-
["project", %r{[^/]
|
469
|
-
["region", %r{[^/]
|
470
|
-
["forwarding_rule", %r{[^/]
|
468
|
+
["project", %r{^[^/]+/?$}, false],
|
469
|
+
["region", %r{^[^/]+/?$}, false],
|
470
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
471
471
|
]
|
472
472
|
)
|
473
473
|
transcoder.transcode request_pb
|
@@ -489,9 +489,9 @@ module Google
|
|
489
489
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels",
|
490
490
|
body: "region_set_labels_request_resource",
|
491
491
|
matches: [
|
492
|
-
["project", %r{[^/]
|
493
|
-
["region", %r{[^/]
|
494
|
-
["resource", %r{[^/]
|
492
|
+
["project", %r{^[^/]+/?$}, false],
|
493
|
+
["region", %r{^[^/]+/?$}, false],
|
494
|
+
["resource", %r{^[^/]+/?$}, false]
|
495
495
|
]
|
496
496
|
)
|
497
497
|
transcoder.transcode request_pb
|
@@ -513,9 +513,9 @@ module Google
|
|
513
513
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}/setTarget",
|
514
514
|
body: "target_reference_resource",
|
515
515
|
matches: [
|
516
|
-
["project", %r{[^/]
|
517
|
-
["region", %r{[^/]
|
518
|
-
["forwarding_rule", %r{[^/]
|
516
|
+
["project", %r{^[^/]+/?$}, false],
|
517
|
+
["region", %r{^[^/]+/?$}, false],
|
518
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
519
519
|
]
|
520
520
|
)
|
521
521
|
transcoder.transcode request_pb
|