google-api-client 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +2 -2
  7. data/generated/google/apis/classroom_v1.rb +1 -1
  8. data/generated/google/apis/classroom_v1/classes.rb +2 -1
  9. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  10. data/generated/google/apis/cloudbuild_v1/classes.rb +34 -0
  11. data/generated/google/apis/cloudbuild_v1/representations.rb +17 -0
  12. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  13. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -1
  14. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  15. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -1
  16. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -1
  18. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -1
  20. data/generated/google/apis/compute_alpha.rb +1 -1
  21. data/generated/google/apis/compute_alpha/classes.rb +536 -20
  22. data/generated/google/apis/compute_alpha/representations.rb +228 -2
  23. data/generated/google/apis/compute_alpha/service.rb +1860 -593
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_beta/classes.rb +14 -0
  26. data/generated/google/apis/compute_beta/representations.rb +3 -0
  27. data/generated/google/apis/compute_beta/service.rb +3 -3
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/compute_v1/classes.rb +698 -21
  30. data/generated/google/apis/compute_v1/representations.rb +268 -0
  31. data/generated/google/apis/compute_v1/service.rb +778 -14
  32. data/generated/google/apis/content_v2.rb +1 -1
  33. data/generated/google/apis/content_v2/classes.rb +53 -1
  34. data/generated/google/apis/content_v2/representations.rb +18 -0
  35. data/generated/google/apis/content_v2/service.rb +62 -4
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +11 -7
  38. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  39. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -5
  40. data/generated/google/apis/dlp_v2.rb +1 -1
  41. data/generated/google/apis/dlp_v2/classes.rb +2 -1
  42. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  43. data/generated/google/apis/dlp_v2beta1/classes.rb +2 -1
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +2 -1
  46. data/generated/google/apis/drive_v2.rb +1 -1
  47. data/generated/google/apis/drive_v2/classes.rb +2 -1
  48. data/generated/google/apis/drive_v2/service.rb +6 -5
  49. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  50. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +141 -1
  51. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +56 -0
  52. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +40 -0
  53. data/generated/google/apis/genomics_v1.rb +1 -1
  54. data/generated/google/apis/genomics_v1/classes.rb +0 -16
  55. data/generated/google/apis/genomics_v1/service.rb +0 -120
  56. data/generated/google/apis/groupssettings_v1.rb +1 -1
  57. data/generated/google/apis/groupssettings_v1/classes.rb +4 -3
  58. data/generated/google/apis/iam_v1.rb +1 -1
  59. data/generated/google/apis/iam_v1/classes.rb +0 -1
  60. data/generated/google/apis/manufacturers_v1.rb +1 -1
  61. data/generated/google/apis/manufacturers_v1/classes.rb +70 -7
  62. data/generated/google/apis/manufacturers_v1/representations.rb +23 -0
  63. data/generated/google/apis/manufacturers_v1/service.rb +17 -3
  64. data/generated/google/apis/partners_v2.rb +1 -1
  65. data/generated/google/apis/partners_v2/classes.rb +10 -1
  66. data/generated/google/apis/partners_v2/representations.rb +1 -0
  67. data/generated/google/apis/people_v1.rb +1 -1
  68. data/generated/google/apis/people_v1/classes.rb +2 -1
  69. data/generated/google/apis/safebrowsing_v4.rb +2 -2
  70. data/generated/google/apis/safebrowsing_v4/service.rb +1 -1
  71. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  72. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  73. data/generated/google/apis/serviceuser_v1.rb +1 -1
  74. data/generated/google/apis/serviceuser_v1/classes.rb +1 -6
  75. data/generated/google/apis/spanner_v1.rb +1 -1
  76. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  77. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -27
  78. data/generated/google/apis/testing_v1.rb +2 -2
  79. data/generated/google/apis/testing_v1/classes.rb +2 -1
  80. data/generated/google/apis/testing_v1/service.rb +1 -1
  81. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  82. data/lib/google/apis/version.rb +1 -1
  83. metadata +2 -2
@@ -874,6 +874,42 @@ module Google
874
874
  include Google::Apis::Core::JsonObjectSupport
875
875
  end
876
876
 
877
+ class HealthChecksAggregatedList
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ class Warning
881
+ class Representation < Google::Apis::Core::JsonRepresentation; end
882
+
883
+ class Datum
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ include Google::Apis::Core::JsonObjectSupport
890
+ end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class HealthChecksScopedList
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ class Warning
899
+ class Representation < Google::Apis::Core::JsonRepresentation; end
900
+
901
+ class Datum
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ include Google::Apis::Core::JsonObjectSupport
908
+ end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
877
913
  class HealthStatus
878
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
915
 
@@ -2524,6 +2560,12 @@ module Google
2524
2560
  include Google::Apis::Core::JsonObjectSupport
2525
2561
  end
2526
2562
 
2563
+ class RegionUrlMapsValidateRequest
2564
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2565
+
2566
+ include Google::Apis::Core::JsonObjectSupport
2567
+ end
2568
+
2527
2569
  class ResourceCommitment
2528
2570
  class Representation < Google::Apis::Core::JsonRepresentation; end
2529
2571
 
@@ -2794,6 +2836,12 @@ module Google
2794
2836
  include Google::Apis::Core::JsonObjectSupport
2795
2837
  end
2796
2838
 
2839
+ class ShieldedVmIntegrityPolicy
2840
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2841
+
2842
+ include Google::Apis::Core::JsonObjectSupport
2843
+ end
2844
+
2797
2845
  class SignedUrlKey
2798
2846
  class Representation < Google::Apis::Core::JsonRepresentation; end
2799
2847
 
@@ -3022,12 +3070,48 @@ module Google
3022
3070
  include Google::Apis::Core::JsonObjectSupport
3023
3071
  end
3024
3072
 
3073
+ class TargetHttpProxiesScopedList
3074
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3075
+
3076
+ class Warning
3077
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3078
+
3079
+ class Datum
3080
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3081
+
3082
+ include Google::Apis::Core::JsonObjectSupport
3083
+ end
3084
+
3085
+ include Google::Apis::Core::JsonObjectSupport
3086
+ end
3087
+
3088
+ include Google::Apis::Core::JsonObjectSupport
3089
+ end
3090
+
3025
3091
  class TargetHttpProxy
3026
3092
  class Representation < Google::Apis::Core::JsonRepresentation; end
3027
3093
 
3028
3094
  include Google::Apis::Core::JsonObjectSupport
3029
3095
  end
3030
3096
 
3097
+ class TargetHttpProxyAggregatedList
3098
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3099
+
3100
+ class Warning
3101
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3102
+
3103
+ class Datum
3104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3105
+
3106
+ include Google::Apis::Core::JsonObjectSupport
3107
+ end
3108
+
3109
+ include Google::Apis::Core::JsonObjectSupport
3110
+ end
3111
+
3112
+ include Google::Apis::Core::JsonObjectSupport
3113
+ end
3114
+
3031
3115
  class TargetHttpProxyList
3032
3116
  class Representation < Google::Apis::Core::JsonRepresentation; end
3033
3117
 
@@ -5155,6 +5239,7 @@ module Google
5155
5239
  property :id, :numeric_string => true, as: 'id'
5156
5240
  property :kind, as: 'kind'
5157
5241
  property :name, as: 'name'
5242
+ property :region, as: 'region'
5158
5243
  property :self_link, as: 'selfLink'
5159
5244
  property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeAlpha::SslHealthCheck, decorator: Google::Apis::ComputeAlpha::SslHealthCheck::Representation
5160
5245
 
@@ -5207,6 +5292,66 @@ module Google
5207
5292
  end
5208
5293
  end
5209
5294
 
5295
+ class HealthChecksAggregatedList
5296
+ # @private
5297
+ class Representation < Google::Apis::Core::JsonRepresentation
5298
+ property :id, as: 'id'
5299
+ hash :items, as: 'items', class: Google::Apis::ComputeAlpha::HealthChecksScopedList, decorator: Google::Apis::ComputeAlpha::HealthChecksScopedList::Representation
5300
+
5301
+ property :kind, as: 'kind'
5302
+ property :next_page_token, as: 'nextPageToken'
5303
+ property :self_link, as: 'selfLink'
5304
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Warning::Representation
5305
+
5306
+ end
5307
+
5308
+ class Warning
5309
+ # @private
5310
+ class Representation < Google::Apis::Core::JsonRepresentation
5311
+ property :code, as: 'code'
5312
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Warning::Datum::Representation
5313
+
5314
+ property :message, as: 'message'
5315
+ end
5316
+
5317
+ class Datum
5318
+ # @private
5319
+ class Representation < Google::Apis::Core::JsonRepresentation
5320
+ property :key, as: 'key'
5321
+ property :value, as: 'value'
5322
+ end
5323
+ end
5324
+ end
5325
+ end
5326
+
5327
+ class HealthChecksScopedList
5328
+ # @private
5329
+ class Representation < Google::Apis::Core::JsonRepresentation
5330
+ collection :health_checks, as: 'healthChecks', class: Google::Apis::ComputeAlpha::HealthCheck, decorator: Google::Apis::ComputeAlpha::HealthCheck::Representation
5331
+
5332
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::HealthChecksScopedList::Warning, decorator: Google::Apis::ComputeAlpha::HealthChecksScopedList::Warning::Representation
5333
+
5334
+ end
5335
+
5336
+ class Warning
5337
+ # @private
5338
+ class Representation < Google::Apis::Core::JsonRepresentation
5339
+ property :code, as: 'code'
5340
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::HealthChecksScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::HealthChecksScopedList::Warning::Datum::Representation
5341
+
5342
+ property :message, as: 'message'
5343
+ end
5344
+
5345
+ class Datum
5346
+ # @private
5347
+ class Representation < Google::Apis::Core::JsonRepresentation
5348
+ property :key, as: 'key'
5349
+ property :value, as: 'value'
5350
+ end
5351
+ end
5352
+ end
5353
+ end
5354
+
5210
5355
  class HealthStatus
5211
5356
  # @private
5212
5357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5689,6 +5834,8 @@ module Google
5689
5834
 
5690
5835
  property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
5691
5836
 
5837
+ property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation
5838
+
5692
5839
  property :start_restricted, as: 'startRestricted'
5693
5840
  property :status, as: 'status'
5694
5841
  property :status_message, as: 'statusMessage'
@@ -8206,6 +8353,14 @@ module Google
8206
8353
  end
8207
8354
  end
8208
8355
 
8356
+ class RegionUrlMapsValidateRequest
8357
+ # @private
8358
+ class Representation < Google::Apis::Core::JsonRepresentation
8359
+ property :resource, as: 'resource', class: Google::Apis::ComputeAlpha::UrlMap, decorator: Google::Apis::ComputeAlpha::UrlMap::Representation
8360
+
8361
+ end
8362
+ end
8363
+
8209
8364
  class ResourceCommitment
8210
8365
  # @private
8211
8366
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8390,6 +8545,7 @@ module Google
8390
8545
  property :advertised_route_priority, as: 'advertisedRoutePriority'
8391
8546
  property :interface_name, as: 'interfaceName'
8392
8547
  property :ip_address, as: 'ipAddress'
8548
+ property :management_type, as: 'managementType'
8393
8549
  property :name, as: 'name'
8394
8550
  property :peer_asn, as: 'peerAsn'
8395
8551
  property :peer_ip_address, as: 'peerIpAddress'
@@ -8402,6 +8558,7 @@ module Google
8402
8558
  property :ip_range, as: 'ipRange'
8403
8559
  property :linked_interconnect_attachment, as: 'linkedInterconnectAttachment'
8404
8560
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
8561
+ property :management_type, as: 'managementType'
8405
8562
  property :name, as: 'name'
8406
8563
  end
8407
8564
  end
@@ -8709,6 +8866,13 @@ module Google
8709
8866
  end
8710
8867
  end
8711
8868
 
8869
+ class ShieldedVmIntegrityPolicy
8870
+ # @private
8871
+ class Representation < Google::Apis::Core::JsonRepresentation
8872
+ property :update_auto_learn_policy, as: 'updateAutoLearnPolicy'
8873
+ end
8874
+ end
8875
+
8712
8876
  class SignedUrlKey
8713
8877
  # @private
8714
8878
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8979,7 +9143,9 @@ module Google
8979
9143
  property :name, as: 'name'
8980
9144
  property :network, as: 'network'
8981
9145
  property :private_ip_google_access, as: 'privateIpGoogleAccess'
9146
+ property :purpose, as: 'purpose'
8982
9147
  property :region, as: 'region'
9148
+ property :role, as: 'role'
8983
9149
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeAlpha::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeAlpha::SubnetworkSecondaryRange::Representation
8984
9150
 
8985
9151
  property :self_link, as: 'selfLink'
@@ -9120,6 +9286,34 @@ module Google
9120
9286
  end
9121
9287
  end
9122
9288
 
9289
+ class TargetHttpProxiesScopedList
9290
+ # @private
9291
+ class Representation < Google::Apis::Core::JsonRepresentation
9292
+ collection :target_http_proxies, as: 'targetHttpProxies', class: Google::Apis::ComputeAlpha::TargetHttpProxy, decorator: Google::Apis::ComputeAlpha::TargetHttpProxy::Representation
9293
+
9294
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Warning, decorator: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Warning::Representation
9295
+
9296
+ end
9297
+
9298
+ class Warning
9299
+ # @private
9300
+ class Representation < Google::Apis::Core::JsonRepresentation
9301
+ property :code, as: 'code'
9302
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Warning::Datum::Representation
9303
+
9304
+ property :message, as: 'message'
9305
+ end
9306
+
9307
+ class Datum
9308
+ # @private
9309
+ class Representation < Google::Apis::Core::JsonRepresentation
9310
+ property :key, as: 'key'
9311
+ property :value, as: 'value'
9312
+ end
9313
+ end
9314
+ end
9315
+ end
9316
+
9123
9317
  class TargetHttpProxy
9124
9318
  # @private
9125
9319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9128,11 +9322,44 @@ module Google
9128
9322
  property :id, :numeric_string => true, as: 'id'
9129
9323
  property :kind, as: 'kind'
9130
9324
  property :name, as: 'name'
9325
+ property :region, as: 'region'
9131
9326
  property :self_link, as: 'selfLink'
9132
9327
  property :url_map, as: 'urlMap'
9133
9328
  end
9134
9329
  end
9135
9330
 
9331
+ class TargetHttpProxyAggregatedList
9332
+ # @private
9333
+ class Representation < Google::Apis::Core::JsonRepresentation
9334
+ property :id, as: 'id'
9335
+ hash :items, as: 'items', class: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList, decorator: Google::Apis::ComputeAlpha::TargetHttpProxiesScopedList::Representation
9336
+
9337
+ property :kind, as: 'kind'
9338
+ property :next_page_token, as: 'nextPageToken'
9339
+ property :self_link, as: 'selfLink'
9340
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Warning::Representation
9341
+
9342
+ end
9343
+
9344
+ class Warning
9345
+ # @private
9346
+ class Representation < Google::Apis::Core::JsonRepresentation
9347
+ property :code, as: 'code'
9348
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Warning::Datum::Representation
9349
+
9350
+ property :message, as: 'message'
9351
+ end
9352
+
9353
+ class Datum
9354
+ # @private
9355
+ class Representation < Google::Apis::Core::JsonRepresentation
9356
+ property :key, as: 'key'
9357
+ property :value, as: 'value'
9358
+ end
9359
+ end
9360
+ end
9361
+ end
9362
+
9136
9363
  class TargetHttpProxyList
9137
9364
  # @private
9138
9365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9182,7 +9409,6 @@ module Google
9182
9409
  class TargetHttpsProxy
9183
9410
  # @private
9184
9411
  class Representation < Google::Apis::Core::JsonRepresentation
9185
- property :client_ssl_policy, as: 'clientSslPolicy'
9186
9412
  property :creation_timestamp, as: 'creationTimestamp'
9187
9413
  property :description, as: 'description'
9188
9414
  property :id, :numeric_string => true, as: 'id'
@@ -9517,7 +9743,6 @@ module Google
9517
9743
  class TargetSslProxy
9518
9744
  # @private
9519
9745
  class Representation < Google::Apis::Core::JsonRepresentation
9520
- property :client_ssl_policy, as: 'clientSslPolicy'
9521
9746
  property :creation_timestamp, as: 'creationTimestamp'
9522
9747
  property :description, as: 'description'
9523
9748
  property :id, :numeric_string => true, as: 'id'
@@ -9782,6 +10007,7 @@ module Google
9782
10007
  property :name, as: 'name'
9783
10008
  collection :path_matchers, as: 'pathMatchers', class: Google::Apis::ComputeAlpha::PathMatcher, decorator: Google::Apis::ComputeAlpha::PathMatcher::Representation
9784
10009
 
10010
+ property :region, as: 'region'
9785
10011
  property :self_link, as: 'selfLink'
9786
10012
  collection :tests, as: 'tests', class: Google::Apis::ComputeAlpha::UrlMapTest, decorator: Google::Apis::ComputeAlpha::UrlMapTest::Representation
9787
10013
 
@@ -2298,47 +2298,6 @@ module Google
2298
2298
  execute_or_queue_command(command, &block)
2299
2299
  end
2300
2300
 
2301
- # Returns permissions that a caller has on the specified resource.
2302
- # @param [String] project
2303
- # Project ID for this request.
2304
- # @param [String] resource
2305
- # Name of the resource for this request.
2306
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
2307
- # @param [String] fields
2308
- # Selector specifying which fields to include in a partial response.
2309
- # @param [String] quota_user
2310
- # Available to use for quota purposes for server-side applications. Can be any
2311
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2312
- # Overrides userIp if both are provided.
2313
- # @param [String] user_ip
2314
- # IP address of the site where the request originates. Use this if you want to
2315
- # enforce per-user limits.
2316
- # @param [Google::Apis::RequestOptions] options
2317
- # Request-specific options
2318
- #
2319
- # @yield [result, err] Result & error if block supplied
2320
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
2321
- # @yieldparam err [StandardError] error object if request failed
2322
- #
2323
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
2324
- #
2325
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2326
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2327
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2328
- def test_client_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2329
- command = make_simple_command(:post, '{project}/global/clientSslPolicies/{resource}/testIamPermissions', options)
2330
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
2331
- command.request_object = test_permissions_request_object
2332
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
2333
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
2334
- command.params['project'] = project unless project.nil?
2335
- command.params['resource'] = resource unless resource.nil?
2336
- command.query['fields'] = fields unless fields.nil?
2337
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2338
- command.query['userIp'] = user_ip unless user_ip.nil?
2339
- execute_or_queue_command(command, &block)
2340
- end
2341
-
2342
2301
  # Retrieves an aggregated list of disk types.
2343
2302
  # @param [String] project
2344
2303
  # Project ID for this request.
