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 Subnetworks 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:
|
@@ -500,7 +500,7 @@ module Google
|
|
500
500
|
uri_method: :get,
|
501
501
|
uri_template: "/compute/v1/projects/{project}/aggregated/subnetworks",
|
502
502
|
matches: [
|
503
|
-
["project", %r{[^/]
|
503
|
+
["project", %r{^[^/]+/?$}, false]
|
504
504
|
]
|
505
505
|
)
|
506
506
|
transcoder.transcode request_pb
|
@@ -521,9 +521,9 @@ module Google
|
|
521
521
|
uri_method: :delete,
|
522
522
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}",
|
523
523
|
matches: [
|
524
|
-
["project", %r{[^/]
|
525
|
-
["region", %r{[^/]
|
526
|
-
["subnetwork", %r{[^/]
|
524
|
+
["project", %r{^[^/]+/?$}, false],
|
525
|
+
["region", %r{^[^/]+/?$}, false],
|
526
|
+
["subnetwork", %r{^[^/]+/?$}, false]
|
527
527
|
]
|
528
528
|
)
|
529
529
|
transcoder.transcode request_pb
|
@@ -545,9 +545,9 @@ module Google
|
|
545
545
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange",
|
546
546
|
body: "subnetworks_expand_ip_cidr_range_request_resource",
|
547
547
|
matches: [
|
548
|
-
["project", %r{[^/]
|
549
|
-
["region", %r{[^/]
|
550
|
-
["subnetwork", %r{[^/]
|
548
|
+
["project", %r{^[^/]+/?$}, false],
|
549
|
+
["region", %r{^[^/]+/?$}, false],
|
550
|
+
["subnetwork", %r{^[^/]+/?$}, false]
|
551
551
|
]
|
552
552
|
)
|
553
553
|
transcoder.transcode request_pb
|
@@ -568,9 +568,9 @@ module Google
|
|
568
568
|
uri_method: :get,
|
569
569
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}",
|
570
570
|
matches: [
|
571
|
-
["project", %r{[^/]
|
572
|
-
["region", %r{[^/]
|
573
|
-
["subnetwork", %r{[^/]
|
571
|
+
["project", %r{^[^/]+/?$}, false],
|
572
|
+
["region", %r{^[^/]+/?$}, false],
|
573
|
+
["subnetwork", %r{^[^/]+/?$}, false]
|
574
574
|
]
|
575
575
|
)
|
576
576
|
transcoder.transcode request_pb
|
@@ -591,9 +591,9 @@ module Google
|
|
591
591
|
uri_method: :get,
|
592
592
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy",
|
593
593
|
matches: [
|
594
|
-
["project", %r{[^/]
|
595
|
-
["region", %r{[^/]
|
596
|
-
["resource", %r{[^/]
|
594
|
+
["project", %r{^[^/]+/?$}, false],
|
595
|
+
["region", %r{^[^/]+/?$}, false],
|
596
|
+
["resource", %r{^[^/]+/?$}, false]
|
597
597
|
]
|
598
598
|
)
|
599
599
|
transcoder.transcode request_pb
|
@@ -615,8 +615,8 @@ module Google
|
|
615
615
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks",
|
616
616
|
body: "subnetwork_resource",
|
617
617
|
matches: [
|
618
|
-
["project", %r{[^/]
|
619
|
-
["region", %r{[^/]
|
618
|
+
["project", %r{^[^/]+/?$}, false],
|
619
|
+
["region", %r{^[^/]+/?$}, false]
|
620
620
|
]
|
621
621
|
)
|
622
622
|
transcoder.transcode request_pb
|
@@ -637,8 +637,8 @@ module Google
|
|
637
637
|
uri_method: :get,
|
638
638
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks",
|
639
639
|
matches: [
|
640
|
-
["project", %r{[^/]
|
641
|
-
["region", %r{[^/]
|
640
|
+
["project", %r{^[^/]+/?$}, false],
|
641
|
+
["region", %r{^[^/]+/?$}, false]
|
642
642
|
]
|
643
643
|
)
|
644
644
|
transcoder.transcode request_pb
|
@@ -659,7 +659,7 @@ module Google
|
|
659
659
|
uri_method: :get,
|
660
660
|
uri_template: "/compute/v1/projects/{project}/aggregated/subnetworks/listUsable",
|
661
661
|
matches: [
|
662
|
-
["project", %r{[^/]
|
662
|
+
["project", %r{^[^/]+/?$}, false]
|
663
663
|
]
|
664
664
|
)
|
665
665
|
transcoder.transcode request_pb
|
@@ -681,9 +681,9 @@ module Google
|
|
681
681
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}",
|
682
682
|
body: "subnetwork_resource",
|
683
683
|
matches: [
|
684
|
-
["project", %r{[^/]
|
685
|
-
["region", %r{[^/]
|
686
|
-
["subnetwork", %r{[^/]
|
684
|
+
["project", %r{^[^/]+/?$}, false],
|
685
|
+
["region", %r{^[^/]+/?$}, false],
|
686
|
+
["subnetwork", %r{^[^/]+/?$}, false]
|
687
687
|
]
|
688
688
|
)
|
689
689
|
transcoder.transcode request_pb
|
@@ -705,9 +705,9 @@ module Google
|
|
705
705
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy",
|
706
706
|
body: "region_set_policy_request_resource",
|
707
707
|
matches: [
|
708
|
-
["project", %r{[^/]
|
709
|
-
["region", %r{[^/]
|
710
|
-
["resource", %r{[^/]
|
708
|
+
["project", %r{^[^/]+/?$}, false],
|
709
|
+
["region", %r{^[^/]+/?$}, false],
|
710
|
+
["resource", %r{^[^/]+/?$}, false]
|
711
711
|
]
|
712
712
|
)
|
713
713
|
transcoder.transcode request_pb
|
@@ -729,9 +729,9 @@ module Google
|
|
729
729
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess",
|
730
730
|
body: "subnetworks_set_private_ip_google_access_request_resource",
|
731
731
|
matches: [
|
732
|
-
["project", %r{[^/]
|
733
|
-
["region", %r{[^/]
|
734
|
-
["subnetwork", %r{[^/]
|
732
|
+
["project", %r{^[^/]+/?$}, false],
|
733
|
+
["region", %r{^[^/]+/?$}, false],
|
734
|
+
["subnetwork", %r{^[^/]+/?$}, false]
|
735
735
|
]
|
736
736
|
)
|
737
737
|
transcoder.transcode request_pb
|
@@ -753,9 +753,9 @@ module Google
|
|
753
753
|
uri_template: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions",
|
754
754
|
body: "test_permissions_request_resource",
|
755
755
|
matches: [
|
756
|
-
["project", %r{[^/]
|
757
|
-
["region", %r{[^/]
|
758
|
-
["resource", %r{[^/]
|
756
|
+
["project", %r{^[^/]+/?$}, false],
|
757
|
+
["region", %r{^[^/]+/?$}, false],
|
758
|
+
["resource", %r{^[^/]+/?$}, false]
|
759
759
|
]
|
760
760
|
)
|
761
761
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetGrpcProxies 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/targetGrpcProxies/{target_grpc_proxy}",
|
243
243
|
matches: [
|
244
|
-
["project", %r{[^/]
|
245
|
-
["target_grpc_proxy", %r{[^/]
|
244
|
+
["project", %r{^[^/]+/?$}, false],
|
245
|
+
["target_grpc_proxy", %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/targetGrpcProxies/{target_grpc_proxy}",
|
265
265
|
matches: [
|
266
|
-
["project", %r{[^/]
|
267
|
-
["target_grpc_proxy", %r{[^/]
|
266
|
+
["project", %r{^[^/]+/?$}, false],
|
267
|
+
["target_grpc_proxy", %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/targetGrpcProxies",
|
287
287
|
body: "target_grpc_proxy_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/targetGrpcProxies",
|
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/targetGrpcProxies/{target_grpc_proxy}",
|
330
330
|
body: "target_grpc_proxy_resource",
|
331
331
|
matches: [
|
332
|
-
["project", %r{[^/]
|
333
|
-
["target_grpc_proxy", %r{[^/]
|
332
|
+
["project", %r{^[^/]+/?$}, false],
|
333
|
+
["target_grpc_proxy", %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 TargetHttpProxies 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/targetHttpProxies",
|
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/targetHttpProxies/{target_http_proxy}",
|
338
338
|
matches: [
|
339
|
-
["project", %r{[^/]
|
340
|
-
["target_http_proxy", %r{[^/]
|
339
|
+
["project", %r{^[^/]+/?$}, false],
|
340
|
+
["target_http_proxy", %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/targetHttpProxies/{target_http_proxy}",
|
360
360
|
matches: [
|
361
|
-
["project", %r{[^/]
|
362
|
-
["target_http_proxy", %r{[^/]
|
361
|
+
["project", %r{^[^/]+/?$}, false],
|
362
|
+
["target_http_proxy", %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/targetHttpProxies",
|
382
382
|
body: "target_http_proxy_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/targetHttpProxies",
|
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/targetHttpProxies/{target_http_proxy}",
|
425
425
|
body: "target_http_proxy_resource",
|
426
426
|
matches: [
|
427
|
-
["project", %r{[^/]
|
428
|
-
["target_http_proxy", %r{[^/]
|
427
|
+
["project", %r{^[^/]+/?$}, false],
|
428
|
+
["target_http_proxy", %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}/targetHttpProxies/{target_http_proxy}/setUrlMap",
|
448
448
|
body: "url_map_reference_resource",
|
449
449
|
matches: [
|
450
|
-
["project", %r{[^/]
|
451
|
-
["target_http_proxy", %r{[^/]
|
450
|
+
["project", %r{^[^/]+/?$}, false],
|
451
|
+
["target_http_proxy", %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 TargetHttpsProxies 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:
|
@@ -463,7 +463,7 @@ module Google
|
|
463
463
|
uri_method: :get,
|
464
464
|
uri_template: "/compute/v1/projects/{project}/aggregated/targetHttpsProxies",
|
465
465
|
matches: [
|
466
|
-
["project", %r{[^/]
|
466
|
+
["project", %r{^[^/]+/?$}, false]
|
467
467
|
]
|
468
468
|
)
|
469
469
|
transcoder.transcode request_pb
|
@@ -484,8 +484,8 @@ module Google
|
|
484
484
|
uri_method: :delete,
|
485
485
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}",
|
486
486
|
matches: [
|
487
|
-
["project", %r{[^/]
|
488
|
-
["target_https_proxy", %r{[^/]
|
487
|
+
["project", %r{^[^/]+/?$}, false],
|
488
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
489
489
|
]
|
490
490
|
)
|
491
491
|
transcoder.transcode request_pb
|
@@ -506,8 +506,8 @@ module Google
|
|
506
506
|
uri_method: :get,
|
507
507
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}",
|
508
508
|
matches: [
|
509
|
-
["project", %r{[^/]
|
510
|
-
["target_https_proxy", %r{[^/]
|
509
|
+
["project", %r{^[^/]+/?$}, false],
|
510
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
511
511
|
]
|
512
512
|
)
|
513
513
|
transcoder.transcode request_pb
|
@@ -529,7 +529,7 @@ module Google
|
|
529
529
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies",
|
530
530
|
body: "target_https_proxy_resource",
|
531
531
|
matches: [
|
532
|
-
["project", %r{[^/]
|
532
|
+
["project", %r{^[^/]+/?$}, false]
|
533
533
|
]
|
534
534
|
)
|
535
535
|
transcoder.transcode request_pb
|
@@ -550,7 +550,7 @@ module Google
|
|
550
550
|
uri_method: :get,
|
551
551
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies",
|
552
552
|
matches: [
|
553
|
-
["project", %r{[^/]
|
553
|
+
["project", %r{^[^/]+/?$}, false]
|
554
554
|
]
|
555
555
|
)
|
556
556
|
transcoder.transcode request_pb
|
@@ -572,8 +572,8 @@ module Google
|
|
572
572
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}",
|
573
573
|
body: "target_https_proxy_resource",
|
574
574
|
matches: [
|
575
|
-
["project", %r{[^/]
|
576
|
-
["target_https_proxy", %r{[^/]
|
575
|
+
["project", %r{^[^/]+/?$}, false],
|
576
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
577
577
|
]
|
578
578
|
)
|
579
579
|
transcoder.transcode request_pb
|
@@ -595,8 +595,8 @@ module Google
|
|
595
595
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}/setCertificateMap",
|
596
596
|
body: "target_https_proxies_set_certificate_map_request_resource",
|
597
597
|
matches: [
|
598
|
-
["project", %r{[^/]
|
599
|
-
["target_https_proxy", %r{[^/]
|
598
|
+
["project", %r{^[^/]+/?$}, false],
|
599
|
+
["target_https_proxy", %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}/global/targetHttpsProxies/{target_https_proxy}/setQuicOverride",
|
619
619
|
body: "target_https_proxies_set_quic_override_request_resource",
|
620
620
|
matches: [
|
621
|
-
["project", %r{[^/]
|
622
|
-
["target_https_proxy", %r{[^/]
|
621
|
+
["project", %r{^[^/]+/?$}, false],
|
622
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
623
623
|
]
|
624
624
|
)
|
625
625
|
transcoder.transcode request_pb
|
@@ -641,8 +641,8 @@ module Google
|
|
641
641
|
uri_template: "/compute/v1/projects/{project}/targetHttpsProxies/{target_https_proxy}/setSslCertificates",
|
642
642
|
body: "target_https_proxies_set_ssl_certificates_request_resource",
|
643
643
|
matches: [
|
644
|
-
["project", %r{[^/]
|
645
|
-
["target_https_proxy", %r{[^/]
|
644
|
+
["project", %r{^[^/]+/?$}, false],
|
645
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
646
646
|
]
|
647
647
|
)
|
648
648
|
transcoder.transcode request_pb
|
@@ -664,8 +664,8 @@ module Google
|
|
664
664
|
uri_template: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}/setSslPolicy",
|
665
665
|
body: "ssl_policy_reference_resource",
|
666
666
|
matches: [
|
667
|
-
["project", %r{[^/]
|
668
|
-
["target_https_proxy", %r{[^/]
|
667
|
+
["project", %r{^[^/]+/?$}, false],
|
668
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
669
669
|
]
|
670
670
|
)
|
671
671
|
transcoder.transcode request_pb
|
@@ -687,8 +687,8 @@ module Google
|
|
687
687
|
uri_template: "/compute/v1/projects/{project}/targetHttpsProxies/{target_https_proxy}/setUrlMap",
|
688
688
|
body: "url_map_reference_resource",
|
689
689
|
matches: [
|
690
|
-
["project", %r{[^/]
|
691
|
-
["target_https_proxy", %r{[^/]
|
690
|
+
["project", %r{^[^/]+/?$}, false],
|
691
|
+
["target_https_proxy", %r{^[^/]+/?$}, false]
|
692
692
|
]
|
693
693
|
)
|
694
694
|
transcoder.transcode request_pb
|
@@ -26,8 +26,8 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
##
|
28
28
|
# REST service stub for the TargetInstances 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/targetInstances",
|
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}/zones/{zone}/targetInstances/{target_instance}",
|
264
264
|
matches: [
|
265
|
-
["project", %r{[^/]
|
266
|
-
["zone", %r{[^/]
|
267
|
-
["target_instance", %r{[^/]
|
265
|
+
["project", %r{^[^/]+/?$}, false],
|
266
|
+
["zone", %r{^[^/]+/?$}, false],
|
267
|
+
["target_instance", %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}/zones/{zone}/targetInstances/{target_instance}",
|
287
287
|
matches: [
|
288
|
-
["project", %r{[^/]
|
289
|
-
["zone", %r{[^/]
|
290
|
-
["target_instance", %r{[^/]
|
288
|
+
["project", %r{^[^/]+/?$}, false],
|
289
|
+
["zone", %r{^[^/]+/?$}, false],
|
290
|
+
["target_instance", %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}/zones/{zone}/targetInstances",
|
310
310
|
body: "target_instance_resource",
|
311
311
|
matches: [
|
312
|
-
["project", %r{[^/]
|
313
|
-
["zone", %r{[^/]
|
312
|
+
["project", %r{^[^/]+/?$}, false],
|
313
|
+
["zone", %r{^[^/]+/?$}, false]
|
314
314
|
]
|
315
315
|
)
|
316
316
|
transcoder.transcode request_pb
|
@@ -331,8 +331,8 @@ module Google
|
|
331
331
|
uri_method: :get,
|
332
332
|
uri_template: "/compute/v1/projects/{project}/zones/{zone}/targetInstances",
|
333
333
|
matches: [
|
334
|
-
["project", %r{[^/]
|
335
|
-
["zone", %r{[^/]
|
334
|
+
["project", %r{^[^/]+/?$}, false],
|
335
|
+
["zone", %r{^[^/]+/?$}, false]
|
336
336
|
]
|
337
337
|
)
|
338
338
|
transcoder.transcode request_pb
|