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 GlobalAddresses 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:
|
@@ -204,8 +204,8 @@ module Google
|
|
204
204
|
uri_method: :delete,
|
205
205
|
uri_template: "/compute/v1/projects/{project}/global/addresses/{address}",
|
206
206
|
matches: [
|
207
|
-
["project", %r{[^/]
|
208
|
-
["address", %r{[^/]
|
207
|
+
["project", %r{^[^/]+/?$}, false],
|
208
|
+
["address", %r{^[^/]+/?$}, false]
|
209
209
|
]
|
210
210
|
)
|
211
211
|
transcoder.transcode request_pb
|
@@ -226,8 +226,8 @@ module Google
|
|
226
226
|
uri_method: :get,
|
227
227
|
uri_template: "/compute/v1/projects/{project}/global/addresses/{address}",
|
228
228
|
matches: [
|
229
|
-
["project", %r{[^/]
|
230
|
-
["address", %r{[^/]
|
229
|
+
["project", %r{^[^/]+/?$}, false],
|
230
|
+
["address", %r{^[^/]+/?$}, false]
|
231
231
|
]
|
232
232
|
)
|
233
233
|
transcoder.transcode request_pb
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
uri_template: "/compute/v1/projects/{project}/global/addresses",
|
250
250
|
body: "address_resource",
|
251
251
|
matches: [
|
252
|
-
["project", %r{[^/]
|
252
|
+
["project", %r{^[^/]+/?$}, false]
|
253
253
|
]
|
254
254
|
)
|
255
255
|
transcoder.transcode request_pb
|
@@ -270,7 +270,7 @@ module Google
|
|
270
270
|
uri_method: :get,
|
271
271
|
uri_template: "/compute/v1/projects/{project}/global/addresses",
|
272
272
|
matches: [
|
273
|
-
["project", %r{[^/]
|
273
|
+
["project", %r{^[^/]+/?$}, false]
|
274
274
|
]
|
275
275
|
)
|
276
276
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the GlobalForwardingRules 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,8 +315,8 @@ module Google
|
|
315
315
|
uri_method: :delete,
|
316
316
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules/{forwarding_rule}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["forwarding_rule", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
320
320
|
]
|
321
321
|
)
|
322
322
|
transcoder.transcode request_pb
|
@@ -337,8 +337,8 @@ module Google
|
|
337
337
|
uri_method: :get,
|
338
338
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules/{forwarding_rule}",
|
339
339
|
matches: [
|
340
|
-
["project", %r{[^/]
|
341
|
-
["forwarding_rule", %r{[^/]
|
340
|
+
["project", %r{^[^/]+/?$}, false],
|
341
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
342
342
|
]
|
343
343
|
)
|
344
344
|
transcoder.transcode request_pb
|
@@ -360,7 +360,7 @@ module Google
|
|
360
360
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules",
|
361
361
|
body: "forwarding_rule_resource",
|
362
362
|
matches: [
|
363
|
-
["project", %r{[^/]
|
363
|
+
["project", %r{^[^/]+/?$}, false]
|
364
364
|
]
|
365
365
|
)
|
366
366
|
transcoder.transcode request_pb
|
@@ -381,7 +381,7 @@ module Google
|
|
381
381
|
uri_method: :get,
|
382
382
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules",
|
383
383
|
matches: [
|
384
|
-
["project", %r{[^/]
|
384
|
+
["project", %r{^[^/]+/?$}, false]
|
385
385
|
]
|
386
386
|
)
|
387
387
|
transcoder.transcode request_pb
|
@@ -403,8 +403,8 @@ module Google
|
|
403
403
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules/{forwarding_rule}",
|
404
404
|
body: "forwarding_rule_resource",
|
405
405
|
matches: [
|
406
|
-
["project", %r{[^/]
|
407
|
-
["forwarding_rule", %r{[^/]
|
406
|
+
["project", %r{^[^/]+/?$}, false],
|
407
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
408
408
|
]
|
409
409
|
)
|
410
410
|
transcoder.transcode request_pb
|
@@ -426,8 +426,8 @@ module Google
|
|
426
426
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules/{resource}/setLabels",
|
427
427
|
body: "global_set_labels_request_resource",
|
428
428
|
matches: [
|
429
|
-
["project", %r{[^/]
|
430
|
-
["resource", %r{[^/]
|
429
|
+
["project", %r{^[^/]+/?$}, false],
|
430
|
+
["resource", %r{^[^/]+/?$}, false]
|
431
431
|
]
|
432
432
|
)
|
433
433
|
transcoder.transcode request_pb
|
@@ -449,8 +449,8 @@ module Google
|
|
449
449
|
uri_template: "/compute/v1/projects/{project}/global/forwardingRules/{forwarding_rule}/setTarget",
|
450
450
|
body: "target_reference_resource",
|
451
451
|
matches: [
|
452
|
-
["project", %r{[^/]
|
453
|
-
["forwarding_rule", %r{[^/]
|
452
|
+
["project", %r{^[^/]+/?$}, false],
|
453
|
+
["forwarding_rule", %r{^[^/]+/?$}, false]
|
454
454
|
]
|
455
455
|
)
|
456
456
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the GlobalNetworkEndpointGroups 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:
|
@@ -316,8 +316,8 @@ module Google
|
|
316
316
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}/attachNetworkEndpoints",
|
317
317
|
body: "global_network_endpoint_groups_attach_endpoints_request_resource",
|
318
318
|
matches: [
|
319
|
-
["project", %r{[^/]
|
320
|
-
["network_endpoint_group", %r{[^/]
|
319
|
+
["project", %r{^[^/]+/?$}, false],
|
320
|
+
["network_endpoint_group", %r{^[^/]+/?$}, false]
|
321
321
|
]
|
322
322
|
)
|
323
323
|
transcoder.transcode request_pb
|
@@ -338,8 +338,8 @@ module Google
|
|
338
338
|
uri_method: :delete,
|
339
339
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}",
|
340
340
|
matches: [
|
341
|
-
["project", %r{[^/]
|
342
|
-
["network_endpoint_group", %r{[^/]
|
341
|
+
["project", %r{^[^/]+/?$}, false],
|
342
|
+
["network_endpoint_group", %r{^[^/]+/?$}, false]
|
343
343
|
]
|
344
344
|
)
|
345
345
|
transcoder.transcode request_pb
|
@@ -361,8 +361,8 @@ module Google
|
|
361
361
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}/detachNetworkEndpoints",
|
362
362
|
body: "global_network_endpoint_groups_detach_endpoints_request_resource",
|
363
363
|
matches: [
|
364
|
-
["project", %r{[^/]
|
365
|
-
["network_endpoint_group", %r{[^/]
|
364
|
+
["project", %r{^[^/]+/?$}, false],
|
365
|
+
["network_endpoint_group", %r{^[^/]+/?$}, false]
|
366
366
|
]
|
367
367
|
)
|
368
368
|
transcoder.transcode request_pb
|
@@ -383,8 +383,8 @@ module Google
|
|
383
383
|
uri_method: :get,
|
384
384
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}",
|
385
385
|
matches: [
|
386
|
-
["project", %r{[^/]
|
387
|
-
["network_endpoint_group", %r{[^/]
|
386
|
+
["project", %r{^[^/]+/?$}, false],
|
387
|
+
["network_endpoint_group", %r{^[^/]+/?$}, false]
|
388
388
|
]
|
389
389
|
)
|
390
390
|
transcoder.transcode request_pb
|
@@ -406,7 +406,7 @@ module Google
|
|
406
406
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups",
|
407
407
|
body: "network_endpoint_group_resource",
|
408
408
|
matches: [
|
409
|
-
["project", %r{[^/]
|
409
|
+
["project", %r{^[^/]+/?$}, false]
|
410
410
|
]
|
411
411
|
)
|
412
412
|
transcoder.transcode request_pb
|
@@ -427,7 +427,7 @@ module Google
|
|
427
427
|
uri_method: :get,
|
428
428
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups",
|
429
429
|
matches: [
|
430
|
-
["project", %r{[^/]
|
430
|
+
["project", %r{^[^/]+/?$}, false]
|
431
431
|
]
|
432
432
|
)
|
433
433
|
transcoder.transcode request_pb
|
@@ -448,8 +448,8 @@ module Google
|
|
448
448
|
uri_method: :post,
|
449
449
|
uri_template: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}/listNetworkEndpoints",
|
450
450
|
matches: [
|
451
|
-
["project", %r{[^/]
|
452
|
-
["network_endpoint_group", %r{[^/]
|
451
|
+
["project", %r{^[^/]+/?$}, false],
|
452
|
+
["network_endpoint_group", %r{^[^/]+/?$}, false]
|
453
453
|
]
|
454
454
|
)
|
455
455
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the GlobalOperations 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/operations",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false]
|
245
245
|
]
|
246
246
|
)
|
247
247
|
transcoder.transcode request_pb
|
@@ -262,8 +262,8 @@ module Google
|
|
262
262
|
uri_method: :delete,
|
263
263
|
uri_template: "/compute/v1/projects/{project}/global/operations/{operation}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["operation", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["operation", %r{^[^/]+/?$}, false]
|
267
267
|
]
|
268
268
|
)
|
269
269
|
transcoder.transcode request_pb
|
@@ -284,8 +284,8 @@ module Google
|
|
284
284
|
uri_method: :get,
|
285
285
|
uri_template: "/compute/v1/projects/{project}/global/operations/{operation}",
|
286
286
|
matches: [
|
287
|
-
["project", %r{[^/]
|
288
|
-
["operation", %r{[^/]
|
287
|
+
["project", %r{^[^/]+/?$}, false],
|
288
|
+
["operation", %r{^[^/]+/?$}, false]
|
289
289
|
]
|
290
290
|
)
|
291
291
|
transcoder.transcode request_pb
|
@@ -306,7 +306,7 @@ module Google
|
|
306
306
|
uri_method: :get,
|
307
307
|
uri_template: "/compute/v1/projects/{project}/global/operations",
|
308
308
|
matches: [
|
309
|
-
["project", %r{[^/]
|
309
|
+
["project", %r{^[^/]+/?$}, false]
|
310
310
|
]
|
311
311
|
)
|
312
312
|
transcoder.transcode request_pb
|
@@ -327,8 +327,8 @@ module Google
|
|
327
327
|
uri_method: :post,
|
328
328
|
uri_template: "/compute/v1/projects/{project}/global/operations/{operation}/wait",
|
329
329
|
matches: [
|
330
|
-
["project", %r{[^/]
|
331
|
-
["operation", %r{[^/]
|
330
|
+
["project", %r{^[^/]+/?$}, false],
|
331
|
+
["operation", %r{^[^/]+/?$}, false]
|
332
332
|
]
|
333
333
|
)
|
334
334
|
transcoder.transcode request_pb
|
@@ -22,7 +22,6 @@ require "gapic/config/method"
|
|
22
22
|
require "google/cloud/compute/v1/version"
|
23
23
|
|
24
24
|
require "google/cloud/compute/v1/global_operations/credentials"
|
25
|
-
require "google/cloud/compute/v1/global_operations/rest/nonstandard_lro"
|
26
25
|
require "google/cloud/compute/v1/global_operations/rest"
|
27
26
|
|
28
27
|
module Google
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the GlobalOrganizationOperations 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: :delete,
|
168
168
|
uri_template: "/compute/v1/locations/global/operations/{operation}",
|
169
169
|
matches: [
|
170
|
-
["operation", %r{[^/]
|
170
|
+
["operation", %r{^[^/]+/?$}, false]
|
171
171
|
]
|
172
172
|
)
|
173
173
|
transcoder.transcode request_pb
|
@@ -188,7 +188,7 @@ module Google
|
|
188
188
|
uri_method: :get,
|
189
189
|
uri_template: "/compute/v1/locations/global/operations/{operation}",
|
190
190
|
matches: [
|
191
|
-
["operation", %r{[^/]
|
191
|
+
["operation", %r{^[^/]+/?$}, false]
|
192
192
|
]
|
193
193
|
)
|
194
194
|
transcoder.transcode request_pb
|
@@ -22,7 +22,6 @@ require "gapic/config/method"
|
|
22
22
|
require "google/cloud/compute/v1/version"
|
23
23
|
|
24
24
|
require "google/cloud/compute/v1/global_organization_operations/credentials"
|
25
|
-
require "google/cloud/compute/v1/global_organization_operations/rest/nonstandard_lro"
|
26
25
|
require "google/cloud/compute/v1/global_organization_operations/rest"
|
27
26
|
|
28
27
|
module Google
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the GlobalPublicDelegatedPrefixes 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/publicDelegatedPrefixes/{public_delegated_prefix}",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
245
|
-
["public_delegated_prefix", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false],
|
245
|
+
["public_delegated_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/publicDelegatedPrefixes/{public_delegated_prefix}",
|
265
265
|
matches: [
|
266
|
-
["project", %r{[^/]
|
267
|
-
["public_delegated_prefix", %r{[^/]
|
266
|
+
["project", %r{^[^/]+/?$}, false],
|
267
|
+
["public_delegated_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/publicDelegatedPrefixes",
|
287
287
|
body: "public_delegated_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/publicDelegatedPrefixes",
|
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/publicDelegatedPrefixes/{public_delegated_prefix}",
|
330
330
|
body: "public_delegated_prefix_resource",
|
331
331
|
matches: [
|
332
|
-
["project", %r{[^/]
|
333
|
-
["public_delegated_prefix", %r{[^/]
|
332
|
+
["project", %r{^[^/]+/?$}, false],
|
333
|
+
["public_delegated_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 HealthChecks 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/healthChecks",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false]
|
319
319
|
]
|
320
320
|
)
|
321
321
|
transcoder.transcode request_pb
|
@@ -336,8 +336,8 @@ module Google
|
|
336
336
|
uri_method: :delete,
|
337
337
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks/{health_check}",
|
338
338
|
matches: [
|
339
|
-
["project", %r{[^/]
|
340
|
-
["health_check", %r{[^/]
|
339
|
+
["project", %r{^[^/]+/?$}, false],
|
340
|
+
["health_check", %r{^[^/]+/?$}, false]
|
341
341
|
]
|
342
342
|
)
|
343
343
|
transcoder.transcode request_pb
|
@@ -358,8 +358,8 @@ module Google
|
|
358
358
|
uri_method: :get,
|
359
359
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks/{health_check}",
|
360
360
|
matches: [
|
361
|
-
["project", %r{[^/]
|
362
|
-
["health_check", %r{[^/]
|
361
|
+
["project", %r{^[^/]+/?$}, false],
|
362
|
+
["health_check", %r{^[^/]+/?$}, false]
|
363
363
|
]
|
364
364
|
)
|
365
365
|
transcoder.transcode request_pb
|
@@ -381,7 +381,7 @@ module Google
|
|
381
381
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks",
|
382
382
|
body: "health_check_resource",
|
383
383
|
matches: [
|
384
|
-
["project", %r{[^/]
|
384
|
+
["project", %r{^[^/]+/?$}, false]
|
385
385
|
]
|
386
386
|
)
|
387
387
|
transcoder.transcode request_pb
|
@@ -402,7 +402,7 @@ module Google
|
|
402
402
|
uri_method: :get,
|
403
403
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks",
|
404
404
|
matches: [
|
405
|
-
["project", %r{[^/]
|
405
|
+
["project", %r{^[^/]+/?$}, false]
|
406
406
|
]
|
407
407
|
)
|
408
408
|
transcoder.transcode request_pb
|
@@ -424,8 +424,8 @@ module Google
|
|
424
424
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks/{health_check}",
|
425
425
|
body: "health_check_resource",
|
426
426
|
matches: [
|
427
|
-
["project", %r{[^/]
|
428
|
-
["health_check", %r{[^/]
|
427
|
+
["project", %r{^[^/]+/?$}, false],
|
428
|
+
["health_check", %r{^[^/]+/?$}, false]
|
429
429
|
]
|
430
430
|
)
|
431
431
|
transcoder.transcode request_pb
|
@@ -447,8 +447,8 @@ module Google
|
|
447
447
|
uri_template: "/compute/v1/projects/{project}/global/healthChecks/{health_check}",
|
448
448
|
body: "health_check_resource",
|
449
449
|
matches: [
|
450
|
-
["project", %r{[^/]
|
451
|
-
["health_check", %r{[^/]
|
450
|
+
["project", %r{^[^/]+/?$}, false],
|
451
|
+
["health_check", %r{^[^/]+/?$}, false]
|
452
452
|
]
|
453
453
|
)
|
454
454
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the ImageFamilyViews 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:
|
@@ -93,9 +93,9 @@ module Google
|
|
93
93
|
uri_method: :get,
|
94
94
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/imageFamilyViews/{family}",
|
95
95
|
matches: [
|
96
|
-
["project", %r{[^/]
|
97
|
-
["zone", %r{[^/]
|
98
|
-
["family", %r{[^/]
|
96
|
+
["project", %r{^[^/]+/?$}, false],
|
97
|
+
["zone", %r{^[^/]+/?$}, false],
|
98
|
+
["family", %r{^[^/]+/?$}, false]
|
99
99
|
]
|
100
100
|
)
|
101
101
|
transcoder.transcode request_pb
|