@@ -4938,6 +4897,80 @@ module Google
4938
4897
  execute_or_queue_command(command, &block)
4939
4898
  end
4940
4899
 
4900
+ # Retrieves the list of all HealthCheck resources, regional and global,
4901
+ # available to the specified project.
4902
+ # @param [String] project
4903
+ # Name of the project scoping this request.
4904
+ # @param [String] filter
4905
+ # A filter expression that filters resources listed in the response. The
4906
+ # expression must specify the field name, a comparison operator, and the value
4907
+ # that you want to use for filtering. The value must be a string, a number, or a
4908
+ # boolean. The comparison operator must be either =, !=, >, or <.
4909
+ # For example, if you are filtering Compute Engine instances, you can exclude
4910
+ # instances named example-instance by specifying name != example-instance.
4911
+ # You can also filter nested fields. For example, you could specify scheduling.
4912
+ # automaticRestart = false to include instances only if they are not scheduled
4913
+ # for automatic restarts. You can use filtering on nested fields to filter based
4914
+ # on resource labels.
4915
+ # To filter on multiple expressions, provide each separate expression within
4916
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
4917
+ # Intel Skylake"). By default, each expression is an AND expression. However,
4918
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
4919
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
4920
+ # automaticRestart = true).
4921
+ # @param [Fixnum] max_results
4922
+ # The maximum number of results per page that should be returned. If the number
4923
+ # of available results is larger than maxResults, Compute Engine returns a
4924
+ # nextPageToken that can be used to get the next page of results in subsequent
4925
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
4926
+ # @param [String] order_by
4927
+ # Sorts list results by a certain order. By default, results are returned in
4928
+ # alphanumerical order based on the resource name.
4929
+ # You can also sort results in descending order based on the creation timestamp
4930
+ # using orderBy="creationTimestamp desc". This sorts results based on the
4931
+ # creationTimestamp field in reverse chronological order (newest result first).
4932
+ # Use this to sort resources like operations so that the newest operation is
4933
+ # returned first.
4934
+ # Currently, only sorting by name or creationTimestamp desc is supported.
4935
+ # @param [String] page_token
4936
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
4937
+ # a previous list request to get the next page of results.
4938
+ # @param [String] fields
4939
+ # Selector specifying which fields to include in a partial response.
4940
+ # @param [String] quota_user
4941
+ # Available to use for quota purposes for server-side applications. Can be any
4942
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4943
+ # Overrides userIp if both are provided.
4944
+ # @param [String] user_ip
4945
+ # IP address of the site where the request originates. Use this if you want to
4946
+ # enforce per-user limits.
4947
+ # @param [Google::Apis::RequestOptions] options
4948
+ # Request-specific options
4949
+ #
4950
+ # @yield [result, err] Result & error if block supplied
4951
+ # @yieldparam result [Google::Apis::ComputeAlpha::HealthChecksAggregatedList] parsed result object
4952
+ # @yieldparam err [StandardError] error object if request failed
4953
+ #
4954
+ # @return [Google::Apis::ComputeAlpha::HealthChecksAggregatedList]
4955
+ #
4956
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4957
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4958
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4959
+ def aggregated_health_check_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4960
+ command = make_simple_command(:get, '{project}/aggregated/healthChecks', options)
4961
+ command.response_representation = Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Representation
4962
+ command.response_class = Google::Apis::ComputeAlpha::HealthChecksAggregatedList
4963
+ command.params['project'] = project unless project.nil?
4964
+ command.query['filter'] = filter unless filter.nil?
4965
+ command.query['maxResults'] = max_results unless max_results.nil?
4966
+ command.query['orderBy'] = order_by unless order_by.nil?
4967
+ command.query['pageToken'] = page_token unless page_token.nil?
4968
+ command.query['fields'] = fields unless fields.nil?
4969
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4970
+ command.query['userIp'] = user_ip unless user_ip.nil?
4971
+ execute_or_queue_command(command, &block)
4972
+ end
4973
+
4941
4974
  # Deletes the specified HealthCheck resource.
4942
4975
  # @param [String] project
4943
4976
  # Project ID for this request.
@@ -10792,6 +10825,63 @@ module Google
10792
10825
  execute_or_queue_command(command, &block)
10793
10826
  end
10794
10827
 
10828
+ # Sets the Shielded VM integrity policy for an instance. This method supports
10829
+ # PATCH semantics and uses the JSON merge patch format and processing rules.
10830
+ # @param [String] project
10831
+ # Project ID for this request.
10832
+ # @param [String] zone
10833
+ # The name of the zone for this request.
10834
+ # @param [String] instance
10835
+ # Name of the instance scoping this request.
10836
+ # @param [Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy] shielded_vm_integrity_policy_object
10837
+ # @param [String] request_id
10838
+ # An optional request ID to identify requests. Specify a unique request ID so
10839
+ # that if you must retry your request, the server will know to ignore the
10840
+ # request if it has already been completed.
10841
+ # For example, consider a situation where you make an initial request and the
10842
+ # request times out. If you make the request again with the same request ID, the
10843
+ # server can check if original operation with the same request ID was received,
10844
+ # and if so, will ignore the second request. This prevents clients from
10845
+ # accidentally creating duplicate commitments.
10846
+ # The request ID must be a valid UUID with the exception that zero UUID is not
10847
+ # supported (00000000-0000-0000-0000-000000000000).
10848
+ # @param [String] fields
10849
+ # Selector specifying which fields to include in a partial response.
10850
+ # @param [String] quota_user
10851
+ # Available to use for quota purposes for server-side applications. Can be any
10852
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10853
+ # Overrides userIp if both are provided.
10854
+ # @param [String] user_ip
10855
+ # IP address of the site where the request originates. Use this if you want to
10856
+ # enforce per-user limits.
10857
+ # @param [Google::Apis::RequestOptions] options
10858
+ # Request-specific options
10859
+ #
10860
+ # @yield [result, err] Result & error if block supplied
10861
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
10862
+ # @yieldparam err [StandardError] error object if request failed
10863
+ #
10864
+ # @return [Google::Apis::ComputeAlpha::Operation]
10865
+ #
10866
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10867
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10868
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10869
+ def set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10870
+ command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options)
10871
+ command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation
10872
+ command.request_object = shielded_vm_integrity_policy_object
10873
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
10874
+ command.response_class = Google::Apis::ComputeAlpha::Operation
10875
+ command.params['project'] = project unless project.nil?
10876
+ command.params['zone'] = zone unless zone.nil?
10877
+ command.params['instance'] = instance unless instance.nil?
10878
+ command.query['requestId'] = request_id unless request_id.nil?
10879
+ command.query['fields'] = fields unless fields.nil?
10880
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10881
+ command.query['userIp'] = user_ip unless user_ip.nil?
10882
+ execute_or_queue_command(command, &block)
10883
+ end
10884
+
10795
10885
  # Sets tags for the specified instance to the data included in the request.
10796
10886
  # @param [String] project
10797
10887
  # Project ID for this request.
@@ -17290,25 +17380,13 @@ module Google
17290
17380
  execute_or_queue_command(command, &block)
17291
17381
  end
17292
17382
 
17293
- # Schedules a group action to remove the specified instances from the managed
17294
- # instance group. Abandoning an instance does not delete the instance, but it
17295
- # does remove the instance from any target pools that are applied by the managed
17296
- # instance group. This method reduces the targetSize of the managed instance
17297
- # group by the number of instances that you abandon. This operation is marked as
17298
- # DONE when the action is scheduled even if the instances have not yet been
17299
- # removed from the group. You must separately verify the status of the
17300
- # abandoning action with the listmanagedinstances method.
17301
- # If the group is part of a backend service that has enabled connection draining,
17302
- # it can take up to 60 seconds after the connection draining duration has
17303
- # elapsed before the VM instance is removed or deleted.
17304
- # You can specify a maximum of 1000 instances with this method per request.
17383
+ # Deletes the specified HealthCheck resource.
17305
17384
  # @param [String] project
17306
17385
  # Project ID for this request.
17307
17386
  # @param [String] region
17308
17387
  # Name of the region scoping this request.
17309
- # @param [String] instance_group_manager
17310
- # Name of the managed instance group.
17311
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
17388
+ # @param [String] health_check
17389
+ # Name of the HealthCheck resource to delete.
17312
17390
  # @param [String] request_id
17313
17391
  # An optional request ID to identify requests. Specify a unique request ID so
17314
17392
  # that if you must retry your request, the server will know to ignore the
@@ -17341,15 +17419,13 @@ module Google
17341
17419
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17342
17420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17343
17421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17344
- def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17345
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
17346
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
17347
- command.request_object = region_instance_group_managers_abandon_instances_request_object
17422
+ def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17423
+ command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
17348
17424
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17349
17425
  command.response_class = Google::Apis::ComputeAlpha::Operation
17350
17426
  command.params['project'] = project unless project.nil?
17351
17427
  command.params['region'] = region unless region.nil?
17352
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17428
+ command.params['healthCheck'] = health_check unless health_check.nil?
17353
17429
  command.query['requestId'] = request_id unless request_id.nil?
17354
17430
  command.query['fields'] = fields unless fields.nil?
17355
17431
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17357,14 +17433,14 @@ module Google
17357
17433
  execute_or_queue_command(command, &block)
17358
17434
  end
17359
17435
 
17360
- # Apply updates to selected instances the managed instance group.
17436
+ # Returns the specified HealthCheck resource. Get a list of available health
17437
+ # checks by making a list() request.
17361
17438
  # @param [String] project
17362
17439
  # Project ID for this request.
17363
17440
  # @param [String] region
17364
- # Name of the region scoping this request, should conform to RFC1035.
17365
- # @param [String] instance_group_manager
17366
- # The name of the managed instance group, should conform to RFC1035.
17367
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
17441
+ # Name of the region scoping this request.
17442
+ # @param [String] health_check
17443
+ # Name of the HealthCheck resource to return.
17368
17444
  # @param [String] fields
17369
17445
  # Selector specifying which fields to include in a partial response.
17370
17446
  # @param [String] quota_user
@@ -17378,37 +17454,34 @@ module Google
17378
17454
  # Request-specific options
17379
17455
  #
17380
17456
  # @yield [result, err] Result & error if block supplied
17381
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17457
+ # @yieldparam result [Google::Apis::ComputeAlpha::HealthCheck] parsed result object
17382
17458
  # @yieldparam err [StandardError] error object if request failed
17383
17459
  #
17384
- # @return [Google::Apis::ComputeAlpha::Operation]
17460
+ # @return [Google::Apis::ComputeAlpha::HealthCheck]
17385
17461
  #
17386
17462
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17387
17463
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17388
17464
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17389
- def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17390
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options)
17391
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest::Representation
17392
- command.request_object = region_instance_group_managers_apply_updates_request_object
17393
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17394
- command.response_class = Google::Apis::ComputeAlpha::Operation
17465
+ def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17466
+ command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
17467
+ command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation
17468
+ command.response_class = Google::Apis::ComputeAlpha::HealthCheck
17395
17469
  command.params['project'] = project unless project.nil?
17396
17470
  command.params['region'] = region unless region.nil?
17397
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17471
+ command.params['healthCheck'] = health_check unless health_check.nil?
17398
17472
  command.query['fields'] = fields unless fields.nil?
17399
17473
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17400
17474
  command.query['userIp'] = user_ip unless user_ip.nil?
17401
17475
  execute_or_queue_command(command, &block)
17402
17476
  end
17403
17477
 
17404
- # Deletes the specified managed instance group and all of the instances in that
17405
- # group.
17478
+ # Creates a HealthCheck resource in the specified project using the data
17479
+ # included in the request.
17406
17480
  # @param [String] project
17407
17481
  # Project ID for this request.
17408
17482
  # @param [String] region
17409
17483
  # Name of the region scoping this request.
17410
- # @param [String] instance_group_manager
17411
- # Name of the managed instance group to delete.
17484
+ # @param [Google::Apis::ComputeAlpha::HealthCheck] health_check_object
17412
17485
  # @param [String] request_id
17413
17486
  # An optional request ID to identify requests. Specify a unique request ID so
17414
17487
  # that if you must retry your request, the server will know to ignore the
@@ -17441,13 +17514,14 @@ module Google
17441
17514
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17442
17515
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17443
17516
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17444
- def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17445
- command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
17517
+ def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17518
+ command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options)
17519
+ command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation
17520
+ command.request_object = health_check_object
17446
17521
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17447
17522
  command.response_class = Google::Apis::ComputeAlpha::Operation
17448
17523
  command.params['project'] = project unless project.nil?
17449
17524
  command.params['region'] = region unless region.nil?
17450
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17451
17525
  command.query['requestId'] = request_id unless request_id.nil?
17452
17526
  command.query['fields'] = fields unless fields.nil?
17453
17527
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17455,80 +17529,103 @@ module Google
17455
17529
  execute_or_queue_command(command, &block)
17456
17530
  end
17457
17531
 
17458
- # Schedules a group action to delete the specified instances in the managed
17459
- # instance group. The instances are also removed from any target pools of which
17460
- # they were a member. This method reduces the targetSize of the managed instance
17461
- # group by the number of instances that you delete. This operation is marked as
17462
- # DONE when the action is scheduled even if the instances are still being
17463
- # deleted. You must separately verify the status of the deleting action with the
17464
- # listmanagedinstances method.
17465
- # If the group is part of a backend service that has enabled connection draining,
17466
- # it can take up to 60 seconds after the connection draining duration has
17467
- # elapsed before the VM instance is removed or deleted.
17468
- # You can specify a maximum of 1000 instances with this method per request.
17532
+ # Retrieves the list of HealthCheck resources available to the specified project.
17469
17533
  # @param [String] project
17470
17534
  # Project ID for this request.
17471
17535
  # @param [String] region
17472
17536
  # Name of the region scoping this request.
17473
- # @param [String] instance_group_manager
17474
- # Name of the managed instance group.
17475
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
17476
- # @param [String] request_id
17477
- # An optional request ID to identify requests. Specify a unique request ID so
17478
- # that if you must retry your request, the server will know to ignore the
17479
- # request if it has already been completed.
17480
- # For example, consider a situation where you make an initial request and the
17481
- # request times out. If you make the request again with the same request ID, the
17482
- # server can check if original operation with the same request ID was received,
17483
- # and if so, will ignore the second request. This prevents clients from
17484
- # accidentally creating duplicate commitments.
17485
- # The request ID must be a valid UUID with the exception that zero UUID is not
17486
- # supported (00000000-0000-0000-0000-000000000000).
17487
- # @param [String] fields
17488
- # Selector specifying which fields to include in a partial response.
17489
- # @param [String] quota_user
17490
- # Available to use for quota purposes for server-side applications. Can be any
17491
- # arbitrary string assigned to a user, but should not exceed 40 characters.
17492
- # Overrides userIp if both are provided.
17493
- # @param [String] user_ip
17494
- # IP address of the site where the request originates. Use this if you want to
17495
- # enforce per-user limits.
17496
- # @param [Google::Apis::RequestOptions] options
17497
- # Request-specific options
17498
- #
17499
- # @yield [result, err] Result & error if block supplied
17500
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17537
+ # @param [String] filter
17538
+ # A filter expression that filters resources listed in the response. The
17539
+ # expression must specify the field name, a comparison operator, and the value
17540
+ # that you want to use for filtering. The value must be a string, a number, or a
17541
+ # boolean. The comparison operator must be either =, !=, >, or <.
17542
+ # For example, if you are filtering Compute Engine instances, you can exclude
17543
+ # instances named example-instance by specifying name != example-instance.
17544
+ # You can also filter nested fields. For example, you could specify scheduling.
17545
+ # automaticRestart = false to include instances only if they are not scheduled
17546
+ # for automatic restarts. You can use filtering on nested fields to filter based
17547
+ # on resource labels.
17548
+ # To filter on multiple expressions, provide each separate expression within
17549
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
17550
+ # Intel Skylake"). By default, each expression is an AND expression. However,
17551
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
17552
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
17553
+ # automaticRestart = true).
17554
+ # @param [Fixnum] max_results
17555
+ # The maximum number of results per page that should be returned. If the number
17556
+ # of available results is larger than maxResults, Compute Engine returns a
17557
+ # nextPageToken that can be used to get the next page of results in subsequent
17558
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
17559
+ # @param [String] order_by
17560
+ # Sorts list results by a certain order. By default, results are returned in
17561
+ # alphanumerical order based on the resource name.
17562
+ # You can also sort results in descending order based on the creation timestamp
17563
+ # using orderBy="creationTimestamp desc". This sorts results based on the
17564
+ # creationTimestamp field in reverse chronological order (newest result first).
17565
+ # Use this to sort resources like operations so that the newest operation is
17566
+ # returned first.
17567
+ # Currently, only sorting by name or creationTimestamp desc is supported.
17568
+ # @param [String] page_token
17569
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
17570
+ # a previous list request to get the next page of results.
17571
+ # @param [String] fields
17572
+ # Selector specifying which fields to include in a partial response.
17573
+ # @param [String] quota_user
17574
+ # Available to use for quota purposes for server-side applications. Can be any
17575
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17576
+ # Overrides userIp if both are provided.
17577
+ # @param [String] user_ip
17578
+ # IP address of the site where the request originates. Use this if you want to
17579
+ # enforce per-user limits.
17580
+ # @param [Google::Apis::RequestOptions] options
17581
+ # Request-specific options
17582
+ #
17583
+ # @yield [result, err] Result & error if block supplied
17584
+ # @yieldparam result [Google::Apis::ComputeAlpha::HealthCheckList] parsed result object
17501
17585
  # @yieldparam err [StandardError] error object if request failed
17502
17586
  #
17503
- # @return [Google::Apis::ComputeAlpha::Operation]
17587
+ # @return [Google::Apis::ComputeAlpha::HealthCheckList]
17504
17588
  #
17505
17589
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17506
17590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17507
17591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17508
- def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17509
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
17510
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
17511
- command.request_object = region_instance_group_managers_delete_instances_request_object
17512
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17513
- command.response_class = Google::Apis::ComputeAlpha::Operation
17592
+ def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17593
+ command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options)
17594
+ command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation
17595
+ command.response_class = Google::Apis::ComputeAlpha::HealthCheckList
17514
17596
  command.params['project'] = project unless project.nil?
17515
17597
  command.params['region'] = region unless region.nil?
17516
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17517
- command.query['requestId'] = request_id unless request_id.nil?
17598
+ command.query['filter'] = filter unless filter.nil?
17599
+ command.query['maxResults'] = max_results unless max_results.nil?
17600
+ command.query['orderBy'] = order_by unless order_by.nil?
17601
+ command.query['pageToken'] = page_token unless page_token.nil?
17518
17602
  command.query['fields'] = fields unless fields.nil?
17519
17603
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17520
17604
  command.query['userIp'] = user_ip unless user_ip.nil?
