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 RegionHealthChecks 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:
@@ -278,9 +278,9 @@ module Google
278
278
  uri_method: :delete,
279
279
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
280
280
  matches: [
281
- ["project", %r{[^/]+}, false],
282
- ["region", %r{[^/]+}, false],
283
- ["health_check", %r{[^/]+}, false]
281
+ ["project", %r{^[^/]+/?$}, false],
282
+ ["region", %r{^[^/]+/?$}, false],
283
+ ["health_check", %r{^[^/]+/?$}, false]
284
284
  ]
285
285
  )
286
286
  transcoder.transcode request_pb
@@ -301,9 +301,9 @@ module Google
301
301
  uri_method: :get,
302
302
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
303
303
  matches: [
304
- ["project", %r{[^/]+}, false],
305
- ["region", %r{[^/]+}, false],
306
- ["health_check", %r{[^/]+}, false]
304
+ ["project", %r{^[^/]+/?$}, false],
305
+ ["region", %r{^[^/]+/?$}, false],
306
+ ["health_check", %r{^[^/]+/?$}, false]
307
307
  ]
308
308
  )
309
309
  transcoder.transcode request_pb
@@ -325,8 +325,8 @@ module Google
325
325
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks",
326
326
  body: "health_check_resource",
327
327
  matches: [
328
- ["project", %r{[^/]+}, false],
329
- ["region", %r{[^/]+}, false]
328
+ ["project", %r{^[^/]+/?$}, false],
329
+ ["region", %r{^[^/]+/?$}, false]
330
330
  ]
331
331
  )
332
332
  transcoder.transcode request_pb
@@ -347,8 +347,8 @@ module Google
347
347
  uri_method: :get,
348
348
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks",
349
349
  matches: [
350
- ["project", %r{[^/]+}, false],
351
- ["region", %r{[^/]+}, false]
350
+ ["project", %r{^[^/]+/?$}, false],
351
+ ["region", %r{^[^/]+/?$}, false]
352
352
  ]
353
353
  )
354
354
  transcoder.transcode request_pb
@@ -370,9 +370,9 @@ module Google
370
370
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
371
371
  body: "health_check_resource",
372
372
  matches: [
373
- ["project", %r{[^/]+}, false],
374
- ["region", %r{[^/]+}, false],
375
- ["health_check", %r{[^/]+}, false]
373
+ ["project", %r{^[^/]+/?$}, false],
374
+ ["region", %r{^[^/]+/?$}, false],
375
+ ["health_check", %r{^[^/]+/?$}, false]
376
376
  ]
377
377
  )
378
378
  transcoder.transcode request_pb
@@ -394,9 +394,9 @@ module Google
394
394
  uri_template: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}",
395
395
  body: "health_check_resource",
396
396
  matches: [
397
- ["project", %r{[^/]+}, false],
398
- ["region", %r{[^/]+}, false],
399
- ["health_check", %r{[^/]+}, false]
397
+ ["project", %r{^[^/]+/?$}, false],
398
+ ["region", %r{^[^/]+/?$}, false],
399
+ ["health_check", %r{^[^/]+/?$}, false]
400
400
  ]
401
401
  )
402
402
  transcoder.transcode request_pb
@@ -939,7 +939,7 @@ module Google
939
939
  end
940
940
 
941
941
  ##
942
- # Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported.
942
+ # Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. 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`.
943
943
  #
944
944
  # @overload list_managed_instances(request, options = nil)
945
945
  # 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 RegionInstanceGroupManagers 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:
@@ -760,9 +760,9 @@ module Google
760
760
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/abandonInstances",
761
761
  body: "region_instance_group_managers_abandon_instances_request_resource",
762
762
  matches: [
763
- ["project", %r{[^/]+}, false],
764
- ["region", %r{[^/]+}, false],
765
- ["instance_group_manager", %r{[^/]+}, false]
763
+ ["project", %r{^[^/]+/?$}, false],
764
+ ["region", %r{^[^/]+/?$}, false],
765
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
766
766
  ]
