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 InterconnectAttachments 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/interconnectAttachments",
|
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}/interconnectAttachments/{interconnect_attachment}",
|
301
301
|
matches: [
|
302
|
-
["project", %r{[^/]
|
303
|
-
["region", %r{[^/]
|
304
|
-
["interconnect_attachment", %r{[^/]
|
302
|
+
["project", %r{^[^/]+/?$}, false],
|
303
|
+
["region", %r{^[^/]+/?$}, false],
|
304
|
+
["interconnect_attachment", %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}/interconnectAttachments/{interconnect_attachment}",
|
324
324
|
matches: [
|
325
|
-
["project", %r{[^/]
|
326
|
-
["region", %r{[^/]
|
327
|
-
["interconnect_attachment", %r{[^/]
|
325
|
+
["project", %r{^[^/]+/?$}, false],
|
326
|
+
["region", %r{^[^/]+/?$}, false],
|
327
|
+
["interconnect_attachment", %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}/interconnectAttachments",
|
347
347
|
body: "interconnect_attachment_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}/interconnectAttachments",
|
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}/interconnectAttachments/{interconnect_attachment}",
|
392
392
|
body: "interconnect_attachment_resource",
|
393
393
|
matches: [
|
394
|
-
["project", %r{[^/]
|
395
|
-
["region", %r{[^/]
|
396
|
-
["interconnect_attachment", %r{[^/]
|
394
|
+
["project", %r{^[^/]+/?$}, false],
|
395
|
+
["region", %r{^[^/]+/?$}, false],
|
396
|
+
["interconnect_attachment", %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 InterconnectLocations 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}/global/interconnectLocations/{interconnect_location}",
|
132
132
|
matches: [
|
133
|
-
["project", %r{[^/]
|
134
|
-
["interconnect_location", %r{[^/]
|
133
|
+
["project", %r{^[^/]+/?$}, false],
|
134
|
+
["interconnect_location", %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}/global/interconnectLocations",
|
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 Interconnects 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,8 +278,8 @@ module Google
|
|
278
278
|
uri_method: :delete,
|
279
279
|
uri_template: "/compute/v1/projects/{project}/global/interconnects/{interconnect}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["interconnect", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["interconnect", %r{^[^/]+/?$}, false]
|
283
283
|
]
|
284
284
|
)
|
285
285
|
transcoder.transcode request_pb
|
@@ -300,8 +300,8 @@ module Google
|
|
300
300
|
uri_method: :get,
|
301
301
|
uri_template: "/compute/v1/projects/{project}/global/interconnects/{interconnect}",
|
302
302
|
matches: [
|
303
|
-
["project", %r{[^/]
|
304
|
-
["interconnect", %r{[^/]
|
303
|
+
["project", %r{^[^/]+/?$}, false],
|
304
|
+
["interconnect", %r{^[^/]+/?$}, false]
|
305
305
|
]
|
306
306
|
)
|
307
307
|
transcoder.transcode request_pb
|
@@ -322,8 +322,8 @@ module Google
|
|
322
322
|
uri_method: :get,
|
323
323
|
uri_template: "/compute/v1/projects/{project}/global/interconnects/{interconnect}/getDiagnostics",
|
324
324
|
matches: [
|
325
|
-
["project", %r{[^/]
|
326
|
-
["interconnect", %r{[^/]
|
325
|
+
["project", %r{^[^/]+/?$}, false],
|
326
|
+
["interconnect", %r{^[^/]+/?$}, false]
|
327
327
|
]
|
328
328
|
)
|
329
329
|
transcoder.transcode request_pb
|
@@ -345,7 +345,7 @@ module Google
|
|
345
345
|
uri_template: "/compute/v1/projects/{project}/global/interconnects",
|
346
346
|
body: "interconnect_resource",
|
347
347
|
matches: [
|
348
|
-
["project", %r{[^/]
|
348
|
+
["project", %r{^[^/]+/?$}, false]
|
349
349
|
]
|
350
350
|
)
|
351
351
|
transcoder.transcode request_pb
|
@@ -366,7 +366,7 @@ module Google
|
|
366
366
|
uri_method: :get,
|
367
367
|
uri_template: "/compute/v1/projects/{project}/global/interconnects",
|
368
368
|
matches: [
|
369
|
-
["project", %r{[^/]
|
369
|
+
["project", %r{^[^/]+/?$}, false]
|
370
370
|
]
|
371
371
|
)
|
372
372
|
transcoder.transcode request_pb
|
@@ -388,8 +388,8 @@ module Google
|
|
388
388
|
uri_template: "/compute/v1/projects/{project}/global/interconnects/{interconnect}",
|
389
389
|
body: "interconnect_resource",
|
390
390
|
matches: [
|
391
|
-
["project", %r{[^/]
|
392
|
-
["interconnect", %r{[^/]
|
391
|
+
["project", %r{^[^/]+/?$}, false],
|
392
|
+
["interconnect", %r{^[^/]+/?$}, false]
|
393
393
|
]
|
394
394
|
)
|
395
395
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the LicenseCodes 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}/global/licenseCodes/{license_code}",
|
132
132
|
matches: [
|
133
|
-
["project", %r{[^/]
|
134
|
-
["license_code", %r{[^/]
|
133
|
+
["project", %r{^[^/]+/?$}, false],
|
134
|
+
["license_code", %r{^[^/]+/?$}, false]
|
135
135
|
]
|
136
136
|
)
|
137
137
|
transcoder.transcode request_pb
|
@@ -153,8 +153,8 @@ module Google
|
|
153
153
|
uri_template: "/compute/v1/projects/{project}/global/licenseCodes/{resource}/testIamPermissions",
|
154
154
|
body: "test_permissions_request_resource",
|
155
155
|
matches: [
|
156
|
-
["project", %r{[^/]
|
157
|
-
["resource", %r{[^/]
|
156
|
+
["project", %r{^[^/]+/?$}, false],
|
157
|
+
["resource", %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 Licenses 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/licenses/{license}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["license", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["license", %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/licenses/{license}",
|
339
339
|
matches: [
|
340
|
-
["project", %r{[^/]
|
341
|
-
["license", %r{[^/]
|
340
|
+
["project", %r{^[^/]+/?$}, false],
|
341
|
+
["license", %r{^[^/]+/?$}, false]
|
342
342
|
]
|
343
343
|
)
|
344
344
|
transcoder.transcode request_pb
|
@@ -359,8 +359,8 @@ module Google
|
|
359
359
|
uri_method: :get,
|
360
360
|
uri_template: "/compute/v1/projects/{project}/global/licenses/{resource}/getIamPolicy",
|
361
361
|
matches: [
|
362
|
-
["project", %r{[^/]
|
363
|
-
["resource", %r{[^/]
|
362
|
+
["project", %r{^[^/]+/?$}, false],
|
363
|
+
["resource", %r{^[^/]+/?$}, false]
|
364
364
|
]
|
365
365
|
)
|
366
366
|
transcoder.transcode request_pb
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
uri_template: "/compute/v1/projects/{project}/global/licenses",
|
383
383
|
body: "license_resource",
|
384
384
|
matches: [
|
385
|
-
["project", %r{[^/]
|
385
|
+
["project", %r{^[^/]+/?$}, false]
|
386
386
|
]
|
387
387
|
)
|
388
388
|
transcoder.transcode request_pb
|
@@ -403,7 +403,7 @@ module Google
|
|
403
403
|
uri_method: :get,
|
404
404
|
uri_template: "/compute/v1/projects/{project}/global/licenses",
|
405
405
|
matches: [
|
406
|
-
["project", %r{[^/]
|
406
|
+
["project", %r{^[^/]+/?$}, false]
|
407
407
|
]
|
408
408
|
)
|
409
409
|
transcoder.transcode request_pb
|
@@ -425,8 +425,8 @@ module Google
|
|
425
425
|
uri_template: "/compute/v1/projects/{project}/global/licenses/{resource}/setIamPolicy",
|
426
426
|
body: "global_set_policy_request_resource",
|
427
427
|
matches: [
|
428
|
-
["project", %r{[^/]
|
429
|
-
["resource", %r{[^/]
|
428
|
+
["project", %r{^[^/]+/?$}, false],
|
429
|
+
["resource", %r{^[^/]+/?$}, false]
|
430
430
|
]
|
431
431
|
)
|
432
432
|
transcoder.transcode request_pb
|
@@ -448,8 +448,8 @@ module Google
|
|
448
448
|
uri_template: "/compute/v1/projects/{project}/global/licenses/{resource}/testIamPermissions",
|
449
449
|
body: "test_permissions_request_resource",
|
450
450
|
matches: [
|
451
|
-
["project", %r{[^/]
|
452
|
-
["resource", %r{[^/]
|
451
|
+
["project", %r{^[^/]+/?$}, false],
|
452
|
+
["resource", %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 MachineImages 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/machineImages/{machine_image}",
|
317
317
|
matches: [
|
318
|
-
["project", %r{[^/]
|
319
|
-
["machine_image", %r{[^/]
|
318
|
+
["project", %r{^[^/]+/?$}, false],
|
319
|
+
["machine_image", %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/machineImages/{machine_image}",
|
339
339
|
matches: [
|
340
|
-
["project", %r{[^/]
|
341
|
-
["machine_image", %r{[^/]
|
340
|
+
["project", %r{^[^/]+/?$}, false],
|
341
|
+
["machine_image", %r{^[^/]+/?$}, false]
|
342
342
|
]
|
343
343
|
)
|
344
344
|
transcoder.transcode request_pb
|
@@ -359,8 +359,8 @@ module Google
|
|
359
359
|
uri_method: :get,
|
360
360
|
uri_template: "/compute/v1/projects/{project}/global/machineImages/{resource}/getIamPolicy",
|
361
361
|
matches: [
|
362
|
-
["project", %r{[^/]
|
363
|
-
["resource", %r{[^/]
|
362
|
+
["project", %r{^[^/]+/?$}, false],
|
363
|
+
["resource", %r{^[^/]+/?$}, false]
|
364
364
|
]
|
365
365
|
)
|
366
366
|
transcoder.transcode request_pb
|
@@ -382,7 +382,7 @@ module Google
|
|
382
382
|
uri_template: "/compute/v1/projects/{project}/global/machineImages",
|
383
383
|
body: "machine_image_resource",
|
384
384
|
matches: [
|
385
|
-
["project", %r{[^/]
|
385
|
+
["project", %r{^[^/]+/?$}, false]
|
386
386
|
]
|
387
387
|
)
|
388
388
|
transcoder.transcode request_pb
|
@@ -403,7 +403,7 @@ module Google
|
|
403
403
|
uri_method: :get,
|
404
404
|
uri_template: "/compute/v1/projects/{project}/global/machineImages",
|
405
405
|
matches: [
|
406
|
-
["project", %r{[^/]
|
406
|
+
["project", %r{^[^/]+/?$}, false]
|
407
407
|
]
|
408
408
|
)
|
409
409
|
transcoder.transcode request_pb
|
@@ -425,8 +425,8 @@ module Google
|
|
425
425
|
uri_template: "/compute/v1/projects/{project}/global/machineImages/{resource}/setIamPolicy",
|
426
426
|
body: "global_set_policy_request_resource",
|
427
427
|
matches: [
|
428
|
-
["project", %r{[^/]
|
429
|
-
["resource", %r{[^/]
|
428
|
+
["project", %r{^[^/]+/?$}, false],
|
429
|
+
["resource", %r{^[^/]+/?$}, false]
|
430
430
|
]
|
431
431
|
)
|
432
432
|
transcoder.transcode request_pb
|
@@ -448,8 +448,8 @@ module Google
|
|
448
448
|
uri_template: "/compute/v1/projects/{project}/global/machineImages/{resource}/testIamPermissions",
|
449
449
|
body: "test_permissions_request_resource",
|
450
450
|
matches: [
|
451
|
-
["project", %r{[^/]
|
452
|
-
["resource", %r{[^/]
|
451
|
+
["project", %r{^[^/]+/?$}, false],
|
452
|
+
["resource", %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 MachineTypes 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/machineTypes",
|
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}/machineTypes/{machine_type}",
|
190
190
|
matches: [
|
191
|
-
["project", %r{[^/]
|
192
|
-
["zone", %r{[^/]
|
193
|
-
["machine_type", %r{[^/]
|
191
|
+
["project", %r{^[^/]+/?$}, false],
|
192
|
+
["zone", %r{^[^/]+/?$}, false],
|
193
|
+
["machine_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}/machineTypes",
|
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 NetworkEdgeSecurityServices 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/networkEdgeSecurityServices",
|
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: :delete,
|
263
263
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["region", %r{[^/]
|
267
|
-
["network_edge_security_service", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["region", %r{^[^/]+/?$}, false],
|
267
|
+
["network_edge_security_service", %r{^[^/]+/?$}, false]
|
268
268
|
]
|
269
269
|
)
|
270
270
|
transcoder.transcode request_pb
|
@@ -285,9 +285,9 @@ module Google
|
|
285
285
|
uri_method: :get,
|
286
286
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}",
|
287
287
|
matches: [
|
288
|
-
["project", %r{[^/]
|
289
|
-
["region", %r{[^/]
|
290
|
-
["network_edge_security_service", %r{[^/]
|
288
|
+
["project", %r{^[^/]+/?$}, false],
|
289
|
+
["region", %r{^[^/]+/?$}, false],
|
290
|
+
["network_edge_security_service", %r{^[^/]+/?$}, false]
|
291
291
|
]
|
292
292
|
)
|
293
293
|
transcoder.transcode request_pb
|
@@ -309,8 +309,8 @@ module Google
|
|
309
309
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices",
|
310
310
|
body: "network_edge_security_service_resource",
|
311
311
|
matches: [
|
312
|
-
["project", %r{[^/]
|
313
|
-
["region", %r{[^/]
|
312
|
+
["project", %r{^[^/]+/?$}, false],
|
313
|
+
["region", %r{^[^/]+/?$}, false]
|
314
314
|
]
|
315
315
|
)
|
316
316
|
transcoder.transcode request_pb
|
@@ -332,9 +332,9 @@ module Google
|
|
332
332
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}",
|
333
333
|
body: "network_edge_security_service_resource",
|
334
334
|
matches: [
|
335
|
-
["project", %r{[^/]
|
336
|
-
["region", %r{[^/]
|
337
|
-
["network_edge_security_service", %r{[^/]
|
335
|
+
["project", %r{^[^/]+/?$}, false],
|
336
|
+
["region", %r{^[^/]+/?$}, false],
|
337
|
+
["network_edge_security_service", %r{^[^/]+/?$}, false]
|
338
338
|
]
|
339
339
|
)
|
340
340
|
transcoder.transcode request_pb
|