17521
17605
  execute_or_queue_command(command, &block)
17522
17606
  end
17523
17607
 
17524
- # Delete selected per-instance configs for the managed instance group.
17608
+ # Updates a HealthCheck resource in the specified project using the data
17609
+ # included in the request. This method supports PATCH semantics and uses the
17610
+ # JSON merge patch format and processing rules.
17525
17611
  # @param [String] project
17526
17612
  # Project ID for this request.
17527
17613
  # @param [String] region
17528
- # Name of the region scoping this request, should conform to RFC1035.
17529
- # @param [String] instance_group_manager
17530
- # The name of the managed instance group. It should conform to RFC1035.
17531
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq] region_instance_group_manager_delete_instance_config_req_object
17614
+ # Name of the region scoping this request.
17615
+ # @param [String] health_check
17616
+ # Name of the HealthCheck resource to patch.
17617
+ # @param [Google::Apis::ComputeAlpha::HealthCheck] health_check_object
17618
+ # @param [String] request_id
17619
+ # An optional request ID to identify requests. Specify a unique request ID so
17620
+ # that if you must retry your request, the server will know to ignore the
17621
+ # request if it has already been completed.
17622
+ # For example, consider a situation where you make an initial request and the
17623
+ # request times out. If you make the request again with the same request ID, the
17624
+ # server can check if original operation with the same request ID was received,
17625
+ # and if so, will ignore the second request. This prevents clients from
17626
+ # accidentally creating duplicate commitments.
17627
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17628
+ # supported (00000000-0000-0000-0000-000000000000).
17532
17629
  # @param [String] fields
17533
17630
  # Selector specifying which fields to include in a partial response.
17534
17631
  # @param [String] quota_user
@@ -17550,28 +17647,30 @@ module Google
17550
17647
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17551
17648
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17552
17649
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17553
- def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17554
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options)
17555
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation
17556
- command.request_object = region_instance_group_manager_delete_instance_config_req_object
17650
+ def patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17651
+ command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
17652
+ command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation
17653
+ command.request_object = health_check_object
17557
17654
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17558
17655
  command.response_class = Google::Apis::ComputeAlpha::Operation
17559
17656
  command.params['project'] = project unless project.nil?
17560
17657
  command.params['region'] = region unless region.nil?
17561
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17658
+ command.params['healthCheck'] = health_check unless health_check.nil?
17659
+ command.query['requestId'] = request_id unless request_id.nil?
17562
17660
  command.query['fields'] = fields unless fields.nil?
17563
17661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17564
17662
  command.query['userIp'] = user_ip unless user_ip.nil?
17565
17663
  execute_or_queue_command(command, &block)
17566
17664
  end
17567
17665
 
17568
- # Returns all of the details about the specified managed instance group.
17666
+ # Returns permissions that a caller has on the specified resource.
17569
17667
  # @param [String] project
17570
17668
  # Project ID for this request.
17571
17669
  # @param [String] region
17572
- # Name of the region scoping this request.
17573
- # @param [String] instance_group_manager
17574
- # Name of the managed instance group to return.
17670
+ # The name of the region for this request.
17671
+ # @param [String] resource
17672
+ # Name of the resource for this request.
17673
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
17575
17674
  # @param [String] fields
17576
17675
  # Selector specifying which fields to include in a partial response.
17577
17676
  # @param [String] quota_user
@@ -17585,39 +17684,38 @@ module Google
17585
17684
  # Request-specific options
17586
17685
  #
17587
17686
  # @yield [result, err] Result & error if block supplied
17588
- # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupManager] parsed result object
17687
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
17589
17688
  # @yieldparam err [StandardError] error object if request failed
17590
17689
  #
17591
- # @return [Google::Apis::ComputeAlpha::InstanceGroupManager]
17690
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
17592
17691
  #
17593
17692
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17594
17693
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17595
17694
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17596
- def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17597
- command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
17598
- command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
17599
- command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager
17695
+ def test_region_health_check_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17696
+ command = make_simple_command(:post, '{project}/regions/{region}/healthChecks/{resource}/testIamPermissions', options)
17697
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
17698
+ command.request_object = test_permissions_request_object
17699
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
17700
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
17600
17701
  command.params['project'] = project unless project.nil?
17601
17702
  command.params['region'] = region unless region.nil?
17602
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17703
+ command.params['resource'] = resource unless resource.nil?
17603
17704
  command.query['fields'] = fields unless fields.nil?
17604
17705
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17605
17706
  command.query['userIp'] = user_ip unless user_ip.nil?
17606
17707
  execute_or_queue_command(command, &block)
17607
17708
  end
17608
17709
 
17609
- # Creates a managed instance group using the information that you specify in the
17610
- # request. After the group is created, it schedules an action to create
17611
- # instances in the group using the specified instance template. This operation
17612
- # is marked as DONE when the group is created even if the instances in the group
17613
- # have not yet been created. You must separately verify the status of the
17614
- # individual instances with the listmanagedinstances method.
17615
- # A regional managed instance group can contain up to 2000 instances.
17710
+ # Updates a HealthCheck resource in the specified project using the data
17711
+ # included in the request.
17616
17712
  # @param [String] project
17617
17713
  # Project ID for this request.
17618
17714
  # @param [String] region
17619
17715
  # Name of the region scoping this request.
17620
- # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
17716
+ # @param [String] health_check
17717
+ # Name of the HealthCheck resource to update.
17718
+ # @param [Google::Apis::ComputeAlpha::HealthCheck] health_check_object
17621
17719
  # @param [String] request_id
17622
17720
  # An optional request ID to identify requests. Specify a unique request ID so
17623
17721
  # that if you must retry your request, the server will know to ignore the
@@ -17650,14 +17748,15 @@ module Google
17650
17748
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17651
17749
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17652
17750
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17653
- def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17654
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
17655
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
17656
- command.request_object = instance_group_manager_object
17751
+ def update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17752
+ command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options)
17753
+ command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation
17754
+ command.request_object = health_check_object
17657
17755
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17658
17756
  command.response_class = Google::Apis::ComputeAlpha::Operation
17659
17757
  command.params['project'] = project unless project.nil?
17660
17758
  command.params['region'] = region unless region.nil?
17759
+ command.params['healthCheck'] = health_check unless health_check.nil?
17661
17760
  command.query['requestId'] = request_id unless request_id.nil?
17662
17761
  command.query['fields'] = fields unless fields.nil?
17663
17762
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17665,46 +17764,36 @@ module Google
17665
17764
  execute_or_queue_command(command, &block)
17666
17765
  end
17667
17766
 
17668
- # Retrieves the list of managed instance groups that are contained within the
17669
- # specified region.
17767
+ # Schedules a group action to remove the specified instances from the managed
17768
+ # instance group. Abandoning an instance does not delete the instance, but it
17769
+ # does remove the instance from any target pools that are applied by the managed
17770
+ # instance group. This method reduces the targetSize of the managed instance
17771
+ # group by the number of instances that you abandon. This operation is marked as
17772
+ # DONE when the action is scheduled even if the instances have not yet been
17773
+ # removed from the group. You must separately verify the status of the
17774
+ # abandoning action with the listmanagedinstances method.
17775
+ # If the group is part of a backend service that has enabled connection draining,
17776
+ # it can take up to 60 seconds after the connection draining duration has
17777
+ # elapsed before the VM instance is removed or deleted.
17778
+ # You can specify a maximum of 1000 instances with this method per request.
17670
17779
  # @param [String] project
17671
17780
  # Project ID for this request.
17672
17781
  # @param [String] region
17673
17782
  # Name of the region scoping this request.
17674
- # @param [String] filter
17675
- # A filter expression that filters resources listed in the response. The
17676
- # expression must specify the field name, a comparison operator, and the value
17677
- # that you want to use for filtering. The value must be a string, a number, or a
17678
- # boolean. The comparison operator must be either =, !=, >, or <.
17679
- # For example, if you are filtering Compute Engine instances, you can exclude
17680
- # instances named example-instance by specifying name != example-instance.
17681
- # You can also filter nested fields. For example, you could specify scheduling.
17682
- # automaticRestart = false to include instances only if they are not scheduled
17683
- # for automatic restarts. You can use filtering on nested fields to filter based
17684
- # on resource labels.
17685
- # To filter on multiple expressions, provide each separate expression within
17686
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
17687
- # Intel Skylake"). By default, each expression is an AND expression. However,
17688
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
17689
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
17690
- # automaticRestart = true).
17691
- # @param [Fixnum] max_results
17692
- # The maximum number of results per page that should be returned. If the number
17693
- # of available results is larger than maxResults, Compute Engine returns a
17694
- # nextPageToken that can be used to get the next page of results in subsequent
17695
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
17696
- # @param [String] order_by
17697
- # Sorts list results by a certain order. By default, results are returned in
17698
- # alphanumerical order based on the resource name.
17699
- # You can also sort results in descending order based on the creation timestamp
17700
- # using orderBy="creationTimestamp desc". This sorts results based on the
17701
- # creationTimestamp field in reverse chronological order (newest result first).
17702
- # Use this to sort resources like operations so that the newest operation is
17703
- # returned first.
17704
- # Currently, only sorting by name or creationTimestamp desc is supported.
17705
- # @param [String] page_token
17706
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
17707
- # a previous list request to get the next page of results.
17783
+ # @param [String] instance_group_manager
17784
+ # Name of the managed instance group.
17785
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object
17786
+ # @param [String] request_id
17787
+ # An optional request ID to identify requests. Specify a unique request ID so
17788
+ # that if you must retry your request, the server will know to ignore the
17789
+ # request if it has already been completed.
17790
+ # For example, consider a situation where you make an initial request and the
17791
+ # request times out. If you make the request again with the same request ID, the
17792
+ # server can check if original operation with the same request ID was received,
17793
+ # and if so, will ignore the second request. This prevents clients from
17794
+ # accidentally creating duplicate commitments.
17795
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17796
+ # supported (00000000-0000-0000-0000-000000000000).
17708
17797
  # @param [String] fields
17709
17798
  # Selector specifying which fields to include in a partial response.
17710
17799
  # @param [String] quota_user
@@ -17718,43 +17807,38 @@ module Google
17718
17807
  # Request-specific options
17719
17808
  #
17720
17809
  # @yield [result, err] Result & error if block supplied
17721
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList] parsed result object
17810
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17722
17811
  # @yieldparam err [StandardError] error object if request failed
17723
17812
  #
17724
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList]
17813
+ # @return [Google::Apis::ComputeAlpha::Operation]
17725
17814
  #
17726
17815
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17727
17816
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17728
17817
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17729
- def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17730
- command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
17731
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList::Representation
17732
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
17818
+ def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17819
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options)
17820
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation
17821
+ command.request_object = region_instance_group_managers_abandon_instances_request_object
17822
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17823
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17733
17824
  command.params['project'] = project unless project.nil?
17734
17825
  command.params['region'] = region unless region.nil?
17735
- command.query['filter'] = filter unless filter.nil?
17736
- command.query['maxResults'] = max_results unless max_results.nil?
17737
- command.query['orderBy'] = order_by unless order_by.nil?
17738
- command.query['pageToken'] = page_token unless page_token.nil?
17826
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17827
+ command.query['requestId'] = request_id unless request_id.nil?
17739
17828
  command.query['fields'] = fields unless fields.nil?
17740
17829
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17741
17830
  command.query['userIp'] = user_ip unless user_ip.nil?
17742
17831
  execute_or_queue_command(command, &block)
17743
17832
  end
17744
17833
 
17745
- # Lists the instances in the managed instance group and instances that are
17746
- # scheduled to be created. The list includes any current actions that the group
17747
- # has scheduled for its instances.
17834
+ # Apply updates to selected instances the managed instance group.
17748
17835
  # @param [String] project
17749
17836
  # Project ID for this request.
17750
17837
  # @param [String] region
17751
- # Name of the region scoping this request.
17838
+ # Name of the region scoping this request, should conform to RFC1035.
17752
17839
  # @param [String] instance_group_manager
17753
- # The name of the managed instance group.
17754
- # @param [String] filter
17755
- # @param [Fixnum] max_results
17756
- # @param [String] order_by
17757
- # @param [String] page_token
17840
+ # The name of the managed instance group, should conform to RFC1035.
17841
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest] region_instance_group_managers_apply_updates_request_object
17758
17842
  # @param [String] fields
17759
17843
  # Selector specifying which fields to include in a partial response.
17760
17844
  # @param [String] quota_user
@@ -17768,38 +17852,1140 @@ module Google
17768
17852
  # Request-specific options
17769
17853
  #
17770
17854
  # @yield [result, err] Result & error if block supplied
17771
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse] parsed result object
17855
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17772
17856
  # @yieldparam err [StandardError] error object if request failed
17773
17857
  #
17774
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse]
17858
+ # @return [Google::Apis::ComputeAlpha::Operation]
17775
17859
  #
17776
17860
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17777
17861
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17778
17862
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17779
- def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17780
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
17781
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation
17782
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
17863
+ def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17864
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options)
17865
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest::Representation
17866
+ command.request_object = region_instance_group_managers_apply_updates_request_object
17867
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17868
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17783
17869
  command.params['project'] = project unless project.nil?
17784
17870
  command.params['region'] = region unless region.nil?
17785
17871
  command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17786
- command.query['filter'] = filter unless filter.nil?
17787
- command.query['maxResults'] = max_results unless max_results.nil?
17788
- command.query['order_by'] = order_by unless order_by.nil?
17789
- command.query['pageToken'] = page_token unless page_token.nil?
17790
17872
  command.query['fields'] = fields unless fields.nil?
17791
17873
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17792
17874
  command.query['userIp'] = user_ip unless user_ip.nil?
17793
17875
  execute_or_queue_command(command, &block)
17794
17876
  end
17795
17877
 
17796
- # Lists all of the per-instance configs defined for the managed instance group.
17878
+ # Deletes the specified managed instance group and all of the instances in that
17879
+ # group.
17797
17880
  # @param [String] project
17798
17881
  # Project ID for this request.
17799
17882
  # @param [String] region