767
767
  )
768
768
  transcoder.transcode request_pb
@@ -784,9 +784,9 @@ module Google
784
784
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/applyUpdatesToInstances",
785
785
  body: "region_instance_group_managers_apply_updates_request_resource",
786
786
  matches: [
787
- ["project", %r{[^/]+}, false],
788
- ["region", %r{[^/]+}, false],
789
- ["instance_group_manager", %r{[^/]+}, false]
787
+ ["project", %r{^[^/]+/?$}, false],
788
+ ["region", %r{^[^/]+/?$}, false],
789
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
790
790
  ]
791
791
  )
792
792
  transcoder.transcode request_pb
@@ -808,9 +808,9 @@ module Google
808
808
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/createInstances",
809
809
  body: "region_instance_group_managers_create_instances_request_resource",
810
810
  matches: [
811
- ["project", %r{[^/]+}, false],
812
- ["region", %r{[^/]+}, false],
813
- ["instance_group_manager", %r{[^/]+}, false]
811
+ ["project", %r{^[^/]+/?$}, false],
812
+ ["region", %r{^[^/]+/?$}, false],
813
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
814
814
  ]
815
815
  )
816
816
  transcoder.transcode request_pb
@@ -831,9 +831,9 @@ module Google
831
831
  uri_method: :delete,
832
832
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}",
833
833
  matches: [
834
- ["project", %r{[^/]+}, false],
835
- ["region", %r{[^/]+}, false],
836
- ["instance_group_manager", %r{[^/]+}, false]
834
+ ["project", %r{^[^/]+/?$}, false],
835
+ ["region", %r{^[^/]+/?$}, false],
836
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
837
837
  ]
838
838
  )
839
839
  transcoder.transcode request_pb
@@ -855,9 +855,9 @@ module Google
855
855
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/deleteInstances",
856
856
  body: "region_instance_group_managers_delete_instances_request_resource",
857
857
  matches: [
858
- ["project", %r{[^/]+}, false],
859
- ["region", %r{[^/]+}, false],
860
- ["instance_group_manager", %r{[^/]+}, false]
858
+ ["project", %r{^[^/]+/?$}, false],
859
+ ["region", %r{^[^/]+/?$}, false],
860
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
861
861
  ]
862
862
  )
863
863
  transcoder.transcode request_pb
@@ -879,9 +879,9 @@ module Google
879
879
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/deletePerInstanceConfigs",
880
880
  body: "region_instance_group_manager_delete_instance_config_req_resource",
881
881
  matches: [
882
- ["project", %r{[^/]+}, false],
883
- ["region", %r{[^/]+}, false],
884
- ["instance_group_manager", %r{[^/]+}, false]
882
+ ["project", %r{^[^/]+/?$}, false],
883
+ ["region", %r{^[^/]+/?$}, false],
884
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
885
885
  ]
886
886
  )
887
887
  transcoder.transcode request_pb
@@ -902,9 +902,9 @@ module Google
902
902
  uri_method: :get,
903
903
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}",
904
904
  matches: [
905
- ["project", %r{[^/]+}, false],
906
- ["region", %r{[^/]+}, false],
907
- ["instance_group_manager", %r{[^/]+}, false]
905
+ ["project", %r{^[^/]+/?$}, false],
906
+ ["region", %r{^[^/]+/?$}, false],
907
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
908
908
  ]
909
909
  )
910
910
  transcoder.transcode request_pb
@@ -926,8 +926,8 @@ module Google
926
926
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers",
927
927
  body: "instance_group_manager_resource",
928
928
  matches: [
929
- ["project", %r{[^/]+}, false],
930
- ["region", %r{[^/]+}, false]
929
+ ["project", %r{^[^/]+/?$}, false],
930
+ ["region", %r{^[^/]+/?$}, false]
931
931
  ]
