google-cloud-compute-v1 1.5.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/lib/google/cloud/compute/v1/accelerator_types/rest/service_stub.rb +8 -8
  4. data/lib/google/cloud/compute/v1/addresses/rest/client.rb +87 -0
  5. data/lib/google/cloud/compute/v1/addresses/rest/service_stub.rb +74 -13
  6. data/lib/google/cloud/compute/v1/autoscalers/rest/service_stub.rb +17 -17
  7. data/lib/google/cloud/compute/v1/backend_buckets/rest/service_stub.rb +18 -18
  8. data/lib/google/cloud/compute/v1/backend_services/rest/client.rb +151 -0
  9. data/lib/google/cloud/compute/v1/backend_services/rest/service_stub.rb +142 -23
  10. data/lib/google/cloud/compute/v1/compute_pb.rb +357 -0
  11. data/lib/google/cloud/compute/v1/disk_types/rest/service_stub.rb +8 -8
  12. data/lib/google/cloud/compute/v1/disks/rest/service_stub.rb +37 -37
  13. data/lib/google/cloud/compute/v1/external_vpn_gateways/rest/service_stub.rb +12 -12
  14. data/lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb +17 -17
  15. data/lib/google/cloud/compute/v1/firewalls/rest/service_stub.rb +12 -12
  16. data/lib/google/cloud/compute/v1/forwarding_rules/rest/service_stub.rb +22 -22
  17. data/lib/google/cloud/compute/v1/global_addresses/rest/client.rb +82 -0
  18. data/lib/google/cloud/compute/v1/global_addresses/rest/service_stub.rb +68 -8
  19. data/lib/google/cloud/compute/v1/global_forwarding_rules/rest/service_stub.rb +14 -14
  20. data/lib/google/cloud/compute/v1/global_network_endpoint_groups/rest/service_stub.rb +14 -14
  21. data/lib/google/cloud/compute/v1/global_operations/rest/service_stub.rb +10 -10
  22. data/lib/google/cloud/compute/v1/global_operations/rest.rb +1 -0
  23. data/lib/google/cloud/compute/v1/global_operations.rb +0 -1
  24. data/lib/google/cloud/compute/v1/global_organization_operations/rest/service_stub.rb +4 -4
  25. data/lib/google/cloud/compute/v1/global_organization_operations/rest.rb +1 -0
  26. data/lib/google/cloud/compute/v1/global_organization_operations.rb +0 -1
  27. data/lib/google/cloud/compute/v1/global_public_delegated_prefixes/rest/service_stub.rb +10 -10
  28. data/lib/google/cloud/compute/v1/health_checks/rest/service_stub.rb +13 -13
  29. data/lib/google/cloud/compute/v1/image_family_views/rest/service_stub.rb +5 -5
  30. data/lib/google/cloud/compute/v1/images/rest/service_stub.rb +22 -22
  31. data/lib/google/cloud/compute/v1/instance_group_managers/rest/client.rb +1 -1
  32. data/lib/google/cloud/compute/v1/instance_group_managers/rest/service_stub.rb +58 -58
  33. data/lib/google/cloud/compute/v1/instance_groups/rest/service_stub.rb +25 -25
  34. data/lib/google/cloud/compute/v1/instance_templates/rest/service_stub.rb +14 -14
  35. data/lib/google/cloud/compute/v1/instances/rest/client.rb +1 -1
  36. data/lib/google/cloud/compute/v1/instances/rest/service_stub.rb +132 -132
  37. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/client.rb +87 -0
  38. data/lib/google/cloud/compute/v1/interconnect_attachments/rest/service_stub.rb +77 -16
  39. data/lib/google/cloud/compute/v1/interconnect_locations/rest/service_stub.rb +5 -5
  40. data/lib/google/cloud/compute/v1/interconnects/rest/client.rb +82 -0
  41. data/lib/google/cloud/compute/v1/interconnects/rest/service_stub.rb +72 -12
  42. data/lib/google/cloud/compute/v1/license_codes/rest/service_stub.rb +6 -6
  43. data/lib/google/cloud/compute/v1/licenses/rest/service_stub.rb +14 -14
  44. data/lib/google/cloud/compute/v1/machine_images/rest/service_stub.rb +14 -14
  45. data/lib/google/cloud/compute/v1/machine_types/rest/service_stub.rb +8 -8
  46. data/lib/google/cloud/compute/v1/network_edge_security_services/rest/service_stub.rb +14 -14
  47. data/lib/google/cloud/compute/v1/network_endpoint_groups/rest/service_stub.rb +25 -25
  48. data/lib/google/cloud/compute/v1/network_firewall_policies/rest/service_stub.rb +32 -32
  49. data/lib/google/cloud/compute/v1/networks/rest/service_stub.rb +22 -22
  50. data/lib/google/cloud/compute/v1/node_groups/rest/service_stub.rb +37 -37
  51. data/lib/google/cloud/compute/v1/node_templates/rest/service_stub.rb +22 -22
  52. data/lib/google/cloud/compute/v1/node_types/rest/service_stub.rb +8 -8
  53. data/lib/google/cloud/compute/v1/packet_mirrorings/rest/service_stub.rb +19 -19
  54. data/lib/google/cloud/compute/v1/projects/rest/service_stub.rb +15 -15
  55. data/lib/google/cloud/compute/v1/public_advertised_prefixes/rest/service_stub.rb +10 -10
  56. data/lib/google/cloud/compute/v1/public_delegated_prefixes/rest/service_stub.rb +16 -16
  57. data/lib/google/cloud/compute/v1/region_autoscalers/rest/service_stub.rb +16 -16
  58. data/lib/google/cloud/compute/v1/region_backend_services/rest/client.rb +155 -0
  59. data/lib/google/cloud/compute/v1/region_backend_services/rest/service_stub.rb +142 -21
  60. data/lib/google/cloud/compute/v1/region_commitments/rest/service_stub.rb +13 -13
  61. data/lib/google/cloud/compute/v1/region_disk_types/rest/service_stub.rb +7 -7
  62. data/lib/google/cloud/compute/v1/region_disks/rest/service_stub.rb +36 -36
  63. data/lib/google/cloud/compute/v1/region_health_check_services/rest/service_stub.rb +15 -15
  64. data/lib/google/cloud/compute/v1/region_health_checks/rest/service_stub.rb +18 -18
  65. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/client.rb +1 -1
  66. data/lib/google/cloud/compute/v1/region_instance_group_managers/rest/service_stub.rb +57 -57
  67. data/lib/google/cloud/compute/v1/region_instance_groups/rest/service_stub.rb +13 -13
  68. data/lib/google/cloud/compute/v1/region_instances/rest/service_stub.rb +4 -4
  69. data/lib/google/cloud/compute/v1/region_network_endpoint_groups/rest/service_stub.rb +12 -12
  70. data/lib/google/cloud/compute/v1/region_network_firewall_policies/rest/service_stub.rb +50 -50
  71. data/lib/google/cloud/compute/v1/region_notification_endpoints/rest/service_stub.rb +12 -12
  72. data/lib/google/cloud/compute/v1/region_operations/rest/service_stub.rb +13 -13
  73. data/lib/google/cloud/compute/v1/region_operations/rest.rb +1 -0
  74. data/lib/google/cloud/compute/v1/region_operations.rb +0 -1
  75. data/lib/google/cloud/compute/v1/region_security_policies/rest/service_stub.rb +15 -15
  76. data/lib/google/cloud/compute/v1/region_ssl_certificates/rest/service_stub.rb +12 -12
  77. data/lib/google/cloud/compute/v1/region_ssl_policies/credentials.rb +52 -0
  78. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/client.rb +759 -0
  79. data/lib/google/cloud/compute/v1/region_ssl_policies/rest/service_stub.rb +408 -0
  80. data/lib/google/cloud/compute/v1/region_ssl_policies/rest.rb +33 -0
  81. data/lib/google/cloud/compute/v1/region_ssl_policies.rb +47 -0
  82. data/lib/google/cloud/compute/v1/region_target_http_proxies/rest/service_stub.rb +15 -15
  83. data/lib/google/cloud/compute/v1/region_target_https_proxies/rest/service_stub.rb +21 -21
  84. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/credentials.rb +52 -0
  85. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/client.rb +587 -0
  86. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest/service_stub.rb +288 -0
  87. data/lib/google/cloud/compute/v1/region_target_tcp_proxies/rest.rb +33 -0
  88. data/lib/google/cloud/compute/v1/region_target_tcp_proxies.rb +47 -0
  89. data/lib/google/cloud/compute/v1/region_url_maps/rest/service_stub.rb +21 -21
  90. data/lib/google/cloud/compute/v1/regions/rest/service_stub.rb +5 -5
  91. data/lib/google/cloud/compute/v1/reservations/rest/service_stub.rb +28 -28
  92. data/lib/google/cloud/compute/v1/resource_policies/rest/service_stub.rb +22 -22
  93. data/lib/google/cloud/compute/v1/routers/rest/service_stub.rb +28 -28
  94. data/lib/google/cloud/compute/v1/routes/rest/service_stub.rb +8 -8
  95. data/lib/google/cloud/compute/v1/security_policies/rest/client.rb +82 -0
  96. data/lib/google/cloud/compute/v1/security_policies/rest/service_stub.rb +80 -20
  97. data/lib/google/cloud/compute/v1/service_attachments/rest/service_stub.rb +25 -25
  98. data/lib/google/cloud/compute/v1/snapshots/rest/service_stub.rb +16 -16
  99. data/lib/google/cloud/compute/v1/ssl_certificates/rest/service_stub.rb +9 -9
  100. data/lib/google/cloud/compute/v1/ssl_policies/rest/client.rb +86 -0
  101. data/lib/google/cloud/compute/v1/ssl_policies/rest/service_stub.rb +69 -11
  102. data/lib/google/cloud/compute/v1/subnetworks/rest/service_stub.rb +32 -32
  103. data/lib/google/cloud/compute/v1/target_grpc_proxies/rest/service_stub.rb +10 -10
  104. data/lib/google/cloud/compute/v1/target_http_proxies/rest/service_stub.rb +13 -13
  105. data/lib/google/cloud/compute/v1/target_https_proxies/rest/service_stub.rb +21 -21
  106. data/lib/google/cloud/compute/v1/target_instances/rest/service_stub.rb +13 -13
  107. data/lib/google/cloud/compute/v1/target_pools/rest/service_stub.rb +31 -31
  108. data/lib/google/cloud/compute/v1/target_ssl_proxies/rest/service_stub.rb +18 -18
  109. data/lib/google/cloud/compute/v1/target_tcp_proxies/rest/service_stub.rb +12 -12
  110. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/client.rb +87 -0
  111. data/lib/google/cloud/compute/v1/target_vpn_gateways/rest/service_stub.rb +74 -13
  112. data/lib/google/cloud/compute/v1/url_maps/rest/service_stub.rb +17 -17
  113. data/lib/google/cloud/compute/v1/version.rb +1 -1
  114. data/lib/google/cloud/compute/v1/vpn_gateways/rest/service_stub.rb +22 -22
  115. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/client.rb +87 -0
  116. data/lib/google/cloud/compute/v1/vpn_tunnels/rest/service_stub.rb +74 -13
  117. data/lib/google/cloud/compute/v1/zone_operations/rest/service_stub.rb +13 -13
  118. data/lib/google/cloud/compute/v1/zone_operations/rest.rb +1 -0
  119. data/lib/google/cloud/compute/v1/zone_operations.rb +0 -1
  120. data/lib/google/cloud/compute/v1/zones/rest/service_stub.rb +5 -5
  121. data/lib/google/cloud/compute/v1.rb +2 -0
  122. data/proto_docs/google/cloud/compute/v1/compute.rb +968 -39
  123. metadata +12 -2
