google-apis-compute_alpha 0.145.0 → 0.146.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37127df0e3abe812a75e37775f3329ec0aa288ac609ef142c18d7491b1707138
4
- data.tar.gz: 9ba5bf3bacc63b0d2fa4db9a9b67782aee4370c68ebc1e274552bc56ef2b7616
3
+ metadata.gz: 06fce94c12f3452e4933f1c6cab30c9155444ab393648c1738f3b50de5e6644a
4
+ data.tar.gz: 660c722344a6c7089a004f1d75f72a2155f6d88247af8381d29a63f12581d8af
5
5
  SHA512:
6
- metadata.gz: 60bdd5ad985bb4702d200fc01eecbf611c0c33b9f7b6285afd0d9eca21913a9b5be30faed6312eb7689e659a6570923ca88f48fdb320d395d67b9c93e4967f3f
7
- data.tar.gz: 761877f2c2934cec1f8c11e3112ebe4b411ba72daca710451be0ba43b48b8ee09de1f5dd989e823088696fd43f27c1616729d0b3b3813c2a90359973d1cbba86
6
+ metadata.gz: 4610d98b466f0addd2033cc4161f5a191920c6bf532e0856519e47e68147dc3681a29616dc8dcebc268f33b0e4606a7273e3478b44847bd7f520e4b8f8da72b6
7
+ data.tar.gz: 7ee7bf64fdb09f6251e60c2271a9e8ca8f7f53cb5b1a7be8bf328a1396a03924f7890529e209cf3e65ed64ace6abb8b13039b136d74e69dc3c2d2991e6885592
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.146.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260910
6
+
3
7
  ### v0.145.0 (2026-09-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20260828
@@ -8975,6 +8975,13 @@ module Google
8975
8975
  # @return [Array<String>]
8976
8976
  attr_accessor :machine_types
8977
8977
 
8978
+ # Optional. Rank when prioritizing the shape flexibilities.
8979
+ # The instance selections are considered in the ascending order of the
8980
+ # rank. If not set, defaults to 0.
8981
+ # Corresponds to the JSON property `rank`
8982
+ # @return [Fixnum]
8983
+ attr_accessor :rank
8984
+
8978
8985
  def initialize(**args)
8979
8986
  update!(**args)
8980
8987
  end
@@ -8984,6 +8991,7 @@ module Google
8984
8991
  @disks = args[:disks] if args.key?(:disks)
8985
8992
  @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
8986
8993
  @machine_types = args[:machine_types] if args.key?(:machine_types)
8994
+ @rank = args[:rank] if args.key?(:rank)
8987
8995
  end
8988
8996
  end
8989
8997
 
@@ -9224,6 +9232,16 @@ module Google
9224
9232
  class CapacityHistoryRequestInstanceProperties
9225
9233
  include Google::Apis::Core::Hashable
9226
9234
 
9235
+ # Local SSDs.
9236
+ # Corresponds to the JSON property `disks`
9237
+ # @return [Array<Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesAttachedDisk>]
9238
+ attr_accessor :disks
9239
+
9240
+ # Accelerators configuration.
9241
+ # Corresponds to the JSON property `guestAccelerators`
9242
+ # @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
9243
+ attr_accessor :guest_accelerators
9244
+
9227
9245
  # The machine type for the VM, such as `n2-standard-4`.
9228
9246
  # Corresponds to the JSON property `machineType`
9229
9247
  # @return [String]
@@ -9240,11 +9258,32 @@ module Google
9240
9258
 
9241
9259
  # Update properties of this object
9242
9260
  def update!(**args)
9261
+ @disks = args[:disks] if args.key?(:disks)
9262
+ @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
9243
9263
  @machine_type = args[:machine_type] if args.key?(:machine_type)
9244
9264
  @scheduling = args[:scheduling] if args.key?(:scheduling)
9245
9265
  end
9246
9266
  end
9247
9267
 
9268
+ # AttachedDisk modeled after Instance's AttachedDisk.
9269
+ class CapacityHistoryRequestInstancePropertiesAttachedDisk
9270
+ include Google::Apis::Core::Hashable
9271
+
9272
+ # Specifies the type of the disk.
9273
+ # Corresponds to the JSON property `type`
9274
+ # @return [String]
9275
+ attr_accessor :type
9276
+
9277
+ def initialize(**args)
9278
+ update!(**args)
9279
+ end
9280
+
9281
+ # Update properties of this object
9282
+ def update!(**args)
9283
+ @type = args[:type] if args.key?(:type)
9284
+ end
9285
+ end
9286
+
9248
9287
  # Scheduling options.
