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 RegionBackendServices 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}/backendServices/{backend_service}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["region", %r{[^/]
|
320
|
-
["backend_service", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["region", %r{^[^/]+/?$}, false],
|
320
|
+
["backend_service", %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}/backendServices/{backend_service}",
|
340
340
|
matches: [
|
341
|
-
["project", %r{[^/]
|
342
|
-
["region", %r{[^/]
|
343
|
-
["backend_service", %r{[^/]
|
341
|
+
["project", %r{^[^/]+/?$}, false],
|
342
|
+
["region", %r{^[^/]+/?$}, false],
|
343
|
+
["backend_service", %r{^[^/]+/?$}, false]
|
344
344
|
]
|
345
345
|
)
|
346
346
|
transcoder.transcode request_pb
|
@@ -362,9 +362,9 @@ module Google
|
|
362
362
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/backendServices/{backend_service}/getHealth",
|
363
363
|
body: "resource_group_reference_resource",
|
364
364
|
matches: [
|
365
|
-
["project", %r{[^/]
|
366
|
-
["region", %r{[^/]
|
367
|
-
["backend_service", %r{[^/]
|
365
|
+
["project", %r{^[^/]+/?$}, false],
|
366
|
+
["region", %r{^[^/]+/?$}, false],
|
367
|
+
["backend_service", %r{^[^/]+/?$}, false]
|
368
368
|
]
|
369
369
|
)
|
370
370
|
transcoder.transcode request_pb
|
@@ -386,8 +386,8 @@ module Google
|
|
386
386
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/backendServices",
|
387
387
|
body: "backend_service_resource",
|
388
388
|
matches: [
|
389
|
-
["project", %r{[^/]
|
390
|
-
["region", %r{[^/]
|
389
|
+
["project", %r{^[^/]+/?$}, false],
|
390
|
+
["region", %r{^[^/]+/?$}, false]
|
391
391
|
]
|
392
392
|
)
|
393
393
|
transcoder.transcode request_pb
|
@@ -408,8 +408,8 @@ module Google
|
|
408
408
|
uri_method: :get,
|
409
409
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/backendServices",
|
410
410
|
matches: [
|
411
|
-
["project", %r{[^/]
|
412
|
-
["region", %r{[^/]
|
411
|
+
["project", %r{^[^/]+/?$}, false],
|
412
|
+
["region", %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}/backendServices/{backend_service}",
|
432
432
|
body: "backend_service_resource",
|
433
433
|
matches: [
|
434
|
-
["project", %r{[^/]
|
435
|
-
["region", %r{[^/]
|
436
|
-
["backend_service", %r{[^/]
|
434
|
+
["project", %r{^[^/]+/?$}, false],
|
435
|
+
["region", %r{^[^/]+/?$}, false],
|
436
|
+
["backend_service", %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}/backendServices/{backend_service}",
|
456
456
|
body: "backend_service_resource",
|
457
457
|
matches: [
|
458
|
-
["project", %r{[^/]
|
459
|
-
["region", %r{[^/]
|
460
|
-
["backend_service", %r{[^/]
|
458
|
+
["project", %r{^[^/]+/?$}, false],
|
459
|
+
["region", %r{^[^/]+/?$}, false],
|
460
|
+
["backend_service", %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 RegionCommitments 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,7 +241,7 @@ module Google
|
|
241
241
|
uri_method: :get,
|
242
242
|
uri_template: "/compute/v1/projects/{project}/aggregated/commitments",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false]
|
245
245
|
]
|
246
246
|
)
|
247
247
|
transcoder.transcode request_pb
|
@@ -262,9 +262,9 @@ module Google
|
|
262
262
|
uri_method: :get,
|
263
263
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/commitments/{commitment}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["region", %r{[^/]
|
267
|
-
["commitment", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["region", %r{^[^/]+/?$}, false],
|
267
|
+
["commitment", %r{^[^/]+/?$}, false]
|
268
268
|
]
|
269
269
|
)
|
270
270
|
transcoder.transcode request_pb
|
@@ -286,8 +286,8 @@ module Google
|
|
286
286
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/commitments",
|
287
287
|
body: "commitment_resource",
|
288
288
|
matches: [
|
289
|
-
["project", %r{[^/]
|
290
|
-
["region", %r{[^/]
|
289
|
+
["project", %r{^[^/]+/?$}, false],
|
290
|
+
["region", %r{^[^/]+/?$}, false]
|
291
291
|
]
|
292
292
|
)
|
293
293
|
transcoder.transcode request_pb
|
@@ -308,8 +308,8 @@ module Google
|
|
308
308
|
uri_method: :get,
|
309
309
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/commitments",
|
310
310
|
matches: [
|
311
|
-
["project", %r{[^/]
|
312
|
-
["region", %r{[^/]
|
311
|
+
["project", %r{^[^/]+/?$}, false],
|
312
|
+
["region", %r{^[^/]+/?$}, false]
|
313
313
|
]
|
314
314
|
)
|
315
315
|
transcoder.transcode request_pb
|
@@ -331,9 +331,9 @@ module Google
|
|
331
331
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/commitments/{commitment}",
|
332
332
|
body: "commitment_resource",
|
333
333
|
matches: [
|
334
|
-
["project", %r{[^/]
|
335
|
-
["region", %r{[^/]
|
336
|
-
["commitment", %r{[^/]
|
334
|
+
["project", %r{^[^/]+/?$}, false],
|
335
|
+
["region", %r{^[^/]+/?$}, false],
|
336
|
+
["commitment", %r{^[^/]+/?$}, false]
|
337
337
|
]
|
338
338
|
)
|
339
339
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionDiskTypes 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,9 +130,9 @@ module Google
|
|
130
130
|
uri_method: :get,
|
131
131
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/diskTypes/{disk_type}",
|
132
132
|
matches: [
|
133
|
-
["project", %r{[^/]
|
134
|
-
["region", %r{[^/]
|
135
|
-
["disk_type", %r{[^/]
|
133
|
+
["project", %r{^[^/]+/?$}, false],
|
134
|
+
["region", %r{^[^/]+/?$}, false],
|
135
|
+
["disk_type", %r{^[^/]+/?$}, false]
|
136
136
|
]
|
137
137
|
)
|
138
138
|
transcoder.transcode request_pb
|
@@ -153,8 +153,8 @@ module Google
|
|
153
153
|
uri_method: :get,
|
154
154
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/diskTypes",
|
155
155
|
matches: [
|
156
|
-
["project", %r{[^/]
|
157
|
-
["region", %r{[^/]
|
156
|
+
["project", %r{^[^/]+/?$}, false],
|
157
|
+
["region", %r{^[^/]+/?$}, false]
|
158
158
|
]
|
159
159
|
)
|
160
160
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionDisks 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:
|
@@ -501,9 +501,9 @@ module Google
|
|
501
501
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies",
|
502
502
|
body: "region_disks_add_resource_policies_request_resource",
|
503
503
|
matches: [
|
504
|
-
["project", %r{[^/]
|
505
|
-
["region", %r{[^/]
|
506
|
-
["disk", %r{[^/]
|
504
|
+
["project", %r{^[^/]+/?$}, false],
|
505
|
+
["region", %r{^[^/]+/?$}, false],
|
506
|
+
["disk", %r{^[^/]+/?$}, false]
|
507
507
|
]
|
508
508
|
)
|
509
509
|
transcoder.transcode request_pb
|
@@ -525,9 +525,9 @@ module Google
|
|
525
525
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/createSnapshot",
|
526
526
|
body: "snapshot_resource",
|
527
527
|
matches: [
|
528
|
-
["project", %r{[^/]
|
529
|
-
["region", %r{[^/]
|
530
|
-
["disk", %r{[^/]
|
528
|
+
["project", %r{^[^/]+/?$}, false],
|
529
|
+
["region", %r{^[^/]+/?$}, false],
|
530
|
+
["disk", %r{^[^/]+/?$}, false]
|
531
531
|
]
|
532
532
|
)
|
533
533
|
transcoder.transcode request_pb
|
@@ -548,9 +548,9 @@ module Google
|
|
548
548
|
uri_method: :delete,
|
549
549
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}",
|
550
550
|
matches: [
|
551
|
-
["project", %r{[^/]
|
552
|
-
["region", %r{[^/]
|
553
|
-
["disk", %r{[^/]
|
551
|
+
["project", %r{^[^/]+/?$}, false],
|
552
|
+
["region", %r{^[^/]+/?$}, false],
|
553
|
+
["disk", %r{^[^/]+/?$}, false]
|
554
554
|
]
|
555
555
|
)
|
556
556
|
transcoder.transcode request_pb
|
@@ -571,9 +571,9 @@ module Google
|
|
571
571
|
uri_method: :get,
|
572
572
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}",
|
573
573
|
matches: [
|
574
|
-
["project", %r{[^/]
|
575
|
-
["region", %r{[^/]
|
576
|
-
["disk", %r{[^/]
|
574
|
+
["project", %r{^[^/]+/?$}, false],
|
575
|
+
["region", %r{^[^/]+/?$}, false],
|
576
|
+
["disk", %r{^[^/]+/?$}, false]
|
577
577
|
]
|
578
578
|
)
|
579
579
|
transcoder.transcode request_pb
|
@@ -594,9 +594,9 @@ module Google
|
|
594
594
|
uri_method: :get,
|
595
595
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{resource}/getIamPolicy",
|
596
596
|
matches: [
|
597
|
-
["project", %r{[^/]
|
598
|
-
["region", %r{[^/]
|
599
|
-
["resource", %r{[^/]
|
597
|
+
["project", %r{^[^/]+/?$}, false],
|
598
|
+
["region", %r{^[^/]+/?$}, false],
|
599
|
+
["resource", %r{^[^/]+/?$}, false]
|
600
600
|
]
|
601
601
|
)
|
602
602
|
transcoder.transcode request_pb
|
@@ -618,8 +618,8 @@ module Google
|
|
618
618
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks",
|
619
619
|
body: "disk_resource",
|
620
620
|
matches: [
|
621
|
-
["project", %r{[^/]
|
622
|
-
["region", %r{[^/]
|
621
|
+
["project", %r{^[^/]+/?$}, false],
|
622
|
+
["region", %r{^[^/]+/?$}, false]
|
623
623
|
]
|
624
624
|
)
|
625
625
|
transcoder.transcode request_pb
|
@@ -640,8 +640,8 @@ module Google
|
|
640
640
|
uri_method: :get,
|
641
641
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks",
|
642
642
|
matches: [
|
643
|
-
["project", %r{[^/]
|
644
|
-
["region", %r{[^/]
|
643
|
+
["project", %r{^[^/]+/?$}, false],
|
644
|
+
["region", %r{^[^/]+/?$}, false]
|
645
645
|
]
|
646
646
|
)
|
647
647
|
transcoder.transcode request_pb
|
@@ -663,9 +663,9 @@ module Google
|
|
663
663
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies",
|
664
664
|
body: "region_disks_remove_resource_policies_request_resource",
|
665
665
|
matches: [
|
666
|
-
["project", %r{[^/]
|
667
|
-
["region", %r{[^/]
|
668
|
-
["disk", %r{[^/]
|
666
|
+
["project", %r{^[^/]+/?$}, false],
|
667
|
+
["region", %r{^[^/]+/?$}, false],
|
668
|
+
["disk", %r{^[^/]+/?$}, false]
|
669
669
|
]
|
670
670
|
)
|
671
671
|
transcoder.transcode request_pb
|
@@ -687,9 +687,9 @@ module Google
|
|
687
687
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/resize",
|
688
688
|
body: "region_disks_resize_request_resource",
|
689
689
|
matches: [
|
690
|
-
["project", %r{[^/]
|
691
|
-
["region", %r{[^/]
|
692
|
-
["disk", %r{[^/]
|
690
|
+
["project", %r{^[^/]+/?$}, false],
|
691
|
+
["region", %r{^[^/]+/?$}, false],
|
692
|
+
["disk", %r{^[^/]+/?$}, false]
|
693
693
|
]
|
694
694
|
)
|
695
695
|
transcoder.transcode request_pb
|
@@ -711,9 +711,9 @@ module Google
|
|
711
711
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{resource}/setIamPolicy",
|
712
712
|
body: "region_set_policy_request_resource",
|
713
713
|
matches: [
|
714
|
-
["project", %r{[^/]
|
715
|
-
["region", %r{[^/]
|
716
|
-
["resource", %r{[^/]
|
714
|
+
["project", %r{^[^/]+/?$}, false],
|
715
|
+
["region", %r{^[^/]+/?$}, false],
|
716
|
+
["resource", %r{^[^/]+/?$}, false]
|
717
717
|
]
|
718
718
|
)
|
719
719
|
transcoder.transcode request_pb
|
@@ -735,9 +735,9 @@ module Google
|
|
735
735
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{resource}/setLabels",
|
736
736
|
body: "region_set_labels_request_resource",
|
737
737
|
matches: [
|
738
|
-
["project", %r{[^/]
|
739
|
-
["region", %r{[^/]
|
740
|
-
["resource", %r{[^/]
|
738
|
+
["project", %r{^[^/]+/?$}, false],
|
739
|
+
["region", %r{^[^/]+/?$}, false],
|
740
|
+
["resource", %r{^[^/]+/?$}, false]
|
741
741
|
]
|
742
742
|
)
|
743
743
|
transcoder.transcode request_pb
|
@@ -759,9 +759,9 @@ module Google
|
|
759
759
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions",
|
760
760
|
body: "test_permissions_request_resource",
|
761
761
|
matches: [
|
762
|
-
["project", %r{[^/]
|
763
|
-
["region", %r{[^/]
|
764
|
-
["resource", %r{[^/]
|
762
|
+
["project", %r{^[^/]+/?$}, false],
|
763
|
+
["region", %r{^[^/]+/?$}, false],
|
764
|
+
["resource", %r{^[^/]+/?$}, false]
|
765
765
|
]
|
766
766
|
)
|
767
767
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionHealthCheckServices 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,9 +241,9 @@ module Google
|
|
241
241
|
uri_method: :delete,
|
242
242
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthCheckServices/{health_check_service}",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
245
|
-
["region", %r{[^/]
|
246
|
-
["health_check_service", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false],
|
245
|
+
["region", %r{^[^/]+/?$}, false],
|
246
|
+
["health_check_service", %r{^[^/]+/?$}, false]
|
247
247
|
]
|
248
248
|
)
|
249
249
|
transcoder.transcode request_pb
|
@@ -264,9 +264,9 @@ module Google
|
|
264
264
|
uri_method: :get,
|
265
265
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthCheckServices/{health_check_service}",
|
266
266
|
matches: [
|
267
|
-
["project", %r{[^/]
|
268
|
-
["region", %r{[^/]
|
269
|
-
["health_check_service", %r{[^/]
|
267
|
+
["project", %r{^[^/]+/?$}, false],
|
268
|
+
["region", %r{^[^/]+/?$}, false],
|
269
|
+
["health_check_service", %r{^[^/]+/?$}, false]
|
270
270
|
]
|
271
271
|
)
|
272
272
|
transcoder.transcode request_pb
|
@@ -288,8 +288,8 @@ module Google
|
|
288
288
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthCheckServices",
|
289
289
|
body: "health_check_service_resource",
|
290
290
|
matches: [
|
291
|
-
["project", %r{[^/]
|
292
|
-
["region", %r{[^/]
|
291
|
+
["project", %r{^[^/]+/?$}, false],
|
292
|
+
["region", %r{^[^/]+/?$}, false]
|
293
293
|
]
|
294
294
|
)
|
295
295
|
transcoder.transcode request_pb
|
@@ -310,8 +310,8 @@ module Google
|
|
310
310
|
uri_method: :get,
|
311
311
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthCheckServices",
|
312
312
|
matches: [
|
313
|
-
["project", %r{[^/]
|
314
|
-
["region", %r{[^/]
|
313
|
+
["project", %r{^[^/]+/?$}, false],
|
314
|
+
["region", %r{^[^/]+/?$}, false]
|
315
315
|
]
|
316
316
|
)
|
317
317
|
transcoder.transcode request_pb
|
@@ -333,9 +333,9 @@ module Google
|
|
333
333
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthCheckServices/{health_check_service}",
|
334
334
|
body: "health_check_service_resource",
|
335
335
|
matches: [
|
336
|
-
["project", %r{[^/]
|
337
|
-
["region", %r{[^/]
|
338
|
-
["health_check_service", %r{[^/]
|
336
|
+
["project", %r{^[^/]+/?$}, false],
|
337
|
+
["region", %r{^[^/]+/?$}, false],
|
338
|
+
["health_check_service", %r{^[^/]+/?$}, false]
|
339
339
|
]
|
340
340
|
)
|
341
341
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the RegionHealthChecks 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}/healthChecks/{health_check}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["region", %r{[^/]
|
283
|
-
["health_check", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["region", %r{^[^/]+/?$}, false],
|
283
|
+
["health_check", %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}/healthChecks/{health_check}",
|
303
303
|
matches: [
|
304
|
-
["project", %r{[^/]
|
305
|
-
["region", %r{[^/]
|
306
|
-
["health_check", %r{[^/]
|
304
|
+
["project", %r{^[^/]+/?$}, false],
|
305
|
+
["region", %r{^[^/]+/?$}, false],
|
306
|
+
["health_check", %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}/healthChecks",
|
326
326
|
body: "health_check_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}/healthChecks",
|
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,9 +370,9 @@ module Google
|
|
370
370
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
|
371
371
|
body: "health_check_resource",
|
372
372
|
matches: [
|
373
|
-
["project", %r{[^/]
|
374
|
-
["region", %r{[^/]
|
375
|
-
["health_check", %r{[^/]
|
373
|
+
["project", %r{^[^/]+/?$}, false],
|
374
|
+
["region", %r{^[^/]+/?$}, false],
|
375
|
+
["health_check", %r{^[^/]+/?$}, false]
|
376
376
|
]
|
377
377
|
)
|
378
378
|
transcoder.transcode request_pb
|
@@ -394,9 +394,9 @@ module Google
|
|
394
394
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
|
395
395
|
body: "health_check_resource",
|
396
396
|
matches: [
|
397
|
-
["project", %r{[^/]
|
398
|
-
["region", %r{[^/]
|
399
|
-
["health_check", %r{[^/]
|
397
|
+
["project", %r{^[^/]+/?$}, false],
|
398
|
+
["region", %r{^[^/]+/?$}, false],
|
399
|
+
["health_check", %r{^[^/]+/?$}, false]
|
400
400
|
]
|
401
401
|
)
|
402
402
|
transcoder.transcode request_pb
|
@@ -939,7 +939,7 @@ module Google
|
|
939
939
|
end
|
940
940
|
|
941
941
|
##
|
942
|
-
# Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.
|
942
|
+
# Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
|
943
943
|
#
|
944
944
|
# @overload list_managed_instances(request, options = nil)
|
945
945
|
# Pass arguments to `list_managed_instances` via a request object, either of type
|