google-apis-compute_beta 0.79.0 → 0.81.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.79.0"
19
+ GEM_VERSION = "0.81.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230829"
25
+ REVISION = "20230920"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,24 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class AllocationAggregateReservation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class AllocationAggregateReservationReservedResourceInfo
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class AllocationResourceStatus
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -478,6 +496,24 @@ module Google
478
496
  include Google::Apis::Core::JsonObjectSupport
479
497
  end
480
498
 
499
+ class BackendServiceListUsable
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ class Warning
503
+ class Representation < Google::Apis::Core::JsonRepresentation; end
504
+
505
+ class Datum
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ include Google::Apis::Core::JsonObjectSupport
512
+ end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
481
517
  class BackendServiceLocalityLoadBalancingPolicyConfig
482
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
519
 
@@ -508,6 +544,12 @@ module Google
508
544
  include Google::Apis::Core::JsonObjectSupport
509
545
  end
510
546
 
547
+ class BackendServiceUsedBy
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
511
553
  class BackendServicesScopedList
512
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
555
 
@@ -1876,6 +1918,12 @@ module Google
1876
1918
  include Google::Apis::Core::JsonObjectSupport
1877
1919
  end
1878
1920
 
1921
+ class InstanceGroupManagerStandbyPolicy
1922
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1923
+
1924
+ include Google::Apis::Core::JsonObjectSupport
1925
+ end
1926
+
1879
1927
  class InstanceGroupManagerStatus
1880
1928
  class Representation < Google::Apis::Core::JsonRepresentation; end
1881
1929
 
@@ -1996,6 +2044,12 @@ module Google
1996
2044
  include Google::Apis::Core::JsonObjectSupport
1997
2045
  end
1998
2046
 
2047
+ class InstanceGroupManagersResumeInstancesRequest
2048
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2049
+
2050
+ include Google::Apis::Core::JsonObjectSupport
2051
+ end
2052
+
1999
2053
  class InstanceGroupManagersScopedList
2000
2054
  class Representation < Google::Apis::Core::JsonRepresentation; end
2001
2055
 
@@ -2032,6 +2086,24 @@ module Google
2032
2086
  include Google::Apis::Core::JsonObjectSupport
2033
2087
  end
2034
2088
 
2089
+ class InstanceGroupManagersStartInstancesRequest
2090
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2091
+
2092
+ include Google::Apis::Core::JsonObjectSupport
2093
+ end
2094
+
2095
+ class InstanceGroupManagersStopInstancesRequest
2096
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2097
+
2098
+ include Google::Apis::Core::JsonObjectSupport
2099
+ end
2100
+
2101
+ class InstanceGroupManagersSuspendInstancesRequest
2102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2103
+
2104
+ include Google::Apis::Core::JsonObjectSupport
2105
+ end
2106
+
2035
2107
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
2036
2108
  class Representation < Google::Apis::Core::JsonRepresentation; end
2037
2109
 
@@ -2914,6 +2986,12 @@ module Google
2914
2986
  include Google::Apis::Core::JsonObjectSupport
2915
2987
  end
2916
2988
 
2989
+ class ManagedInstanceInstanceFlexibilityOverride
2990
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2991
+
2992
+ include Google::Apis::Core::JsonObjectSupport
2993
+ end
2994
+
2917
2995
  class ManagedInstanceInstanceHealth
2918
2996
  class Representation < Google::Apis::Core::JsonRepresentation; end
2919
2997
 
@@ -3430,6 +3508,12 @@ module Google
3430
3508
  include Google::Apis::Core::JsonObjectSupport
3431
3509
  end
3432
3510
 
3511
+ class NodeGroupsPerformMaintenanceRequest
3512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3513
+
3514
+ include Google::Apis::Core::JsonObjectSupport
3515
+ end
3516
+
3433
3517
  class NodeGroupsScopedList
3434
3518
  class Representation < Google::Apis::Core::JsonRepresentation; end
3435
3519
 
@@ -4228,6 +4312,12 @@ module Google
4228
4312
  include Google::Apis::Core::JsonObjectSupport
4229
4313
  end
4230
4314
 
4315
+ class RegionInstanceGroupManagersResumeInstancesRequest
4316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4317
+
4318
+ include Google::Apis::Core::JsonObjectSupport
4319
+ end
4320
+
4231
4321
  class RegionInstanceGroupManagersSetAutoHealingRequest
4232
4322
  class Representation < Google::Apis::Core::JsonRepresentation; end
4233
4323
 
@@ -4246,6 +4336,24 @@ module Google
4246
4336
  include Google::Apis::Core::JsonObjectSupport
4247
4337
  end
4248
4338
 