9249
9288
  class CapacityHistoryRequestInstancePropertiesScheduling
9250
9289
  include Google::Apis::Core::Hashable
@@ -9746,7 +9785,8 @@ module Google
9746
9785
  # GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2,
9747
9786
  # GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED,
9748
9787
  # GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED,
9749
- # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
9788
+ # MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3,
9789
+ # STORAGE_OPTIMIZED_Z4DS, STORAGE_OPTIMIZED_Z4DH,STORAGE_OPTIMIZED_Z4D4T. For
9750
9790
  # example, type MEMORY_OPTIMIZED specifies a commitment that
9751
9791
  # applies only to eligible resources of memory optimized M1 and M2 machine
9752
9792
  # series. Type GENERAL_PURPOSE specifies a commitment that
@@ -14145,6 +14185,11 @@ module Google
14145
14185
  class DistributionPolicyZoneConfiguration
14146
14186
  include Google::Apis::Core::Hashable
14147
14187
 
14188
+ # Encapsulates numeric value that can be either absolute or relative.
14189
+ # Corresponds to the JSON property `maxSize`
14190
+ # @return [Google::Apis::ComputeAlpha::FixedOrPercent]
14191
+ attr_accessor :max_size
14192
+
14148
14193
  # The URL of thezone.
14149
14194
  # The zone must exist in the region where the managed instance group is
14150
14195
  # located.
@@ -14158,6 +14203,7 @@ module Google
14158
14203
 
14159
14204
  # Update properties of this object
14160
14205
  def update!(**args)
14206
+ @max_size = args[:max_size] if args.key?(:max_size)
14161
14207
  @zone = args[:zone] if args.key?(:zone)
14162
14208
  end
14163
14209
  end
@@ -19416,7 +19462,7 @@ module Google
19416
19462
  # @return [String]
19417
19463
  attr_accessor :description
19418
19464
 
19419
- # Output only. For optimistic locking
19465
+ # Output only. For optimistic locking.
19420
19466
  # Corresponds to the JSON property `etag`
19421
19467
  # @return [String]
19422
19468
  attr_accessor :etag
@@ -26932,7 +26978,7 @@ module Google
26932
26978
  class ImageViewsListResponse
26933
26979
  include Google::Apis::Core::Hashable
26934
26980
 
26935
- #
26981
+ # Etag of the resource.
26936
26982
  # Corresponds to the JSON property `etag`
26937
26983
  # @return [String]
26938
26984
  attr_accessor :etag
@@ -28953,6 +28999,11 @@ module Google
28953
28999
  class InstanceGroupManagerInstanceFlexibilityPolicy
28954
29000
  include Google::Apis::Core::Hashable
28955
29001
 
29002
+ # Constraints applied to instance flexibility spreading and selection.
29003
+ # Corresponds to the JSON property `constraints`
29004
+ # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyConstraints]
29005
+ attr_accessor :constraints
29006
+
28956
29007
  # Named instance selections configuring properties that the group will use
28957
29008
  # when creating new VMs.
28958
29009
  # Corresponds to the JSON property `instanceSelectionLists`
@@ -28977,12 +29028,35 @@ module Google
28977
29028
 
28978
29029
  # Update properties of this object
28979
29030
  def update!(**args)
29031
+ @constraints = args[:constraints] if args.key?(:constraints)
28980
29032
  @instance_selection_lists = args[:instance_selection_lists] if args.key?(:instance_selection_lists)
28981
29033
  @instance_selections = args[:instance_selections] if args.key?(:instance_selections)
28982
29034
  @provisioning_model_mix = args[:provisioning_model_mix] if args.key?(:provisioning_model_mix)
28983
29035
  end
28984
29036
  end
28985
29037
 