@@ -26,8 +26,8 @@ module Google
26
26
  module Rest
27
27
  ##
28
28
  # REST service stub for the HealthChecks service.
29
- # service stub contains baseline method implementations
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{[^/]+}, false]
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{[^/]+}, false],
340
- ["health_check", %r{[^/]+}, false]
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{[^/]+}, false],
362
- ["health_check", %r{[^/]+}, false]
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{[^/]+}, false]
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{[^/]+}, false]
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{[^/]+}, false],
428
- ["health_check", %r{[^/]+}, false]
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{[^/]+}, false],
451
- ["health_check", %r{[^/]+}, false]
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
- # service stub contains baseline method implementations
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{[^/]+}, false],
97
- ["zone", %r{[^/]+}, false],
98
- ["family", %r{[^/]+}, false]
96
+ ["project", %r{^[^/]+/?$}, false],
97
+ ["zone", %r{^[^/]+/?$}, false],
98
+ ["family", %r{^[^/]+/?$}, false]
99
99
  ]
100
100
  )
101
101
  transcoder.transcode request_pb
@@ -26,8 +26,8 @@ module Google
26
26
  module Rest
27
27
  ##
28
28
  # REST service stub for the Images service.
29
- # service stub contains baseline method implementations
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,8 +463,8 @@ module Google
463
463
  uri_method: :delete,