4339
+ class RegionInstanceGroupManagersStartInstancesRequest
4340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4341
+
4342
+ include Google::Apis::Core::JsonObjectSupport
4343
+ end
4344
+
4345
+ class RegionInstanceGroupManagersStopInstancesRequest
4346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4347
+
4348
+ include Google::Apis::Core::JsonObjectSupport
4349
+ end
4350
+
4351
+ class RegionInstanceGroupManagersSuspendInstancesRequest
4352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4353
+
4354
+ include Google::Apis::Core::JsonObjectSupport
4355
+ end
4356
+
4249
4357
  class RegionInstanceGroupsListInstances
4250
4358
  class Representation < Google::Apis::Core::JsonRepresentation; end
4251
4359
 
@@ -6142,6 +6250,12 @@ module Google
6142
6250
  include Google::Apis::Core::JsonObjectSupport
6143
6251
  end
6144
6252
 
6253
+ class UpcomingMaintenance
6254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6255
+
6256
+ include Google::Apis::Core::JsonObjectSupport
6257
+ end
6258
+
6145
6259
  class UrlMap
6146
6260
  class Representation < Google::Apis::Core::JsonRepresentation; end
6147
6261
 
@@ -6830,6 +6944,34 @@ module Google
6830
6944
  end
6831
6945
  end
6832
6946
 
6947
+ class AllocationAggregateReservation
6948
+ # @private
6949
+ class Representation < Google::Apis::Core::JsonRepresentation
6950
+ collection :in_use_resources, as: 'inUseResources', class: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfo::Representation
6951
+
6952
+ collection :reserved_resources, as: 'reservedResources', class: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfo, decorator: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfo::Representation
6953
+
6954
+ property :vm_family, as: 'vmFamily'
6955
+ property :workload_type, as: 'workloadType'
6956
+ end
6957
+ end
6958
+
6959
+ class AllocationAggregateReservationReservedResourceInfo
6960
+ # @private
6961
+ class Representation < Google::Apis::Core::JsonRepresentation
6962
+ property :accelerator, as: 'accelerator', class: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfoAccelerator, decorator: Google::Apis::ComputeBeta::AllocationAggregateReservationReservedResourceInfoAccelerator::Representation
6963
+
6964
+ end
6965
+ end
6966
+
6967
+ class AllocationAggregateReservationReservedResourceInfoAccelerator
6968
+ # @private
6969
+ class Representation < Google::Apis::Core::JsonRepresentation
6970
+ property :accelerator_count, as: 'acceleratorCount'
6971
+ property :accelerator_type, as: 'acceleratorType'
6972
+ end
6973
+ end
6974
+
6833
6975
  class AllocationResourceStatus
6834
6976
  # @private
6835
6977
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7340,6 +7482,8 @@ module Google
7340
7482
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeBeta::Subsetting, decorator: Google::Apis::ComputeBeta::Subsetting::Representation
7341
7483
 
7342
7484
  property :timeout_sec, as: 'timeoutSec'
7485
+ collection :used_by, as: 'usedBy', class: Google::Apis::ComputeBeta::BackendServiceUsedBy, decorator: Google::Apis::ComputeBeta::BackendServiceUsedBy::Representation
7486
+
7343
7487
  end
7344
7488
  end
7345
7489
 
@@ -7483,6 +7627,38 @@ module Google
7483
7627
  end
7484
7628
  end
7485
7629
 
7630
+ class BackendServiceListUsable
7631
+ # @private
7632
+ class Representation < Google::Apis::Core::JsonRepresentation
7633
+ property :id, as: 'id'
7634
+ collection :items, as: 'items', class: Google::Apis::ComputeBeta::BackendService, decorator: Google::Apis::ComputeBeta::BackendService::Representation
7635
+
7636
+ property :kind, as: 'kind'
7637
+ property :next_page_token, as: 'nextPageToken'
7638
+ property :self_link, as: 'selfLink'
7639
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendServiceListUsable::Warning, decorator: Google::Apis::ComputeBeta::BackendServiceListUsable::Warning::Representation
7640
+
7641
+ end
7642
+
7643
+ class Warning
7644
+ # @private
7645
+ class Representation < Google::Apis::Core::JsonRepresentation
7646
+ property :code, as: 'code'
7647
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::BackendServiceListUsable::Warning::Datum, decorator: Google::Apis::ComputeBeta::BackendServiceListUsable::Warning::Datum::Representation
7648
+
7649
+ property :message, as: 'message'
7650
+ end
7651
+
7652
+ class Datum
7653
+ # @private
7654
+ class Representation < Google::Apis::Core::JsonRepresentation
7655
+ property :key, as: 'key'
7656
+ property :value, as: 'value'
7657
+ end
7658
+ end
7659
+ end
7660
+ end
7661
+
7486
7662
  class BackendServiceLocalityLoadBalancingPolicyConfig
7487
7663
  # @private
7488
7664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7525,6 +7701,13 @@ module Google
7525
7701
  end
7526
7702
  end
