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 Instances 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:
|
@@ -1722,9 +1722,9 @@ module Google
|
|
1722
1722
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig",
|
1723
1723
|
body: "access_config_resource",
|
1724
1724
|
matches: [
|
1725
|
-
["project", %r{[^/]
|
1726
|
-
["zone", %r{[^/]
|
1727
|
-
["instance", %r{[^/]
|
1725
|
+
["project", %r{^[^/]+/?$}, false],
|
1726
|
+
["zone", %r{^[^/]+/?$}, false],
|
1727
|
+
["instance", %r{^[^/]+/?$}, false]
|
1728
1728
|
]
|
1729
1729
|
)
|
1730
1730
|
transcoder.transcode request_pb
|
@@ -1746,9 +1746,9 @@ module Google
|
|
1746
1746
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies",
|
1747
1747
|
body: "instances_add_resource_policies_request_resource",
|
1748
1748
|
matches: [
|
1749
|
-
["project", %r{[^/]
|
1750
|
-
["zone", %r{[^/]
|
1751
|
-
["instance", %r{[^/]
|
1749
|
+
["project", %r{^[^/]+/?$}, false],
|
1750
|
+
["zone", %r{^[^/]+/?$}, false],
|
1751
|
+
["instance", %r{^[^/]+/?$}, false]
|
1752
1752
|
]
|
1753
1753
|
)
|
1754
1754
|
transcoder.transcode request_pb
|
@@ -1769,7 +1769,7 @@ module Google
|
|
1769
1769
|
uri_method: :get,
|
1770
1770
|
uri_template: "/compute/v1/projects/{project}/aggregated/instances",
|
1771
1771
|
matches: [
|
1772
|
-
["project", %r{[^/]
|
1772
|
+
["project", %r{^[^/]+/?$}, false]
|
1773
1773
|
]
|
1774
1774
|
)
|
1775
1775
|
transcoder.transcode request_pb
|
@@ -1791,9 +1791,9 @@ module Google
|
|
1791
1791
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/attachDisk",
|
1792
1792
|
body: "attached_disk_resource",
|
1793
1793
|
matches: [
|
1794
|
-
["project", %r{[^/]
|
1795
|
-
["zone", %r{[^/]
|
1796
|
-
["instance", %r{[^/]
|
1794
|
+
["project", %r{^[^/]+/?$}, false],
|
1795
|
+
["zone", %r{^[^/]+/?$}, false],
|
1796
|
+
["instance", %r{^[^/]+/?$}, false]
|
1797
1797
|
]
|
1798
1798
|
)
|
1799
1799
|
transcoder.transcode request_pb
|
@@ -1815,8 +1815,8 @@ module Google
|
|
1815
1815
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/bulkInsert",
|
1816
1816
|
body: "bulk_insert_instance_resource_resource",
|
1817
1817
|
matches: [
|
1818
|
-
["project", %r{[^/]
|
1819
|
-
["zone", %r{[^/]
|
1818
|
+
["project", %r{^[^/]+/?$}, false],
|
1819
|
+
["zone", %r{^[^/]+/?$}, false]
|
1820
1820
|
]
|
1821
1821
|
)
|
1822
1822
|
transcoder.transcode request_pb
|
@@ -1837,9 +1837,9 @@ module Google
|
|
1837
1837
|
uri_method: :delete,
|
1838
1838
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}",
|
1839
1839
|
matches: [
|
1840
|
-
["project", %r{[^/]
|
1841
|
-
["zone", %r{[^/]
|
1842
|
-
["instance", %r{[^/]
|
1840
|
+
["project", %r{^[^/]+/?$}, false],
|
1841
|
+
["zone", %r{^[^/]+/?$}, false],
|
1842
|
+
["instance", %r{^[^/]+/?$}, false]
|
1843
1843
|
]
|
1844
1844
|
)
|
1845
1845
|
transcoder.transcode request_pb
|
@@ -1860,9 +1860,9 @@ module Google
|
|
1860
1860
|
uri_method: :post,
|
1861
1861
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig",
|
1862
1862
|
matches: [
|
1863
|
-
["project", %r{[^/]
|
1864
|
-
["zone", %r{[^/]
|
1865
|
-
["instance", %r{[^/]
|
1863
|
+
["project", %r{^[^/]+/?$}, false],
|
1864
|
+
["zone", %r{^[^/]+/?$}, false],
|
1865
|
+
["instance", %r{^[^/]+/?$}, false]
|
1866
1866
|
]
|
1867
1867
|
)
|
1868
1868
|
transcoder.transcode request_pb
|
@@ -1883,9 +1883,9 @@ module Google
|
|
1883
1883
|
uri_method: :post,
|
1884
1884
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/detachDisk",
|
1885
1885
|
matches: [
|
1886
|
-
["project", %r{[^/]
|
1887
|
-
["zone", %r{[^/]
|
1888
|
-
["instance", %r{[^/]
|
1886
|
+
["project", %r{^[^/]+/?$}, false],
|
1887
|
+
["zone", %r{^[^/]+/?$}, false],
|
1888
|
+
["instance", %r{^[^/]+/?$}, false]
|
1889
1889
|
]
|
1890
1890
|
)
|
1891
1891
|
transcoder.transcode request_pb
|
@@ -1906,9 +1906,9 @@ module Google
|
|
1906
1906
|
uri_method: :get,
|
1907
1907
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}",
|
1908
1908
|
matches: [
|
1909
|
-
["project", %r{[^/]
|
1910
|
-
["zone", %r{[^/]
|
1911
|
-
["instance", %r{[^/]
|
1909
|
+
["project", %r{^[^/]+/?$}, false],
|
1910
|
+
["zone", %r{^[^/]+/?$}, false],
|
1911
|
+
["instance", %r{^[^/]+/?$}, false]
|
1912
1912
|
]
|
1913
1913
|
)
|
1914
1914
|
transcoder.transcode request_pb
|
@@ -1929,9 +1929,9 @@ module Google
|
|
1929
1929
|
uri_method: :get,
|
1930
1930
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls",
|
1931
1931
|
matches: [
|
1932
|
-
["project", %r{[^/]
|
1933
|
-
["zone", %r{[^/]
|
1934
|
-
["instance", %r{[^/]
|
1932
|
+
["project", %r{^[^/]+/?$}, false],
|
1933
|
+
["zone", %r{^[^/]+/?$}, false],
|
1934
|
+
["instance", %r{^[^/]+/?$}, false]
|
1935
1935
|
]
|
1936
1936
|
)
|
1937
1937
|
transcoder.transcode request_pb
|
@@ -1952,9 +1952,9 @@ module Google
|
|
1952
1952
|
uri_method: :get,
|
1953
1953
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes",
|
1954
1954
|
matches: [
|
1955
|
-
["project", %r{[^/]
|
1956
|
-
["zone", %r{[^/]
|
1957
|
-
["instance", %r{[^/]
|
1955
|
+
["project", %r{^[^/]+/?$}, false],
|
1956
|
+
["zone", %r{^[^/]+/?$}, false],
|
1957
|
+
["instance", %r{^[^/]+/?$}, false]
|
1958
1958
|
]
|
1959
1959
|
)
|
1960
1960
|
transcoder.transcode request_pb
|
@@ -1975,9 +1975,9 @@ module Google
|
|
1975
1975
|
uri_method: :get,
|
1976
1976
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy",
|
1977
1977
|
matches: [
|
1978
|
-
["project", %r{[^/]
|
1979
|
-
["zone", %r{[^/]
|
1980
|
-
["resource", %r{[^/]
|
1978
|
+
["project", %r{^[^/]+/?$}, false],
|
1979
|
+
["zone", %r{^[^/]+/?$}, false],
|
1980
|
+
["resource", %r{^[^/]+/?$}, false]
|
1981
1981
|
]
|
1982
1982
|
)
|
1983
1983
|
transcoder.transcode request_pb
|
@@ -1998,9 +1998,9 @@ module Google
|
|
1998
1998
|
uri_method: :get,
|
1999
1999
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/screenshot",
|
2000
2000
|
matches: [
|
2001
|
-
["project", %r{[^/]
|
2002
|
-
["zone", %r{[^/]
|
2003
|
-
["instance", %r{[^/]
|
2001
|
+
["project", %r{^[^/]+/?$}, false],
|
2002
|
+
["zone", %r{^[^/]+/?$}, false],
|
2003
|
+
["instance", %r{^[^/]+/?$}, false]
|
2004
2004
|
]
|
2005
2005
|
)
|
2006
2006
|
transcoder.transcode request_pb
|
@@ -2021,9 +2021,9 @@ module Google
|
|
2021
2021
|
uri_method: :get,
|
2022
2022
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/serialPort",
|
2023
2023
|
matches: [
|
2024
|
-
["project", %r{[^/]
|
2025
|
-
["zone", %r{[^/]
|
2026
|
-
["instance", %r{[^/]
|
2024
|
+
["project", %r{^[^/]+/?$}, false],
|
2025
|
+
["zone", %r{^[^/]+/?$}, false],
|
2026
|
+
["instance", %r{^[^/]+/?$}, false]
|
2027
2027
|
]
|
2028
2028
|
)
|
2029
2029
|
transcoder.transcode request_pb
|
@@ -2044,9 +2044,9 @@ module Google
|
|
2044
2044
|
uri_method: :get,
|
2045
2045
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity",
|
2046
2046
|
matches: [
|
2047
|
-
["project", %r{[^/]
|
2048
|
-
["zone", %r{[^/]
|
2049
|
-
["instance", %r{[^/]
|
2047
|
+
["project", %r{^[^/]+/?$}, false],
|
2048
|
+
["zone", %r{^[^/]+/?$}, false],
|
2049
|
+
["instance", %r{^[^/]+/?$}, false]
|
2050
2050
|
]
|
2051
2051
|
)
|
2052
2052
|
transcoder.transcode request_pb
|
@@ -2068,8 +2068,8 @@ module Google
|
|
2068
2068
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances",
|
2069
2069
|
body: "instance_resource",
|
2070
2070
|
matches: [
|
2071
|
-
["project", %r{[^/]
|
2072
|
-
["zone", %r{[^/]
|
2071
|
+
["project", %r{^[^/]+/?$}, false],
|
2072
|
+
["zone", %r{^[^/]+/?$}, false]
|
2073
2073
|
]
|
2074
2074
|
)
|
2075
2075
|
transcoder.transcode request_pb
|
@@ -2090,8 +2090,8 @@ module Google
|
|
2090
2090
|
uri_method: :get,
|
2091
2091
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances",
|
2092
2092
|
matches: [
|
2093
|
-
["project", %r{[^/]
|
2094
|
-
["zone", %r{[^/]
|
2093
|
+
["project", %r{^[^/]+/?$}, false],
|
2094
|
+
["zone", %r{^[^/]+/?$}, false]
|
2095
2095
|
]
|
2096
2096
|
)
|
2097
2097
|
transcoder.transcode request_pb
|
@@ -2112,9 +2112,9 @@ module Google
|
|
2112
2112
|
uri_method: :get,
|
2113
2113
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/referrers",
|
2114
2114
|
matches: [
|
2115
|
-
["project", %r{[^/]
|
2116
|
-
["zone", %r{[^/]
|
2117
|
-
["instance", %r{[^/]
|
2115
|
+
["project", %r{^[^/]+/?$}, false],
|
2116
|
+
["zone", %r{^[^/]+/?$}, false],
|
2117
|
+
["instance", %r{^[^/]+/?$}, false]
|
2118
2118
|
]
|
2119
2119
|
)
|
2120
2120
|
transcoder.transcode request_pb
|
@@ -2136,9 +2136,9 @@ module Google
|
|
2136
2136
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies",
|
2137
2137
|
body: "instances_remove_resource_policies_request_resource",
|
2138
2138
|
matches: [
|
2139
|
-
["project", %r{[^/]
|
2140
|
-
["zone", %r{[^/]
|
2141
|
-
["instance", %r{[^/]
|
2139
|
+
["project", %r{^[^/]+/?$}, false],
|
2140
|
+
["zone", %r{^[^/]+/?$}, false],
|
2141
|
+
["instance", %r{^[^/]+/?$}, false]
|
2142
2142
|
]
|
2143
2143
|
)
|
2144
2144
|
transcoder.transcode request_pb
|
@@ -2159,9 +2159,9 @@ module Google
|
|
2159
2159
|
uri_method: :post,
|
2160
2160
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/reset",
|
2161
2161
|
matches: [
|
2162
|
-
["project", %r{[^/]
|
2163
|
-
["zone", %r{[^/]
|
2164
|
-
["instance", %r{[^/]
|
2162
|
+
["project", %r{^[^/]+/?$}, false],
|
2163
|
+
["zone", %r{^[^/]+/?$}, false],
|
2164
|
+
["instance", %r{^[^/]+/?$}, false]
|
2165
2165
|
]
|
2166
2166
|
)
|
2167
2167
|
transcoder.transcode request_pb
|
@@ -2182,9 +2182,9 @@ module Google
|
|
2182
2182
|
uri_method: :post,
|
2183
2183
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/resume",
|
2184
2184
|
matches: [
|
2185
|
-
["project", %r{[^/]
|
2186
|
-
["zone", %r{[^/]
|
2187
|
-
["instance", %r{[^/]
|
2185
|
+
["project", %r{^[^/]+/?$}, false],
|
2186
|
+
["zone", %r{^[^/]+/?$}, false],
|
2187
|
+
["instance", %r{^[^/]+/?$}, false]
|
2188
2188
|
]
|
2189
2189
|
)
|
2190
2190
|
transcoder.transcode request_pb
|
@@ -2205,9 +2205,9 @@ module Google
|
|
2205
2205
|
uri_method: :post,
|
2206
2206
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt",
|
2207
2207
|
matches: [
|
2208
|
-
["project", %r{[^/]
|
2209
|
-
["zone", %r{[^/]
|
2210
|
-
["instance", %r{[^/]
|
2208
|
+
["project", %r{^[^/]+/?$}, false],
|
2209
|
+
["zone", %r{^[^/]+/?$}, false],
|
2210
|
+
["instance", %r{^[^/]+/?$}, false]
|
2211
2211
|
]
|
2212
2212
|
)
|
2213
2213
|
transcoder.transcode request_pb
|
@@ -2228,9 +2228,9 @@ module Google
|
|
2228
2228
|
uri_method: :post,
|
2229
2229
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection",
|
2230
2230
|
matches: [
|
2231
|
-
["project", %r{[^/]
|
2232
|
-
["zone", %r{[^/]
|
2233
|
-
["resource", %r{[^/]
|
2231
|
+
["project", %r{^[^/]+/?$}, false],
|
2232
|
+
["zone", %r{^[^/]+/?$}, false],
|
2233
|
+
["resource", %r{^[^/]+/?$}, false]
|
2234
2234
|
]
|
2235
2235
|
)
|
2236
2236
|
transcoder.transcode request_pb
|
@@ -2251,9 +2251,9 @@ module Google
|
|
2251
2251
|
uri_method: :post,
|
2252
2252
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete",
|
2253
2253
|
matches: [
|
2254
|
-
["project", %r{[^/]
|
2255
|
-
["zone", %r{[^/]
|
2256
|
-
["instance", %r{[^/]
|
2254
|
+
["project", %r{^[^/]+/?$}, false],
|
2255
|
+
["zone", %r{^[^/]+/?$}, false],
|
2256
|
+
["instance", %r{^[^/]+/?$}, false]
|
2257
2257
|
]
|
2258
2258
|
)
|
2259
2259
|
transcoder.transcode request_pb
|
@@ -2275,9 +2275,9 @@ module Google
|
|
2275
2275
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy",
|
2276
2276
|
body: "zone_set_policy_request_resource",
|
2277
2277
|
matches: [
|
2278
|
-
["project", %r{[^/]
|
2279
|
-
["zone", %r{[^/]
|
2280
|
-
["resource", %r{[^/]
|
2278
|
+
["project", %r{^[^/]+/?$}, false],
|
2279
|
+
["zone", %r{^[^/]+/?$}, false],
|
2280
|
+
["resource", %r{^[^/]+/?$}, false]
|
2281
2281
|
]
|
2282
2282
|
)
|
2283
2283
|
transcoder.transcode request_pb
|
@@ -2299,9 +2299,9 @@ module Google
|
|
2299
2299
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setLabels",
|
2300
2300
|
body: "instances_set_labels_request_resource",
|
2301
2301
|
matches: [
|
2302
|
-
["project", %r{[^/]
|
2303
|
-
["zone", %r{[^/]
|
2304
|
-
["instance", %r{[^/]
|
2302
|
+
["project", %r{^[^/]+/?$}, false],
|
2303
|
+
["zone", %r{^[^/]+/?$}, false],
|
2304
|
+
["instance", %r{^[^/]+/?$}, false]
|
2305
2305
|
]
|
2306
2306
|
)
|
2307
2307
|
transcoder.transcode request_pb
|
@@ -2323,9 +2323,9 @@ module Google
|
|
2323
2323
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources",
|
2324
2324
|
body: "instances_set_machine_resources_request_resource",
|
2325
2325
|
matches: [
|
2326
|
-
["project", %r{[^/]
|
2327
|
-
["zone", %r{[^/]
|
2328
|
-
["instance", %r{[^/]
|
2326
|
+
["project", %r{^[^/]+/?$}, false],
|
2327
|
+
["zone", %r{^[^/]+/?$}, false],
|
2328
|
+
["instance", %r{^[^/]+/?$}, false]
|
2329
2329
|
]
|
2330
2330
|
)
|
2331
2331
|
transcoder.transcode request_pb
|
@@ -2347,9 +2347,9 @@ module Google
|
|
2347
2347
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineType",
|
2348
2348
|
body: "instances_set_machine_type_request_resource",
|
2349
2349
|
matches: [
|
2350
|
-
["project", %r{[^/]
|
2351
|
-
["zone", %r{[^/]
|
2352
|
-
["instance", %r{[^/]
|
2350
|
+
["project", %r{^[^/]+/?$}, false],
|
2351
|
+
["zone", %r{^[^/]+/?$}, false],
|
2352
|
+
["instance", %r{^[^/]+/?$}, false]
|
2353
2353
|
]
|
2354
2354
|
)
|
2355
2355
|
transcoder.transcode request_pb
|
@@ -2371,9 +2371,9 @@ module Google
|
|
2371
2371
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMetadata",
|
2372
2372
|
body: "metadata_resource",
|
2373
2373
|
matches: [
|
2374
|
-
["project", %r{[^/]
|
2375
|
-
["zone", %r{[^/]
|
2376
|
-
["instance", %r{[^/]
|
2374
|
+
["project", %r{^[^/]+/?$}, false],
|
2375
|
+
["zone", %r{^[^/]+/?$}, false],
|
2376
|
+
["instance", %r{^[^/]+/?$}, false]
|
2377
2377
|
]
|
2378
2378
|
)
|
2379
2379
|
transcoder.transcode request_pb
|
@@ -2395,9 +2395,9 @@ module Google
|
|
2395
2395
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform",
|
2396
2396
|
body: "instances_set_min_cpu_platform_request_resource",
|
2397
2397
|
matches: [
|
2398
|
-
["project", %r{[^/]
|
2399
|
-
["zone", %r{[^/]
|
2400
|
-
["instance", %r{[^/]
|
2398
|
+
["project", %r{^[^/]+/?$}, false],
|
2399
|
+
["zone", %r{^[^/]+/?$}, false],
|
2400
|
+
["instance", %r{^[^/]+/?$}, false]
|
2401
2401
|
]
|
2402
2402
|
)
|
2403
2403
|
transcoder.transcode request_pb
|
@@ -2419,9 +2419,9 @@ module Google
|
|
2419
2419
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setScheduling",
|
2420
2420
|
body: "scheduling_resource",
|
2421
2421
|
matches: [
|
2422
|
-
["project", %r{[^/]
|
2423
|
-
["zone", %r{[^/]
|
2424
|
-
["instance", %r{[^/]
|
2422
|
+
["project", %r{^[^/]+/?$}, false],
|
2423
|
+
["zone", %r{^[^/]+/?$}, false],
|
2424
|
+
["instance", %r{^[^/]+/?$}, false]
|
2425
2425
|
]
|
2426
2426
|
)
|
2427
2427
|
transcoder.transcode request_pb
|
@@ -2443,9 +2443,9 @@ module Google
|
|
2443
2443
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount",
|
2444
2444
|
body: "instances_set_service_account_request_resource",
|
2445
2445
|
matches: [
|
2446
|
-
["project", %r{[^/]
|
2447
|
-
["zone", %r{[^/]
|
2448
|
-
["instance", %r{[^/]
|
2446
|
+
["project", %r{^[^/]+/?$}, false],
|
2447
|
+
["zone", %r{^[^/]+/?$}, false],
|
2448
|
+
["instance", %r{^[^/]+/?$}, false]
|
2449
2449
|
]
|
2450
2450
|
)
|
2451
2451
|
transcoder.transcode request_pb
|
@@ -2467,9 +2467,9 @@ module Google
|
|
2467
2467
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy",
|
2468
2468
|
body: "shielded_instance_integrity_policy_resource",
|
2469
2469
|
matches: [
|
2470
|
-
["project", %r{[^/]
|
2471
|
-
["zone", %r{[^/]
|
2472
|
-
["instance", %r{[^/]
|
2470
|
+
["project", %r{^[^/]+/?$}, false],
|
2471
|
+
["zone", %r{^[^/]+/?$}, false],
|
2472
|
+
["instance", %r{^[^/]+/?$}, false]
|
2473
2473
|
]
|
2474
2474
|
)
|
2475
2475
|
transcoder.transcode request_pb
|
@@ -2491,9 +2491,9 @@ module Google
|
|
2491
2491
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setTags",
|
2492
2492
|
body: "tags_resource",
|
2493
2493
|
matches: [
|
2494
|
-
["project", %r{[^/]
|
2495
|
-
["zone", %r{[^/]
|
2496
|
-
["instance", %r{[^/]
|
2494
|
+
["project", %r{^[^/]+/?$}, false],
|
2495
|
+
["zone", %r{^[^/]+/?$}, false],
|
2496
|
+
["instance", %r{^[^/]+/?$}, false]
|
2497
2497
|
]
|
2498
2498
|
)
|
2499
2499
|
transcoder.transcode request_pb
|
@@ -2514,9 +2514,9 @@ module Google
|
|
2514
2514
|
uri_method: :post,
|
2515
2515
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent",
|
2516
2516
|
matches: [
|
2517
|
-
["project", %r{[^/]
|
2518
|
-
["zone", %r{[^/]
|
2519
|
-
["instance", %r{[^/]
|
2517
|
+
["project", %r{^[^/]+/?$}, false],
|
2518
|
+
["zone", %r{^[^/]+/?$}, false],
|
2519
|
+
["instance", %r{^[^/]+/?$}, false]
|
2520
2520
|
]
|
2521
2521
|
)
|
2522
2522
|
transcoder.transcode request_pb
|
@@ -2537,9 +2537,9 @@ module Google
|
|
2537
2537
|
uri_method: :post,
|
2538
2538
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/start",
|
2539
2539
|
matches: [
|
2540
|
-
["project", %r{[^/]
|
2541
|
-
["zone", %r{[^/]
|
2542
|
-
["instance", %r{[^/]
|
2540
|
+
["project", %r{^[^/]+/?$}, false],
|
2541
|
+
["zone", %r{^[^/]+/?$}, false],
|
2542
|
+
["instance", %r{^[^/]+/?$}, false]
|
2543
2543
|
]
|
2544
2544
|
)
|
2545
2545
|
transcoder.transcode request_pb
|
@@ -2561,9 +2561,9 @@ module Google
|
|
2561
2561
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey",
|
2562
2562
|
body: "instances_start_with_encryption_key_request_resource",
|
2563
2563
|
matches: [
|
2564
|
-
["project", %r{[^/]
|
2565
|
-
["zone", %r{[^/]
|
2566
|
-
["instance", %r{[^/]
|
2564
|
+
["project", %r{^[^/]+/?$}, false],
|
2565
|
+
["zone", %r{^[^/]+/?$}, false],
|
2566
|
+
["instance", %r{^[^/]+/?$}, false]
|
2567
2567
|
]
|
2568
2568
|
)
|
2569
2569
|
transcoder.transcode request_pb
|
@@ -2584,9 +2584,9 @@ module Google
|
|
2584
2584
|
uri_method: :post,
|
2585
2585
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/stop",
|
2586
2586
|
matches: [
|
2587
|
-
["project", %r{[^/]
|
2588
|
-
["zone", %r{[^/]
|
2589
|
-
["instance", %r{[^/]
|
2587
|
+
["project", %r{^[^/]+/?$}, false],
|
2588
|
+
["zone", %r{^[^/]+/?$}, false],
|
2589
|
+
["instance", %r{^[^/]+/?$}, false]
|
2590
2590
|
]
|
2591
2591
|
)
|
2592
2592
|
transcoder.transcode request_pb
|
@@ -2607,9 +2607,9 @@ module Google
|
|
2607
2607
|
uri_method: :post,
|
2608
2608
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/suspend",
|
2609
2609
|
matches: [
|
2610
|
-
["project", %r{[^/]
|
2611
|
-
["zone", %r{[^/]
|
2612
|
-
["instance", %r{[^/]
|
2610
|
+
["project", %r{^[^/]+/?$}, false],
|
2611
|
+
["zone", %r{^[^/]+/?$}, false],
|
2612
|
+
["instance", %r{^[^/]+/?$}, false]
|
2613
2613
|
]
|
2614
2614
|
)
|
2615
2615
|
transcoder.transcode request_pb
|
@@ -2631,9 +2631,9 @@ module Google
|
|
2631
2631
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions",
|
2632
2632
|
body: "test_permissions_request_resource",
|
2633
2633
|
matches: [
|
2634
|
-
["project", %r{[^/]
|
2635
|
-
["zone", %r{[^/]
|
2636
|
-
["resource", %r{[^/]
|
2634
|
+
["project", %r{^[^/]+/?$}, false],
|
2635
|
+
["zone", %r{^[^/]+/?$}, false],
|
2636
|
+
["resource", %r{^[^/]+/?$}, false]
|
2637
2637
|
]
|
2638
2638
|
)
|
2639
2639
|
transcoder.transcode request_pb
|
@@ -2655,9 +2655,9 @@ module Google
|
|
2655
2655
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}",
|
2656
2656
|
body: "instance_resource",
|
2657
2657
|
matches: [
|
2658
|
-
["project", %r{[^/]
|
2659
|
-
["zone", %r{[^/]
|
2660
|
-
["instance", %r{[^/]
|
2658
|
+
["project", %r{^[^/]+/?$}, false],
|
2659
|
+
["zone", %r{^[^/]+/?$}, false],
|
2660
|
+
["instance", %r{^[^/]+/?$}, false]
|
2661
2661
|
]
|
2662
2662
|
)
|
2663
2663
|
transcoder.transcode request_pb
|
@@ -2679,9 +2679,9 @@ module Google
|
|
2679
2679
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig",
|
2680
2680
|
body: "access_config_resource",
|
2681
2681
|
matches: [
|
2682
|
-
["project", %r{[^/]
|
2683
|
-
["zone", %r{[^/]
|
2684
|
-
["instance", %r{[^/]
|
2682
|
+
["project", %r{^[^/]+/?$}, false],
|
2683
|
+
["zone", %r{^[^/]+/?$}, false],
|
2684
|
+
["instance", %r{^[^/]+/?$}, false]
|
2685
2685
|
]
|
2686
2686
|
)
|
2687
2687
|
transcoder.transcode request_pb
|
@@ -2703,9 +2703,9 @@ module Google
|
|
2703
2703
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice",
|
2704
2704
|
body: "display_device_resource",
|
2705
2705
|
matches: [
|
2706
|
-
["project", %r{[^/]
|
2707
|
-
["zone", %r{[^/]
|
2708
|
-
["instance", %r{[^/]
|
2706
|
+
["project", %r{^[^/]+/?$}, false],
|
2707
|
+
["zone", %r{^[^/]+/?$}, false],
|
2708
|
+
["instance", %r{^[^/]+/?$}, false]
|
2709
2709
|
]
|
2710
2710
|
)
|
2711
2711
|
transcoder.transcode request_pb
|
@@ -2727,9 +2727,9 @@ module Google
|
|
2727
2727
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface",
|
2728
2728
|
body: "network_interface_resource",
|
2729
2729
|
matches: [
|
2730
|
-
["project", %r{[^/]
|
2731
|
-
["zone", %r{[^/]
|
2732
|
-
["instance", %r{[^/]
|
2730
|
+
["project", %r{^[^/]+/?$}, false],
|
2731
|
+
["zone", %r{^[^/]+/?$}, false],
|
2732
|
+
["instance", %r{^[^/]+/?$}, false]
|
2733
2733
|
]
|
2734
2734
|
)
|
2735
2735
|
transcoder.transcode request_pb
|
@@ -2751,9 +2751,9 @@ module Google
|
|
2751
2751
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig",
|
2752
2752
|
body: "shielded_instance_config_resource",
|
2753
2753
|
matches: [
|
2754
|
-
["project", %r{[^/]
|
2755
|
-
["zone", %r{[^/]
|
2756
|
-
["instance", %r{[^/]
|
2754
|
+
["project", %r{^[^/]+/?$}, false],
|
2755
|
+
["zone", %r{^[^/]+/?$}, false],
|
2756
|
+
["instance", %r{^[^/]+/?$}, false]
|
2757
2757
|
]
|
2758
2758
|
)
|
2759
2759
|
transcoder.transcode request_pb
|