464
464
  uri_template: "/compute/v1/projects/{project}/global/images/{image}",
465
465
  matches: [
466
- ["project", %r{[^/]+}, false],
467
- ["image", %r{[^/]+}, false]
466
+ ["project", %r{^[^/]+/?$}, false],
467
+ ["image", %r{^[^/]+/?$}, false]
468
468
  ]
469
469
  )
470
470
  transcoder.transcode request_pb
@@ -486,8 +486,8 @@ module Google
486
486
  uri_template: "/compute/v1/projects/{project}/global/images/{image}/deprecate",
487
487
  body: "deprecation_status_resource",
488
488
  matches: [
489
- ["project", %r{[^/]+}, false],
490
- ["image", %r{[^/]+}, false]
489
+ ["project", %r{^[^/]+/?$}, false],
490
+ ["image", %r{^[^/]+/?$}, false]
491
491
  ]
492
492
  )
493
493
  transcoder.transcode request_pb
@@ -508,8 +508,8 @@ module Google
508
508
  uri_method: :get,
509
509
  uri_template: "/compute/v1/projects/{project}/global/images/{image}",
510
510
  matches: [
511
- ["project", %r{[^/]+}, false],
512
- ["image", %r{[^/]+}, false]
511
+ ["project", %r{^[^/]+/?$}, false],
512
+ ["image", %r{^[^/]+/?$}, false]
513
513
  ]