17800
- # Name of the region scoping this request, should conform to RFC1035.
17883
+ # Name of the region scoping this request.
17884
+ # @param [String] instance_group_manager
17885
+ # Name of the managed instance group to delete.
17886
+ # @param [String] request_id
17887
+ # An optional request ID to identify requests. Specify a unique request ID so
17888
+ # that if you must retry your request, the server will know to ignore the
17889
+ # request if it has already been completed.
17890
+ # For example, consider a situation where you make an initial request and the
17891
+ # request times out. If you make the request again with the same request ID, the
17892
+ # server can check if original operation with the same request ID was received,
17893
+ # and if so, will ignore the second request. This prevents clients from
17894
+ # accidentally creating duplicate commitments.
17895
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17896
+ # supported (00000000-0000-0000-0000-000000000000).
17897
+ # @param [String] fields
17898
+ # Selector specifying which fields to include in a partial response.
17899
+ # @param [String] quota_user
17900
+ # Available to use for quota purposes for server-side applications. Can be any
17901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17902
+ # Overrides userIp if both are provided.
17903
+ # @param [String] user_ip
17904
+ # IP address of the site where the request originates. Use this if you want to
17905
+ # enforce per-user limits.
17906
+ # @param [Google::Apis::RequestOptions] options
17907
+ # Request-specific options
17908
+ #
17909
+ # @yield [result, err] Result & error if block supplied
17910
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17911
+ # @yieldparam err [StandardError] error object if request failed
17912
+ #
17913
+ # @return [Google::Apis::ComputeAlpha::Operation]
17914
+ #
17915
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17916
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17917
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17918
+ def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17919
+ command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
17920
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17921
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17922
+ command.params['project'] = project unless project.nil?
17923
+ command.params['region'] = region unless region.nil?
17924
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17925
+ command.query['requestId'] = request_id unless request_id.nil?
17926
+ command.query['fields'] = fields unless fields.nil?
17927
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17928
+ command.query['userIp'] = user_ip unless user_ip.nil?
17929
+ execute_or_queue_command(command, &block)
17930
+ end
17931
+
17932
+ # Schedules a group action to delete the specified instances in the managed
17933
+ # instance group. The instances are also removed from any target pools of which
17934
+ # they were a member. This method reduces the targetSize of the managed instance
17935
+ # group by the number of instances that you delete. This operation is marked as
17936
+ # DONE when the action is scheduled even if the instances are still being
17937
+ # deleted. You must separately verify the status of the deleting action with the
17938
+ # listmanagedinstances method.
17939
+ # If the group is part of a backend service that has enabled connection draining,
17940
+ # it can take up to 60 seconds after the connection draining duration has
17941
+ # elapsed before the VM instance is removed or deleted.
17942
+ # You can specify a maximum of 1000 instances with this method per request.
17943
+ # @param [String] project
17944
+ # Project ID for this request.
17945
+ # @param [String] region
17946
+ # Name of the region scoping this request.
17947
+ # @param [String] instance_group_manager
17948
+ # Name of the managed instance group.
17949
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object
17950
+ # @param [String] request_id
17951
+ # An optional request ID to identify requests. Specify a unique request ID so
17952
+ # that if you must retry your request, the server will know to ignore the
17953
+ # request if it has already been completed.
17954
+ # For example, consider a situation where you make an initial request and the
17955
+ # request times out. If you make the request again with the same request ID, the
17956
+ # server can check if original operation with the same request ID was received,
17957
+ # and if so, will ignore the second request. This prevents clients from
17958
+ # accidentally creating duplicate commitments.
17959
+ # The request ID must be a valid UUID with the exception that zero UUID is not
17960
+ # supported (00000000-0000-0000-0000-000000000000).
17961
+ # @param [String] fields
17962
+ # Selector specifying which fields to include in a partial response.
17963
+ # @param [String] quota_user
17964
+ # Available to use for quota purposes for server-side applications. Can be any
17965
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17966
+ # Overrides userIp if both are provided.
17967
+ # @param [String] user_ip
17968
+ # IP address of the site where the request originates. Use this if you want to
17969
+ # enforce per-user limits.
17970
+ # @param [Google::Apis::RequestOptions] options
17971
+ # Request-specific options
17972
+ #
17973
+ # @yield [result, err] Result & error if block supplied
17974
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
17975
+ # @yieldparam err [StandardError] error object if request failed
17976
+ #
17977
+ # @return [Google::Apis::ComputeAlpha::Operation]
17978
+ #
17979
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17980
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17981
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17982
+ def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17983
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options)
17984
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest::Representation
17985
+ command.request_object = region_instance_group_managers_delete_instances_request_object
17986
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17987
+ command.response_class = Google::Apis::ComputeAlpha::Operation
17988
+ command.params['project'] = project unless project.nil?
17989
+ command.params['region'] = region unless region.nil?
17990
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17991
+ command.query['requestId'] = request_id unless request_id.nil?
17992
+ command.query['fields'] = fields unless fields.nil?
17993
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17994
+ command.query['userIp'] = user_ip unless user_ip.nil?
17995
+ execute_or_queue_command(command, &block)
17996
+ end
17997
+
17998
+ # Delete selected per-instance configs for the managed instance group.
17999
+ # @param [String] project
18000
+ # Project ID for this request.
18001
+ # @param [String] region
18002
+ # Name of the region scoping this request, should conform to RFC1035.
18003
+ # @param [String] instance_group_manager
18004
+ # The name of the managed instance group. It should conform to RFC1035.
18005
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq] region_instance_group_manager_delete_instance_config_req_object
18006
+ # @param [String] fields
18007
+ # Selector specifying which fields to include in a partial response.
18008
+ # @param [String] quota_user
18009
+ # Available to use for quota purposes for server-side applications. Can be any
18010
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18011
+ # Overrides userIp if both are provided.
18012
+ # @param [String] user_ip
18013
+ # IP address of the site where the request originates. Use this if you want to
18014
+ # enforce per-user limits.
18015
+ # @param [Google::Apis::RequestOptions] options
18016
+ # Request-specific options
18017
+ #
18018
+ # @yield [result, err] Result & error if block supplied
18019
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18020
+ # @yieldparam err [StandardError] error object if request failed
18021
+ #
18022
+ # @return [Google::Apis::ComputeAlpha::Operation]
18023
+ #
18024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18027
+ def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18028
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options)
18029
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation
18030
+ command.request_object = region_instance_group_manager_delete_instance_config_req_object
18031
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18032
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18033
+ command.params['project'] = project unless project.nil?
18034
+ command.params['region'] = region unless region.nil?
18035
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18036
+ command.query['fields'] = fields unless fields.nil?
18037
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18038
+ command.query['userIp'] = user_ip unless user_ip.nil?
18039
+ execute_or_queue_command(command, &block)
18040
+ end
18041
+
18042
+ # Returns all of the details about the specified managed instance group.
18043
+ # @param [String] project
18044
+ # Project ID for this request.
18045
+ # @param [String] region
18046
+ # Name of the region scoping this request.
18047
+ # @param [String] instance_group_manager
18048
+ # Name of the managed instance group to return.
18049
+ # @param [String] fields
18050
+ # Selector specifying which fields to include in a partial response.
18051
+ # @param [String] quota_user
18052
+ # Available to use for quota purposes for server-side applications. Can be any
18053
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18054
+ # Overrides userIp if both are provided.
18055
+ # @param [String] user_ip
18056
+ # IP address of the site where the request originates. Use this if you want to
18057
+ # enforce per-user limits.
18058
+ # @param [Google::Apis::RequestOptions] options
18059
+ # Request-specific options
18060
+ #
18061
+ # @yield [result, err] Result & error if block supplied
18062
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroupManager] parsed result object
18063
+ # @yieldparam err [StandardError] error object if request failed
18064
+ #
18065
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManager]
18066
+ #
18067
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18068
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18069
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18070
+ def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18071
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
18072
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
18073
+ command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager
18074
+ command.params['project'] = project unless project.nil?
18075
+ command.params['region'] = region unless region.nil?
18076
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18077
+ command.query['fields'] = fields unless fields.nil?
18078
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18079
+ command.query['userIp'] = user_ip unless user_ip.nil?
18080
+ execute_or_queue_command(command, &block)
18081
+ end
18082
+
18083
+ # Creates a managed instance group using the information that you specify in the
18084
+ # request. After the group is created, it schedules an action to create
18085
+ # instances in the group using the specified instance template. This operation
18086
+ # is marked as DONE when the group is created even if the instances in the group
18087
+ # have not yet been created. You must separately verify the status of the
18088
+ # individual instances with the listmanagedinstances method.
18089
+ # A regional managed instance group can contain up to 2000 instances.
18090
+ # @param [String] project
18091
+ # Project ID for this request.
18092
+ # @param [String] region
18093
+ # Name of the region scoping this request.
18094
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
18095
+ # @param [String] request_id
18096
+ # An optional request ID to identify requests. Specify a unique request ID so
18097
+ # that if you must retry your request, the server will know to ignore the
18098
+ # request if it has already been completed.
18099
+ # For example, consider a situation where you make an initial request and the
18100
+ # request times out. If you make the request again with the same request ID, the
18101
+ # server can check if original operation with the same request ID was received,
18102
+ # and if so, will ignore the second request. This prevents clients from
18103
+ # accidentally creating duplicate commitments.
18104
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18105
+ # supported (00000000-0000-0000-0000-000000000000).
18106
+ # @param [String] fields
18107
+ # Selector specifying which fields to include in a partial response.
18108
+ # @param [String] quota_user
18109
+ # Available to use for quota purposes for server-side applications. Can be any
18110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18111
+ # Overrides userIp if both are provided.
18112
+ # @param [String] user_ip
18113
+ # IP address of the site where the request originates. Use this if you want to
18114
+ # enforce per-user limits.
18115
+ # @param [Google::Apis::RequestOptions] options
18116
+ # Request-specific options
18117
+ #
18118
+ # @yield [result, err] Result & error if block supplied
18119
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18120
+ # @yieldparam err [StandardError] error object if request failed
18121
+ #
18122
+ # @return [Google::Apis::ComputeAlpha::Operation]
18123
+ #
18124
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18125
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18126
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18127
+ def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18128
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options)
18129
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
18130
+ command.request_object = instance_group_manager_object
18131
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18132
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18133
+ command.params['project'] = project unless project.nil?
18134
+ command.params['region'] = region unless region.nil?
18135
+ command.query['requestId'] = request_id unless request_id.nil?
18136
+ command.query['fields'] = fields unless fields.nil?
18137
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18138
+ command.query['userIp'] = user_ip unless user_ip.nil?
18139
+ execute_or_queue_command(command, &block)
18140
+ end
18141
+
18142
+ # Retrieves the list of managed instance groups that are contained within the
18143
+ # specified region.
18144
+ # @param [String] project
18145
+ # Project ID for this request.
18146
+ # @param [String] region
18147
+ # Name of the region scoping this request.
18148
+ # @param [String] filter
18149
+ # A filter expression that filters resources listed in the response. The
18150
+ # expression must specify the field name, a comparison operator, and the value
18151
+ # that you want to use for filtering. The value must be a string, a number, or a
18152
+ # boolean. The comparison operator must be either =, !=, >, or <.
18153
+ # For example, if you are filtering Compute Engine instances, you can exclude
18154
+ # instances named example-instance by specifying name != example-instance.
18155
+ # You can also filter nested fields. For example, you could specify scheduling.
18156
+ # automaticRestart = false to include instances only if they are not scheduled
18157
+ # for automatic restarts. You can use filtering on nested fields to filter based
18158
+ # on resource labels.
18159
+ # To filter on multiple expressions, provide each separate expression within
18160
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
18161
+ # Intel Skylake"). By default, each expression is an AND expression. However,
18162
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
18163
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
18164
+ # automaticRestart = true).
18165
+ # @param [Fixnum] max_results
18166
+ # The maximum number of results per page that should be returned. If the number
18167
+ # of available results is larger than maxResults, Compute Engine returns a
18168
+ # nextPageToken that can be used to get the next page of results in subsequent
18169
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
18170
+ # @param [String] order_by
18171
+ # Sorts list results by a certain order. By default, results are returned in
18172
+ # alphanumerical order based on the resource name.
18173
+ # You can also sort results in descending order based on the creation timestamp
18174
+ # using orderBy="creationTimestamp desc". This sorts results based on the
18175
+ # creationTimestamp field in reverse chronological order (newest result first).
18176
+ # Use this to sort resources like operations so that the newest operation is
18177
+ # returned first.
18178
+ # Currently, only sorting by name or creationTimestamp desc is supported.
18179
+ # @param [String] page_token
18180
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
18181
+ # a previous list request to get the next page of results.
18182
+ # @param [String] fields
18183
+ # Selector specifying which fields to include in a partial response.
18184
+ # @param [String] quota_user
18185
+ # Available to use for quota purposes for server-side applications. Can be any
18186
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18187
+ # Overrides userIp if both are provided.
18188
+ # @param [String] user_ip
18189
+ # IP address of the site where the request originates. Use this if you want to
18190
+ # enforce per-user limits.
18191
+ # @param [Google::Apis::RequestOptions] options
18192
+ # Request-specific options
18193
+ #
18194
+ # @yield [result, err] Result & error if block supplied
18195
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList] parsed result object
18196
+ # @yieldparam err [StandardError] error object if request failed
18197
+ #
18198
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList]
18199
+ #
18200
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18201
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18202
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18203
+ def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18204
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options)
18205
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList::Representation
18206
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList
18207
+ command.params['project'] = project unless project.nil?
18208
+ command.params['region'] = region unless region.nil?
18209
+ command.query['filter'] = filter unless filter.nil?
18210
+ command.query['maxResults'] = max_results unless max_results.nil?
18211
+ command.query['orderBy'] = order_by unless order_by.nil?
18212
+ command.query['pageToken'] = page_token unless page_token.nil?
18213
+ command.query['fields'] = fields unless fields.nil?
18214
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18215
+ command.query['userIp'] = user_ip unless user_ip.nil?
18216
+ execute_or_queue_command(command, &block)
18217
+ end
18218
+
18219
+ # Lists the instances in the managed instance group and instances that are
18220
+ # scheduled to be created. The list includes any current actions that the group
18221
+ # has scheduled for its instances.
18222
+ # @param [String] project
18223
+ # Project ID for this request.
18224
+ # @param [String] region
18225
+ # Name of the region scoping this request.
18226
+ # @param [String] instance_group_manager
18227
+ # The name of the managed instance group.
18228
+ # @param [String] filter
18229
+ # @param [Fixnum] max_results
18230
+ # @param [String] order_by
18231
+ # @param [String] page_token
18232
+ # @param [String] fields
18233
+ # Selector specifying which fields to include in a partial response.
18234
+ # @param [String] quota_user
18235
+ # Available to use for quota purposes for server-side applications. Can be any
18236
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18237
+ # Overrides userIp if both are provided.
18238
+ # @param [String] user_ip
18239
+ # IP address of the site where the request originates. Use this if you want to
18240
+ # enforce per-user limits.
18241
+ # @param [Google::Apis::RequestOptions] options
18242
+ # Request-specific options
18243
+ #
18244
+ # @yield [result, err] Result & error if block supplied
18245
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse] parsed result object
18246
+ # @yieldparam err [StandardError] error object if request failed
18247
+ #
18248
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse]
18249
+ #
18250
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18251
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18252
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18253
+ def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18254
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
18255
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation
18256
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
18257
+ command.params['project'] = project unless project.nil?
18258
+ command.params['region'] = region unless region.nil?
18259
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18260
+ command.query['filter'] = filter unless filter.nil?
18261
+ command.query['maxResults'] = max_results unless max_results.nil?
18262
+ command.query['order_by'] = order_by unless order_by.nil?
18263
+ command.query['pageToken'] = page_token unless page_token.nil?
18264
+ command.query['fields'] = fields unless fields.nil?
18265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18266
+ command.query['userIp'] = user_ip unless user_ip.nil?
18267
+ execute_or_queue_command(command, &block)
18268
+ end
18269
+
18270
+ # Lists all of the per-instance configs defined for the managed instance group.
18271
+ # @param [String] project
18272
+ # Project ID for this request.
18273
+ # @param [String] region
18274
+ # Name of the region scoping this request, should conform to RFC1035.
18275
+ # @param [String] instance_group_manager
18276
+ # The name of the managed instance group. It should conform to RFC1035.
18277
+ # @param [String] filter
18278
+ # A filter expression that filters resources listed in the response. The
18279
+ # expression must specify the field name, a comparison operator, and the value
18280
+ # that you want to use for filtering. The value must be a string, a number, or a
18281
+ # boolean. The comparison operator must be either =, !=, >, or <.
18282
+ # For example, if you are filtering Compute Engine instances, you can exclude
18283
+ # instances named example-instance by specifying name != example-instance.
18284
+ # You can also filter nested fields. For example, you could specify scheduling.
18285
+ # automaticRestart = false to include instances only if they are not scheduled
18286
+ # for automatic restarts. You can use filtering on nested fields to filter based
18287
+ # on resource labels.
18288
+ # To filter on multiple expressions, provide each separate expression within
18289
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
18290
+ # Intel Skylake"). By default, each expression is an AND expression. However,
18291
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
18292
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
18293
+ # automaticRestart = true).
18294
+ # @param [Fixnum] max_results
18295
+ # The maximum number of results per page that should be returned. If the number
18296
+ # of available results is larger than maxResults, Compute Engine returns a
18297
+ # nextPageToken that can be used to get the next page of results in subsequent
18298
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
18299
+ # @param [String] order_by
18300
+ # Sorts list results by a certain order. By default, results are returned in
18301
+ # alphanumerical order based on the resource name.
18302
+ # You can also sort results in descending order based on the creation timestamp
18303
+ # using orderBy="creationTimestamp desc". This sorts results based on the
18304
+ # creationTimestamp field in reverse chronological order (newest result first).
18305
+ # Use this to sort resources like operations so that the newest operation is
18306
+ # returned first.
18307
+ # Currently, only sorting by name or creationTimestamp desc is supported.
18308
+ # @param [String] page_token
18309
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
18310
+ # a previous list request to get the next page of results.
18311
+ # @param [String] fields
18312
+ # Selector specifying which fields to include in a partial response.
18313
+ # @param [String] quota_user
18314
+ # Available to use for quota purposes for server-side applications. Can be any
18315
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18316
+ # Overrides userIp if both are provided.
18317
+ # @param [String] user_ip
18318
+ # IP address of the site where the request originates. Use this if you want to
18319
+ # enforce per-user limits.
18320
+ # @param [Google::Apis::RequestOptions] options
18321
+ # Request-specific options
18322
+ #
18323
+ # @yield [result, err] Result & error if block supplied
18324
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp] parsed result object
18325
+ # @yieldparam err [StandardError] error object if request failed
18326
+ #
18327
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp]
18328
+ #
18329
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18330
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18331
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18332
+ def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18333
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options)
18334
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp::Representation
18335
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
18336
+ command.params['project'] = project unless project.nil?
18337
+ command.params['region'] = region unless region.nil?
18338
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18339
+ command.query['filter'] = filter unless filter.nil?
18340
+ command.query['maxResults'] = max_results unless max_results.nil?
18341
+ command.query['orderBy'] = order_by unless order_by.nil?
18342
+ command.query['pageToken'] = page_token unless page_token.nil?
18343
+ command.query['fields'] = fields unless fields.nil?
18344
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18345
+ command.query['userIp'] = user_ip unless user_ip.nil?
18346
+ execute_or_queue_command(command, &block)
18347
+ end
18348
+
18349
+ # Updates a managed instance group using the information that you specify in the
18350
+ # request. This operation is marked as DONE when the group is patched even if
18351
+ # the instances in the group are still in the process of being patched. You must
18352
+ # separately verify the status of the individual instances with the
18353
+ # listmanagedinstances method. This method supports PATCH semantics and uses the
18354
+ # JSON merge patch format and processing rules.
18355
+ # @param [String] project
18356
+ # Project ID for this request.
18357
+ # @param [String] region
18358
+ # Name of the region scoping this request.
18359
+ # @param [String] instance_group_manager
18360
+ # The name of the instance group manager.
18361
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
18362
+ # @param [String] request_id
18363
+ # An optional request ID to identify requests. Specify a unique request ID so
18364
+ # that if you must retry your request, the server will know to ignore the
18365
+ # request if it has already been completed.
18366
+ # For example, consider a situation where you make an initial request and the
18367
+ # request times out. If you make the request again with the same request ID, the
18368
+ # server can check if original operation with the same request ID was received,
18369
+ # and if so, will ignore the second request. This prevents clients from
18370
+ # accidentally creating duplicate commitments.
18371
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18372
+ # supported (00000000-0000-0000-0000-000000000000).
18373
+ # @param [String] fields
18374
+ # Selector specifying which fields to include in a partial response.
18375
+ # @param [String] quota_user
18376
+ # Available to use for quota purposes for server-side applications. Can be any
18377
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18378
+ # Overrides userIp if both are provided.
18379
+ # @param [String] user_ip
18380
+ # IP address of the site where the request originates. Use this if you want to
18381
+ # enforce per-user limits.
18382
+ # @param [Google::Apis::RequestOptions] options
18383
+ # Request-specific options
18384
+ #
18385
+ # @yield [result, err] Result & error if block supplied
18386
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18387
+ # @yieldparam err [StandardError] error object if request failed
18388
+ #
18389
+ # @return [Google::Apis::ComputeAlpha::Operation]
18390
+ #
18391
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18392
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18393
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18394
+ def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18395
+ command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
18396
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
18397
+ command.request_object = instance_group_manager_object
18398
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18399
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18400
+ command.params['project'] = project unless project.nil?
18401
+ command.params['region'] = region unless region.nil?
18402
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18403
+ command.query['requestId'] = request_id unless request_id.nil?
18404
+ command.query['fields'] = fields unless fields.nil?
18405
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18406
+ command.query['userIp'] = user_ip unless user_ip.nil?
18407
+ execute_or_queue_command(command, &block)
18408
+ end
18409
+
18410
+ # Schedules a group action to recreate the specified instances in the managed
18411
+ # instance group. The instances are deleted and recreated using the current
18412
+ # instance template for the managed instance group. This operation is marked as
18413
+ # DONE when the action is scheduled even if the instances have not yet been
18414
+ # recreated. You must separately verify the status of the recreating action with
18415
+ # the listmanagedinstances method.
18416
+ # If the group is part of a backend service that has enabled connection draining,
18417
+ # it can take up to 60 seconds after the connection draining duration has
18418
+ # elapsed before the VM instance is removed or deleted.
18419
+ # You can specify a maximum of 1000 instances with this method per request.
18420
+ # @param [String] project
18421
+ # Project ID for this request.
18422
+ # @param [String] region
18423
+ # Name of the region scoping this request.
18424
+ # @param [String] instance_group_manager
18425
+ # Name of the managed instance group.
18426
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
18427
+ # @param [String] request_id
18428
+ # An optional request ID to identify requests. Specify a unique request ID so
18429
+ # that if you must retry your request, the server will know to ignore the
18430
+ # request if it has already been completed.
18431
+ # For example, consider a situation where you make an initial request and the
18432
+ # request times out. If you make the request again with the same request ID, the
18433
+ # server can check if original operation with the same request ID was received,
18434
+ # and if so, will ignore the second request. This prevents clients from
18435
+ # accidentally creating duplicate commitments.
18436
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18437
+ # supported (00000000-0000-0000-0000-000000000000).
18438
+ # @param [String] fields
18439
+ # Selector specifying which fields to include in a partial response.
18440
+ # @param [String] quota_user
18441
+ # Available to use for quota purposes for server-side applications. Can be any
18442
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18443
+ # Overrides userIp if both are provided.
18444
+ # @param [String] user_ip
18445
+ # IP address of the site where the request originates. Use this if you want to
18446
+ # enforce per-user limits.
18447
+ # @param [Google::Apis::RequestOptions] options
18448
+ # Request-specific options
18449
+ #
18450
+ # @yield [result, err] Result & error if block supplied
18451
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18452
+ # @yieldparam err [StandardError] error object if request failed
18453
+ #
18454
+ # @return [Google::Apis::ComputeAlpha::Operation]
18455
+ #
18456
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18457
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18458
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18459
+ def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18460
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
18461
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest::Representation
18462
+ command.request_object = region_instance_group_managers_recreate_request_object
18463
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18464
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18465
+ command.params['project'] = project unless project.nil?
18466
+ command.params['region'] = region unless region.nil?
18467
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18468
+ command.query['requestId'] = request_id unless request_id.nil?
18469
+ command.query['fields'] = fields unless fields.nil?
18470
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18471
+ command.query['userIp'] = user_ip unless user_ip.nil?
18472
+ execute_or_queue_command(command, &block)
18473
+ end
18474
+
18475
+ # Changes the intended size for the managed instance group. If you increase the
18476
+ # size, the group schedules actions to create new instances using the current
18477
+ # instance template. If you decrease the size, the group schedules delete
18478
+ # actions on one or more instances. The resize operation is marked DONE when the
18479
+ # resize actions are scheduled even if the group has not yet added or deleted
18480
+ # any instances. You must separately verify the status of the creating or
18481
+ # deleting actions with the listmanagedinstances method.
18482
+ # If the group is part of a backend service that has enabled connection draining,
18483
+ # it can take up to 60 seconds after the connection draining duration has
18484
+ # elapsed before the VM instance is removed or deleted.
18485
+ # @param [String] project
18486
+ # Project ID for this request.
18487
+ # @param [String] region
18488
+ # Name of the region scoping this request.
18489
+ # @param [String] instance_group_manager
18490
+ # Name of the managed instance group.
18491
+ # @param [Fixnum] size
18492
+ # Number of instances that should exist in this instance group manager.
18493
+ # @param [String] request_id
18494
+ # An optional request ID to identify requests. Specify a unique request ID so
18495
+ # that if you must retry your request, the server will know to ignore the
18496
+ # request if it has already been completed.
18497
+ # For example, consider a situation where you make an initial request and the
18498
+ # request times out. If you make the request again with the same request ID, the
18499
+ # server can check if original operation with the same request ID was received,
18500
+ # and if so, will ignore the second request. This prevents clients from
18501
+ # accidentally creating duplicate commitments.
18502
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18503
+ # supported (00000000-0000-0000-0000-000000000000).
18504
+ # @param [String] fields
18505
+ # Selector specifying which fields to include in a partial response.
18506
+ # @param [String] quota_user
18507
+ # Available to use for quota purposes for server-side applications. Can be any
18508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18509
+ # Overrides userIp if both are provided.
18510
+ # @param [String] user_ip
18511
+ # IP address of the site where the request originates. Use this if you want to
18512
+ # enforce per-user limits.
18513
+ # @param [Google::Apis::RequestOptions] options
18514
+ # Request-specific options
18515
+ #
18516
+ # @yield [result, err] Result & error if block supplied
18517
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18518
+ # @yieldparam err [StandardError] error object if request failed
18519
+ #
18520
+ # @return [Google::Apis::ComputeAlpha::Operation]
18521
+ #
18522
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18523
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18524
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18525
+ def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18526
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
18527
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18528
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18529
+ command.params['project'] = project unless project.nil?
18530
+ command.params['region'] = region unless region.nil?
18531
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18532
+ command.query['requestId'] = request_id unless request_id.nil?
18533
+ command.query['size'] = size unless size.nil?
18534
+ command.query['fields'] = fields unless fields.nil?
18535
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18536
+ command.query['userIp'] = user_ip unless user_ip.nil?
18537
+ execute_or_queue_command(command, &block)
18538
+ end
18539
+
18540
+ # Modifies the autohealing policy for the instances in this managed instance
18541
+ # group.
18542
+ # @param [String] project
18543
+ # Project ID for this request.
18544
+ # @param [String] region
18545
+ # Name of the region scoping this request.
18546
+ # @param [String] instance_group_manager
18547
+ # Name of the managed instance group.
18548
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest] region_instance_group_managers_set_auto_healing_request_object
18549
+ # @param [String] request_id
18550
+ # An optional request ID to identify requests. Specify a unique request ID so
18551
+ # that if you must retry your request, the server will know to ignore the
18552
+ # request if it has already been completed.
18553
+ # For example, consider a situation where you make an initial request and the
18554
+ # request times out. If you make the request again with the same request ID, the
18555
+ # server can check if original operation with the same request ID was received,
18556
+ # and if so, will ignore the second request. This prevents clients from
18557
+ # accidentally creating duplicate commitments.
18558
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18559
+ # supported (00000000-0000-0000-0000-000000000000).
18560
+ # @param [String] fields
18561
+ # Selector specifying which fields to include in a partial response.
18562
+ # @param [String] quota_user
18563
+ # Available to use for quota purposes for server-side applications. Can be any
18564
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18565
+ # Overrides userIp if both are provided.
18566
+ # @param [String] user_ip
18567
+ # IP address of the site where the request originates. Use this if you want to
18568
+ # enforce per-user limits.
18569
+ # @param [Google::Apis::RequestOptions] options
18570
+ # Request-specific options
18571
+ #
18572
+ # @yield [result, err] Result & error if block supplied
18573
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18574
+ # @yieldparam err [StandardError] error object if request failed
18575
+ #
18576
+ # @return [Google::Apis::ComputeAlpha::Operation]
18577
+ #
18578
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18579
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18580
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18581
+ def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18582
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options)
18583
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest::Representation
18584
+ command.request_object = region_instance_group_managers_set_auto_healing_request_object
18585
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18586
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18587
+ command.params['project'] = project unless project.nil?
18588
+ command.params['region'] = region unless region.nil?
18589
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18590
+ command.query['requestId'] = request_id unless request_id.nil?
18591
+ command.query['fields'] = fields unless fields.nil?
18592
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18593
+ command.query['userIp'] = user_ip unless user_ip.nil?
18594
+ execute_or_queue_command(command, &block)
18595
+ end
18596
+
18597
+ # Sets the instance template to use when creating new instances or recreating
18598
+ # instances in this group. Existing instances are not affected.
18599
+ # @param [String] project
18600
+ # Project ID for this request.
18601
+ # @param [String] region
18602
+ # Name of the region scoping this request.
18603
+ # @param [String] instance_group_manager
18604
+ # The name of the managed instance group.
18605
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object
18606
+ # @param [String] request_id
18607
+ # An optional request ID to identify requests. Specify a unique request ID so
18608
+ # that if you must retry your request, the server will know to ignore the
18609
+ # request if it has already been completed.
18610
+ # For example, consider a situation where you make an initial request and the
18611
+ # request times out. If you make the request again with the same request ID, the
18612
+ # server can check if original operation with the same request ID was received,
18613
+ # and if so, will ignore the second request. This prevents clients from
18614
+ # accidentally creating duplicate commitments.
18615
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18616
+ # supported (00000000-0000-0000-0000-000000000000).
18617
+ # @param [String] fields
18618
+ # Selector specifying which fields to include in a partial response.
18619
+ # @param [String] quota_user
18620
+ # Available to use for quota purposes for server-side applications. Can be any
18621
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18622
+ # Overrides userIp if both are provided.
18623
+ # @param [String] user_ip
18624
+ # IP address of the site where the request originates. Use this if you want to
18625
+ # enforce per-user limits.
18626
+ # @param [Google::Apis::RequestOptions] options
18627
+ # Request-specific options
18628
+ #
18629
+ # @yield [result, err] Result & error if block supplied
18630
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18631
+ # @yieldparam err [StandardError] error object if request failed
18632
+ #
18633
+ # @return [Google::Apis::ComputeAlpha::Operation]
18634
+ #
18635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18638
+ def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18639
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
18640
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest::Representation
18641
+ command.request_object = region_instance_group_managers_set_template_request_object
18642
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18643
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18644
+ command.params['project'] = project unless project.nil?
18645
+ command.params['region'] = region unless region.nil?
18646
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18647
+ command.query['requestId'] = request_id unless request_id.nil?
18648
+ command.query['fields'] = fields unless fields.nil?
18649
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18650
+ command.query['userIp'] = user_ip unless user_ip.nil?
18651
+ execute_or_queue_command(command, &block)
18652
+ end
18653
+
18654
+ # Modifies the target pools to which all new instances in this group are
18655
+ # assigned. Existing instances in the group are not affected.
18656
+ # @param [String] project
18657
+ # Project ID for this request.
18658
+ # @param [String] region
18659
+ # Name of the region scoping this request.
18660
+ # @param [String] instance_group_manager
18661
+ # Name of the managed instance group.
18662
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
18663
+ # @param [String] request_id
18664
+ # An optional request ID to identify requests. Specify a unique request ID so
18665
+ # that if you must retry your request, the server will know to ignore the
18666
+ # request if it has already been completed.
18667
+ # For example, consider a situation where you make an initial request and the
18668
+ # request times out. If you make the request again with the same request ID, the
18669
+ # server can check if original operation with the same request ID was received,
18670
+ # and if so, will ignore the second request. This prevents clients from
18671
+ # accidentally creating duplicate commitments.
18672
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18673
+ # supported (00000000-0000-0000-0000-000000000000).
18674
+ # @param [String] fields
18675
+ # Selector specifying which fields to include in a partial response.
18676
+ # @param [String] quota_user
18677
+ # Available to use for quota purposes for server-side applications. Can be any
18678
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18679
+ # Overrides userIp if both are provided.
18680
+ # @param [String] user_ip
18681
+ # IP address of the site where the request originates. Use this if you want to
18682
+ # enforce per-user limits.
18683
+ # @param [Google::Apis::RequestOptions] options
18684
+ # Request-specific options
18685
+ #
18686
+ # @yield [result, err] Result & error if block supplied
18687
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18688
+ # @yieldparam err [StandardError] error object if request failed
18689
+ #
18690
+ # @return [Google::Apis::ComputeAlpha::Operation]
18691
+ #
18692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18695
+ def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18696
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
18697
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
18698
+ command.request_object = region_instance_group_managers_set_target_pools_request_object
18699
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18700
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18701
+ command.params['project'] = project unless project.nil?
18702
+ command.params['region'] = region unless region.nil?
18703
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18704
+ command.query['requestId'] = request_id unless request_id.nil?
18705
+ command.query['fields'] = fields unless fields.nil?
18706
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18707
+ command.query['userIp'] = user_ip unless user_ip.nil?
18708
+ execute_or_queue_command(command, &block)
18709
+ end
18710
+
18711
+ # Returns permissions that a caller has on the specified resource.
18712
+ # @param [String] project
18713
+ # Project ID for this request.
18714
+ # @param [String] region
18715
+ # The name of the region for this request.
18716
+ # @param [String] resource
18717
+ # Name of the resource for this request.
18718
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
18719
+ # @param [String] fields
18720
+ # Selector specifying which fields to include in a partial response.
18721
+ # @param [String] quota_user
18722
+ # Available to use for quota purposes for server-side applications. Can be any
18723
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18724
+ # Overrides userIp if both are provided.
18725
+ # @param [String] user_ip
18726
+ # IP address of the site where the request originates. Use this if you want to
18727
+ # enforce per-user limits.
18728
+ # @param [Google::Apis::RequestOptions] options
18729
+ # Request-specific options
18730
+ #
18731
+ # @yield [result, err] Result & error if block supplied
18732
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
18733
+ # @yieldparam err [StandardError] error object if request failed
18734
+ #
18735
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
18736
+ #
18737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18740
+ def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18741
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options)
18742
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
18743
+ command.request_object = test_permissions_request_object
18744
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
18745
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
18746
+ command.params['project'] = project unless project.nil?
18747
+ command.params['region'] = region unless region.nil?
18748
+ command.params['resource'] = resource unless resource.nil?
18749
+ command.query['fields'] = fields unless fields.nil?
18750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18751
+ command.query['userIp'] = user_ip unless user_ip.nil?
18752
+ execute_or_queue_command(command, &block)
18753
+ end
18754
+
18755
+ # Updates a managed instance group using the information that you specify in the
18756
+ # request. This operation is marked as DONE when the group is updated even if
18757
+ # the instances in the group have not yet been updated. You must separately
18758
+ # verify the status of the individual instances with the listmanagedinstances
18759
+ # method.
18760
+ # @param [String] project
18761
+ # Project ID for this request.
18762
+ # @param [String] region
18763
+ # Name of the region scoping this request.
18764
+ # @param [String] instance_group_manager
18765
+ # The name of the instance group manager.
18766
+ # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
18767
+ # @param [String] request_id
18768
+ # An optional request ID to identify requests. Specify a unique request ID so
18769
+ # that if you must retry your request, the server will know to ignore the
18770
+ # request if it has already been completed.
18771
+ # For example, consider a situation where you make an initial request and the
18772
+ # request times out. If you make the request again with the same request ID, the
18773
+ # server can check if original operation with the same request ID was received,
18774
+ # and if so, will ignore the second request. This prevents clients from
18775
+ # accidentally creating duplicate commitments.
18776
+ # The request ID must be a valid UUID with the exception that zero UUID is not
18777
+ # supported (00000000-0000-0000-0000-000000000000).
18778
+ # @param [String] fields
18779
+ # Selector specifying which fields to include in a partial response.
18780
+ # @param [String] quota_user
18781
+ # Available to use for quota purposes for server-side applications. Can be any
18782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18783
+ # Overrides userIp if both are provided.
18784
+ # @param [String] user_ip
18785
+ # IP address of the site where the request originates. Use this if you want to
18786
+ # enforce per-user limits.
18787
+ # @param [Google::Apis::RequestOptions] options
18788
+ # Request-specific options
18789
+ #
18790
+ # @yield [result, err] Result & error if block supplied
18791
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18792
+ # @yieldparam err [StandardError] error object if request failed
18793
+ #
18794
+ # @return [Google::Apis::ComputeAlpha::Operation]
18795
+ #
18796
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18797
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18798
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18799
+ def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18800
+ command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
18801
+ command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
18802
+ command.request_object = instance_group_manager_object
18803
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18804
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18805
+ command.params['project'] = project unless project.nil?
18806
+ command.params['region'] = region unless region.nil?
18807
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18808
+ command.query['requestId'] = request_id unless request_id.nil?
18809
+ command.query['fields'] = fields unless fields.nil?
18810
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18811
+ command.query['userIp'] = user_ip unless user_ip.nil?
18812
+ execute_or_queue_command(command, &block)
18813
+ end
18814
+
18815
+ # Insert or patch (for the ones that already exist) per-instance configs for the
18816
+ # managed instance group. perInstanceConfig.instance serves as a key used to
18817
+ # distinguish whether to perform insert or patch.
18818
+ # @param [String] project
18819
+ # Project ID for this request.
18820
+ # @param [String] region
18821
+ # Name of the region scoping this request, should conform to RFC1035.
17801
18822
  # @param [String] instance_group_manager
