google-cloud-compute-v1 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +23 -23
- data/lib/google/cloud/compute/v1/compute_pb.rb +129 -0
- data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +37 -37
- data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/global_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +4 -4
- data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/global_organization_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +58 -58
- data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/instances/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +132 -132
- data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +6 -6
- data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +14 -14
- data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +32 -32
- data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +37 -37
- data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +19 -19
- data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +7 -7
- data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +36 -36
- data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +1 -1
- data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +57 -57
- data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -4
- data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +50 -50
- data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/region_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +15 -15
- data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +5 -5
- data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +28 -28
- data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +28 -28
- data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +8 -8
- data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +20 -20
- data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +25 -25
- data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +16 -16
- data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +9 -9
- data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +11 -11
- data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +32 -32
- data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +10 -10
- data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +21 -21
- data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +31 -31
- data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +18 -18
- data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +12 -12
- data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +17 -17
- data/lib/google/cloud/compute/v1/version.rb +1 -1
- data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +22 -22
- data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +13 -13
- data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -0
- data/lib/google/cloud/compute/v1/zone_operations.rb +0 -1
- data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +5 -5
- data/proto_docs/google/cloud/compute/v1/compute.rb +331 -13
- metadata +2 -2
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionTargetHttpsProxies 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,9 +315,9 @@ module Google
|
|
315
315
|
uri_method: :delete,
|
316
316
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["region", %r{[^/]
|
320
|
-
["target_https_proxy", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["region", %r{^[^/]+/?$}, false],
|
320
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
321
321
|
]
|
322
322
|
)
|
323
323
|
transcoder.transcode request_pb
|
@@ -338,9 +338,9 @@ module Google
|
|
338
338
|
uri_method: :get,
|
339
339
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}",
|
340
340
|
matches: [
|
341
|
-
["project", %r{[^/]
|
342
|
-
["region", %r{[^/]
|
343
|
-
["target_https_proxy", %r{[^/]
|
341
|
+
["project", %r{^[^/]+/?$}, false],
|
342
|
+
["region", %r{^[^/]+/?$}, false],
|
343
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
344
344
|
]
|
345
345
|
)
|
346
346
|
transcoder.transcode request_pb
|
@@ -362,8 +362,8 @@ module Google
|
|
362
362
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies",
|
363
363
|
body: "target_https_proxy_resource",
|
364
364
|
matches: [
|
365
|
-
["project", %r{[^/]
|
366
|
-
["region", %r{[^/]
|
365
|
+
["project", %r{^[^/]+/?$}, false],
|
366
|
+
["region", %r{^[^/]+/?$}, false]
|
367
367
|
]
|
368
368
|
)
|
369
369
|
transcoder.transcode request_pb
|
@@ -384,8 +384,8 @@ module Google
|
|
384
384
|
uri_method: :get,
|
385
385
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies",
|
386
386
|
matches: [
|
387
|
-
["project", %r{[^/]
|
388
|
-
["region", %r{[^/]
|
387
|
+
["project", %r{^[^/]+/?$}, false],
|
388
|
+
["region", %r{^[^/]+/?$}, false]
|
389
389
|
]
|
390
390
|
)
|
391
391
|
transcoder.transcode request_pb
|
@@ -407,9 +407,9 @@ module Google
|
|
407
407
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}",
|
408
408
|
body: "target_https_proxy_resource",
|
409
409
|
matches: [
|
410
|
-
["project", %r{[^/]
|
411
|
-
["region", %r{[^/]
|
412
|
-
["target_https_proxy", %r{[^/]
|
410
|
+
["project", %r{^[^/]+/?$}, false],
|
411
|
+
["region", %r{^[^/]+/?$}, false],
|
412
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
413
413
|
]
|
414
414
|
)
|
415
415
|
transcoder.transcode request_pb
|
@@ -431,9 +431,9 @@ module Google
|
|
431
431
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}/setSslCertificates",
|
432
432
|
body: "region_target_https_proxies_set_ssl_certificates_request_resource",
|
433
433
|
matches: [
|
434
|
-
["project", %r{[^/]
|
435
|
-
["region", %r{[^/]
|
436
|
-
["target_https_proxy", %r{[^/]
|
434
|
+
["project", %r{^[^/]+/?$}, false],
|
435
|
+
["region", %r{^[^/]+/?$}, false],
|
436
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
437
437
|
]
|
438
438
|
)
|
439
439
|
transcoder.transcode request_pb
|
@@ -455,9 +455,9 @@ module Google
|
|
455
455
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}/setUrlMap",
|
456
456
|
body: "url_map_reference_resource",
|
457
457
|
matches: [
|
458
|
-
["project", %r{[^/]
|
459
|
-
["region", %r{[^/]
|
460
|
-
["target_https_proxy", %r{[^/]
|
458
|
+
["project", %r{^[^/]+/?$}, false],
|
459
|
+
["region", %r{^[^/]+/?$}, false],
|
460
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
461
461
|
]
|
462
462
|
)
|
463
463
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionUrlMaps 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,9 +315,9 @@ module Google
|
|
315
315
|
uri_method: :delete,
|
316
316
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["region", %r{[^/]
|
320
|
-
["url_map", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["region", %r{^[^/]+/?$}, false],
|
320
|
+
["url_map", %r{^[^/]+/?$}, false]
|
321
321
|
]
|
322
322
|
)
|
323
323
|
transcoder.transcode request_pb
|
@@ -338,9 +338,9 @@ module Google
|
|
338
338
|
uri_method: :get,
|
339
339
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}",
|
340
340
|
matches: [
|
341
|
-
["project", %r{[^/]
|
342
|
-
["region", %r{[^/]
|
343
|
-
["url_map", %r{[^/]
|
341
|
+
["project", %r{^[^/]+/?$}, false],
|
342
|
+
["region", %r{^[^/]+/?$}, false],
|
343
|
+
["url_map", %r{^[^/]+/?$}, false]
|
344
344
|
]
|
345
345
|
)
|
346
346
|
transcoder.transcode request_pb
|
@@ -362,8 +362,8 @@ module Google
|
|
362
362
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps",
|
363
363
|
body: "url_map_resource",
|
364
364
|
matches: [
|
365
|
-
["project", %r{[^/]
|
366
|
-
["region", %r{[^/]
|
365
|
+
["project", %r{^[^/]+/?$}, false],
|
366
|
+
["region", %r{^[^/]+/?$}, false]
|
367
367
|
]
|
368
368
|
)
|
369
369
|
transcoder.transcode request_pb
|
@@ -384,8 +384,8 @@ module Google
|
|
384
384
|
uri_method: :get,
|
385
385
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps",
|
386
386
|
matches: [
|
387
|
-
["project", %r{[^/]
|
388
|
-
["region", %r{[^/]
|
387
|
+
["project", %r{^[^/]+/?$}, false],
|
388
|
+
["region", %r{^[^/]+/?$}, false]
|
389
389
|
]
|
390
390
|
)
|
391
391
|
transcoder.transcode request_pb
|
@@ -407,9 +407,9 @@ module Google
|
|
407
407
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}",
|
408
408
|
body: "url_map_resource",
|
409
409
|
matches: [
|
410
|
-
["project", %r{[^/]
|
411
|
-
["region", %r{[^/]
|
412
|
-
["url_map", %r{[^/]
|
410
|
+
["project", %r{^[^/]+/?$}, false],
|
411
|
+
["region", %r{^[^/]+/?$}, false],
|
412
|
+
["url_map", %r{^[^/]+/?$}, false]
|
413
413
|
]
|
414
414
|
)
|
415
415
|
transcoder.transcode request_pb
|
@@ -431,9 +431,9 @@ module Google
|
|
431
431
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}",
|
432
432
|
body: "url_map_resource",
|
433
433
|
matches: [
|
434
|
-
["project", %r{[^/]
|
435
|
-
["region", %r{[^/]
|
436
|
-
["url_map", %r{[^/]
|
434
|
+
["project", %r{^[^/]+/?$}, false],
|
435
|
+
["region", %r{^[^/]+/?$}, false],
|
436
|
+
["url_map", %r{^[^/]+/?$}, false]
|
437
437
|
]
|
438
438
|
)
|
439
439
|
transcoder.transcode request_pb
|
@@ -455,9 +455,9 @@ module Google
|
|
455
455
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}/validate",
|
456
456
|
body: "region_url_maps_validate_request_resource",
|
457
457
|
matches: [
|
458
|
-
["project", %r{[^/]
|
459
|
-
["region", %r{[^/]
|
460
|
-
["url_map", %r{[^/]
|
458
|
+
["project", %r{^[^/]+/?$}, false],
|
459
|
+
["region", %r{^[^/]+/?$}, false],
|
460
|
+
["url_map", %r{^[^/]+/?$}, false]
|
461
461
|
]
|
462
462
|
)
|
463
463
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Regions 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:
|
@@ -130,8 +130,8 @@ module Google
|
|
130
130
|
uri_method: :get,
|
131
131
|
uri_template: "/compute/v1/projects/{project}/regions/{region}",
|
132
132
|
matches: [
|
133
|
-
["project", %r{[^/]
|
134
|
-
["region", %r{[^/]
|
133
|
+
["project", %r{^[^/]+/?$}, false],
|
134
|
+
["region", %r{^[^/]+/?$}, false]
|
135
135
|
]
|
136
136
|
)
|
137
137
|
transcoder.transcode request_pb
|
@@ -152,7 +152,7 @@ module Google
|
|
152
152
|
uri_method: :get,
|
153
153
|
uri_template: "/compute/v1/projects/{project}/regions",
|
154
154
|
matches: [
|
155
|
-
["project", %r{[^/]
|
155
|
+
["project", %r{^[^/]+/?$}, false]
|
156
156
|
]
|
157
157
|
)
|
158
158
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Reservations 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:
|
@@ -426,7 +426,7 @@ module Google
|
|
426
426
|
uri_method: :get,
|
427
427
|
uri_template: "/compute/v1/projects/{project}/aggregated/reservations",
|
428
428
|
matches: [
|
429
|
-
["project", %r{[^/]
|
429
|
+
["project", %r{^[^/]+/?$}, false]
|
430
430
|
]
|
431
431
|
)
|
432
432
|
transcoder.transcode request_pb
|
@@ -447,9 +447,9 @@ module Google
|
|
447
447
|
uri_method: :delete,
|
448
448
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}",
|
449
449
|
matches: [
|
450
|
-
["project", %r{[^/]
|
451
|
-
["zone", %r{[^/]
|
452
|
-
["reservation", %r{[^/]
|
450
|
+
["project", %r{^[^/]+/?$}, false],
|
451
|
+
["zone", %r{^[^/]+/?$}, false],
|
452
|
+
["reservation", %r{^[^/]+/?$}, false]
|
453
453
|
]
|
454
454
|
)
|
455
455
|
transcoder.transcode request_pb
|
@@ -470,9 +470,9 @@ module Google
|
|
470
470
|
uri_method: :get,
|
471
471
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}",
|
472
472
|
matches: [
|
473
|
-
["project", %r{[^/]
|
474
|
-
["zone", %r{[^/]
|
475
|
-
["reservation", %r{[^/]
|
473
|
+
["project", %r{^[^/]+/?$}, false],
|
474
|
+
["zone", %r{^[^/]+/?$}, false],
|
475
|
+
["reservation", %r{^[^/]+/?$}, false]
|
476
476
|
]
|
477
477
|
)
|
478
478
|
transcoder.transcode request_pb
|
@@ -493,9 +493,9 @@ module Google
|
|
493
493
|
uri_method: :get,
|
494
494
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy",
|
495
495
|
matches: [
|
496
|
-
["project", %r{[^/]
|
497
|
-
["zone", %r{[^/]
|
498
|
-
["resource", %r{[^/]
|
496
|
+
["project", %r{^[^/]+/?$}, false],
|
497
|
+
["zone", %r{^[^/]+/?$}, false],
|
498
|
+
["resource", %r{^[^/]+/?$}, false]
|
499
499
|
]
|
500
500
|
)
|
501
501
|
transcoder.transcode request_pb
|
@@ -517,8 +517,8 @@ module Google
|
|
517
517
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations",
|
518
518
|
body: "reservation_resource",
|
519
519
|
matches: [
|
520
|
-
["project", %r{[^/]
|
521
|
-
["zone", %r{[^/]
|
520
|
+
["project", %r{^[^/]+/?$}, false],
|
521
|
+
["zone", %r{^[^/]+/?$}, false]
|
522
522
|
]
|
523
523
|
)
|
524
524
|
transcoder.transcode request_pb
|
@@ -539,8 +539,8 @@ module Google
|
|
539
539
|
uri_method: :get,
|
540
540
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations",
|
541
541
|
matches: [
|
542
|
-
["project", %r{[^/]
|
543
|
-
["zone", %r{[^/]
|
542
|
+
["project", %r{^[^/]+/?$}, false],
|
543
|
+
["zone", %r{^[^/]+/?$}, false]
|
544
544
|
]
|
545
545
|
)
|
546
546
|
transcoder.transcode request_pb
|
@@ -562,9 +562,9 @@ module Google
|
|
562
562
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}/resize",
|
563
563
|
body: "reservations_resize_request_resource",
|
564
564
|
matches: [
|
565
|
-
["project", %r{[^/]
|
566
|
-
["zone", %r{[^/]
|
567
|
-
["reservation", %r{[^/]
|
565
|
+
["project", %r{^[^/]+/?$}, false],
|
566
|
+
["zone", %r{^[^/]+/?$}, false],
|
567
|
+
["reservation", %r{^[^/]+/?$}, false]
|
568
568
|
]
|
569
569
|
)
|
570
570
|
transcoder.transcode request_pb
|
@@ -586,9 +586,9 @@ module Google
|
|
586
586
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy",
|
587
587
|
body: "zone_set_policy_request_resource",
|
588
588
|
matches: [
|
589
|
-
["project", %r{[^/]
|
590
|
-
["zone", %r{[^/]
|
591
|
-
["resource", %r{[^/]
|
589
|
+
["project", %r{^[^/]+/?$}, false],
|
590
|
+
["zone", %r{^[^/]+/?$}, false],
|
591
|
+
["resource", %r{^[^/]+/?$}, false]
|
592
592
|
]
|
593
593
|
)
|
594
594
|
transcoder.transcode request_pb
|
@@ -610,9 +610,9 @@ module Google
|
|
610
610
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions",
|
611
611
|
body: "test_permissions_request_resource",
|
612
612
|
matches: [
|
613
|
-
["project", %r{[^/]
|
614
|
-
["zone", %r{[^/]
|
615
|
-
["resource", %r{[^/]
|
613
|
+
["project", %r{^[^/]+/?$}, false],
|
614
|
+
["zone", %r{^[^/]+/?$}, false],
|
615
|
+
["resource", %r{^[^/]+/?$}, false]
|
616
616
|
]
|
617
617
|
)
|
618
618
|
transcoder.transcode request_pb
|
@@ -634,9 +634,9 @@ module Google
|
|
634
634
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}",
|
635
635
|
body: "reservation_resource",
|
636
636
|
matches: [
|
637
|
-
["project", %r{[^/]
|
638
|
-
["zone", %r{[^/]
|
639
|
-
["reservation", %r{[^/]
|
637
|
+
["project", %r{^[^/]+/?$}, false],
|
638
|
+
["zone", %r{^[^/]+/?$}, false],
|
639
|
+
["reservation", %r{^[^/]+/?$}, false]
|
640
640
|
]
|
641
641
|
)
|
642
642
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the ResourcePolicies 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/resourcePolicies",
|
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}/resourcePolicies/{resource_policy}",
|
375
375
|
matches: [
|
376
|
-
["project", %r{[^/]
|
377
|
-
["region", %r{[^/]
|
378
|
-
["resource_policy", %r{[^/]
|
376
|
+
["project", %r{^[^/]+/?$}, false],
|
377
|
+
["region", %r{^[^/]+/?$}, false],
|
378
|
+
["resource_policy", %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}/resourcePolicies/{resource_policy}",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["region", %r{[^/]
|
401
|
-
["resource_policy", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["region", %r{^[^/]+/?$}, false],
|
401
|
+
["resource_policy", %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}/resourcePolicies/{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}/resourcePolicies",
|
444
444
|
body: "resource_policy_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}/resourcePolicies",
|
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}/resourcePolicies/{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}/resourcePolicies/{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 Routers 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:
|
@@ -426,7 +426,7 @@ module Google
|
|
426
426
|
uri_method: :get,
|
427
427
|
uri_template: "/compute/v1/projects/{project}/aggregated/routers",
|
428
428
|
matches: [
|
429
|
-
["project", %r{[^/]
|
429
|
+
["project", %r{^[^/]+/?$}, false]
|
430
430
|
]
|
431
431
|
)
|
432
432
|
transcoder.transcode request_pb
|
@@ -447,9 +447,9 @@ module Google
|
|
447
447
|
uri_method: :delete,
|
448
448
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}",
|
449
449
|
matches: [
|
450
|
-
["project", %r{[^/]
|
451
|
-
["region", %r{[^/]
|
452
|
-
["router", %r{[^/]
|
450
|
+
["project", %r{^[^/]+/?$}, false],
|
451
|
+
["region", %r{^[^/]+/?$}, false],
|
452
|
+
["router", %r{^[^/]+/?$}, false]
|
453
453
|
]
|
454
454
|
)
|
455
455
|
transcoder.transcode request_pb
|
@@ -470,9 +470,9 @@ module Google
|
|
470
470
|
uri_method: :get,
|
471
471
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}",
|
472
472
|
matches: [
|
473
|
-
["project", %r{[^/]
|
474
|
-
["region", %r{[^/]
|
475
|
-
["router", %r{[^/]
|
473
|
+
["project", %r{^[^/]+/?$}, false],
|
474
|
+
["region", %r{^[^/]+/?$}, false],
|
475
|
+
["router", %r{^[^/]+/?$}, false]
|
476
476
|
]
|
477
477
|
)
|
478
478
|
transcoder.transcode request_pb
|
@@ -493,9 +493,9 @@ module Google
|
|
493
493
|
uri_method: :get,
|
494
494
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo",
|
495
495
|
matches: [
|
496
|
-
["project", %r{[^/]
|
497
|
-
["region", %r{[^/]
|
498
|
-
["router", %r{[^/]
|
496
|
+
["project", %r{^[^/]+/?$}, false],
|
497
|
+
["region", %r{^[^/]+/?$}, false],
|
498
|
+
["router", %r{^[^/]+/?$}, false]
|
499
499
|
]
|
500
500
|
)
|
501
501
|
transcoder.transcode request_pb
|
@@ -516,9 +516,9 @@ module Google
|
|
516
516
|
uri_method: :get,
|
517
517
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/getRouterStatus",
|
518
518
|
matches: [
|
519
|
-
["project", %r{[^/]
|
520
|
-
["region", %r{[^/]
|
521
|
-
["router", %r{[^/]
|
519
|
+
["project", %r{^[^/]+/?$}, false],
|
520
|
+
["region", %r{^[^/]+/?$}, false],
|
521
|
+
["router", %r{^[^/]+/?$}, false]
|
522
522
|
]
|
523
523
|
)
|
524
524
|
transcoder.transcode request_pb
|
@@ -540,8 +540,8 @@ module Google
|
|
540
540
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers",
|
541
541
|
body: "router_resource",
|
542
542
|
matches: [
|
543
|
-
["project", %r{[^/]
|
544
|
-
["region", %r{[^/]
|
543
|
+
["project", %r{^[^/]+/?$}, false],
|
544
|
+
["region", %r{^[^/]+/?$}, false]
|
545
545
|
]
|
546
546
|
)
|
547
547
|
transcoder.transcode request_pb
|
@@ -562,8 +562,8 @@ module Google
|
|
562
562
|
uri_method: :get,
|
563
563
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers",
|
564
564
|
matches: [
|
565
|
-
["project", %r{[^/]
|
566
|
-
["region", %r{[^/]
|
565
|
+
["project", %r{^[^/]+/?$}, false],
|
566
|
+
["region", %r{^[^/]+/?$}, false]
|
567
567
|
]
|
568
568
|
)
|
569
569
|
transcoder.transcode request_pb
|
@@ -585,9 +585,9 @@ module Google
|
|
585
585
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}",
|
586
586
|
body: "router_resource",
|
587
587
|
matches: [
|
588
|
-
["project", %r{[^/]
|
589
|
-
["region", %r{[^/]
|
590
|
-
["router", %r{[^/]
|
588
|
+
["project", %r{^[^/]+/?$}, false],
|
589
|
+
["region", %r{^[^/]+/?$}, false],
|
590
|
+
["router", %r{^[^/]+/?$}, false]
|
591
591
|
]
|
592
592
|
)
|
593
593
|
transcoder.transcode request_pb
|
@@ -609,9 +609,9 @@ module Google
|
|
609
609
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/preview",
|
610
610
|
body: "router_resource",
|
611
611
|
matches: [
|
612
|
-
["project", %r{[^/]
|
613
|
-
["region", %r{[^/]
|
614
|
-
["router", %r{[^/]
|
612
|
+
["project", %r{^[^/]+/?$}, false],
|
613
|
+
["region", %r{^[^/]+/?$}, false],
|
614
|
+
["router", %r{^[^/]+/?$}, false]
|
615
615
|
]
|
616
616
|
)
|
617
617
|
transcoder.transcode request_pb
|
@@ -633,9 +633,9 @@ module Google
|
|
633
633
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/routers/{router}",
|
634
634
|
body: "router_resource",
|
635
635
|
matches: [
|
636
|
-
["project", %r{[^/]
|
637
|
-
["region", %r{[^/]
|
638
|
-
["router", %r{[^/]
|
636
|
+
["project", %r{^[^/]+/?$}, false],
|
637
|
+
["region", %r{^[^/]+/?$}, false],
|
638
|
+
["router", %r{^[^/]+/?$}, false]
|
639
639
|
]
|
640
640
|
)
|
641
641
|
transcoder.transcode request_pb
|