29038
+ # Constraints applied to instance flexibility spreading and selection.
29039
+ class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
29040
+ include Google::Apis::Core::Hashable
29041
+
29042
+ # When set to true, all instances in the group will be provisioned with
29043
+ # the exact same machine type, ensuring cluster homogeneity across zones.
29044
+ # Defaults to false.
29045
+ # Corresponds to the JSON property `singleMachineType`
29046
+ # @return [Boolean]
29047
+ attr_accessor :single_machine_type
29048
+ alias_method :single_machine_type?, :single_machine_type
29049
+
29050
+ def initialize(**args)
29051
+ update!(**args)
29052
+ end
29053
+
29054
+ # Update properties of this object
29055
+ def update!(**args)
29056
+ @single_machine_type = args[:single_machine_type] if args.key?(:single_machine_type)
29057
+ end
29058
+ end
29059
+
28986
29060
  #
28987
29061
  class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
28988
29062
  include Google::Apis::Core::Hashable
@@ -43256,7 +43330,7 @@ module Google
43256
43330
  # @return [String]
43257
43331
  attr_accessor :id
43258
43332
 
43259
- #
43333
+ # The list of managed rulesets.
43260
43334
  # Corresponds to the JSON property `items`
43261
43335
  # @return [Array<Google::Apis::ComputeAlpha::ManagedRuleset>]
43262
43336
  attr_accessor :items
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.145.0"
19
+ GEM_VERSION = "0.146.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260828"
25
+ REVISION = "20260910"
26
26
  end
27
27
  end
28
28
  end
@@ -1078,6 +1078,12 @@ module Google
1078
1078
  include Google::Apis::Core::JsonObjectSupport
1079
1079
  end
1080
1080
 
1081
+ class CapacityHistoryRequestInstancePropertiesAttachedDisk
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1081
1087
  class CapacityHistoryRequestInstancePropertiesScheduling
1082
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
1083
1089
 
@@ -3322,6 +3328,12 @@ module Google
3322
3328
  include Google::Apis::Core::JsonObjectSupport
3323
3329
  end
3324
3330
 
3331
+ class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
3332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3333
+
3334
+ include Google::Apis::Core::JsonObjectSupport
3335
+ end
3336
+
3325
3337
  class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
3326
3338
  class Representation < Google::Apis::Core::JsonRepresentation; end
3327
3339
 
@@ -12820,6 +12832,7 @@ module Google
12820
12832
  collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
12821
12833
 
12822
12834
  collection :machine_types, as: 'machineTypes'
12835
+ property :rank, :numeric_string => true, as: 'rank'
12823
12836
  end
12824
12837
  end
12825
12838
 
@@ -12899,12 +12912,23 @@ module Google
12899
12912
  class CapacityHistoryRequestInstanceProperties
12900
12913
  # @private
12901
12914
  class Representation < Google::Apis::Core::JsonRepresentation
12915
+ collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesAttachedDisk, decorator: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesAttachedDisk::Representation
12916
+
12917
+ collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
12918
+
12902
12919
  property :machine_type, as: 'machineType'
12903
12920
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesScheduling, decorator: Google::Apis::ComputeAlpha::CapacityHistoryRequestInstancePropertiesScheduling::Representation
12904
12921
 
12905
12922
  end
12906
12923
  end
12907
12924
 
12925
+ class CapacityHistoryRequestInstancePropertiesAttachedDisk
12926
+ # @private
12927
+ class Representation < Google::Apis::Core::JsonRepresentation
12928
+ property :type, as: 'type'
12929
+ end
12930
+ end
12931
+
12908
12932
  class CapacityHistoryRequestInstancePropertiesScheduling
12909
12933
  # @private
12910
12934
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13989,6 +14013,8 @@ module Google
13989
14013
  class DistributionPolicyZoneConfiguration
13990
14014
  # @private
13991
14015
  class Representation < Google::Apis::Core::JsonRepresentation
14016
+ property :max_size, as: 'maxSize', class: Google::Apis::ComputeAlpha::FixedOrPercent, decorator: Google::Apis::ComputeAlpha::FixedOrPercent::Representation
14017
+
13992
14018
  property :zone, as: 'zone'
13993
14019
  end
13994
14020
  end
@@ -17278,6 +17304,8 @@ module Google
17278
17304
  class InstanceGroupManagerInstanceFlexibilityPolicy
17279
17305
  # @private
17280
17306
  class Representation < Google::Apis::Core::JsonRepresentation