17802
18823
  # The name of the managed instance group. It should conform to RFC1035.
18824
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq] region_instance_group_manager_update_instance_config_req_object
18825
+ # @param [String] fields
18826
+ # Selector specifying which fields to include in a partial response.
18827
+ # @param [String] quota_user
18828
+ # Available to use for quota purposes for server-side applications. Can be any
18829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18830
+ # Overrides userIp if both are provided.
18831
+ # @param [String] user_ip
18832
+ # IP address of the site where the request originates. Use this if you want to
18833
+ # enforce per-user limits.
18834
+ # @param [Google::Apis::RequestOptions] options
18835
+ # Request-specific options
18836
+ #
18837
+ # @yield [result, err] Result & error if block supplied
18838
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18839
+ # @yieldparam err [StandardError] error object if request failed
18840
+ #
18841
+ # @return [Google::Apis::ComputeAlpha::Operation]
18842
+ #
18843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18846
+ def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18847
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options)
18848
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation
18849
+ command.request_object = region_instance_group_manager_update_instance_config_req_object
18850
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18851
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18852
+ command.params['project'] = project unless project.nil?
18853
+ command.params['region'] = region unless region.nil?
18854
+ command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18855
+ command.query['fields'] = fields unless fields.nil?
18856
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18857
+ command.query['userIp'] = user_ip unless user_ip.nil?
18858
+ execute_or_queue_command(command, &block)
18859
+ end
18860
+
18861
+ # Returns the specified instance group resource.
18862
+ # @param [String] project
18863
+ # Project ID for this request.
18864
+ # @param [String] region
18865
+ # Name of the region scoping this request.
18866
+ # @param [String] instance_group
18867
+ # Name of the instance group resource to return.
18868
+ # @param [String] fields
18869
+ # Selector specifying which fields to include in a partial response.
18870
+ # @param [String] quota_user
18871
+ # Available to use for quota purposes for server-side applications. Can be any
18872
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18873
+ # Overrides userIp if both are provided.
18874
+ # @param [String] user_ip
18875
+ # IP address of the site where the request originates. Use this if you want to
18876
+ # enforce per-user limits.
18877
+ # @param [Google::Apis::RequestOptions] options
18878
+ # Request-specific options
18879
+ #
18880
+ # @yield [result, err] Result & error if block supplied
18881
+ # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroup] parsed result object
18882
+ # @yieldparam err [StandardError] error object if request failed
18883
+ #
18884
+ # @return [Google::Apis::ComputeAlpha::InstanceGroup]
18885
+ #
18886
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18887
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18888
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18889
+ def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18890
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
18891
+ command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation
18892
+ command.response_class = Google::Apis::ComputeAlpha::InstanceGroup
18893
+ command.params['project'] = project unless project.nil?
18894
+ command.params['region'] = region unless region.nil?
18895
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
18896
+ command.query['fields'] = fields unless fields.nil?
18897
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18898
+ command.query['userIp'] = user_ip unless user_ip.nil?
18899
+ execute_or_queue_command(command, &block)
18900
+ end
18901
+
18902
+ # Retrieves the list of instance group resources contained within the specified
18903
+ # region.
18904
+ # @param [String] project
18905
+ # Project ID for this request.
18906
+ # @param [String] region
18907
+ # Name of the region scoping this request.
18908
+ # @param [String] filter
18909
+ # A filter expression that filters resources listed in the response. The
18910
+ # expression must specify the field name, a comparison operator, and the value
18911
+ # that you want to use for filtering. The value must be a string, a number, or a
18912
+ # boolean. The comparison operator must be either =, !=, >, or <.
18913
+ # For example, if you are filtering Compute Engine instances, you can exclude
18914
+ # instances named example-instance by specifying name != example-instance.
18915
+ # You can also filter nested fields. For example, you could specify scheduling.
18916
+ # automaticRestart = false to include instances only if they are not scheduled
18917
+ # for automatic restarts. You can use filtering on nested fields to filter based
18918
+ # on resource labels.
18919
+ # To filter on multiple expressions, provide each separate expression within
18920
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
18921
+ # Intel Skylake"). By default, each expression is an AND expression. However,
18922
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
18923
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
18924
+ # automaticRestart = true).
18925
+ # @param [Fixnum] max_results
18926
+ # The maximum number of results per page that should be returned. If the number
18927
+ # of available results is larger than maxResults, Compute Engine returns a
18928
+ # nextPageToken that can be used to get the next page of results in subsequent
18929
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
18930
+ # @param [String] order_by
18931
+ # Sorts list results by a certain order. By default, results are returned in
18932
+ # alphanumerical order based on the resource name.
18933
+ # You can also sort results in descending order based on the creation timestamp
18934
+ # using orderBy="creationTimestamp desc". This sorts results based on the
18935
+ # creationTimestamp field in reverse chronological order (newest result first).
18936
+ # Use this to sort resources like operations so that the newest operation is
18937
+ # returned first.
18938
+ # Currently, only sorting by name or creationTimestamp desc is supported.
18939
+ # @param [String] page_token
18940
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
18941
+ # a previous list request to get the next page of results.
18942
+ # @param [String] fields
18943
+ # Selector specifying which fields to include in a partial response.
18944
+ # @param [String] quota_user
18945
+ # Available to use for quota purposes for server-side applications. Can be any
18946
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18947
+ # Overrides userIp if both are provided.
18948
+ # @param [String] user_ip
18949
+ # IP address of the site where the request originates. Use this if you want to
18950
+ # enforce per-user limits.
18951
+ # @param [Google::Apis::RequestOptions] options
18952
+ # Request-specific options
18953
+ #
18954
+ # @yield [result, err] Result & error if block supplied
18955
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupList] parsed result object
18956
+ # @yieldparam err [StandardError] error object if request failed
18957
+ #
18958
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupList]
18959
+ #
18960
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18961
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18962
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18963
+ def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18964
+ command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
18965
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupList::Representation
18966
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupList
18967
+ command.params['project'] = project unless project.nil?
18968
+ command.params['region'] = region unless region.nil?
18969
+ command.query['filter'] = filter unless filter.nil?
18970
+ command.query['maxResults'] = max_results unless max_results.nil?
18971
+ command.query['orderBy'] = order_by unless order_by.nil?
18972
+ command.query['pageToken'] = page_token unless page_token.nil?
18973
+ command.query['fields'] = fields unless fields.nil?
18974
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18975
+ command.query['userIp'] = user_ip unless user_ip.nil?
18976
+ execute_or_queue_command(command, &block)
18977
+ end
18978
+
18979
+ # Lists the instances in the specified instance group and displays information
18980
+ # about the named ports. Depending on the specified options, this method can
18981
+ # list all instances or only the instances that are running.
18982
+ # @param [String] project
18983
+ # Project ID for this request.
18984
+ # @param [String] region
18985
+ # Name of the region scoping this request.
18986
+ # @param [String] instance_group
18987
+ # Name of the regional instance group for which we want to list the instances.
18988
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
17803
18989
  # @param [String] filter
