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 NodeTemplates service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
uri_method: :get,
|
353
353
|
uri_template: "/compute/v1/projects/{project}/aggregated/nodeTemplates",
|
354
354
|
matches: [
|
355
|
-
["project", %r{[^/]
|
355
|
+
["project", %r{^[^/]+/?$}, false]
|
356
356
|
]
|
357
357
|
)
|
358
358
|
transcoder.transcode request_pb
|
@@ -373,9 +373,9 @@ module Google
|
|
373
373
|
uri_method: :delete,
|
374
374
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{node_template}",
|
375
375
|
matches: [
|
376
|
-
["project", %r{[^/]
|
377
|
-
["region", %r{[^/]
|
378
|
-
["node_template", %r{[^/]
|
376
|
+
["project", %r{^[^/]+/?$}, false],
|
377
|
+
["region", %r{^[^/]+/?$}, false],
|
378
|
+
["node_template", %r{^[^/]+/?$}, false]
|
379
379
|
]
|
380
380
|
)
|
381
381
|
transcoder.transcode request_pb
|
@@ -396,9 +396,9 @@ module Google
|
|
396
396
|
uri_method: :get,
|
397
397
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{node_template}",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["region", %r{[^/]
|
401
|
-
["node_template", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["region", %r{^[^/]+/?$}, false],
|
401
|
+
["node_template", %r{^[^/]+/?$}, false]
|
402
402
|
]
|
403
403
|
)
|
404
404
|
transcoder.transcode request_pb
|
@@ -419,9 +419,9 @@ module Google
|
|
419
419
|
uri_method: :get,
|
420
420
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy",
|
421
421
|
matches: [
|
422
|
-
["project", %r{[^/]
|
423
|
-
["region", %r{[^/]
|
424
|
-
["resource", %r{[^/]
|
422
|
+
["project", %r{^[^/]+/?$}, false],
|
423
|
+
["region", %r{^[^/]+/?$}, false],
|
424
|
+
["resource", %r{^[^/]+/?$}, false]
|
425
425
|
]
|
426
426
|
)
|
427
427
|
transcoder.transcode request_pb
|
@@ -443,8 +443,8 @@ module Google
|
|
443
443
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates",
|
444
444
|
body: "node_template_resource",
|
445
445
|
matches: [
|
446
|
-
["project", %r{[^/]
|
447
|
-
["region", %r{[^/]
|
446
|
+
["project", %r{^[^/]+/?$}, false],
|
447
|
+
["region", %r{^[^/]+/?$}, false]
|
448
448
|
]
|
449
449
|
)
|
450
450
|
transcoder.transcode request_pb
|
@@ -465,8 +465,8 @@ module Google
|
|
465
465
|
uri_method: :get,
|
466
466
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates",
|
467
467
|
matches: [
|
468
|
-
["project", %r{[^/]
|
469
|
-
["region", %r{[^/]
|
468
|
+
["project", %r{^[^/]+/?$}, false],
|
469
|
+
["region", %r{^[^/]+/?$}, false]
|
470
470
|
]
|
471
471
|
)
|
472
472
|
transcoder.transcode request_pb
|
@@ -488,9 +488,9 @@ module Google
|
|
488
488
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy",
|
489
489
|
body: "region_set_policy_request_resource",
|
490
490
|
matches: [
|
491
|
-
["project", %r{[^/]
|
492
|
-
["region", %r{[^/]
|
493
|
-
["resource", %r{[^/]
|
491
|
+
["project", %r{^[^/]+/?$}, false],
|
492
|
+
["region", %r{^[^/]+/?$}, false],
|
493
|
+
["resource", %r{^[^/]+/?$}, false]
|
494
494
|
]
|
495
495
|
)
|
496
496
|
transcoder.transcode request_pb
|
@@ -512,9 +512,9 @@ module Google
|
|
512
512
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions",
|
513
513
|
body: "test_permissions_request_resource",
|
514
514
|
matches: [
|
515
|
-
["project", %r{[^/]
|
516
|
-
["region", %r{[^/]
|
517
|
-
["resource", %r{[^/]
|
515
|
+
["project", %r{^[^/]+/?$}, false],
|
516
|
+
["region", %r{^[^/]+/?$}, false],
|
517
|
+
["resource", %r{^[^/]+/?$}, false]
|
518
518
|
]
|
519
519
|
)
|
520
520
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the NodeTypes service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -167,7 +167,7 @@ module Google
|
|
167
167
|
uri_method: :get,
|
168
168
|
uri_template: "/compute/v1/projects/{project}/aggregated/nodeTypes",
|
169
169
|
matches: [
|
170
|
-
["project", %r{[^/]
|
170
|
+
["project", %r{^[^/]+/?$}, false]
|
171
171
|
]
|
172
172
|
)
|
173
173
|
transcoder.transcode request_pb
|
@@ -188,9 +188,9 @@ module Google
|
|
188
188
|
uri_method: :get,
|
189
189
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeTypes/{node_type}",
|
190
190
|
matches: [
|
191
|
-
["project", %r{[^/]
|
192
|
-
["zone", %r{[^/]
|
193
|
-
["node_type", %r{[^/]
|
191
|
+
["project", %r{^[^/]+/?$}, false],
|
192
|
+
["zone", %r{^[^/]+/?$}, false],
|
193
|
+
["node_type", %r{^[^/]+/?$}, false]
|
194
194
|
]
|
195
195
|
)
|
196
196
|
transcoder.transcode request_pb
|
@@ -211,8 +211,8 @@ module Google
|
|
211
211
|
uri_method: :get,
|
212
212
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/nodeTypes",
|
213
213
|
matches: [
|
214
|
-
["project", %r{[^/]
|
215
|
-
["zone", %r{[^/]
|
214
|
+
["project", %r{^[^/]+/?$}, false],
|
215
|
+
["zone", %r{^[^/]+/?$}, false]
|
216
216
|
]
|
217
217
|
)
|
218
218
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the PacketMirrorings service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -315,7 +315,7 @@ module Google
|
|
315
315
|
uri_method: :get,
|
316
316
|
uri_template: "/compute/v1/projects/{project}/aggregated/packetMirrorings",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false]
|
319
319
|
]
|
320
320
|
)
|
321
321
|
transcoder.transcode request_pb
|
@@ -336,9 +336,9 @@ module Google
|
|
336
336
|
uri_method: :delete,
|
337
337
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
338
338
|
matches: [
|
339
|
-
["project", %r{[^/]
|
340
|
-
["region", %r{[^/]
|
341
|
-
["packet_mirroring", %r{[^/]
|
339
|
+
["project", %r{^[^/]+/?$}, false],
|
340
|
+
["region", %r{^[^/]+/?$}, false],
|
341
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
342
342
|
]
|
343
343
|
)
|
344
344
|
transcoder.transcode request_pb
|
@@ -359,9 +359,9 @@ module Google
|
|
359
359
|
uri_method: :get,
|
360
360
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
361
361
|
matches: [
|
362
|
-
["project", %r{[^/]
|
363
|
-
["region", %r{[^/]
|
364
|
-
["packet_mirroring", %r{[^/]
|
362
|
+
["project", %r{^[^/]+/?$}, false],
|
363
|
+
["region", %r{^[^/]+/?$}, false],
|
364
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
365
365
|
]
|
366
366
|
)
|
367
367
|
transcoder.transcode request_pb
|
@@ -383,8 +383,8 @@ module Google
|
|
383
383
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings",
|
384
384
|
body: "packet_mirroring_resource",
|
385
385
|
matches: [
|
386
|
-
["project", %r{[^/]
|
387
|
-
["region", %r{[^/]
|
386
|
+
["project", %r{^[^/]+/?$}, false],
|
387
|
+
["region", %r{^[^/]+/?$}, false]
|
388
388
|
]
|
389
389
|
)
|
390
390
|
transcoder.transcode request_pb
|
@@ -405,8 +405,8 @@ module Google
|
|
405
405
|
uri_method: :get,
|
406
406
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings",
|
407
407
|
matches: [
|
408
|
-
["project", %r{[^/]
|
409
|
-
["region", %r{[^/]
|
408
|
+
["project", %r{^[^/]+/?$}, false],
|
409
|
+
["region", %r{^[^/]+/?$}, false]
|
410
410
|
]
|
411
411
|
)
|
412
412
|
transcoder.transcode request_pb
|
@@ -428,9 +428,9 @@ module Google
|
|
428
428
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{packet_mirroring}",
|
429
429
|
body: "packet_mirroring_resource",
|
430
430
|
matches: [
|
431
|
-
["project", %r{[^/]
|
432
|
-
["region", %r{[^/]
|
433
|
-
["packet_mirroring", %r{[^/]
|
431
|
+
["project", %r{^[^/]+/?$}, false],
|
432
|
+
["region", %r{^[^/]+/?$}, false],
|
433
|
+
["packet_mirroring", %r{^[^/]+/?$}, false]
|
434
434
|
]
|
435
435
|
)
|
436
436
|
transcoder.transcode request_pb
|
@@ -452,9 +452,9 @@ module Google
|
|
452
452
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions",
|
453
453
|
body: "test_permissions_request_resource",
|
454
454
|
matches: [
|
455
|
-
["project", %r{[^/]
|
456
|
-
["region", %r{[^/]
|
457
|
-
["resource", %r{[^/]
|
455
|
+
["project", %r{^[^/]+/?$}, false],
|
456
|
+
["region", %r{^[^/]+/?$}, false],
|
457
|
+
["resource", %r{^[^/]+/?$}, false]
|
458
458
|
]
|
459
459
|
)
|
460
460
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Projects 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:
|
@@ -537,7 +537,7 @@ module Google
|
|
537
537
|
uri_method: :post,
|
538
538
|
uri_template: "/compute/v1/projects/{project}/disableXpnHost",
|
539
539
|
matches: [
|
540
|
-
["project", %r{[^/]
|
540
|
+
["project", %r{^[^/]+/?$}, false]
|
541
541
|
]
|
542
542
|
)
|
543
543
|
transcoder.transcode request_pb
|
@@ -559,7 +559,7 @@ module Google
|
|
559
559
|
uri_template: "/compute/v1/projects/{project}/disableXpnResource",
|
560
560
|
body: "projects_disable_xpn_resource_request_resource",
|
561
561
|
matches: [
|
562
|
-
["project", %r{[^/]
|
562
|
+
["project", %r{^[^/]+/?$}, false]
|
563
563
|
]
|
564
564
|
)
|
565
565
|
transcoder.transcode request_pb
|
@@ -580,7 +580,7 @@ module Google
|
|
580
580
|
uri_method: :post,
|
581
581
|
uri_template: "/compute/v1/projects/{project}/enableXpnHost",
|
582
582
|
matches: [
|
583
|
-
["project", %r{[^/]
|
583
|
+
["project", %r{^[^/]+/?$}, false]
|
584
584
|
]
|
585
585
|
)
|
586
586
|
transcoder.transcode request_pb
|
@@ -602,7 +602,7 @@ module Google
|
|
602
602
|
uri_template: "/compute/v1/projects/{project}/enableXpnResource",
|
603
603
|
body: "projects_enable_xpn_resource_request_resource",
|
604
604
|
matches: [
|
605
|
-
["project", %r{[^/]
|
605
|
+
["project", %r{^[^/]+/?$}, false]
|
606
606
|
]
|
607
607
|
)
|
608
608
|
transcoder.transcode request_pb
|
@@ -623,7 +623,7 @@ module Google
|
|
623
623
|
uri_method: :get,
|
624
624
|
uri_template: "/compute/v1/projects/{project}",
|
625
625
|
matches: [
|
626
|
-
["project", %r{[^/]
|
626
|
+
["project", %r{^[^/]+/?$}, false]
|
627
627
|
]
|
628
628
|
)
|
629
629
|
transcoder.transcode request_pb
|
@@ -644,7 +644,7 @@ module Google
|
|
644
644
|
uri_method: :get,
|
645
645
|
uri_template: "/compute/v1/projects/{project}/getXpnHost",
|
646
646
|
matches: [
|
647
|
-
["project", %r{[^/]
|
647
|
+
["project", %r{^[^/]+/?$}, false]
|
648
648
|
]
|
649
649
|
)
|
650
650
|
transcoder.transcode request_pb
|
@@ -665,7 +665,7 @@ module Google
|
|
665
665
|
uri_method: :get,
|
666
666
|
uri_template: "/compute/v1/projects/{project}/getXpnResources",
|
667
667
|
matches: [
|
668
|
-
["project", %r{[^/]
|
668
|
+
["project", %r{^[^/]+/?$}, false]
|
669
669
|
]
|
670
670
|
)
|
671
671
|
transcoder.transcode request_pb
|
@@ -687,7 +687,7 @@ module Google
|
|
687
687
|
uri_template: "/compute/v1/projects/{project}/listXpnHosts",
|
688
688
|
body: "projects_list_xpn_hosts_request_resource",
|
689
689
|
matches: [
|
690
|
-
["project", %r{[^/]
|
690
|
+
["project", %r{^[^/]+/?$}, false]
|
691
691
|
]
|
692
692
|
)
|
693
693
|
transcoder.transcode request_pb
|
@@ -709,7 +709,7 @@ module Google
|
|
709
709
|
uri_template: "/compute/v1/projects/{project}/moveDisk",
|
710
710
|
body: "disk_move_request_resource",
|
711
711
|
matches: [
|
712
|
-
["project", %r{[^/]
|
712
|
+
["project", %r{^[^/]+/?$}, false]
|
713
713
|
]
|
714
714
|
)
|
715
715
|
transcoder.transcode request_pb
|
@@ -731,7 +731,7 @@ module Google
|
|
731
731
|
uri_template: "/compute/v1/projects/{project}/moveInstance",
|
732
732
|
body: "instance_move_request_resource",
|
733
733
|
matches: [
|
734
|
-
["project", %r{[^/]
|
734
|
+
["project", %r{^[^/]+/?$}, false]
|
735
735
|
]
|
736
736
|
)
|
737
737
|
transcoder.transcode request_pb
|
@@ -753,7 +753,7 @@ module Google
|
|
753
753
|
uri_template: "/compute/v1/projects/{project}/setCommonInstanceMetadata",
|
754
754
|
body: "metadata_resource",
|
755
755
|
matches: [
|
756
|
-
["project", %r{[^/]
|
756
|
+
["project", %r{^[^/]+/?$}, false]
|
757
757
|
]
|
758
758
|
)
|
759
759
|
transcoder.transcode request_pb
|
@@ -775,7 +775,7 @@ module Google
|
|
775
775
|
uri_template: "/compute/v1/projects/{project}/setDefaultNetworkTier",
|
776
776
|
body: "projects_set_default_network_tier_request_resource",
|
777
777
|
matches: [
|
778
|
-
["project", %r{[^/]
|
778
|
+
["project", %r{^[^/]+/?$}, false]
|
779
779
|
]
|
780
780
|
)
|
781
781
|
transcoder.transcode request_pb
|
@@ -797,7 +797,7 @@ module Google
|
|
797
797
|
uri_template: "/compute/v1/projects/{project}/setUsageExportBucket",
|
798
798
|
body: "usage_export_location_resource",
|
799
799
|
matches: [
|
800
|
-
["project", %r{[^/]
|
800
|
+
["project", %r{^[^/]+/?$}, false]
|
801
801
|
]
|
802
802
|
)
|
803
803
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the PublicAdvertisedPrefixes service.
|
29
|
-
#
|
30
|
-
# including transcoding, making the REST call and deserialing the response
|
29
|
+
# Service stub contains baseline method implementations
|
30
|
+
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
33
|
def initialize endpoint:, credentials:
|
@@ -241,8 +241,8 @@ module Google
|
|
241
241
|
uri_method: :delete,
|
242
242
|
uri_template: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
245
|
-
["public_advertised_prefix", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false],
|
245
|
+
["public_advertised_prefix", %r{^[^/]+/?$}, false]
|
246
246
|
]
|
247
247
|
)
|
248
248
|
transcoder.transcode request_pb
|
@@ -263,8 +263,8 @@ module Google
|
|
263
263
|
uri_method: :get,
|
264
264
|
uri_template: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}",
|
265
265
|
matches: [
|
266
|
-
["project", %r{[^/]
|
267
|
-
["public_advertised_prefix", %r{[^/]
|
266
|
+
["project", %r{^[^/]+/?$}, false],
|
267
|
+
["public_advertised_prefix", %r{^[^/]+/?$}, false]
|
268
268
|
]
|
269
269
|
)
|
270
270
|
transcoder.transcode request_pb
|
@@ -286,7 +286,7 @@ module Google
|
|
286
286
|
uri_template: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes",
|
287
287
|
body: "public_advertised_prefix_resource",
|
288
288
|
matches: [
|
289
|
-
["project", %r{[^/]
|
289
|
+
["project", %r{^[^/]+/?$}, false]
|
290
290
|
]
|
291
291
|
)
|
292
292
|
transcoder.transcode request_pb
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
uri_method: :get,
|
308
308
|
uri_template: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes",
|
309
309
|
matches: [
|
310
|
-
["project", %r{[^/]
|
310
|
+
["project", %r{^[^/]+/?$}, false]
|
311
311
|
]
|
312
312
|
)
|
313
313
|
transcoder.transcode request_pb
|
@@ -329,8 +329,8 @@ module Google
|
|
329
329
|
uri_template: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}",
|
330
330
|
body: "public_advertised_prefix_resource",
|
331
331
|
matches: [
|
332
|
-
["project", %r{[^/]
|
333
|
-
["public_advertised_prefix", %r{[^/]
|
332
|
+
["project", %r{^[^/]+/?$}, false],
|
333
|
+
["public_advertised_prefix", %r{^[^/]+/?$}, false]
|
334
334
|
]
|
335
335
|
)
|
336
336
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the PublicDelegatedPrefixes 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,7 +278,7 @@ module Google
|
|
278
278
|
uri_method: :get,
|
279
279
|
uri_template: "/compute/v1/projects/{project}/aggregated/publicDelegatedPrefixes",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false]
|
282
282
|
]
|
283
283
|
)
|
284
284
|
transcoder.transcode request_pb
|
@@ -299,9 +299,9 @@ module Google
|
|
299
299
|
uri_method: :delete,
|
300
300
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}",
|
301
301
|
matches: [
|
302
|
-
["project", %r{[^/]
|
303
|
-
["region", %r{[^/]
|
304
|
-
["public_delegated_prefix", %r{[^/]
|
302
|
+
["project", %r{^[^/]+/?$}, false],
|
303
|
+
["region", %r{^[^/]+/?$}, false],
|
304
|
+
["public_delegated_prefix", %r{^[^/]+/?$}, false]
|
305
305
|
]
|
306
306
|
)
|
307
307
|
transcoder.transcode request_pb
|
@@ -322,9 +322,9 @@ module Google
|
|
322
322
|
uri_method: :get,
|
323
323
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}",
|
324
324
|
matches: [
|
325
|
-
["project", %r{[^/]
|
326
|
-
["region", %r{[^/]
|
327
|
-
["public_delegated_prefix", %r{[^/]
|
325
|
+
["project", %r{^[^/]+/?$}, false],
|
326
|
+
["region", %r{^[^/]+/?$}, false],
|
327
|
+
["public_delegated_prefix", %r{^[^/]+/?$}, false]
|
328
328
|
]
|
329
329
|
)
|
330
330
|
transcoder.transcode request_pb
|
@@ -346,8 +346,8 @@ module Google
|
|
346
346
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes",
|
347
347
|
body: "public_delegated_prefix_resource",
|
348
348
|
matches: [
|
349
|
-
["project", %r{[^/]
|
350
|
-
["region", %r{[^/]
|
349
|
+
["project", %r{^[^/]+/?$}, false],
|
350
|
+
["region", %r{^[^/]+/?$}, false]
|
351
351
|
]
|
352
352
|
)
|
353
353
|
transcoder.transcode request_pb
|
@@ -368,8 +368,8 @@ module Google
|
|
368
368
|
uri_method: :get,
|
369
369
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes",
|
370
370
|
matches: [
|
371
|
-
["project", %r{[^/]
|
372
|
-
["region", %r{[^/]
|
371
|
+
["project", %r{^[^/]+/?$}, false],
|
372
|
+
["region", %r{^[^/]+/?$}, false]
|
373
373
|
]
|
374
374
|
)
|
375
375
|
transcoder.transcode request_pb
|
@@ -391,9 +391,9 @@ module Google
|
|
391
391
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}",
|
392
392
|
body: "public_delegated_prefix_resource",
|
393
393
|
matches: [
|
394
|
-
["project", %r{[^/]
|
395
|
-
["region", %r{[^/]
|
396
|
-
["public_delegated_prefix", %r{[^/]
|
394
|
+
["project", %r{^[^/]+/?$}, false],
|
395
|
+
["region", %r{^[^/]+/?$}, false],
|
396
|
+
["public_delegated_prefix", %r{^[^/]+/?$}, false]
|
397
397
|
]
|
398
398
|
)
|
399
399
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionAutoscalers 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,9 +278,9 @@ module Google
|
|
278
278
|
uri_method: :delete,
|
279
279
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["region", %r{[^/]
|
283
|
-
["autoscaler", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["region", %r{^[^/]+/?$}, false],
|
283
|
+
["autoscaler", %r{^[^/]+/?$}, false]
|
284
284
|
]
|
285
285
|
)
|
286
286
|
transcoder.transcode request_pb
|
@@ -301,9 +301,9 @@ module Google
|
|
301
301
|
uri_method: :get,
|
302
302
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}",
|
303
303
|
matches: [
|
304
|
-
["project", %r{[^/]
|
305
|
-
["region", %r{[^/]
|
306
|
-
["autoscaler", %r{[^/]
|
304
|
+
["project", %r{^[^/]+/?$}, false],
|
305
|
+
["region", %r{^[^/]+/?$}, false],
|
306
|
+
["autoscaler", %r{^[^/]+/?$}, false]
|
307
307
|
]
|
308
308
|
)
|
309
309
|
transcoder.transcode request_pb
|
@@ -325,8 +325,8 @@ module Google
|
|
325
325
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers",
|
326
326
|
body: "autoscaler_resource",
|
327
327
|
matches: [
|
328
|
-
["project", %r{[^/]
|
329
|
-
["region", %r{[^/]
|
328
|
+
["project", %r{^[^/]+/?$}, false],
|
329
|
+
["region", %r{^[^/]+/?$}, false]
|
330
330
|
]
|
331
331
|
)
|
332
332
|
transcoder.transcode request_pb
|
@@ -347,8 +347,8 @@ module Google
|
|
347
347
|
uri_method: :get,
|
348
348
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers",
|
349
349
|
matches: [
|
350
|
-
["project", %r{[^/]
|
351
|
-
["region", %r{[^/]
|
350
|
+
["project", %r{^[^/]+/?$}, false],
|
351
|
+
["region", %r{^[^/]+/?$}, false]
|
352
352
|
]
|
353
353
|
)
|
354
354
|
transcoder.transcode request_pb
|
@@ -370,8 +370,8 @@ module Google
|
|
370
370
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers",
|
371
371
|
body: "autoscaler_resource",
|
372
372
|
matches: [
|
373
|
-
["project", %r{[^/]
|
374
|
-
["region", %r{[^/]
|
373
|
+
["project", %r{^[^/]+/?$}, false],
|
374
|
+
["region", %r{^[^/]+/?$}, false]
|
375
375
|
]
|
376
376
|
)
|
377
377
|
transcoder.transcode request_pb
|
@@ -393,8 +393,8 @@ module Google
|
|
393
393
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/autoscalers",
|
394
394
|
body: "autoscaler_resource",
|
395
395
|
matches: [
|
396
|
-
["project", %r{[^/]
|
397
|
-
["region", %r{[^/]
|
396
|
+
["project", %r{^[^/]+/?$}, false],
|
397
|
+
["region", %r{^[^/]+/?$}, false]
|
398
398
|
]
|
399
399
|
)
|
400
400
|
transcoder.transcode request_pb
|