7527
7703
 
7704
+ class BackendServiceUsedBy
7705
+ # @private
7706
+ class Representation < Google::Apis::Core::JsonRepresentation
7707
+ property :reference, as: 'reference'
7708
+ end
7709
+ end
7710
+
7528
7711
  class BackendServicesScopedList
7529
7712
  # @private
7530
7713
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10045,12 +10228,16 @@ module Google
10045
10228
  property :region, as: 'region'
10046
10229
  property :self_link, as: 'selfLink'
10047
10230
  property :service_account, as: 'serviceAccount'
10231
+ property :standby_policy, as: 'standbyPolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStandbyPolicy::Representation
10232
+
10048
10233
  property :stateful_policy, as: 'statefulPolicy', class: Google::Apis::ComputeBeta::StatefulPolicy, decorator: Google::Apis::ComputeBeta::StatefulPolicy::Representation
10049
10234
 
10050
10235
  property :status, as: 'status', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatus::Representation
10051
10236
 
10052
10237
  collection :target_pools, as: 'targetPools'
10053
10238
  property :target_size, as: 'targetSize'
10239
+ property :target_stopped_size, as: 'targetStoppedSize'
10240
+ property :target_suspended_size, as: 'targetSuspendedSize'
10054
10241
  property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy::Representation
10055
10242
 
10056
10243
  collection :versions, as: 'versions', class: Google::Apis::ComputeBeta::InstanceGroupManagerVersion, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerVersion::Representation
@@ -10274,6 +10461,14 @@ module Google
10274
10461
  end
10275
10462
  end
10276
10463
 
10464
+ class InstanceGroupManagerStandbyPolicy
10465
+ # @private
10466
+ class Representation < Google::Apis::Core::JsonRepresentation
10467
+ property :initial_delay_sec, as: 'initialDelaySec'
10468
+ property :mode, as: 'mode'
10469
+ end
10470
+ end
10471
+
10277
10472
  class InstanceGroupManagerStatus
10278
10473
  # @private
10279
10474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10456,6 +10651,13 @@ module Google
10456
10651
  end
10457
10652
  end
10458
10653
 
10654
+ class InstanceGroupManagersResumeInstancesRequest
10655
+ # @private
10656
+ class Representation < Google::Apis::Core::JsonRepresentation
10657
+ collection :instances, as: 'instances'
10658
+ end
10659
+ end
10660
+
10459
10661
  class InstanceGroupManagersScopedList
10460
10662
  # @private
10461
10663
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10507,6 +10709,29 @@ module Google
10507
10709
  end
10508
10710
  end
10509
10711
 
10712
+ class InstanceGroupManagersStartInstancesRequest
10713
+ # @private
10714
+ class Representation < Google::Apis::Core::JsonRepresentation
10715
+ collection :instances, as: 'instances'
10716
+ end
10717
+ end
10718
+
10719
+ class InstanceGroupManagersStopInstancesRequest
10720
+ # @private
10721
+ class Representation < Google::Apis::Core::JsonRepresentation
10722
+ property :force_stop, as: 'forceStop'
10723
+ collection :instances, as: 'instances'
10724
+ end
10725
+ end
10726
+
10727
+ class InstanceGroupManagersSuspendInstancesRequest
10728
+ # @private
10729
+ class Representation < Google::Apis::Core::JsonRepresentation
10730
+ property :force_suspend, as: 'forceSuspend'
10731
+ collection :instances, as: 'instances'
10732
+ end
10733
+ end
10734
+
10510
10735
  class InstanceGroupManagersUpdatePerInstanceConfigsReq
10511
10736
  # @private
10512
10737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12109,6 +12334,8 @@ module Google
12109
12334
  property :current_action, as: 'currentAction'
12110
12335
  property :id, :numeric_string => true, as: 'id'
12111
12336
  property :instance, as: 'instance'
12337
+ property :instance_flexibility_override, as: 'instanceFlexibilityOverride', class: Google::Apis::ComputeBeta::ManagedInstanceInstanceFlexibilityOverride, decorator: Google::Apis::ComputeBeta::ManagedInstanceInstanceFlexibilityOverride::Representation
12338
+
12112
12339
  collection :instance_health, as: 'instanceHealth', class: Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth, decorator: Google::Apis::ComputeBeta::ManagedInstanceInstanceHealth::Representation
12113
12340
 
12114
12341
  property :instance_status, as: 'instanceStatus'
@@ -12131,6 +12358,13 @@ module Google
12131
12358
  end
12132
12359
  end
12133
12360
 
12361
+ class ManagedInstanceInstanceFlexibilityOverride
12362
+ # @private
12363
+ class Representation < Google::Apis::Core::JsonRepresentation
12364
+ property :machine_type, as: 'machineType'
12365
+ end
12366
+ end
12367
+
12134
12368
  class ManagedInstanceInstanceHealth