514
514
  )
515
515
  transcoder.transcode request_pb
@@ -530,8 +530,8 @@ module Google
530
530
  uri_method: :get,
531
531
  uri_template: "/compute/v1/projects/{project}/global/images/family/{family}",
532
532
  matches: [
533
- ["project", %r{[^/]+}, false],
534
- ["family", %r{[^/]+}, false]
533
+ ["project", %r{^[^/]+/?$}, false],
534
+ ["family", %r{^[^/]+/?$}, false]
535
535
  ]
536
536
  )
537
537
  transcoder.transcode request_pb
@@ -552,8 +552,8 @@ module Google
552
552
  uri_method: :get,
553
553
  uri_template: "/compute/v1/projects/{project}/global/images/{resource}/getIamPolicy",
554
554
  matches: [
555
- ["project", %r{[^/]+}, false],
556
- ["resource", %r{[^/]+}, false]
555
+ ["project", %r{^[^/]+/?$}, false],
556
+ ["resource", %r{^[^/]+/?$}, false]
557
557
  ]
558
558
  )
559
559
  transcoder.transcode request_pb
@@ -575,7 +575,7 @@ module Google
575
575
  uri_template: "/compute/v1/projects/{project}/global/images",
576
576
  body: "image_resource",
577
577
  matches: [
578
- ["project", %r{[^/]+}, false]
578
+ ["project", %r{^[^/]+/?$}, false]
579
579
  ]
580
580
  )
581
581
  transcoder.transcode request_pb
@@ -596,7 +596,7 @@ module Google
596
596
  uri_method: :get,
597
597
  uri_template: "/compute/v1/projects/{project}/global/images",