17804
18990
  # A filter expression that filters resources listed in the response. The
17805
18991
  # expression must specify the field name, a comparison operator, and the value
@@ -17847,21 +19033,23 @@ module Google
17847
19033
  # Request-specific options
17848
19034
  #
17849
19035
  # @yield [result, err] Result & error if block supplied
17850
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp] parsed result object
19036
+ # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances] parsed result object
17851
19037
  # @yieldparam err [StandardError] error object if request failed
17852
19038
  #
17853
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp]
19039
+ # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances]
17854
19040
  #
17855
19041
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17856
19042
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17857
19043
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17858
- def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17859
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options)
17860
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp::Representation
17861
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp
19044
+ def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19045
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
19046
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation
19047
+ command.request_object = region_instance_groups_list_instances_request_object
19048
+ command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation
19049
+ command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
17862
19050
  command.params['project'] = project unless project.nil?
17863
19051
  command.params['region'] = region unless region.nil?
17864
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19052
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
17865
19053
  command.query['filter'] = filter unless filter.nil?
17866
19054
  command.query['maxResults'] = max_results unless max_results.nil?
17867
19055
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -17872,19 +19060,14 @@ module Google
17872
19060
  execute_or_queue_command(command, &block)
17873
19061
  end
17874
19062
 
17875
- # Updates a managed instance group using the information that you specify in the
17876
- # request. This operation is marked as DONE when the group is patched even if
17877
- # the instances in the group are still in the process of being patched. You must
17878
- # separately verify the status of the individual instances with the
17879
- # listmanagedinstances method. This method supports PATCH semantics and uses the
17880
- # JSON merge patch format and processing rules.
19063
+ # Sets the named ports for the specified regional instance group.
17881
19064
  # @param [String] project
17882
19065
  # Project ID for this request.
17883
19066
  # @param [String] region
17884
19067
  # Name of the region scoping this request.
17885
- # @param [String] instance_group_manager
17886
- # The name of the instance group manager.
17887
- # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
19068
+ # @param [String] instance_group
19069
+ # The name of the regional instance group where the named ports are updated.
19070
+ # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
17888
19071
  # @param [String] request_id
17889
19072
  # An optional request ID to identify requests. Specify a unique request ID so
17890
19073
  # that if you must retry your request, the server will know to ignore the
@@ -17917,15 +19100,15 @@ module Google
17917
19100
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17918
19101
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17919
19102
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17920
- def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17921
- command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
17922
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
17923
- command.request_object = instance_group_manager_object
19103
+ def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19104
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
19105
+ command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation
19106
+ command.request_object = region_instance_groups_set_named_ports_request_object
17924
19107
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17925
19108
  command.response_class = Google::Apis::ComputeAlpha::Operation
17926
19109
  command.params['project'] = project unless project.nil?
17927
19110
  command.params['region'] = region unless region.nil?
17928
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19111
+ command.params['instanceGroup'] = instance_group unless instance_group.nil?
17929
19112
  command.query['requestId'] = request_id unless request_id.nil?
17930
19113
  command.query['fields'] = fields unless fields.nil?
17931
19114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -17933,34 +19116,14 @@ module Google
17933
19116
  execute_or_queue_command(command, &block)
17934
19117
  end
17935
19118
 
17936
- # Schedules a group action to recreate the specified instances in the managed
17937
- # instance group. The instances are deleted and recreated using the current
17938
- # instance template for the managed instance group. This operation is marked as
17939
- # DONE when the action is scheduled even if the instances have not yet been
17940
- # recreated. You must separately verify the status of the recreating action with
17941
- # the listmanagedinstances method.
17942
- # If the group is part of a backend service that has enabled connection draining,
17943
- # it can take up to 60 seconds after the connection draining duration has
17944
- # elapsed before the VM instance is removed or deleted.
17945
- # You can specify a maximum of 1000 instances with this method per request.
19119
+ # Returns permissions that a caller has on the specified resource.
17946
19120
  # @param [String] project
17947
19121
  # Project ID for this request.
17948
19122
  # @param [String] region
17949
- # Name of the region scoping this request.
17950
- # @param [String] instance_group_manager
17951
- # Name of the managed instance group.
17952
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object
17953
- # @param [String] request_id
17954
- # An optional request ID to identify requests. Specify a unique request ID so
17955
- # that if you must retry your request, the server will know to ignore the
17956
- # request if it has already been completed.
17957
- # For example, consider a situation where you make an initial request and the
17958
- # request times out. If you make the request again with the same request ID, the
17959
- # server can check if original operation with the same request ID was received,
17960
- # and if so, will ignore the second request. This prevents clients from
17961
- # accidentally creating duplicate commitments.
17962
- # The request ID must be a valid UUID with the exception that zero UUID is not
17963
- # supported (00000000-0000-0000-0000-000000000000).
19123
+ # The name of the region for this request.
19124
+ # @param [String] resource
19125
+ # Name of the resource for this request.
19126
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
17964
19127
  # @param [String] fields
17965
19128
  # Selector specifying which fields to include in a partial response.
17966
19129
  # @param [String] quota_user
@@ -17974,59 +19137,75 @@ module Google
17974
19137
  # Request-specific options
17975
19138
  #
17976
19139
  # @yield [result, err] Result & error if block supplied
17977
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19140
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
17978
19141
  # @yieldparam err [StandardError] error object if request failed
17979
19142
  #
17980
- # @return [Google::Apis::ComputeAlpha::Operation]
19143
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
17981
19144
  #
17982
19145
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17983
19146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17984
19147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
17985
- def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17986
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options)
17987
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest::Representation
17988
- command.request_object = region_instance_group_managers_recreate_request_object
17989
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
17990
- command.response_class = Google::Apis::ComputeAlpha::Operation
19148
+ def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19149
+ command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
19150
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
19151
+ command.request_object = test_permissions_request_object
19152
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
19153
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
17991
19154
  command.params['project'] = project unless project.nil?
17992
19155
  command.params['region'] = region unless region.nil?
17993
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
17994
- command.query['requestId'] = request_id unless request_id.nil?
19156
+ command.params['resource'] = resource unless resource.nil?
17995
19157
  command.query['fields'] = fields unless fields.nil?
17996
19158
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17997
19159
  command.query['userIp'] = user_ip unless user_ip.nil?
17998
19160
  execute_or_queue_command(command, &block)
17999
19161
  end
18000
19162
 
18001
- # Changes the intended size for the managed instance group. If you increase the
18002
- # size, the group schedules actions to create new instances using the current
18003
- # instance template. If you decrease the size, the group schedules delete
18004
- # actions on one or more instances. The resize operation is marked DONE when the
18005
- # resize actions are scheduled even if the group has not yet added or deleted
18006
- # any instances. You must separately verify the status of the creating or
18007
- # deleting actions with the listmanagedinstances method.
18008
- # If the group is part of a backend service that has enabled connection draining,
18009
- # it can take up to 60 seconds after the connection draining duration has
18010
- # elapsed before the VM instance is removed or deleted.
19163
+ # Deletes the specified region-specific Operations resource.
18011
19164
  # @param [String] project
18012
19165
  # Project ID for this request.
18013
19166
  # @param [String] region
18014
- # Name of the region scoping this request.
18015
- # @param [String] instance_group_manager
18016
- # Name of the managed instance group.
18017
- # @param [Fixnum] size
18018
- # Number of instances that should exist in this instance group manager.
18019
- # @param [String] request_id
18020
- # An optional request ID to identify requests. Specify a unique request ID so
18021
- # that if you must retry your request, the server will know to ignore the
18022
- # request if it has already been completed.
18023
- # For example, consider a situation where you make an initial request and the
18024
- # request times out. If you make the request again with the same request ID, the
18025
- # server can check if original operation with the same request ID was received,
18026
- # and if so, will ignore the second request. This prevents clients from
18027
- # accidentally creating duplicate commitments.
18028
- # The request ID must be a valid UUID with the exception that zero UUID is not
18029
- # supported (00000000-0000-0000-0000-000000000000).
19167
+ # Name of the region for this request.
19168
+ # @param [String] operation
19169
+ # Name of the Operations resource to delete.
19170
+ # @param [String] fields
19171
+ # Selector specifying which fields to include in a partial response.
19172
+ # @param [String] quota_user
19173
+ # Available to use for quota purposes for server-side applications. Can be any
19174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19175
+ # Overrides userIp if both are provided.
19176
+ # @param [String] user_ip
19177
+ # IP address of the site where the request originates. Use this if you want to
19178
+ # enforce per-user limits.
19179
+ # @param [Google::Apis::RequestOptions] options
19180
+ # Request-specific options
19181
+ #
19182
+ # @yield [result, err] Result & error if block supplied
19183
+ # @yieldparam result [NilClass] No result returned for this method
19184
+ # @yieldparam err [StandardError] error object if request failed
19185
+ #
19186
+ # @return [void]
19187
+ #
19188
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19189
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19190
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19191
+ def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19192
+ command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
19193
+ command.params['project'] = project unless project.nil?
19194
+ command.params['region'] = region unless region.nil?
19195
+ command.params['operation'] = operation unless operation.nil?
19196
+ command.query['fields'] = fields unless fields.nil?
19197
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19198
+ command.query['userIp'] = user_ip unless user_ip.nil?
19199
+ execute_or_queue_command(command, &block)
19200
+ end
19201
+
19202
+ # Retrieves the specified region-specific Operations resource.
19203
+ # @param [String] project
19204
+ # Project ID for this request.
19205
+ # @param [String] region
19206
+ # Name of the region for this request.
19207
+ # @param [String] operation
19208
+ # Name of the Operations resource to return.
18030
19209
  # @param [String] fields
18031
19210
  # Selector specifying which fields to include in a partial response.
18032
19211
  # @param [String] quota_user
@@ -18048,30 +19227,102 @@ module Google
18048
19227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18049
19228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18050
19229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18051
- def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18052
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options)
19230
+ def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19231
+ command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
18053
19232
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18054
19233
  command.response_class = Google::Apis::ComputeAlpha::Operation
18055
19234
  command.params['project'] = project unless project.nil?
18056
19235
  command.params['region'] = region unless region.nil?
18057
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18058
- command.query['requestId'] = request_id unless request_id.nil?
18059
- command.query['size'] = size unless size.nil?
19236
+ command.params['operation'] = operation unless operation.nil?
19237
+ command.query['fields'] = fields unless fields.nil?
19238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19239
+ command.query['userIp'] = user_ip unless user_ip.nil?
19240
+ execute_or_queue_command(command, &block)
19241
+ end
19242
+
19243
+ # Retrieves a list of Operation resources contained within the specified region.
19244
+ # @param [String] project
19245
+ # Project ID for this request.
19246
+ # @param [String] region
19247
+ # Name of the region for this request.
19248
+ # @param [String] filter
19249
+ # A filter expression that filters resources listed in the response. The
19250
+ # expression must specify the field name, a comparison operator, and the value
19251
+ # that you want to use for filtering. The value must be a string, a number, or a
19252
+ # boolean. The comparison operator must be either =, !=, >, or <.
19253
+ # For example, if you are filtering Compute Engine instances, you can exclude
19254
+ # instances named example-instance by specifying name != example-instance.
19255
+ # You can also filter nested fields. For example, you could specify scheduling.
19256
+ # automaticRestart = false to include instances only if they are not scheduled
19257
+ # for automatic restarts. You can use filtering on nested fields to filter based
19258
+ # on resource labels.
19259
+ # To filter on multiple expressions, provide each separate expression within
19260
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
19261
+ # Intel Skylake"). By default, each expression is an AND expression. However,
19262
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
19263
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
19264
+ # automaticRestart = true).
19265
+ # @param [Fixnum] max_results
19266
+ # The maximum number of results per page that should be returned. If the number
19267
+ # of available results is larger than maxResults, Compute Engine returns a
19268
+ # nextPageToken that can be used to get the next page of results in subsequent
19269
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19270
+ # @param [String] order_by
19271
+ # Sorts list results by a certain order. By default, results are returned in
19272
+ # alphanumerical order based on the resource name.
19273
+ # You can also sort results in descending order based on the creation timestamp
19274
+ # using orderBy="creationTimestamp desc". This sorts results based on the
19275
+ # creationTimestamp field in reverse chronological order (newest result first).
19276
+ # Use this to sort resources like operations so that the newest operation is
19277
+ # returned first.
19278
+ # Currently, only sorting by name or creationTimestamp desc is supported.
19279
+ # @param [String] page_token
19280
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19281
+ # a previous list request to get the next page of results.
19282
+ # @param [String] fields
19283
+ # Selector specifying which fields to include in a partial response.
19284
+ # @param [String] quota_user
19285
+ # Available to use for quota purposes for server-side applications. Can be any
19286
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19287
+ # Overrides userIp if both are provided.
19288
+ # @param [String] user_ip
19289
+ # IP address of the site where the request originates. Use this if you want to
19290
+ # enforce per-user limits.
19291
+ # @param [Google::Apis::RequestOptions] options
19292
+ # Request-specific options
19293
+ #
19294
+ # @yield [result, err] Result & error if block supplied
19295
+ # @yieldparam result [Google::Apis::ComputeAlpha::OperationList] parsed result object
19296
+ # @yieldparam err [StandardError] error object if request failed
19297
+ #
19298
+ # @return [Google::Apis::ComputeAlpha::OperationList]
19299
+ #
19300
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19301
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19302
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19303
+ def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19304
+ command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
19305
+ command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation
19306
+ command.response_class = Google::Apis::ComputeAlpha::OperationList
19307
+ command.params['project'] = project unless project.nil?
19308
+ command.params['region'] = region unless region.nil?
19309
+ command.query['filter'] = filter unless filter.nil?
19310
+ command.query['maxResults'] = max_results unless max_results.nil?
19311
+ command.query['orderBy'] = order_by unless order_by.nil?
19312
+ command.query['pageToken'] = page_token unless page_token.nil?
18060
19313
  command.query['fields'] = fields unless fields.nil?
18061
19314
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18062
19315
  command.query['userIp'] = user_ip unless user_ip.nil?
18063
19316
  execute_or_queue_command(command, &block)
18064
19317
  end
18065
19318
 
18066
- # Modifies the autohealing policy for the instances in this managed instance
18067
- # group.
19319
+ # Deletes the specified TargetHttpProxy resource.
18068
19320
  # @param [String] project
18069
19321
  # Project ID for this request.
18070
19322
  # @param [String] region
18071
19323
  # Name of the region scoping this request.
18072
- # @param [String] instance_group_manager
18073
- # Name of the managed instance group.
18074
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest] region_instance_group_managers_set_auto_healing_request_object
19324
+ # @param [String] target_http_proxy
19325
+ # Name of the TargetHttpProxy resource to delete.
18075
19326
  # @param [String] request_id
18076
19327
  # An optional request ID to identify requests. Specify a unique request ID so
18077
19328
  # that if you must retry your request, the server will know to ignore the
@@ -18104,15 +19355,13 @@ module Google
18104
19355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18105
19356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18106
19357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18107
- def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18108
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options)
18109
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest::Representation
18110
- command.request_object = region_instance_group_managers_set_auto_healing_request_object
19358
+ def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19359
+ command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
18111
19360
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18112
19361
  command.response_class = Google::Apis::ComputeAlpha::Operation
18113
19362
  command.params['project'] = project unless project.nil?