12135
12369
  # @private
12136
12370
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12912,6 +13146,7 @@ module Google
12912
13146
  property :id, :numeric_string => true, as: 'id'
12913
13147
  property :kind, as: 'kind'
12914
13148
  property :location_hint, as: 'locationHint'
13149
+ property :maintenance_interval, as: 'maintenanceInterval'
12915
13150
  property :maintenance_policy, as: 'maintenancePolicy'
12916
13151
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeBeta::NodeGroupMaintenanceWindow, decorator: Google::Apis::ComputeBeta::NodeGroupMaintenanceWindow::Representation
12917
13152
 
@@ -13031,6 +13266,8 @@ module Google
13031
13266
  property :status, as: 'status'
13032
13267
  property :total_resources, as: 'totalResources', class: Google::Apis::ComputeBeta::InstanceConsumptionInfo, decorator: Google::Apis::ComputeBeta::InstanceConsumptionInfo::Representation
13033
13268
 
13269
+ property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeBeta::UpcomingMaintenance, decorator: Google::Apis::ComputeBeta::UpcomingMaintenance::Representation
13270
+
13034
13271
  end
13035
13272
  end
13036
13273
 
@@ -13080,6 +13317,14 @@ module Google
13080
13317
  end
13081
13318
  end
13082
13319
 
13320
+ class NodeGroupsPerformMaintenanceRequest
13321
+ # @private
13322
+ class Representation < Google::Apis::Core::JsonRepresentation
13323
+ collection :nodes, as: 'nodes'
13324
+ property :start_time, as: 'startTime'
13325
+ end
13326
+ end
13327
+
13083
13328
  class NodeGroupsScopedList
13084
13329
  # @private
13085
13330
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14516,6 +14761,13 @@ module Google
14516
14761
  end
14517
14762
  end
14518
14763
 
14764
+ class RegionInstanceGroupManagersResumeInstancesRequest
14765
+ # @private
14766
+ class Representation < Google::Apis::Core::JsonRepresentation
14767
+ collection :instances, as: 'instances'
14768
+ end
14769
+ end
14770
+
14519
14771
  class RegionInstanceGroupManagersSetAutoHealingRequest
14520
14772
  # @private
14521
14773
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14539,6 +14791,29 @@ module Google
14539
14791
  end
14540
14792
  end
14541
14793
 
14794
+ class RegionInstanceGroupManagersStartInstancesRequest
14795
+ # @private
14796
+ class Representation < Google::Apis::Core::JsonRepresentation
14797
+ collection :instances, as: 'instances'
14798
+ end
14799
+ end
14800
+
14801
+ class RegionInstanceGroupManagersStopInstancesRequest
14802
+ # @private
14803
+ class Representation < Google::Apis::Core::JsonRepresentation
14804
+ property :force_stop, as: 'forceStop'
14805
+ collection :instances, as: 'instances'
14806
+ end
14807
+ end
14808
+
14809
+ class RegionInstanceGroupManagersSuspendInstancesRequest
14810
+ # @private
14811
+ class Representation < Google::Apis::Core::JsonRepresentation
14812
+ property :force_suspend, as: 'forceSuspend'
14813
+ collection :instances, as: 'instances'
14814
+ end
14815
+ end
14816
+
14542
14817
  class RegionInstanceGroupsListInstances
14543
14818
  # @private
14544
14819
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14701,6 +14976,8 @@ module Google
14701
14976
  class Reservation
14702
14977
  # @private
14703
14978
  class Representation < Google::Apis::Core::JsonRepresentation
14979
+ property :aggregate_reservation, as: 'aggregateReservation', class: Google::Apis::ComputeBeta::AllocationAggregateReservation, decorator: Google::Apis::ComputeBeta::AllocationAggregateReservation::Representation
14980
+
14704
14981
  property :commitment, as: 'commitment'
14705
14982
  property :creation_timestamp, as: 'creationTimestamp'
14706
14983
  property :delete_after_duration, as: 'deleteAfterDuration', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
@@ -17992,6 +18269,18 @@ module Google
17992
18269
  end
17993
18270
  end
17994
18271
 
18272
+ class UpcomingMaintenance
18273
+ # @private
18274
+ class Representation < Google::Apis::Core::JsonRepresentation
18275
+ property :can_reschedule, as: 'canReschedule'
18276
+ property :latest_window_start_time, as: 'latestWindowStartTime'
18277
+ property :maintenance_status, as: 'maintenanceStatus'
18278
+ property :type, as: 'type'
18279
+ property :window_end_time, as: 'windowEndTime'
18280
+ property :window_start_time, as: 'windowStartTime'
18281
+ end
18282
+ end
18283
+
17995
18284
  class UrlMap
17996
18285
  # @private
17997
18286
  class Representation < Google::Apis::Core::JsonRepresentation