598
598
  matches: [
599
- ["project", %r{[^/]+}, false]
599
+ ["project", %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/images/{image}",
619
619
  body: "image_resource",
620
620
  matches: [
621
- ["project", %r{[^/]+}, false],
622
- ["image", %r{[^/]+}, false]
621
+ ["project", %r{^[^/]+/?$}, false],
622
+ ["image", %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}/global/images/{resource}/setIamPolicy",
642
642
  body: "global_set_policy_request_resource",
643
643
  matches: [
644
- ["project", %r{[^/]+}, false],
645
- ["resource", %r{[^/]+}, false]
644
+ ["project", %r{^[^/]+/?$}, false],
645
+ ["resource", %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/images/{resource}/setLabels",
665
665
  body: "global_set_labels_request_resource",
666
666
  matches: [
667
- ["project", %r{[^/]+}, false],
668
- ["resource", %r{[^/]+}, false]
667
+ ["project", %r{^[^/]+/?$}, false],
668
+ ["resource", %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}/global/images/{resource}/testIamPermissions",
688
688
  body: "test_permissions_request_resource",
689
689
  matches: [
690
- ["project", %r{[^/]+}, false],
691
- ["resource", %r{[^/]+}, false]
690
+ ["project", %r{^[^/]+/?$}, false],
691
+ ["resource", %r{^[^/]+/?$}, false]
692
692
  ]
693
693
  )
694
694
  transcoder.transcode request_pb
@@ -1018,7 +1018,7 @@ module Google
1018
1018
  end
1019
1019
 
1020
1020
  ##
1021
- # Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported.
1021
+ # Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
1022
1022
  #
1023
1023
  # @overload list_managed_instances(request, options = nil)
1024
1024
  # Pass arguments to `list_managed_instances` via a request object, either of type
@@ -26,8 +26,8 @@ module Google
26
26
  module Rest
27
27
  ##
28
28
  # REST service stub for the InstanceGroupManagers service.
29
- # service stub contains baseline method implementations
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:
@@ -797,9 +797,9 @@ module Google
797
797
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/abandonInstances",
798
798
  body: "instance_group_managers_abandon_instances_request_resource",
799
799
  matches: [
800
- ["project", %r{[^/]+}, false],
801
- ["zone", %r{[^/]+}, false],
802
- ["instance_group_manager", %r{[^/]+}, false]
800
+ ["project", %r{^[^/]+/?$}, false],
801
+ ["zone", %r{^[^/]+/?$}, false],
802
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
803
803
  ]
804
804
  )
805
805
  transcoder.transcode request_pb
@@ -820,7 +820,7 @@ module Google
820
820
  uri_method: :get,
821
821
  uri_template: "/compute/v1/projects/{project}/aggregated/instanceGroupManagers",
822
822
  matches: [
823
- ["project", %r{[^/]+}, false]
823
+ ["project", %r{^[^/]+/?$}, false]
824
824
  ]
825
825
  )
826
826
  transcoder.transcode request_pb
@@ -842,9 +842,9 @@ module Google
842
842
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/applyUpdatesToInstances",
843
843
  body: "instance_group_managers_apply_updates_request_resource",
844
844
  matches: [
845
- ["project", %r{[^/]+}, false],
846
- ["zone", %r{[^/]+}, false],
847
- ["instance_group_manager", %r{[^/]+}, false]
845
+ ["project", %r{^[^/]+/?$}, false],
846
+ ["zone", %r{^[^/]+/?$}, false],
847
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
848
848
  ]
849
849
  )
850
850
  transcoder.transcode request_pb
@@ -866,9 +866,9 @@ module Google
866
866
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/createInstances",
867
867
  body: "instance_group_managers_create_instances_request_resource",
868
868
  matches: [
869
- ["project", %r{[^/]+}, false],
870
- ["zone", %r{[^/]+}, false],
871
- ["instance_group_manager", %r{[^/]+}, false]
869
+ ["project", %r{^[^/]+/?$}, false],
870
+ ["zone", %r{^[^/]+/?$}, false],
871
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
872
872
  ]
873
873
  )
874
874
  transcoder.transcode request_pb
@@ -889,9 +889,9 @@ module Google
889
889
  uri_method: :delete,
890
890
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}",
891
891
  matches: [
892
- ["project", %r{[^/]+}, false],
893
- ["zone", %r{[^/]+}, false],
894
- ["instance_group_manager", %r{[^/]+}, false]
892
+ ["project", %r{^[^/]+/?$}, false],
893
+ ["zone", %r{^[^/]+/?$}, false],
894
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
895
895
  ]
896
896
  )
897
897
  transcoder.transcode request_pb
@@ -913,9 +913,9 @@ module Google
913
913
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/deleteInstances",
914
914
  body: "instance_group_managers_delete_instances_request_resource",