932
932
  )
933
933
  transcoder.transcode request_pb
@@ -948,8 +948,8 @@ module Google
948
948
  uri_method: :get,
949
949
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers",
950
950
  matches: [
951
- ["project", %r{[^/]+}, false],
952
- ["region", %r{[^/]+}, false]
951
+ ["project", %r{^[^/]+/?$}, false],
952
+ ["region", %r{^[^/]+/?$}, false]
953
953
  ]
954
954
  )
955
955
  transcoder.transcode request_pb
@@ -970,9 +970,9 @@ module Google
970
970
  uri_method: :get,
971
971
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/listErrors",
972
972
  matches: [
973
- ["project", %r{[^/]+}, false],
974
- ["region", %r{[^/]+}, false],
975
- ["instance_group_manager", %r{[^/]+}, false]
973
+ ["project", %r{^[^/]+/?$}, false],
974
+ ["region", %r{^[^/]+/?$}, false],
975
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
976
976
  ]
977
977
  )
978
978
  transcoder.transcode request_pb
@@ -993,9 +993,9 @@ module Google
993
993
  uri_method: :post,
994
994
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/listManagedInstances",
995
995
  matches: [
996
- ["project", %r{[^/]+}, false],
997
- ["region", %r{[^/]+}, false],
998
- ["instance_group_manager", %r{[^/]+}, false]
996
+ ["project", %r{^[^/]+/?$}, false],
997
+ ["region", %r{^[^/]+/?$}, false],
998
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
999
999
  ]
1000
1000
  )
1001
1001
  transcoder.transcode request_pb
@@ -1016,9 +1016,9 @@ module Google
1016
1016
  uri_method: :post,
1017
1017
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/listPerInstanceConfigs",
1018
1018
  matches: [
1019
- ["project", %r{[^/]+}, false],
1020
- ["region", %r{[^/]+}, false],
1021
- ["instance_group_manager", %r{[^/]+}, false]
1019
+ ["project", %r{^[^/]+/?$}, false],
1020
+ ["region", %r{^[^/]+/?$}, false],
1021
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1022
1022
  ]
1023
1023
  )
1024
1024
  transcoder.transcode request_pb
@@ -1040,9 +1040,9 @@ module Google
1040
1040
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}",
1041
1041
  body: "instance_group_manager_resource",
1042
1042
  matches: [
1043
- ["project", %r{[^/]+}, false],
1044
- ["region", %r{[^/]+}, false],
1045
- ["instance_group_manager", %r{[^/]+}, false]
1043
+ ["project", %r{^[^/]+/?$}, false],
1044
+ ["region", %r{^[^/]+/?$}, false],
1045
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1046
1046
  ]
1047
1047
  )
1048
1048
  transcoder.transcode request_pb
@@ -1064,9 +1064,9 @@ module Google
1064
1064
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/patchPerInstanceConfigs",
1065
1065
  body: "region_instance_group_manager_patch_instance_config_req_resource",
1066
1066
  matches: [
1067
- ["project", %r{[^/]+}, false],
1068
- ["region", %r{[^/]+}, false],
1069
- ["instance_group_manager", %r{[^/]+}, false]
1067
+ ["project", %r{^[^/]+/?$}, false],
1068
+ ["region", %r{^[^/]+/?$}, false],
1069
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1070
1070
  ]
1071
1071
  )
1072
1072
  transcoder.transcode request_pb
@@ -1088,9 +1088,9 @@ module Google
1088
1088
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/recreateInstances",
1089
1089
  body: "region_instance_group_managers_recreate_request_resource",
1090
1090
  matches: [
1091
- ["project", %r{[^/]+}, false],
1092
- ["region", %r{[^/]+}, false],
1093
- ["instance_group_manager", %r{[^/]+}, false]
1091
+ ["project", %r{^[^/]+/?$}, false],
1092
+ ["region", %r{^[^/]+/?$}, false],
1093
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1094
1094
  ]