18114
19363
  command.params['region'] = region unless region.nil?
18115
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19364
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
18116
19365
  command.query['requestId'] = request_id unless request_id.nil?
18117
19366
  command.query['fields'] = fields unless fields.nil?
18118
19367
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -18120,26 +19369,14 @@ module Google
18120
19369
  execute_or_queue_command(command, &block)
18121
19370
  end
18122
19371
 
18123
- # Sets the instance template to use when creating new instances or recreating
18124
- # instances in this group. Existing instances are not affected.
19372
+ # Returns the specified TargetHttpProxy resource in the specified region. Get a
19373
+ # list of available target HTTP proxies by making a list() request.
18125
19374
  # @param [String] project
18126
19375
  # Project ID for this request.
18127
19376
  # @param [String] region
18128
19377
  # Name of the region scoping this request.
18129
- # @param [String] instance_group_manager
18130
- # The name of the managed instance group.
18131
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object
18132
- # @param [String] request_id
18133
- # An optional request ID to identify requests. Specify a unique request ID so
18134
- # that if you must retry your request, the server will know to ignore the
18135
- # request if it has already been completed.
18136
- # For example, consider a situation where you make an initial request and the
18137
- # request times out. If you make the request again with the same request ID, the
18138
- # server can check if original operation with the same request ID was received,
18139
- # and if so, will ignore the second request. This prevents clients from
18140
- # accidentally creating duplicate commitments.
18141
- # The request ID must be a valid UUID with the exception that zero UUID is not
18142
- # supported (00000000-0000-0000-0000-000000000000).
19378
+ # @param [String] target_http_proxy
19379
+ # Name of the TargetHttpProxy resource to return.
18143
19380
  # @param [String] fields
18144
19381
  # Selector specifying which fields to include in a partial response.
18145
19382
  # @param [String] quota_user
@@ -18153,39 +19390,34 @@ module Google
18153
19390
  # Request-specific options
18154
19391
  #
18155
19392
  # @yield [result, err] Result & error if block supplied
18156
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19393
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpProxy] parsed result object
18157
19394
  # @yieldparam err [StandardError] error object if request failed
18158
19395
  #
18159
- # @return [Google::Apis::ComputeAlpha::Operation]
19396
+ # @return [Google::Apis::ComputeAlpha::TargetHttpProxy]
18160
19397
  #
18161
19398
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18162
19399
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18163
19400
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18164
- def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18165
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options)
18166
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest::Representation
18167
- command.request_object = region_instance_group_managers_set_template_request_object
18168
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18169
- command.response_class = Google::Apis::ComputeAlpha::Operation
19401
+ def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19402
+ command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options)
19403
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation
19404
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy
18170
19405
  command.params['project'] = project unless project.nil?
18171
19406
  command.params['region'] = region unless region.nil?
18172
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18173
- command.query['requestId'] = request_id unless request_id.nil?
19407
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
18174
19408
  command.query['fields'] = fields unless fields.nil?
18175
19409
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18176
19410
  command.query['userIp'] = user_ip unless user_ip.nil?
18177
19411
  execute_or_queue_command(command, &block)
18178
19412
  end
18179
19413
 
18180
- # Modifies the target pools to which all new instances in this group are
18181
- # assigned. Existing instances in the group are not affected.
19414
+ # Creates a TargetHttpProxy resource in the specified project and region using
19415
+ # the data included in the request.
18182
19416
  # @param [String] project
18183
19417
  # Project ID for this request.
18184
19418
  # @param [String] region
18185
19419
  # Name of the region scoping this request.
18186
- # @param [String] instance_group_manager
18187
- # Name of the managed instance group.
18188
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object
19420
+ # @param [Google::Apis::ComputeAlpha::TargetHttpProxy] target_http_proxy_object
18189
19421
  # @param [String] request_id
18190
19422
  # An optional request ID to identify requests. Specify a unique request ID so
18191
19423
  # that if you must retry your request, the server will know to ignore the
@@ -18218,15 +19450,14 @@ module Google
18218
19450
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18219
19451
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18220
19452
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18221
- def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18222
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options)
18223
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation
18224
- command.request_object = region_instance_group_managers_set_target_pools_request_object
19453
+ def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19454
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options)
19455
+ command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation
19456
+ command.request_object = target_http_proxy_object
18225
19457
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18226
19458
  command.response_class = Google::Apis::ComputeAlpha::Operation
18227
19459
  command.params['project'] = project unless project.nil?
18228
19460
  command.params['region'] = region unless region.nil?
18229
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
18230
19461
  command.query['requestId'] = request_id unless request_id.nil?
18231
19462
  command.query['fields'] = fields unless fields.nil?
18232
19463
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -18234,14 +19465,46 @@ module Google
18234
19465
  execute_or_queue_command(command, &block)
18235
19466
  end
18236
19467
 
18237
- # Returns permissions that a caller has on the specified resource.
19468
+ # Retrieves the list of TargetHttpProxy resources available to the specified
19469
+ # project in the specified region.
18238
19470
  # @param [String] project
18239
19471
  # Project ID for this request.
18240
19472
  # @param [String] region
18241
- # The name of the region for this request.
18242
- # @param [String] resource
18243
- # Name of the resource for this request.
18244
- # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
19473
+ # Name of the region scoping this request.
19474
+ # @param [String] filter
19475
+ # A filter expression that filters resources listed in the response. The
19476
+ # expression must specify the field name, a comparison operator, and the value
19477
+ # that you want to use for filtering. The value must be a string, a number, or a
19478
+ # boolean. The comparison operator must be either =, !=, >, or <.
19479
+ # For example, if you are filtering Compute Engine instances, you can exclude
19480
+ # instances named example-instance by specifying name != example-instance.
19481
+ # You can also filter nested fields. For example, you could specify scheduling.
19482
+ # automaticRestart = false to include instances only if they are not scheduled
19483
+ # for automatic restarts. You can use filtering on nested fields to filter based
19484
+ # on resource labels.
19485
+ # To filter on multiple expressions, provide each separate expression within
19486
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
19487
+ # Intel Skylake"). By default, each expression is an AND expression. However,
19488
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
19489
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
19490
+ # automaticRestart = true).
19491
+ # @param [Fixnum] max_results
19492
+ # The maximum number of results per page that should be returned. If the number
19493
+ # of available results is larger than maxResults, Compute Engine returns a
19494
+ # nextPageToken that can be used to get the next page of results in subsequent
19495
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
19496
+ # @param [String] order_by
19497
+ # Sorts list results by a certain order. By default, results are returned in
19498
+ # alphanumerical order based on the resource name.
19499
+ # You can also sort results in descending order based on the creation timestamp
19500
+ # using orderBy="creationTimestamp desc". This sorts results based on the
19501
+ # creationTimestamp field in reverse chronological order (newest result first).
19502
+ # Use this to sort resources like operations so that the newest operation is
19503
+ # returned first.
19504
+ # Currently, only sorting by name or creationTimestamp desc is supported.
19505
+ # @param [String] page_token
19506
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
19507
+ # a previous list request to get the next page of results.
18245
19508
  # @param [String] fields
18246
19509
  # Selector specifying which fields to include in a partial response.
18247
19510
  # @param [String] quota_user
@@ -18255,41 +19518,38 @@ module Google
18255
19518
  # Request-specific options
18256
19519
  #
18257
19520
  # @yield [result, err] Result & error if block supplied
18258
- # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
19521
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpProxyList] parsed result object
18259
19522
  # @yieldparam err [StandardError] error object if request failed
18260
19523
  #
18261
- # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
19524
+ # @return [Google::Apis::ComputeAlpha::TargetHttpProxyList]
18262
19525
  #
18263
19526
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18264
19527
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18265
19528
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18266
- def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18267
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options)
18268
- command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
18269
- command.request_object = test_permissions_request_object
18270
- command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
18271
- command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
19529
+ def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19530
+ command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options)
19531
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation
19532
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList
18272
19533
  command.params['project'] = project unless project.nil?
18273
19534
  command.params['region'] = region unless region.nil?
18274
- command.params['resource'] = resource unless resource.nil?
19535
+ command.query['filter'] = filter unless filter.nil?
19536
+ command.query['maxResults'] = max_results unless max_results.nil?
19537
+ command.query['orderBy'] = order_by unless order_by.nil?
19538
+ command.query['pageToken'] = page_token unless page_token.nil?
18275
19539
  command.query['fields'] = fields unless fields.nil?
18276
19540
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18277
19541
  command.query['userIp'] = user_ip unless user_ip.nil?
18278
19542
  execute_or_queue_command(command, &block)
18279
19543
  end
18280
19544
 
18281
- # Updates a managed instance group using the information that you specify in the
18282
- # request. This operation is marked as DONE when the group is updated even if
18283
- # the instances in the group have not yet been updated. You must separately
18284
- # verify the status of the individual instances with the listmanagedinstances
18285
- # method.
19545
+ # Changes the URL map for TargetHttpProxy.
18286
19546
  # @param [String] project
18287
19547
  # Project ID for this request.
18288
19548
  # @param [String] region
18289
19549
  # Name of the region scoping this request.
18290
- # @param [String] instance_group_manager
18291
- # The name of the instance group manager.
18292
- # @param [Google::Apis::ComputeAlpha::InstanceGroupManager] instance_group_manager_object
19550
+ # @param [String] target_http_proxy
19551
+ # Name of the TargetHttpProxy to set a URL map for.
19552
+ # @param [Google::Apis::ComputeAlpha::UrlMapReference] url_map_reference_object
18293
19553
  # @param [String] request_id
18294
19554
  # An optional request ID to identify requests. Specify a unique request ID so
18295
19555
  # that if you must retry your request, the server will know to ignore the
@@ -18322,15 +19582,15 @@ module Google
18322
19582
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18323
19583
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18324
19584
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18325
- def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18326
- command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options)
18327
- command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation
18328
- command.request_object = instance_group_manager_object
19585
+ def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19586
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options)
19587
+ command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation
19588
+ command.request_object = url_map_reference_object
18329
19589
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18330
19590
  command.response_class = Google::Apis::ComputeAlpha::Operation
18331
19591
  command.params['project'] = project unless project.nil?
18332
19592
  command.params['region'] = region unless region.nil?
18333
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19593
+ command.params['targetHttpProxy'] = target_http_proxy unless target_http_proxy.nil?
18334
19594
  command.query['requestId'] = request_id unless request_id.nil?
18335
19595
  command.query['fields'] = fields unless fields.nil?
18336
19596
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -18338,16 +19598,14 @@ module Google
18338
19598
  execute_or_queue_command(command, &block)
18339
19599
  end
18340
19600
 
18341
- # Insert or patch (for the ones that already exist) per-instance configs for the
18342
- # managed instance group. perInstanceConfig.instance serves as a key used to
18343
- # distinguish whether to perform insert or patch.
19601
+ # Returns permissions that a caller has on the specified resource.
18344
19602
  # @param [String] project
18345
19603
  # Project ID for this request.
18346
19604
  # @param [String] region
18347
- # Name of the region scoping this request, should conform to RFC1035.
18348
- # @param [String] instance_group_manager
18349
- # The name of the managed instance group. It should conform to RFC1035.
18350
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq] region_instance_group_manager_update_instance_config_req_object
19605
+ # The name of the region for this request.
19606
+ # @param [String] resource
19607
+ # Name of the resource for this request.
19608
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
18351
19609
  # @param [String] fields
18352
19610
  # Selector specifying which fields to include in a partial response.
18353
19611
  # @param [String] quota_user
@@ -18361,36 +19619,38 @@ module Google
18361
19619
  # Request-specific options
18362
19620
  #
18363
19621
  # @yield [result, err] Result & error if block supplied
18364
- # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
19622
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
18365
19623
  # @yieldparam err [StandardError] error object if request failed
18366
19624
  #
18367
- # @return [Google::Apis::ComputeAlpha::Operation]
19625
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
18368
19626
  #
18369
19627
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18370
19628
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18371
19629
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18372
- def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18373
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options)
18374
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation
18375
- command.request_object = region_instance_group_manager_update_instance_config_req_object
18376
- command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18377
- command.response_class = Google::Apis::ComputeAlpha::Operation
19630
+ def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19631
+ command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options)
19632
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
19633
+ command.request_object = test_permissions_request_object
19634
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
19635
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
18378
19636
  command.params['project'] = project unless project.nil?
18379
19637
  command.params['region'] = region unless region.nil?
18380
- command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil?
19638
+ command.params['resource'] = resource unless resource.nil?
18381
19639
  command.query['fields'] = fields unless fields.nil?
18382
19640
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18383
19641
  command.query['userIp'] = user_ip unless user_ip.nil?
18384
19642
  execute_or_queue_command(command, &block)
18385
19643
  end
18386
19644
 
18387
- # Returns the specified instance group resource.
19645
+ # Deletes the specified UrlMap resource.
18388
19646
  # @param [String] project
18389
19647
  # Project ID for this request.
18390
19648
  # @param [String] region
18391
19649
  # Name of the region scoping this request.
18392
- # @param [String] instance_group
18393
- # Name of the instance group resource to return.
19650
+ # @param [String] url_map
19651
+ # Name of the UrlMap resource to delete.
19652
+ # @param [String] request_id
19653
+ # begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
18394
19654
  # @param [String] fields
18395
19655
  # Selector specifying which fields to include in a partial response.
18396
19656
  # @param [String] quota_user
@@ -18404,67 +19664,79 @@ module Google
18404
19664
  # Request-specific options
18405
19665
  #
18406
19666
  # @yield [result, err] Result & error if block supplied
18407
- # @yieldparam result [Google::Apis::ComputeAlpha::InstanceGroup] parsed result object
19667
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18408
19668
  # @yieldparam err [StandardError] error object if request failed
18409
19669
  #
18410
- # @return [Google::Apis::ComputeAlpha::InstanceGroup]
19670
+ # @return [Google::Apis::ComputeAlpha::Operation]
18411
19671
  #
18412
19672
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18413
19673
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18414
19674
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18415
- def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18416
- command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options)
18417
- command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation
18418
- command.response_class = Google::Apis::ComputeAlpha::InstanceGroup
19675
+ def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19676
+ command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options)
19677
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19678
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18419
19679
  command.params['project'] = project unless project.nil?
18420
19680
  command.params['region'] = region unless region.nil?
18421
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
19681
+ command.params['urlMap'] = url_map unless url_map.nil?
19682
+ command.query['requestId'] = request_id unless request_id.nil?
18422
19683
  command.query['fields'] = fields unless fields.nil?
18423
19684
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18424
19685
  command.query['userIp'] = user_ip unless user_ip.nil?
18425
19686
  execute_or_queue_command(command, &block)
18426
19687
  end
18427
19688
 
18428
- # Retrieves the list of instance group resources contained within the specified
18429
- # region.
19689
+ # Returns the specified UrlMap resource. Get a list of available URL maps by
19690
+ # making a list() request.
18430
19691
  # @param [String] project
18431
19692
  # Project ID for this request.
18432
19693
  # @param [String] region
18433
19694
  # Name of the region scoping this request.
18434
- # @param [String] filter
18435
- # A filter expression that filters resources listed in the response. The
18436
- # expression must specify the field name, a comparison operator, and the value
18437
- # that you want to use for filtering. The value must be a string, a number, or a
18438
- # boolean. The comparison operator must be either =, !=, >, or <.
18439
- # For example, if you are filtering Compute Engine instances, you can exclude
18440
- # instances named example-instance by specifying name != example-instance.
18441
- # You can also filter nested fields. For example, you could specify scheduling.
18442
- # automaticRestart = false to include instances only if they are not scheduled
18443
- # for automatic restarts. You can use filtering on nested fields to filter based
18444
- # on resource labels.
18445
- # To filter on multiple expressions, provide each separate expression within
18446
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
18447
- # Intel Skylake"). By default, each expression is an AND expression. However,
18448
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
18449
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
18450
- # automaticRestart = true).
18451
- # @param [Fixnum] max_results
18452
- # The maximum number of results per page that should be returned. If the number
18453
- # of available results is larger than maxResults, Compute Engine returns a
18454
- # nextPageToken that can be used to get the next page of results in subsequent
18455
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
18456
- # @param [String] order_by
18457
- # Sorts list results by a certain order. By default, results are returned in
18458
- # alphanumerical order based on the resource name.
18459
- # You can also sort results in descending order based on the creation timestamp
18460
- # using orderBy="creationTimestamp desc". This sorts results based on the
18461
- # creationTimestamp field in reverse chronological order (newest result first).
18462
- # Use this to sort resources like operations so that the newest operation is
18463
- # returned first.
18464
- # Currently, only sorting by name or creationTimestamp desc is supported.
18465
- # @param [String] page_token
18466
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
18467
- # a previous list request to get the next page of results.
19695
+ # @param [String] url_map
19696
+ # Name of the UrlMap resource to return.
19697
+ # @param [String] fields
19698
+ # Selector specifying which fields to include in a partial response.
19699
+ # @param [String] quota_user
19700
+ # Available to use for quota purposes for server-side applications. Can be any
19701
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19702
+ # Overrides userIp if both are provided.
19703
+ # @param [String] user_ip
19704
+ # IP address of the site where the request originates. Use this if you want to
19705
+ # enforce per-user limits.
19706
+ # @param [Google::Apis::RequestOptions] options
19707
+ # Request-specific options
19708
+ #
19709
+ # @yield [result, err] Result & error if block supplied
19710
+ # @yieldparam result [Google::Apis::ComputeAlpha::UrlMap] parsed result object
19711
+ # @yieldparam err [StandardError] error object if request failed
19712
+ #
19713
+ # @return [Google::Apis::ComputeAlpha::UrlMap]
19714
+ #
19715
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19716
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19717
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19718
+ def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19719
+ command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options)
19720
+ command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation
19721
+ command.response_class = Google::Apis::ComputeAlpha::UrlMap
19722
+ command.params['project'] = project unless project.nil?
19723
+ command.params['region'] = region unless region.nil?
19724
+ command.params['urlMap'] = url_map unless url_map.nil?
19725
+ command.query['fields'] = fields unless fields.nil?
19726
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19727
+ command.query['userIp'] = user_ip unless user_ip.nil?
19728
+ execute_or_queue_command(command, &block)
19729
+ end
19730
+
19731
+ # Creates a UrlMap resource in the specified project using the data included in
19732
+ # the request.
19733
+ # @param [String] project
19734
+ # Project ID for this request.
19735
+ # @param [String] region
19736
+ # Name of the region scoping this request.
19737
+ # @param [Google::Apis::ComputeAlpha::UrlMap] url_map_object
19738
+ # @param [String] request_id
19739
+ # begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
18468
19740
  # @param [String] fields
18469
19741
  # Selector specifying which fields to include in a partial response.
18470
19742
  # @param [String] quota_user