915
915
  matches: [
916
- ["project", %r{[^/]+}, false],
917
- ["zone", %r{[^/]+}, false],
918
- ["instance_group_manager", %r{[^/]+}, false]
916
+ ["project", %r{^[^/]+/?$}, false],
917
+ ["zone", %r{^[^/]+/?$}, false],
918
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
919
919
  ]
920
920
  )
921
921
  transcoder.transcode request_pb
@@ -937,9 +937,9 @@ module Google
937
937
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/deletePerInstanceConfigs",
938
938
  body: "instance_group_managers_delete_per_instance_configs_req_resource",
939
939
  matches: [
940
- ["project", %r{[^/]+}, false],
941
- ["zone", %r{[^/]+}, false],
942
- ["instance_group_manager", %r{[^/]+}, false]
940
+ ["project", %r{^[^/]+/?$}, false],
941
+ ["zone", %r{^[^/]+/?$}, false],
942
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
943
943
  ]
944
944
  )
945
945
  transcoder.transcode request_pb
@@ -960,9 +960,9 @@ module Google
960
960
  uri_method: :get,
961
961
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}",
962
962
  matches: [
963
- ["project", %r{[^/]+}, false],
964
- ["zone", %r{[^/]+}, false],
965
- ["instance_group_manager", %r{[^/]+}, false]
963
+ ["project", %r{^[^/]+/?$}, false],
964
+ ["zone", %r{^[^/]+/?$}, false],
965
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
966
966
  ]
967
967
  )
968
968
  transcoder.transcode request_pb
@@ -984,8 +984,8 @@ module Google
984
984
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers",
985
985
  body: "instance_group_manager_resource",
986
986
  matches: [
987
- ["project", %r{[^/]+}, false],
988
- ["zone", %r{[^/]+}, false]
987
+ ["project", %r{^[^/]+/?$}, false],
988
+ ["zone", %r{^[^/]+/?$}, false]
989
989
  ]
990
990
  )
991
991
  transcoder.transcode request_pb
@@ -1006,8 +1006,8 @@ module Google
1006
1006
  uri_method: :get,
1007
1007
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers",
1008
1008
  matches: [
1009
- ["project", %r{[^/]+}, false],
1010
- ["zone", %r{[^/]+}, false]
1009
+ ["project", %r{^[^/]+/?$}, false],
1010
+ ["zone", %r{^[^/]+/?$}, false]
1011
1011
  ]
1012
1012
  )
1013
1013
  transcoder.transcode request_pb
@@ -1028,9 +1028,9 @@ module Google
1028
1028
  uri_method: :get,
1029
1029
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/listErrors",
1030
1030
  matches: [
1031
- ["project", %r{[^/]+}, false],
1032
- ["zone", %r{[^/]+}, false],
1033
- ["instance_group_manager", %r{[^/]+}, false]
1031
+ ["project", %r{^[^/]+/?$}, false],
1032
+ ["zone", %r{^[^/]+/?$}, false],
1033
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1034
1034
  ]
1035
1035
  )
1036
1036
  transcoder.transcode request_pb
@@ -1051,9 +1051,9 @@ module Google
1051
1051
  uri_method: :post,
1052
1052
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/listManagedInstances",
1053
1053
  matches: [
1054
- ["project", %r{[^/]+}, false],
1055
- ["zone", %r{[^/]+}, false],
1056
- ["instance_group_manager", %r{[^/]+}, false]
1054
+ ["project", %r{^[^/]+/?$}, false],
1055
+ ["zone", %r{^[^/]+/?$}, false],
1056
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1057
1057
  ]
1058
1058
  )
1059
1059
  transcoder.transcode request_pb
@@ -1074,9 +1074,9 @@ module Google
1074
1074
  uri_method: :post,
1075
1075
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/listPerInstanceConfigs",
1076
1076
  matches: [
1077
- ["project", %r{[^/]+}, false],
1078
- ["zone", %r{[^/]+}, false],
1079
- ["instance_group_manager", %r{[^/]+}, false]
1077
+ ["project", %r{^[^/]+/?$}, false],
1078
+ ["zone", %r{^[^/]+/?$}, false],
1079
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1080
1080
  ]
1081
1081
  )
1082
1082
  transcoder.transcode request_pb
@@ -1098,9 +1098,9 @@ module Google
1098
1098
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}",
1099
1099
  body: "instance_group_manager_resource",