1095
1095
  )
1096
1096
  transcoder.transcode request_pb
@@ -1111,9 +1111,9 @@ module Google
1111
1111
  uri_method: :post,
1112
1112
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/resize",
1113
1113
  matches: [
1114
- ["project", %r{[^/]+}, false],
1115
- ["region", %r{[^/]+}, false],
1116
- ["instance_group_manager", %r{[^/]+}, false]
1114
+ ["project", %r{^[^/]+/?$}, false],
1115
+ ["region", %r{^[^/]+/?$}, false],
1116
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1117
1117
  ]
1118
1118
  )
1119
1119
  transcoder.transcode request_pb
@@ -1135,9 +1135,9 @@ module Google
1135
1135
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/setInstanceTemplate",
1136
1136
  body: "region_instance_group_managers_set_template_request_resource",
1137
1137
  matches: [
1138
- ["project", %r{[^/]+}, false],
1139
- ["region", %r{[^/]+}, false],
1140
- ["instance_group_manager", %r{[^/]+}, false]
1138
+ ["project", %r{^[^/]+/?$}, false],
1139
+ ["region", %r{^[^/]+/?$}, false],
1140
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1141
1141
  ]
1142
1142
  )
1143
1143
  transcoder.transcode request_pb
@@ -1159,9 +1159,9 @@ module Google
1159
1159
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/setTargetPools",
1160
1160
  body: "region_instance_group_managers_set_target_pools_request_resource",
1161
1161
  matches: [
1162
- ["project", %r{[^/]+}, false],
1163
- ["region", %r{[^/]+}, false],
1164
- ["instance_group_manager", %r{[^/]+}, false]
1162
+ ["project", %r{^[^/]+/?$}, false],
1163
+ ["region", %r{^[^/]+/?$}, false],
1164
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1165
1165
  ]
1166
1166
  )
1167
1167
  transcoder.transcode request_pb
@@ -1183,9 +1183,9 @@ module Google
1183
1183
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/updatePerInstanceConfigs",
1184
1184
  body: "region_instance_group_manager_update_instance_config_req_resource",
1185
1185
  matches: [
1186
- ["project", %r{[^/]+}, false],
1187
- ["region", %r{[^/]+}, false],
1188
- ["instance_group_manager", %r{[^/]+}, false]
1186
+ ["project", %r{^[^/]+/?$}, false],
1187
+ ["region", %r{^[^/]+/?$}, false],
1188
+ ["instance_group_manager", %r{^[^/]+/?$}, false]
1189
1189
  ]
1190
1190
  )
1191
1191
  transcoder.transcode request_pb
@@ -26,8 +26,8 @@ module Google
26
26
  module Rest
27
27
  ##
28
28
  # REST service stub for the RegionInstanceGroups 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:
@@ -204,9 +204,9 @@ module Google
204
204
  uri_method: :get,
205
205
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instance_group}",
206
206
  matches: [
207
- ["project", %r{[^/]+}, false],
208
- ["region", %r{[^/]+}, false],
209
- ["instance_group", %r{[^/]+}, false]
207
+ ["project", %r{^[^/]+/?$}, false],
208
+ ["region", %r{^[^/]+/?$}, false],
209
+ ["instance_group", %r{^[^/]+/?$}, false]
210
210
  ]
211
211
  )
212
212
  transcoder.transcode request_pb
@@ -227,8 +227,8 @@ module Google
227
227
  uri_method: :get,
228
228
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroups",
229
229
  matches: [
230
- ["project", %r{[^/]+}, false],
231
- ["region", %r{[^/]+}, false]
230
+ ["project", %r{^[^/]+/?$}, false],
231
+ ["region", %r{^[^/]+/?$}, false]
232
232
  ]
233
233
  )
234
234
  transcoder.transcode request_pb
@@ -250,9 +250,9 @@ module Google
250
250
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instance_group}/listInstances",
251
251
  body: "region_instance_groups_list_instances_request_resource",