@@ -18478,40 +19750,35 @@ module Google
18478
19750
  # Request-specific options
18479
19751
  #
18480
19752
  # @yield [result, err] Result & error if block supplied
18481
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupList] parsed result object
19753
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
18482
19754
  # @yieldparam err [StandardError] error object if request failed
18483
19755
  #
18484
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupList]
19756
+ # @return [Google::Apis::ComputeAlpha::Operation]
18485
19757
  #
18486
19758
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18487
19759
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18488
19760
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18489
- def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18490
- command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options)
18491
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupList::Representation
18492
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupList
19761
+ def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19762
+ command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options)
19763
+ command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation
19764
+ command.request_object = url_map_object
19765
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
19766
+ command.response_class = Google::Apis::ComputeAlpha::Operation
18493
19767
  command.params['project'] = project unless project.nil?
18494
19768
  command.params['region'] = region unless region.nil?
18495
- command.query['filter'] = filter unless filter.nil?
18496
- command.query['maxResults'] = max_results unless max_results.nil?
18497
- command.query['orderBy'] = order_by unless order_by.nil?
18498
- command.query['pageToken'] = page_token unless page_token.nil?
19769
+ command.query['requestId'] = request_id unless request_id.nil?
18499
19770
  command.query['fields'] = fields unless fields.nil?
18500
19771
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18501
19772
  command.query['userIp'] = user_ip unless user_ip.nil?
18502
19773
  execute_or_queue_command(command, &block)
18503
19774
  end
18504
19775
 
18505
- # Lists the instances in the specified instance group and displays information
18506
- # about the named ports. Depending on the specified options, this method can
18507
- # list all instances or only the instances that are running.
19776
+ # Retrieves the list of UrlMap resources available to the specified project in
19777
+ # the specified region.
18508
19778
  # @param [String] project
18509
19779
  # Project ID for this request.
18510
19780
  # @param [String] region
18511
19781
  # Name of the region scoping this request.
18512
- # @param [String] instance_group
18513
- # Name of the regional instance group for which we want to list the instances.
18514
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object
18515
19782
  # @param [String] filter
18516
19783
  # A filter expression that filters resources listed in the response. The
18517
19784
  # expression must specify the field name, a comparison operator, and the value
@@ -18559,23 +19826,20 @@ module Google
18559
19826
  # Request-specific options
18560
19827
  #
18561
19828
  # @yield [result, err] Result & error if block supplied
18562
- # @yieldparam result [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances] parsed result object
19829
+ # @yieldparam result [Google::Apis::ComputeAlpha::UrlMapList] parsed result object
18563
19830
  # @yieldparam err [StandardError] error object if request failed
18564
19831
  #
18565
- # @return [Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances]
19832
+ # @return [Google::Apis::ComputeAlpha::UrlMapList]
18566
19833
  #
18567
19834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18568
19835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18569
19836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18570
- def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18571
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options)
18572
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation
18573
- command.request_object = region_instance_groups_list_instances_request_object
18574
- command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation
18575
- command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances
19837
+ def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19838
+ command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options)
19839
+ command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation
19840
+ command.response_class = Google::Apis::ComputeAlpha::UrlMapList
18576
19841
  command.params['project'] = project unless project.nil?
18577
19842
  command.params['region'] = region unless region.nil?
18578
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
18579
19843
  command.query['filter'] = filter unless filter.nil?
18580
19844
  command.query['maxResults'] = max_results unless max_results.nil?
18581
19845
  command.query['orderBy'] = order_by unless order_by.nil?
@@ -18586,25 +19850,18 @@ module Google
18586
19850
  execute_or_queue_command(command, &block)
18587
19851
  end
18588
19852
 
18589
- # Sets the named ports for the specified regional instance group.
19853
+ # Patches the specified UrlMap resource with the data included in the request.
19854
+ # This method supports PATCH semantics and uses JSON merge patch format and
19855
+ # processing rules.
18590
19856
  # @param [String] project
18591
19857
  # Project ID for this request.
18592
19858
  # @param [String] region
18593
19859
  # Name of the region scoping this request.
18594
- # @param [String] instance_group
18595
- # The name of the regional instance group where the named ports are updated.
18596
- # @param [Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object
19860
+ # @param [String] url_map
19861
+ # Name of the UrlMap resource to patch.
19862
+ # @param [Google::Apis::ComputeAlpha::UrlMap] url_map_object
18597
19863
  # @param [String] request_id
18598
- # An optional request ID to identify requests. Specify a unique request ID so
18599
- # that if you must retry your request, the server will know to ignore the
18600
- # request if it has already been completed.
18601
- # For example, consider a situation where you make an initial request and the
18602
- # request times out. If you make the request again with the same request ID, the
18603
- # server can check if original operation with the same request ID was received,
18604
- # and if so, will ignore the second request. This prevents clients from
18605
- # accidentally creating duplicate commitments.
18606
- # The request ID must be a valid UUID with the exception that zero UUID is not
18607
- # supported (00000000-0000-0000-0000-000000000000).
19864
+ # begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
18608
19865
  # @param [String] fields
18609
19866
  # Selector specifying which fields to include in a partial response.
18610
19867
  # @param [String] quota_user
@@ -18626,15 +19883,15 @@ module Google
18626
19883
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18627
19884
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18628
19885
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18629
- def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18630
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options)
18631
- command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation
18632
- command.request_object = region_instance_groups_set_named_ports_request_object
19886
+ def patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19887
+ command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options)
19888
+ command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation
19889
+ command.request_object = url_map_object
18633
19890
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18634
19891
  command.response_class = Google::Apis::ComputeAlpha::Operation
18635
19892
  command.params['project'] = project unless project.nil?
18636
19893
  command.params['region'] = region unless region.nil?
18637
- command.params['instanceGroup'] = instance_group unless instance_group.nil?
19894
+ command.params['urlMap'] = url_map unless url_map.nil?
18638
19895
  command.query['requestId'] = request_id unless request_id.nil?
18639
19896
  command.query['fields'] = fields unless fields.nil?
18640
19897
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -18671,8 +19928,8 @@ module Google
18671
19928
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18672
19929
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18673
19930
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18674
- def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18675
- command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options)
19931
+ def test_region_url_map_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19932
+ command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{resource}/testIamPermissions', options)
18676
19933
  command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
18677
19934
  command.request_object = test_permissions_request_object
18678
19935
  command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
@@ -18686,52 +19943,16 @@ module Google
18686
19943
  execute_or_queue_command(command, &block)
18687
19944
  end
18688
19945
 
18689
- # Deletes the specified region-specific Operations resource.
18690
- # @param [String] project
18691
- # Project ID for this request.
18692
- # @param [String] region
18693
- # Name of the region for this request.
18694
- # @param [String] operation
18695
- # Name of the Operations resource to delete.
18696
- # @param [String] fields
18697
- # Selector specifying which fields to include in a partial response.
18698
- # @param [String] quota_user
18699
- # Available to use for quota purposes for server-side applications. Can be any
18700
- # arbitrary string assigned to a user, but should not exceed 40 characters.
18701
- # Overrides userIp if both are provided.
18702
- # @param [String] user_ip
18703
- # IP address of the site where the request originates. Use this if you want to
18704
- # enforce per-user limits.
18705
- # @param [Google::Apis::RequestOptions] options
18706
- # Request-specific options
18707
- #
18708
- # @yield [result, err] Result & error if block supplied
18709
- # @yieldparam result [NilClass] No result returned for this method
18710
- # @yieldparam err [StandardError] error object if request failed
18711
- #
18712
- # @return [void]
18713
- #
18714
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18715
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18716
- # @raise [Google::Apis::AuthorizationError] Authorization is required
18717
- def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18718
- command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options)
18719
- command.params['project'] = project unless project.nil?
18720
- command.params['region'] = region unless region.nil?
18721
- command.params['operation'] = operation unless operation.nil?
18722
- command.query['fields'] = fields unless fields.nil?
18723
- command.query['quotaUser'] = quota_user unless quota_user.nil?
18724
- command.query['userIp'] = user_ip unless user_ip.nil?
18725
- execute_or_queue_command(command, &block)
18726
- end
18727
-
18728
- # Retrieves the specified region-specific Operations resource.
19946
+ # Updates the specified UrlMap resource with the data included in the request.
18729
19947
  # @param [String] project
18730
19948
  # Project ID for this request.
18731
19949
  # @param [String] region
18732
- # Name of the region for this request.
18733
- # @param [String] operation
18734
- # Name of the Operations resource to return.
19950
+ # Name of the region scoping this request.
19951
+ # @param [String] url_map
19952
+ # Name of the UrlMap resource to update.
19953
+ # @param [Google::Apis::ComputeAlpha::UrlMap] url_map_object
19954
+ # @param [String] request_id
19955
+ # begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
18735
19956
  # @param [String] fields
18736
19957
  # Selector specifying which fields to include in a partial response.
18737
19958
  # @param [String] quota_user
@@ -18753,58 +19974,31 @@ module Google
18753
19974
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18754
19975
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18755
19976
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18756
- def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18757
- command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options)
19977
+ def update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19978
+ command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options)
19979
+ command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation
19980
+ command.request_object = url_map_object
18758
19981
  command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
18759
19982
  command.response_class = Google::Apis::ComputeAlpha::Operation
18760
19983
  command.params['project'] = project unless project.nil?
18761
19984
  command.params['region'] = region unless region.nil?
18762
- command.params['operation'] = operation unless operation.nil?
19985
+ command.params['urlMap'] = url_map unless url_map.nil?
19986
+ command.query['requestId'] = request_id unless request_id.nil?
18763
19987
  command.query['fields'] = fields unless fields.nil?
18764
19988
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18765
19989
  command.query['userIp'] = user_ip unless user_ip.nil?
18766
19990
  execute_or_queue_command(command, &block)
18767
19991
  end
18768
19992
 
18769
- # Retrieves a list of Operation resources contained within the specified region.
19993
+ # Runs static validation for the UrlMap. In particular, the tests of the
19994
+ # provided UrlMap will be run. Calling this method does NOT create the UrlMap.
18770
19995
  # @param [String] project
18771
19996
  # Project ID for this request.
18772
19997
  # @param [String] region
18773
- # Name of the region for this request.
18774
- # @param [String] filter
18775
- # A filter expression that filters resources listed in the response. The
18776
- # expression must specify the field name, a comparison operator, and the value
18777
- # that you want to use for filtering. The value must be a string, a number, or a
18778
- # boolean. The comparison operator must be either =, !=, >, or <.
18779
- # For example, if you are filtering Compute Engine instances, you can exclude
18780
- # instances named example-instance by specifying name != example-instance.
18781
- # You can also filter nested fields. For example, you could specify scheduling.
18782
- # automaticRestart = false to include instances only if they are not scheduled
18783
- # for automatic restarts. You can use filtering on nested fields to filter based
18784
- # on resource labels.
18785
- # To filter on multiple expressions, provide each separate expression within
18786
- # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
18787
- # Intel Skylake"). By default, each expression is an AND expression. However,
18788
- # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
18789
- # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
18790
- # automaticRestart = true).
18791
- # @param [Fixnum] max_results
18792
- # The maximum number of results per page that should be returned. If the number
18793
- # of available results is larger than maxResults, Compute Engine returns a
18794
- # nextPageToken that can be used to get the next page of results in subsequent
18795
- # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
18796
- # @param [String] order_by
18797
- # Sorts list results by a certain order. By default, results are returned in
18798
- # alphanumerical order based on the resource name.
18799
- # You can also sort results in descending order based on the creation timestamp
18800
- # using orderBy="creationTimestamp desc". This sorts results based on the
18801
- # creationTimestamp field in reverse chronological order (newest result first).
18802
- # Use this to sort resources like operations so that the newest operation is
18803
- # returned first.
18804
- # Currently, only sorting by name or creationTimestamp desc is supported.
18805
- # @param [String] page_token
18806
- # Specifies a page token to use. Set pageToken to the nextPageToken returned by
18807
- # a previous list request to get the next page of results.
19998
+ # Name of the region scoping this request.
19999
+ # @param [String] url_map
20000
+ # Name of the UrlMap resource to be validated as.
20001
+ # @param [Google::Apis::ComputeAlpha::RegionUrlMapsValidateRequest] region_url_maps_validate_request_object
18808
20002
  # @param [String] fields
18809
20003
  # Selector specifying which fields to include in a partial response.
18810
20004
  # @param [String] quota_user
@@ -18818,24 +20012,23 @@ module Google
18818
20012
  # Request-specific options
18819
20013
  #
18820
20014
  # @yield [result, err] Result & error if block supplied
18821
- # @yieldparam result [Google::Apis::ComputeAlpha::OperationList] parsed result object
20015
+ # @yieldparam result [Google::Apis::ComputeAlpha::UrlMapsValidateResponse] parsed result object
18822
20016
  # @yieldparam err [StandardError] error object if request failed
18823
20017
  #
18824
- # @return [Google::Apis::ComputeAlpha::OperationList]
20018
+ # @return [Google::Apis::ComputeAlpha::UrlMapsValidateResponse]
18825
20019
  #
18826
20020
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18827
20021
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18828
20022
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18829
- def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
18830
- command = make_simple_command(:get, '{project}/regions/{region}/operations', options)
18831
- command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation
18832
- command.response_class = Google::Apis::ComputeAlpha::OperationList
20023
+ def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
20024
+ command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options)
20025
+ command.request_representation = Google::Apis::ComputeAlpha::RegionUrlMapsValidateRequest::Representation
20026
+ command.request_object = region_url_maps_validate_request_object
20027
+ command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation
20028
+ command.response_class = Google::Apis::ComputeAlpha::UrlMapsValidateResponse
18833
20029
  command.params['project'] = project unless project.nil?
18834
20030
  command.params['region'] = region unless region.nil?
18835
- command.query['filter'] = filter unless filter.nil?
18836
- command.query['maxResults'] = max_results unless max_results.nil?
18837
- command.query['orderBy'] = order_by unless order_by.nil?
18838
- command.query['pageToken'] = page_token unless page_token.nil?
20031
+ command.params['urlMap'] = url_map unless url_map.nil?
18839
20032
  command.query['fields'] = fields unless fields.nil?
18840
20033
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18841
20034
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -21673,9 +22866,9 @@ module Google
21673
22866
 
21674
22867
  # Patches the specified subnetwork with the data included in the request. Only
21675
22868
  # the following fields within the subnetwork resource can be specified in the
21676
- # request: secondary_ip_range and allow_subnet_cidr_routes_overlap. It is also
21677
- # mandatory to specify the current fingeprint of the subnetwork resource being
21678
- # patched.
22869
+ # request: secondary_ip_range, allow_subnet_cidr_routes_overlap and role. It is
22870
+ # also mandatory to specify the current fingeprint of the subnetwork resource
22871
+ # being patched.
21679
22872
  # @param [String] project
21680
22873
  # Project ID for this request.
21681
22874
  # @param [String] region
@@ -21877,6 +23070,80 @@ module Google
21877
23070
  execute_or_queue_command(command, &block)
21878
23071
  end
21879
23072
 
23073
+ # Retrieves the list of all TargetHttpProxy resources, regional and global,
23074
+ # available to the specified project.
23075
+ # @param [String] project
23076
+ # Name of the project scoping this request.
23077
+ # @param [String] filter
23078
+ # A filter expression that filters resources listed in the response. The
23079
+ # expression must specify the field name, a comparison operator, and the value
23080
+ # that you want to use for filtering. The value must be a string, a number, or a
23081
+ # boolean. The comparison operator must be either =, !=, >, or <.
23082
+ # For example, if you are filtering Compute Engine instances, you can exclude
23083
+ # instances named example-instance by specifying name != example-instance.
23084
+ # You can also filter nested fields. For example, you could specify scheduling.
23085
+ # automaticRestart = false to include instances only if they are not scheduled
23086
+ # for automatic restarts. You can use filtering on nested fields to filter based
23087
+ # on resource labels.
23088
+ # To filter on multiple expressions, provide each separate expression within
23089
+ # parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
23090
+ # Intel Skylake"). By default, each expression is an AND expression. However,
23091
+ # you can include AND and OR expressions explicitly. For example, (cpuPlatform =
23092
+ # "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
23093
+ # automaticRestart = true).
23094
+ # @param [Fixnum] max_results
23095
+ # The maximum number of results per page that should be returned. If the number
23096
+ # of available results is larger than maxResults, Compute Engine returns a
23097
+ # nextPageToken that can be used to get the next page of results in subsequent
23098
+ # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
23099
+ # @param [String] order_by
23100
+ # Sorts list results by a certain order. By default, results are returned in
23101
+ # alphanumerical order based on the resource name.
23102
+ # You can also sort results in descending order based on the creation timestamp
23103
+ # using orderBy="creationTimestamp desc". This sorts results based on the
23104
+ # creationTimestamp field in reverse chronological order (newest result first).
23105
+ # Use this to sort resources like operations so that the newest operation is
23106
+ # returned first.
23107
+ # Currently, only sorting by name or creationTimestamp desc is supported.
23108
+ # @param [String] page_token
23109
+ # Specifies a page token to use. Set pageToken to the nextPageToken returned by
23110
+ # a previous list request to get the next page of results.
23111
+ # @param [String] fields
23112
+ # Selector specifying which fields to include in a partial response.
23113
+ # @param [String] quota_user
23114
+ # Available to use for quota purposes for server-side applications. Can be any
23115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23116
+ # Overrides userIp if both are provided.
23117
+ # @param [String] user_ip
23118
+ # IP address of the site where the request originates. Use this if you want to
23119
+ # enforce per-user limits.
23120
+ # @param [Google::Apis::RequestOptions] options
23121
+ # Request-specific options
23122
+ #
23123
+ # @yield [result, err] Result & error if block supplied
23124
+ # @yieldparam result [Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList] parsed result object
23125
+ # @yieldparam err [StandardError] error object if request failed
23126
+ #
23127
+ # @return [Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList]
23128
+ #
23129
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23130
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23131
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23132
+ def aggregated_target_http_proxy_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23133
+ command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options)
23134
+ command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Representation
23135
+ command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList
23136
+ command.params['project'] = project unless project.nil?
23137
+ command.query['filter'] = filter unless filter.nil?
23138
+ command.query['maxResults'] = max_results unless max_results.nil?
23139
+ command.query['orderBy'] = order_by unless order_by.nil?
23140
+ command.query['pageToken'] = page_token unless page_token.nil?
23141
+ command.query['fields'] = fields unless fields.nil?
23142
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23143
+ command.query['userIp'] = user_ip unless user_ip.nil?
23144
+ execute_or_queue_command(command, &block)
23145
+ end
23146
+
21880
23147
  # Deletes the specified TargetHttpProxy resource.
21881
23148
  # @param [String] project
21882
23149
  # Project ID for this request.