1100
1100
  matches: [
1101
- ["project", %r{[^/]+}, false],
1102
- ["zone", %r{[^/]+}, false],
1103
- ["instance_group_manager", %r{[^/]+}, false]
1101
+ ["project", %r{^[^/]+/?$}, false],
1102
+ ["zone", %r{^[^/]+/?$}, false],
1103
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1104
1104
  ]
1105
1105
  )
1106
1106
  transcoder.transcode request_pb
@@ -1122,9 +1122,9 @@ module Google
1122
1122
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/patchPerInstanceConfigs",
1123
1123
  body: "instance_group_managers_patch_per_instance_configs_req_resource",
1124
1124
  matches: [
1125
- ["project", %r{[^/]+}, false],
1126
- ["zone", %r{[^/]+}, false],
1127
- ["instance_group_manager", %r{[^/]+}, false]
1125
+ ["project", %r{^[^/]+/?$}, false],
1126
+ ["zone", %r{^[^/]+/?$}, false],
1127
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1128
1128
  ]
1129
1129
  )
1130
1130
  transcoder.transcode request_pb
@@ -1146,9 +1146,9 @@ module Google
1146
1146
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/recreateInstances",
1147
1147
  body: "instance_group_managers_recreate_instances_request_resource",
1148
1148
  matches: [
1149
- ["project", %r{[^/]+}, false],
1150
- ["zone", %r{[^/]+}, false],
1151
- ["instance_group_manager", %r{[^/]+}, false]
1149
+ ["project", %r{^[^/]+/?$}, false],
1150
+ ["zone", %r{^[^/]+/?$}, false],
1151
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1152
1152
  ]
1153
1153
  )
1154
1154
  transcoder.transcode request_pb
@@ -1169,9 +1169,9 @@ module Google
1169
1169
  uri_method: :post,
1170
1170
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/resize",
1171
1171
  matches: [
1172
- ["project", %r{[^/]+}, false],
1173
- ["zone", %r{[^/]+}, false],
1174
- ["instance_group_manager", %r{[^/]+}, false]
1172
+ ["project", %r{^[^/]+/?$}, false],
1173
+ ["zone", %r{^[^/]+/?$}, false],
1174
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1175
1175
  ]
1176
1176
  )
1177
1177
  transcoder.transcode request_pb
@@ -1193,9 +1193,9 @@ module Google
1193
1193
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/setInstanceTemplate",
1194
1194
  body: "instance_group_managers_set_instance_template_request_resource",
1195
1195
  matches: [
1196
- ["project", %r{[^/]+}, false],
1197
- ["zone", %r{[^/]+}, false],
1198
- ["instance_group_manager", %r{[^/]+}, false]
1196
+ ["project", %r{^[^/]+/?$}, false],
1197
+ ["zone", %r{^[^/]+/?$}, false],
1198
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1199
1199
  ]
1200
1200
  )
1201
1201
  transcoder.transcode request_pb
@@ -1217,9 +1217,9 @@ module Google
1217
1217
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/setTargetPools",
1218
1218
  body: "instance_group_managers_set_target_pools_request_resource",
1219
1219
  matches: [
1220
- ["project", %r{[^/]+}, false],
1221
- ["zone", %r{[^/]+}, false],
1222
- ["instance_group_manager", %r{[^/]+}, false]
1220
+ ["project", %r{^[^/]+/?$}, false],
1221
+ ["zone", %r{^[^/]+/?$}, false],
1222
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1223
1223
  ]
1224
1224
  )
1225
1225
  transcoder.transcode request_pb
@@ -1241,9 +1241,9 @@ module Google
1241
1241
  uri_template: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/updatePerInstanceConfigs",
1242
1242
  body: "instance_group_managers_update_per_instance_configs_req_resource",
1243
1243
  matches: [
1244
- ["project", %r{[^/]+}, false],
1245
- ["zone", %r{[^/]+}, false],
1246
- ["instance_group_manager", %r{[^/]+}, false]
1244
+ ["project", %r{^[^/]+/?$}, false],
1245
+ ["zone", %r{^[^/]+/?$}, false],
1246
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1247
1247
  ]
1248
1248
  )
1249
1249
  transcoder.transcode request_pb