252
252
  matches: [
253
- ["project", %r{[^/]+}, false],
254
- ["region", %r{[^/]+}, false],
255
- ["instance_group", %r{[^/]+}, false]
253
+ ["project", %r{^[^/]+/?$}, false],
254
+ ["region", %r{^[^/]+/?$}, false],
255
+ ["instance_group", %r{^[^/]+/?$}, false]
256
256
  ]
257
257
  )
258
258
  transcoder.transcode request_pb
@@ -274,9 +274,9 @@ module Google
274
274
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instance_group}/setNamedPorts",
275
275
  body: "region_instance_groups_set_named_ports_request_resource",
276
276
  matches: [
277
- ["project", %r{[^/]+}, false],
278
- ["region", %r{[^/]+}, false],
279
- ["instance_group", %r{[^/]+}, false]
277
+ ["project", %r{^[^/]+/?$}, false],
278
+ ["region", %r{^[^/]+/?$}, false],
279
+ ["instance_group", %r{^[^/]+/?$}, false]
280
280
  ]
281
281
  )
282
282
  transcoder.transcode request_pb
@@ -26,8 +26,8 @@ module Google
26
26
  module Rest
27
27
  ##
28
28
  # REST service stub for the RegionInstances 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:
@@ -94,8 +94,8 @@ module Google
94
94
  uri_template: "/compute/v1/projects/{project}/regions/{region}/instances/bulkInsert",
95
95
  body: "bulk_insert_instance_resource_resource",
96
96
  matches: [
97
- ["project", %r{[^/]+}, false],
98
- ["region", %r{[^/]+}, false]
97
+ ["project", %r{^[^/]+/?$}, false],
98
+ ["region", %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 RegionNetworkEndpointGroups 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:
@@ -204,9 +204,9 @@ module Google
204
204
  uri_method: :delete,
205
205
  uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}",
206
206
  matches: [
207
- ["project", %r{[^/]+}, false],
208
- ["region", %r{[^/]+}, false],
209
- ["network_endpoint_group", %r{[^/]+}, false]
207
+ ["project", %r{^[^/]+/?$}, false],
208
+ ["region", %r{^[^/]+/?$}, false],
209
+ ["network_endpoint_group", %r{^[^/]+/?$}, false]
210
210
  ]
211
211
  )
212
212
  transcoder.transcode request_pb
@@ -227,9 +227,9 @@ module Google
227
227
  uri_method: :get,
228
228
  uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}",
229
229
  matches: [
230
- ["project", %r{[^/]+}, false],
231
- ["region", %r{[^/]+}, false],
232
- ["network_endpoint_group", %r{[^/]+}, false]
230
+ ["project", %r{^[^/]+/?$}, false],
231
+ ["region", %r{^[^/]+/?$}, false],
232
+ ["network_endpoint_group", %r{^[^/]+/?$}, false]
233
233
  ]
234
234
  )
235
235
  transcoder.transcode request_pb
@@ -251,8 +251,8 @@ module Google
251
251
  uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups",
252
252
  body: "network_endpoint_group_resource",
253
253
  matches: [
254
- ["project", %r{[^/]+}, false],
255
- ["region", %r{[^/]+}, false]
254
+ ["project", %r{^[^/]+/?$}, false],
255
+ ["region", %r{^[^/]+/?$}, false]
256
256
  ]
257
257
  )
258
258
  transcoder.transcode request_pb
@@ -273,8 +273,8 @@ module Google
273
273
  uri_method: :get,
274
274
  uri_template: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups",
275
275
  matches: [
276
- ["project", %r{[^/]+}, false],
277
- ["region", %r{[^/]+}, false]
276
+ ["project", %r{^[^/]+/?$}, false],
277
+ ["region", %r{^[^/]+/?$}, false]
278
278
  ]
279
279
  )
280
280
  transcoder.transcode request_pb