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 Routes 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/routes/{route}",
|
206
206
|
matches: [
|
207
|
-
["project", %r{[^/]
|
208
|
-
["route", %r{[^/]
|
207
|
+
["project", %r{^[^/]+/?$}, false],
|
208
|
+
["route", %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/routes/{route}",
|
228
228
|
matches: [
|
229
|
-
["project", %r{[^/]
|
230
|
-
["route", %r{[^/]
|
229
|
+
["project", %r{^[^/]+/?$}, false],
|
230
|
+
["route", %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/routes",
|
250
250
|
body: "route_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/routes",
|
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 SecurityPolicies 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:
|
@@ -464,8 +464,8 @@ module Google
|
|
464
464
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}/addRule",
|
465
465
|
body: "security_policy_rule_resource",
|
466
466
|
matches: [
|
467
|
-
["project", %r{[^/]
|
468
|
-
["security_policy", %r{[^/]
|
467
|
+
["project", %r{^[^/]+/?$}, false],
|
468
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
469
469
|
]
|
470
470
|
)
|
471
471
|
transcoder.transcode request_pb
|
@@ -486,7 +486,7 @@ module Google
|
|
486
486
|
uri_method: :get,
|
487
487
|
uri_template: "/compute/v1/projects/{project}/aggregated/securityPolicies",
|
488
488
|
matches: [
|
489
|
-
["project", %r{[^/]
|
489
|
+
["project", %r{^[^/]+/?$}, false]
|
490
490
|
]
|
491
491
|
)
|
492
492
|
transcoder.transcode request_pb
|
@@ -507,8 +507,8 @@ module Google
|
|
507
507
|
uri_method: :delete,
|
508
508
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}",
|
509
509
|
matches: [
|
510
|
-
["project", %r{[^/]
|
511
|
-
["security_policy", %r{[^/]
|
510
|
+
["project", %r{^[^/]+/?$}, false],
|
511
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
512
512
|
]
|
513
513
|
)
|
514
514
|
transcoder.transcode request_pb
|
@@ -529,8 +529,8 @@ module Google
|
|
529
529
|
uri_method: :get,
|
530
530
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}",
|
531
531
|
matches: [
|
532
|
-
["project", %r{[^/]
|
533
|
-
["security_policy", %r{[^/]
|
532
|
+
["project", %r{^[^/]+/?$}, false],
|
533
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
534
534
|
]
|
535
535
|
)
|
536
536
|
transcoder.transcode request_pb
|
@@ -551,8 +551,8 @@ module Google
|
|
551
551
|
uri_method: :get,
|
552
552
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}/getRule",
|
553
553
|
matches: [
|
554
|
-
["project", %r{[^/]
|
555
|
-
["security_policy", %r{[^/]
|
554
|
+
["project", %r{^[^/]+/?$}, false],
|
555
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
556
556
|
]
|
557
557
|
)
|
558
558
|
transcoder.transcode request_pb
|
@@ -574,7 +574,7 @@ module Google
|
|
574
574
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies",
|
575
575
|
body: "security_policy_resource",
|
576
576
|
matches: [
|
577
|
-
["project", %r{[^/]
|
577
|
+
["project", %r{^[^/]+/?$}, false]
|
578
578
|
]
|
579
579
|
)
|
580
580
|
transcoder.transcode request_pb
|
@@ -595,7 +595,7 @@ module Google
|
|
595
595
|
uri_method: :get,
|
596
596
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies",
|
597
597
|
matches: [
|
598
|
-
["project", %r{[^/]
|
598
|
+
["project", %r{^[^/]+/?$}, false]
|
599
599
|
]
|
600
600
|
)
|
601
601
|
transcoder.transcode request_pb
|
@@ -616,7 +616,7 @@ module Google
|
|
616
616
|
uri_method: :get,
|
617
617
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets",
|
618
618
|
matches: [
|
619
|
-
["project", %r{[^/]
|
619
|
+
["project", %r{^[^/]+/?$}, false]
|
620
620
|
]
|
621
621
|
)
|
622
622
|
transcoder.transcode request_pb
|
@@ -638,8 +638,8 @@ module Google
|
|
638
638
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}",
|
639
639
|
body: "security_policy_resource",
|
640
640
|
matches: [
|
641
|
-
["project", %r{[^/]
|
642
|
-
["security_policy", %r{[^/]
|
641
|
+
["project", %r{^[^/]+/?$}, false],
|
642
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
643
643
|
]
|
644
644
|
)
|
645
645
|
transcoder.transcode request_pb
|
@@ -661,8 +661,8 @@ module Google
|
|
661
661
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}/patchRule",
|
662
662
|
body: "security_policy_rule_resource",
|
663
663
|
matches: [
|
664
|
-
["project", %r{[^/]
|
665
|
-
["security_policy", %r{[^/]
|
664
|
+
["project", %r{^[^/]+/?$}, false],
|
665
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
666
666
|
]
|
667
667
|
)
|
668
668
|
transcoder.transcode request_pb
|
@@ -683,8 +683,8 @@ module Google
|
|
683
683
|
uri_method: :post,
|
684
684
|
uri_template: "/compute/v1/projects/{project}/global/securityPolicies/{security_policy}/removeRule",
|
685
685
|
matches: [
|
686
|
-
["project", %r{[^/]
|
687
|
-
["security_policy", %r{[^/]
|
686
|
+
["project", %r{^[^/]+/?$}, false],
|
687
|
+
["security_policy", %r{^[^/]+/?$}, false]
|
688
688
|
]
|
689
689
|
)
|
690
690
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the ServiceAttachments 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:
|
@@ -389,7 +389,7 @@ module Google
|
|
389
389
|
uri_method: :get,
|
390
390
|
uri_template: "/compute/v1/projects/{project}/aggregated/serviceAttachments",
|
391
391
|
matches: [
|
392
|
-
["project", %r{[^/]
|
392
|
+
["project", %r{^[^/]+/?$}, false]
|
393
393
|
]
|
394
394
|
)
|
395
395
|
transcoder.transcode request_pb
|
@@ -410,9 +410,9 @@ module Google
|
|
410
410
|
uri_method: :delete,
|
411
411
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments/{service_attachment}",
|
412
412
|
matches: [
|
413
|
-
["project", %r{[^/]
|
414
|
-
["region", %r{[^/]
|
415
|
-
["service_attachment", %r{[^/]
|
413
|
+
["project", %r{^[^/]+/?$}, false],
|
414
|
+
["region", %r{^[^/]+/?$}, false],
|
415
|
+
["service_attachment", %r{^[^/]+/?$}, false]
|
416
416
|
]
|
417
417
|
)
|
418
418
|
transcoder.transcode request_pb
|
@@ -433,9 +433,9 @@ module Google
|
|
433
433
|
uri_method: :get,
|
434
434
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments/{service_attachment}",
|
435
435
|
matches: [
|
436
|
-
["project", %r{[^/]
|
437
|
-
["region", %r{[^/]
|
438
|
-
["service_attachment", %r{[^/]
|
436
|
+
["project", %r{^[^/]+/?$}, false],
|
437
|
+
["region", %r{^[^/]+/?$}, false],
|
438
|
+
["service_attachment", %r{^[^/]+/?$}, false]
|
439
439
|
]
|
440
440
|
)
|
441
441
|
transcoder.transcode request_pb
|
@@ -456,9 +456,9 @@ module Google
|
|
456
456
|
uri_method: :get,
|
457
457
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy",
|
458
458
|
matches: [
|
459
|
-
["project", %r{[^/]
|
460
|
-
["region", %r{[^/]
|
461
|
-
["resource", %r{[^/]
|
459
|
+
["project", %r{^[^/]+/?$}, false],
|
460
|
+
["region", %r{^[^/]+/?$}, false],
|
461
|
+
["resource", %r{^[^/]+/?$}, false]
|
462
462
|
]
|
463
463
|
)
|
464
464
|
transcoder.transcode request_pb
|
@@ -480,8 +480,8 @@ module Google
|
|
480
480
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments",
|
481
481
|
body: "service_attachment_resource",
|
482
482
|
matches: [
|
483
|
-
["project", %r{[^/]
|
484
|
-
["region", %r{[^/]
|
483
|
+
["project", %r{^[^/]+/?$}, false],
|
484
|
+
["region", %r{^[^/]+/?$}, false]
|
485
485
|
]
|
486
486
|
)
|
487
487
|
transcoder.transcode request_pb
|
@@ -502,8 +502,8 @@ module Google
|
|
502
502
|
uri_method: :get,
|
503
503
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments",
|
504
504
|
matches: [
|
505
|
-
["project", %r{[^/]
|
506
|
-
["region", %r{[^/]
|
505
|
+
["project", %r{^[^/]+/?$}, false],
|
506
|
+
["region", %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}/serviceAttachments/{service_attachment}",
|
526
526
|
body: "service_attachment_resource",
|
527
527
|
matches: [
|
528
|
-
["project", %r{[^/]
|
529
|
-
["region", %r{[^/]
|
530
|
-
["service_attachment", %r{[^/]
|
528
|
+
["project", %r{^[^/]+/?$}, false],
|
529
|
+
["region", %r{^[^/]+/?$}, false],
|
530
|
+
["service_attachment", %r{^[^/]+/?$}, false]
|
531
531
|
]
|
532
532
|
)
|
533
533
|
transcoder.transcode request_pb
|
@@ -549,9 +549,9 @@ module Google
|
|
549
549
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy",
|
550
550
|
body: "region_set_policy_request_resource",
|
551
551
|
matches: [
|
552
|
-
["project", %r{[^/]
|
553
|
-
["region", %r{[^/]
|
554
|
-
["resource", %r{[^/]
|
552
|
+
["project", %r{^[^/]+/?$}, false],
|
553
|
+
["region", %r{^[^/]+/?$}, false],
|
554
|
+
["resource", %r{^[^/]+/?$}, false]
|
555
555
|
]
|
556
556
|
)
|
557
557
|
transcoder.transcode request_pb
|
@@ -573,9 +573,9 @@ module Google
|
|
573
573
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions",
|
574
574
|
body: "test_permissions_request_resource",
|
575
575
|
matches: [
|
576
|
-
["project", %r{[^/]
|
577
|
-
["region", %r{[^/]
|
578
|
-
["resource", %r{[^/]
|
576
|
+
["project", %r{^[^/]+/?$}, false],
|
577
|
+
["region", %r{^[^/]+/?$}, false],
|
578
|
+
["resource", %r{^[^/]+/?$}, false]
|
579
579
|
]
|
580
580
|
)
|
581
581
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the Snapshots 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,8 +352,8 @@ module Google
|
|
352
352
|
uri_method: :delete,
|
353
353
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{snapshot}",
|
354
354
|
matches: [
|
355
|
-
["project", %r{[^/]
|
356
|
-
["snapshot", %r{[^/]
|
355
|
+
["project", %r{^[^/]+/?$}, false],
|
356
|
+
["snapshot", %r{^[^/]+/?$}, false]
|
357
357
|
]
|
358
358
|
)
|
359
359
|
transcoder.transcode request_pb
|
@@ -374,8 +374,8 @@ module Google
|
|
374
374
|
uri_method: :get,
|
375
375
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{snapshot}",
|
376
376
|
matches: [
|
377
|
-
["project", %r{[^/]
|
378
|
-
["snapshot", %r{[^/]
|
377
|
+
["project", %r{^[^/]+/?$}, false],
|
378
|
+
["snapshot", %r{^[^/]+/?$}, false]
|
379
379
|
]
|
380
380
|
)
|
381
381
|
transcoder.transcode request_pb
|
@@ -396,8 +396,8 @@ module Google
|
|
396
396
|
uri_method: :get,
|
397
397
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{resource}/getIamPolicy",
|
398
398
|
matches: [
|
399
|
-
["project", %r{[^/]
|
400
|
-
["resource", %r{[^/]
|
399
|
+
["project", %r{^[^/]+/?$}, false],
|
400
|
+
["resource", %r{^[^/]+/?$}, false]
|
401
401
|
]
|
402
402
|
)
|
403
403
|
transcoder.transcode request_pb
|
@@ -419,7 +419,7 @@ module Google
|
|
419
419
|
uri_template: "/compute/v1/projects/{project}/global/snapshots",
|
420
420
|
body: "snapshot_resource",
|
421
421
|
matches: [
|
422
|
-
["project", %r{[^/]
|
422
|
+
["project", %r{^[^/]+/?$}, false]
|
423
423
|
]
|
424
424
|
)
|
425
425
|
transcoder.transcode request_pb
|
@@ -440,7 +440,7 @@ module Google
|
|
440
440
|
uri_method: :get,
|
441
441
|
uri_template: "/compute/v1/projects/{project}/global/snapshots",
|
442
442
|
matches: [
|
443
|
-
["project", %r{[^/]
|
443
|
+
["project", %r{^[^/]+/?$}, false]
|
444
444
|
]
|
445
445
|
)
|
446
446
|
transcoder.transcode request_pb
|
@@ -462,8 +462,8 @@ module Google
|
|
462
462
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{resource}/setIamPolicy",
|
463
463
|
body: "global_set_policy_request_resource",
|
464
464
|
matches: [
|
465
|
-
["project", %r{[^/]
|
466
|
-
["resource", %r{[^/]
|
465
|
+
["project", %r{^[^/]+/?$}, false],
|
466
|
+
["resource", %r{^[^/]+/?$}, false]
|
467
467
|
]
|
468
468
|
)
|
469
469
|
transcoder.transcode request_pb
|
@@ -485,8 +485,8 @@ module Google
|
|
485
485
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{resource}/setLabels",
|
486
486
|
body: "global_set_labels_request_resource",
|
487
487
|
matches: [
|
488
|
-
["project", %r{[^/]
|
489
|
-
["resource", %r{[^/]
|
488
|
+
["project", %r{^[^/]+/?$}, false],
|
489
|
+
["resource", %r{^[^/]+/?$}, false]
|
490
490
|
]
|
491
491
|
)
|
492
492
|
transcoder.transcode request_pb
|
@@ -508,8 +508,8 @@ module Google
|
|
508
508
|
uri_template: "/compute/v1/projects/{project}/global/snapshots/{resource}/testIamPermissions",
|
509
509
|
body: "test_permissions_request_resource",
|
510
510
|
matches: [
|
511
|
-
["project", %r{[^/]
|
512
|
-
["resource", %r{[^/]
|
511
|
+
["project", %r{^[^/]+/?$}, false],
|
512
|
+
["resource", %r{^[^/]+/?$}, false]
|
513
513
|
]
|
514
514
|
)
|
515
515
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the SslCertificates 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/sslCertificates",
|
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/sslCertificates/{ssl_certificate}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["ssl_certificate", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["ssl_certificate", %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/sslCertificates/{ssl_certificate}",
|
286
286
|
matches: [
|
287
|
-
["project", %r{[^/]
|
288
|
-
["ssl_certificate", %r{[^/]
|
287
|
+
["project", %r{^[^/]+/?$}, false],
|
288
|
+
["ssl_certificate", %r{^[^/]+/?$}, false]
|
289
289
|
]
|
290
290
|
)
|
291
291
|
transcoder.transcode request_pb
|
@@ -307,7 +307,7 @@ module Google
|
|
307
307
|
uri_template: "/compute/v1/projects/{project}/global/sslCertificates",
|
308
308
|
body: "ssl_certificate_resource",
|
309
309
|
matches: [
|
310
|
-
["project", %r{[^/]
|
310
|
+
["project", %r{^[^/]+/?$}, false]
|
311
311
|
]
|
312
312
|
)
|
313
313
|
transcoder.transcode request_pb
|
@@ -328,7 +328,7 @@ module Google
|
|
328
328
|
uri_method: :get,
|
329
329
|
uri_template: "/compute/v1/projects/{project}/global/sslCertificates",
|
330
330
|
matches: [
|
331
|
-
["project", %r{[^/]
|
331
|
+
["project", %r{^[^/]+/?$}, false]
|
332
332
|
]
|
333
333
|
)
|
334
334
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the SslPolicies 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/sslPolicies/{ssl_policy}",
|
280
280
|
matches: [
|
281
|
-
["project", %r{[^/]
|
282
|
-
["ssl_policy", %r{[^/]
|
281
|
+
["project", %r{^[^/]+/?$}, false],
|
282
|
+
["ssl_policy", %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/sslPolicies/{ssl_policy}",
|
302
302
|
matches: [
|
303
|
-
["project", %r{[^/]
|
304
|
-
["ssl_policy", %r{[^/]
|
303
|
+
["project", %r{^[^/]+/?$}, false],
|
304
|
+
["ssl_policy", %r{^[^/]+/?$}, false]
|
305
305
|
]
|
306
306
|
)
|
307
307
|
transcoder.transcode request_pb
|
@@ -323,7 +323,7 @@ module Google
|
|
323
323
|
uri_template: "/compute/v1/projects/{project}/global/sslPolicies",
|
324
324
|
body: "ssl_policy_resource",
|
325
325
|
matches: [
|
326
|
-
["project", %r{[^/]
|
326
|
+
["project", %r{^[^/]+/?$}, false]
|
327
327
|
]
|
328
328
|
)
|
329
329
|
transcoder.transcode request_pb
|
@@ -344,7 +344,7 @@ module Google
|
|
344
344
|
uri_method: :get,
|
345
345
|
uri_template: "/compute/v1/projects/{project}/global/sslPolicies",
|
346
346
|
matches: [
|
347
|
-
["project", %r{[^/]
|
347
|
+
["project", %r{^[^/]+/?$}, false]
|
348
348
|
]
|
349
349
|
)
|
350
350
|
transcoder.transcode request_pb
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
uri_method: :get,
|
366
366
|
uri_template: "/compute/v1/projects/{project}/global/sslPolicies/listAvailableFeatures",
|
367
367
|
matches: [
|
368
|
-
["project", %r{[^/]
|
368
|
+
["project", %r{^[^/]+/?$}, false]
|
369
369
|
]
|
370
370
|
)
|
371
371
|
transcoder.transcode request_pb
|
@@ -387,8 +387,8 @@ module Google
|
|
387
387
|
uri_template: "/compute/v1/projects/{project}/global/sslPolicies/{ssl_policy}",
|
388
388
|
body: "ssl_policy_resource",
|
389
389
|
matches: [
|
390
|
-
["project", %r{[^/]
|
391
|
-
["ssl_policy", %r{[^/]
|
390
|
+
["project", %r{^[^/]+/?$}, false],
|
391
|
+
["ssl_policy", %r{^[^/]+/?$}, false]
|
392
392
|
]
|
393
393
|
)
|
394
394
|
transcoder.transcode request_pb
|