17307
+ property :constraints, as: 'constraints', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyConstraints, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyConstraints::Representation
17308
+
17281
17309
  hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
17282
17310
 
17283
17311
  hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
@@ -17287,6 +17315,13 @@ module Google
17287
17315
  end
17288
17316
  end
17289
17317
 
17318
+ class InstanceGroupManagerInstanceFlexibilityPolicyConstraints
17319
+ # @private
17320
+ class Representation < Google::Apis::Core::JsonRepresentation
17321
+ property :single_machine_type, as: 'singleMachineType'
17322
+ end
17323
+ end
17324
+
17290
17325
  class InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection
17291
17326
  # @private
17292
17327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8291,6 +8291,7 @@ module Google
8291
8291
  # @param [String] folder
8292
8292
  # Folder ID for this request.
8293
8293
  # @param [String] extension_name
8294
+ # Required. Name of the VM extension for this request.
8294
8295
  # @param [String] fields
8295
8296
  # Selector specifying which fields to include in a partial response.
8296
8297
  # @param [String] quota_user
@@ -8749,6 +8750,7 @@ module Google
8749
8750
  # @param [String] zone
8750
8751
  # Name of the zone for this request.
8751
8752
  # @param [String] extension_name
8753
+ # Required. Name of the VM extension for this request.
8752
8754
  # @param [String] fields
8753
8755
  # Selector specifying which fields to include in a partial response.
8754
8756
  # @param [String] quota_user
@@ -11244,6 +11246,7 @@ module Google
11244
11246
 
11245
11247
  # Gets the Global Frontend Billing Bundle Settings for a project.
11246
11248
  # @param [String] project
11249
+ # Required. Project ID for this request.
11247
11250
  # @param [String] fields
11248
11251
  # Selector specifying which fields to include in a partial response.
11249
11252
  # @param [String] quota_user
@@ -11276,10 +11279,12 @@ module Google
11276
11279
 
11277
11280
  # Updates the Global Frontend Billing Bundle Settings for a project.
11278
11281
  # @param [String] project
11282
+ # Required. Project ID for this request.
11279
11283
  # @param [Google::Apis::ComputeAlpha::GlobalFrontendSettings] global_frontend_settings_object
11280
11284
  # @param [String] request_id
11285
+ # An optional request ID to identify requests.
11281
11286
  # @param [String] update_mask
11282
- # e.g., "type"
11287
+ # Field mask to support patch. E.g., "type".
11283
11288
  # @param [String] fields
11284
11289
  # Selector specifying which fields to include in a partial response.
11285
11290
  # @param [String] quota_user
@@ -12889,6 +12894,7 @@ module Google
12889
12894
  # @param [String] project
12890
12895
  # Project ID for this request.
12891
12896
  # @param [String] extension_name
12897
+ # Required. Name of the VM extension for this request.
12892
12898
  # @param [String] fields
12893
12899
  # Selector specifying which fields to include in a partial response.
12894
12900
  # @param [String] quota_user
@@ -34487,6 +34493,7 @@ module Google
34487
34493
  # @param [String] organization
34488
34494
  # Organization ID for this request.
34489
34495
  # @param [String] extension_name
34496
+ # Required. Name of the VM extension for this request.
34490
34497
  # @param [String] fields
34491
34498
  # Selector specifying which fields to include in a partial response.
34492
34499
  # @param [String] quota_user
@@ -36567,6 +36574,7 @@ module Google
36567
36574
  # @param [String] zone
36568
36575
  # Name of the zone for this request.
36569
36576
  # @param [String] extension_name
36577
+ # Required. Name of the VM extension for this request.
36570
36578
  # @param [String] fields
36571
36579
  # Selector specifying which fields to include in a partial response.
36572
36580
  # @param [String] quota_user
@@ -75993,6 +76001,7 @@ module Google
75993
76001
  # @param [String] zone
75994
76002
  # Name of the zone for this request.
75995
76003
  # @param [String] extension_name
76004
+ # Required. Name of the VM extension for this request.
75996
76005
  # @param [String] fields
75997
76006
  # Selector specifying which fields to include in a partial response.
75998
76007
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.145.0
4
+ version: 0.146.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.145.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.146.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
62
62
  rdoc_options: []
63
63
  require_paths: