google-apis-vmwareengine_v1 0.21.0 → 0.22.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: c2b8ffae68c6399ce7375708adf32b8cd447aff7edaa450744f8c749a0ec5852
4
- data.tar.gz: 0d7ce0a0070cc9eb9a74a75383c0033c8a9c56c6a3972d61eec9d7f18593df31
3
+ metadata.gz: 841405d19a5fae3d36b73179da022c70676197c8d1a79ed6b7121e415a3a3ec7
4
+ data.tar.gz: ede3a2c3df13a01e5bcef57a9bf0e99256ef599b96418c68f7cec894e14bcd4f
5
5
  SHA512:
6
- metadata.gz: beadaea31feca7444631c136fa6f180793d2402ea49a63015072b3207845046261ddc9b711d57345afbc71cbfa936e0a91eaf3001ba4f93756ab865e82fa3c42
7
- data.tar.gz: f02346271ecb8147eda2cc7453aa687d5b4d67a85f07a50ca7e47e10a9879aa9790e7dd53bb4146b07d62fce3041472d8917f66b1a48282473e80c5e9f5679da
6
+ metadata.gz: 92e1d6917be313cb0858353ebfa8ccec4aa48b732508f9bdd70b1652dedcb84dae10576270675039566f36e40c04d43f9c90d926b8ff697cdd74edf475f6a54c
7
+ data.tar.gz: 5f05bb08deee3cc5861a9ba062481a46690fd2c761a6fa3fbbeb2c60238bfbe40d49bbd36f556cd8277b696e4c2e5c39ea3dd6a7e9dab611fc6b9f839add82d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-vmwareengine_v1
2
2
 
3
+ ### v0.22.0 (2026-10-28)
4
+
5
+ * Regenerated from discovery document revision 20261012
6
+ * Regenerated using generator version 0.19.1
7
+
3
8
  ### v0.21.0 (2026-10-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20260922
@@ -419,6 +419,51 @@ module Google
419
419
  end
420
420
  end
421
421
 
422
+ # Represents a capacity allocation. Capacity allocation is zonal.
423
+ class CapacityAllocation
424
+ include Google::Apis::Core::Hashable
425
+
426
+ # Output only. The allocated capacity for the capacity allocation.
427
+ # Corresponds to the JSON property `allocatedCapacityCount`
428
+ # @return [Fixnum]
429
+ attr_accessor :allocated_capacity_count
430
+
431
+ # Output only. The consumed capacity for the capacity allocation.
432
+ # Corresponds to the JSON property `consumedCapacityCount`
433
+ # @return [Fixnum]
434
+ attr_accessor :consumed_capacity_count
435
+
436
+ # Output only. The machine family of the capacity allocation.
437
+ # Corresponds to the JSON property `machineFamily`
438
+ # @return [String]
439
+ attr_accessor :machine_family
440
+
441
+ # Output only. Identifier. The resource name of the capacity allocation. The
442
+ # last segment of the name is the placement group name. For example: `projects/
443
+ # my-project/locations/us-central1-a/capacityAllocations/pg-123`
444
+ # Corresponds to the JSON property `name`
445
+ # @return [String]
446
+ attr_accessor :name
447
+
448
+ # Output only. The private cloud names using the capacity allocation.
449
+ # Corresponds to the JSON property `privateClouds`
450
+ # @return [Array<String>]
451
+ attr_accessor :private_clouds
452
+
453
+ def initialize(**args)
454
+ update!(**args)
455
+ end
456
+
457
+ # Update properties of this object
458
+ def update!(**args)
459
+ @allocated_capacity_count = args[:allocated_capacity_count] if args.key?(:allocated_capacity_count)
460
+ @consumed_capacity_count = args[:consumed_capacity_count] if args.key?(:consumed_capacity_count)
461
+ @machine_family = args[:machine_family] if args.key?(:machine_family)
462
+ @name = args[:name] if args.key?(:name)
463
+ @private_clouds = args[:private_clouds] if args.key?(:private_clouds)
464
+ end
465
+ end
466
+
422
467
  # A cluster in a private cloud.
423
468
  class Cluster
424
469
  include Google::Apis::Core::Hashable
@@ -461,6 +506,15 @@ module Google
461
506
  # @return [Hash<String,Google::Apis::VmwareengineV1::NodeTypeConfig>]
462
507
  attr_accessor :node_type_configs
463
508
 
509
+ # Optional. The identifier of the placement group for cluster nodes. A placement
510
+ # group is an internal Google identifier for a group of resources that are
511
+ # physically located within the same fault domain. If provided, nodes for this
512
+ # cluster are placed within the specified placement group. If this field is
513
+ # omitted, the system selects an appropriate placement group.
514
+ # Corresponds to the JSON property `placementGroup`
515
+ # @return [String]
516
+ attr_accessor :placement_group
517
+
464
518
  # Output only. State of the resource.
465
519
  # Corresponds to the JSON property `state`
466
520
  # @return [String]
@@ -493,6 +547,7 @@ module Google
493
547
  @management = args[:management] if args.key?(:management)
494
548
  @name = args[:name] if args.key?(:name)
495
549
  @node_type_configs = args[:node_type_configs] if args.key?(:node_type_configs)
550
+ @placement_group = args[:placement_group] if args.key?(:placement_group)
496
551
  @state = args[:state] if args.key?(:state)
497
552
  @stretched_cluster_config = args[:stretched_cluster_config] if args.key?(:stretched_cluster_config)
498
553
  @uid = args[:uid] if args.key?(:uid)
@@ -1429,6 +1484,39 @@ module Google
1429
1484
  end
1430
1485
  end
1431
1486
 
1487
+ # Response message for VmwareEngine.ListCapacityAllocations
1488
+ class ListCapacityAllocationsResponse
1489
+ include Google::Apis::Core::Hashable
1490
+
1491
+ # A list of capacity allocations.
1492
+ # Corresponds to the JSON property `capacityAllocations`
1493
+ # @return [Array<Google::Apis::VmwareengineV1::CapacityAllocation>]
1494
+ attr_accessor :capacity_allocations
1495
+
1496
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1497
+ # field is omitted, there are no subsequent pages.
1498
+ # Corresponds to the JSON property `nextPageToken`
1499
+ # @return [String]
1500
+ attr_accessor :next_page_token
1501
+
1502
+ # Unordered list. Locations that could not be reached when making an aggregated
1503
+ # query using wildcards.
1504
+ # Corresponds to the JSON property `unreachable`
1505
+ # @return [Array<String>]
1506
+ attr_accessor :unreachable
1507
+
1508
+ def initialize(**args)
1509
+ update!(**args)
1510
+ end
1511
+
1512
+ # Update properties of this object
1513
+ def update!(**args)
1514
+ @capacity_allocations = args[:capacity_allocations] if args.key?(:capacity_allocations)
1515
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1516
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1517
+ end
1518
+ end
1519
+
1432
1520
  # Response message for VmwareEngine.ListClusters
1433
1521
  class ListClustersResponse
1434
1522
  include Google::Apis::Core::Hashable
@@ -2209,6 +2297,15 @@ module Google
2209
2297
  # @return [Hash<String,Google::Apis::VmwareengineV1::NodeTypeConfig>]
2210
2298
  attr_accessor :node_type_configs
2211
2299
 
2300
+ # Optional. The identifier of the placement group for management cluster nodes.
2301
+ # A placement group is an internal Google identifier for a group of resources
2302
+ # that are physically located within the same fault domain. If provided, nodes
2303
+ # for this cluster are placed within the specified placement group. If this
2304
+ # field is omitted, the system selects an appropriate placement group.
2305
+ # Corresponds to the JSON property `placementGroup`
2306
+ # @return [String]
2307
+ attr_accessor :placement_group
2308
+
2212
2309
  # Configuration of a stretched cluster.
2213
2310
  # Corresponds to the JSON property `stretchedClusterConfig`
2214
2311
  # @return [Google::Apis::VmwareengineV1::StretchedClusterConfig]
@@ -2222,6 +2319,7 @@ module Google
2222
2319
  def update!(**args)
2223
2320
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
2224
2321
  @node_type_configs = args[:node_type_configs] if args.key?(:node_type_configs)
2322
+ @placement_group = args[:placement_group] if args.key?(:placement_group)
2225
2323
  @stretched_cluster_config = args[:stretched_cluster_config] if args.key?(:stretched_cluster_config)
2226
2324
  end
2227
2325
  end
@@ -3780,6 +3878,16 @@ module Google
3780
3878
  # @return [String]
3781
3879
  attr_accessor :preferred_location
3782
3880
 
3881
+ # Optional. The identifier of the placement group for preferred location cluster
3882
+ # nodes. A placement group is an internal Google identifier for a group of
3883
+ # resources that are physically located within the same fault domain. If
3884
+ # provided, nodes for this cluster are placed within the specified placement
3885
+ # group. If this field is omitted, the system selects an appropriate placement
3886
+ # group.
3887
+ # Corresponds to the JSON property `preferredLocationPlacementGroup`
3888
+ # @return [String]
3889
+ attr_accessor :preferred_location_placement_group
3890
+
3783
3891
  # Required. Additional zone for a higher level of availability and load
3784
3892
  # balancing. Specify the resource name or ID of a zone that belongs to the
3785
3893
  # region of the private cloud. For example: `projects/`project`/locations/europe-
@@ -3789,6 +3897,16 @@ module Google
3789
3897
  # @return [String]
3790
3898
  attr_accessor :secondary_location
3791
3899
 
3900
+ # Optional. The identifier of the placement group for secondary location cluster
3901
+ # nodes. A placement group is an internal Google identifier for a group of
3902
+ # resources that are physically located within the same fault domain. If
3903
+ # provided, nodes for this cluster are placed within the specified placement
3904
+ # group. If this field is omitted, the system selects an appropriate placement
3905
+ # group.
3906
+ # Corresponds to the JSON property `secondaryLocationPlacementGroup`
3907
+ # @return [String]
3908
+ attr_accessor :secondary_location_placement_group
3909
+
3792
3910
  def initialize(**args)
3793
3911
  update!(**args)
3794
3912
  end
@@ -3796,7 +3914,9 @@ module Google
3796
3914
  # Update properties of this object
3797
3915
  def update!(**args)
3798
3916
  @preferred_location = args[:preferred_location] if args.key?(:preferred_location)
3917
+ @preferred_location_placement_group = args[:preferred_location_placement_group] if args.key?(:preferred_location_placement_group)
3799
3918
  @secondary_location = args[:secondary_location] if args.key?(:secondary_location)
3919
+ @secondary_location_placement_group = args[:secondary_location_placement_group] if args.key?(:secondary_location_placement_group)
3800
3920
  end
3801
3921
  end
3802
3922
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module VmwareengineV1
18
18
  # Version of the google-apis-vmwareengine_v1 gem
19
- GEM_VERSION = "0.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260922"
25
+ REVISION = "20261012"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class CapacityAllocation
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class Cluster
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class ListCapacityAllocationsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class ListClustersResponse
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -677,6 +689,17 @@ module Google
677
689
  end
678
690
  end
679
691
 
692
+ class CapacityAllocation
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :allocated_capacity_count, as: 'allocatedCapacityCount'
696
+ property :consumed_capacity_count, as: 'consumedCapacityCount'
697
+ property :machine_family, as: 'machineFamily'
698
+ property :name, as: 'name'
699
+ collection :private_clouds, as: 'privateClouds'
700
+ end
701
+ end
702
+
680
703
  class Cluster
681
704
  # @private
682
705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -689,6 +712,7 @@ module Google
689
712
  property :name, as: 'name'
690
713
  hash :node_type_configs, as: 'nodeTypeConfigs', class: Google::Apis::VmwareengineV1::NodeTypeConfig, decorator: Google::Apis::VmwareengineV1::NodeTypeConfig::Representation
691
714
 
715
+ property :placement_group, as: 'placementGroup'
692
716
  property :state, as: 'state'
693
717
  property :stretched_cluster_config, as: 'stretchedClusterConfig', class: Google::Apis::VmwareengineV1::StretchedClusterConfig, decorator: Google::Apis::VmwareengineV1::StretchedClusterConfig::Representation
694
718
 
@@ -923,6 +947,16 @@ module Google
923
947
  end
924
948
  end
925
949
 
950
+ class ListCapacityAllocationsResponse
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ collection :capacity_allocations, as: 'capacityAllocations', class: Google::Apis::VmwareengineV1::CapacityAllocation, decorator: Google::Apis::VmwareengineV1::CapacityAllocation::Representation
954
+
955
+ property :next_page_token, as: 'nextPageToken'
956
+ collection :unreachable, as: 'unreachable'
957
+ end
958
+ end
959
+
926
960
  class ListClustersResponse
927
961
  # @private
928
962
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1157,6 +1191,7 @@ module Google
1157
1191
  property :cluster_id, as: 'clusterId'
1158
1192
  hash :node_type_configs, as: 'nodeTypeConfigs', class: Google::Apis::VmwareengineV1::NodeTypeConfig, decorator: Google::Apis::VmwareengineV1::NodeTypeConfig::Representation
1159
1193
 
1194
+ property :placement_group, as: 'placementGroup'
1160
1195
  property :stretched_cluster_config, as: 'stretchedClusterConfig', class: Google::Apis::VmwareengineV1::StretchedClusterConfig, decorator: Google::Apis::VmwareengineV1::StretchedClusterConfig::Representation
1161
1196
 
1162
1197
  end
@@ -1485,7 +1520,9 @@ module Google
1485
1520
  # @private
1486
1521
  class Representation < Google::Apis::Core::JsonRepresentation
1487
1522
  property :preferred_location, as: 'preferredLocation'
1523
+ property :preferred_location_placement_group, as: 'preferredLocationPlacementGroup'
1488
1524
  property :secondary_location, as: 'secondaryLocation'
1525
+ property :secondary_location_placement_group, as: 'secondaryLocationPlacementGroup'
1489
1526
  end
1490
1527
  end
1491
1528
 
@@ -272,6 +272,76 @@ module Google
272
272
  execute_or_queue_command(command, &block)
273
273
  end
274
274
 
275
+ # Lists `CapacityAllocation` resources in a given project and location.
276
+ # @param [String] parent
277
+ # Required. The resource name of the location to query for capacity allocations.
278
+ # Resource names are schemeless URIs that follow the conventions in https://
279
+ # cloud.google.com/apis/design/resource_names. For example: `projects/my-project/
280
+ # locations/us-central1-a`
281
+ # @param [String] filter
282
+ # Optional. A filter expression that matches resources returned in the response.
283
+ # The expression must specify the field name, a comparison operator, and the
284
+ # value that you want to use for filtering. The value must be a string or a
285
+ # number. The comparison operator must be `=`, `!=`, `>`, `>=`, `<`, or `<=`.
286
+ # The has operator `:` is also supported. Supported fields include `name`, `
287
+ # display_name` (or `placement_group`), `machine_family`, `
288
+ # allocated_capacity_count`, `consumed_capacity_count`, and `
289
+ # connected_placement_group` (using `=`). For example, if you are filtering a
290
+ # list of capacity allocations, you can exclude the ones named `example-capacity-
291
+ # allocation` by specifying `name != "example-capacity-allocation"`. You can
292
+ # also filter on other fields, such as machine family (`"ve1"`, `"ve2"`, or `"
293
+ # ve3"`) or connected placement group: ``` machine_family = "ve1"
294
+ # connected_placement_group = "example-placement-group" ``` To filter on
295
+ # multiple expressions, provide each separate expression within parentheses. For
296
+ # example: ``` (machine_family = "ve1") (allocated_capacity_count > 10) ``` By
297
+ # default, each expression is an `AND` expression. However, you can include `AND`
298
+ # , `OR`, and `NOT` expressions explicitly. For example: ``` ((machine_family = "
299
+ # ve1") AND (allocated_capacity_count > 10)) OR (consumed_capacity_count > 0) ```
300
+ # @param [String] order_by
301
+ # Optional. Sorts list results by a certain order. By default, returned results
302
+ # are ordered by `name` in ascending order. You can also sort results in
303
+ # descending order based on the `name` value using `orderBy="name desc"`.
304
+ # Currently, only ordering by `name` is supported.
305
+ # @param [Fixnum] page_size
306
+ # Optional. The maximum number of capacity allocations to return in one page.
307
+ # The service may return fewer than this value. The maximum value is coerced to
308
+ # 1000. The default value of this field is 500.
309
+ # @param [String] page_token
310
+ # Optional. A page token, received from a previous `ListCapacityAllocations`
311
+ # call. Provide this to retrieve the subsequent page. When paginating, all other
312
+ # parameters provided to `ListCapacityAllocations` must match the call that
313
+ # provided the page token.
314
+ # @param [String] fields
315
+ # Selector specifying which fields to include in a partial response.
316
+ # @param [String] quota_user
317
+ # Available to use for quota purposes for server-side applications. Can be any
318
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
319
+ # @param [Google::Apis::RequestOptions] options
320
+ # Request-specific options
321
+ #
322
+ # @yield [result, err] Result & error if block supplied
323
+ # @yieldparam result [Google::Apis::VmwareengineV1::ListCapacityAllocationsResponse] parsed result object
324
+ # @yieldparam err [StandardError] error object if request failed
325
+ #
326
+ # @return [Google::Apis::VmwareengineV1::ListCapacityAllocationsResponse]
327
+ #
328
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
329
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
330
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
331
+ def list_project_location_capacity_allocations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
332
+ command = make_simple_command(:get, 'v1/{+parent}/capacityAllocations', options)
333
+ command.response_representation = Google::Apis::VmwareengineV1::ListCapacityAllocationsResponse::Representation
334
+ command.response_class = Google::Apis::VmwareengineV1::ListCapacityAllocationsResponse
335
+ command.params['parent'] = parent unless parent.nil?
336
+ command.query['filter'] = filter unless filter.nil?
337
+ command.query['orderBy'] = order_by unless order_by.nil?
338
+ command.query['pageSize'] = page_size unless page_size.nil?
339
+ command.query['pageToken'] = page_token unless page_token.nil?
340
+ command.query['fields'] = fields unless fields.nil?
341
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
342
+ execute_or_queue_command(command, &block)
343
+ end
344
+
275
345
  # Creates a new `Datastore` resource in a given project and location.
276
346
  # @param [String] parent
277
347
  # Required. The resource name of the location to create the new datastore in.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-vmwareengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.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-vmwareengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.22.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: