google-apis-vmwareengine_v1 0.20.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 841405d19a5fae3d36b73179da022c70676197c8d1a79ed6b7121e415a3a3ec7
|
|
4
|
+
data.tar.gz: ede3a2c3df13a01e5bcef57a9bf0e99256ef599b96418c68f7cec894e14bcd4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92e1d6917be313cb0858353ebfa8ccec4aa48b732508f9bdd70b1652dedcb84dae10576270675039566f36e40c04d43f9c90d926b8ff697cdd74edf475f6a54c
|
|
7
|
+
data.tar.gz: 5f05bb08deee3cc5861a9ba062481a46690fd2c761a6fa3fbbeb2c60238bfbe40d49bbd36f556cd8277b696e4c2e5c39ea3dd6a7e9dab611fc6b9f839add82d4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
8
|
+
### v0.21.0 (2026-10-04)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260922
|
|
11
|
+
|
|
3
12
|
### v0.20.0 (2026-06-14)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260608
|
|
@@ -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)
|
|
@@ -1210,7 +1265,11 @@ module Google
|
|
|
1210
1265
|
include Google::Apis::Core::Hashable
|
|
1211
1266
|
|
|
1212
1267
|
# Users/Service accounts which have access for DNS binding on the intranet VPC
|
|
1213
|
-
# corresponding to the consumer project.
|
|
1268
|
+
# corresponding to the consumer project. Principal can be a user or a service
|
|
1269
|
+
# account. For example: For specifying user `user@example.com` use ``"user": "
|
|
1270
|
+
# user@example.com"`` and for specifying service account `service-account@
|
|
1271
|
+
# gserviceaccount.com` use ``"serviceAccount": "service-account@gserviceaccount.
|
|
1272
|
+
# com"``.
|
|
1214
1273
|
# Corresponds to the JSON property `principal`
|
|
1215
1274
|
# @return [Google::Apis::VmwareengineV1::Principal]
|
|
1216
1275
|
attr_accessor :principal
|
|
@@ -1425,6 +1484,39 @@ module Google
|
|
|
1425
1484
|
end
|
|
1426
1485
|
end
|
|
1427
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
|
+
|
|
1428
1520
|
# Response message for VmwareEngine.ListClusters
|
|
1429
1521
|
class ListClustersResponse
|
|
1430
1522
|
include Google::Apis::Core::Hashable
|
|
@@ -2205,6 +2297,15 @@ module Google
|
|
|
2205
2297
|
# @return [Hash<String,Google::Apis::VmwareengineV1::NodeTypeConfig>]
|
|
2206
2298
|
attr_accessor :node_type_configs
|
|
2207
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
|
+
|
|
2208
2309
|
# Configuration of a stretched cluster.
|
|
2209
2310
|
# Corresponds to the JSON property `stretchedClusterConfig`
|
|
2210
2311
|
# @return [Google::Apis::VmwareengineV1::StretchedClusterConfig]
|
|
@@ -2218,6 +2319,7 @@ module Google
|
|
|
2218
2319
|
def update!(**args)
|
|
2219
2320
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
|
2220
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)
|
|
2221
2323
|
@stretched_cluster_config = args[:stretched_cluster_config] if args.key?(:stretched_cluster_config)
|
|
2222
2324
|
end
|
|
2223
2325
|
end
|
|
@@ -3232,7 +3334,11 @@ module Google
|
|
|
3232
3334
|
end
|
|
3233
3335
|
|
|
3234
3336
|
# Users/Service accounts which have access for DNS binding on the intranet VPC
|
|
3235
|
-
# corresponding to the consumer project.
|
|
3337
|
+
# corresponding to the consumer project. Principal can be a user or a service
|
|
3338
|
+
# account. For example: For specifying user `user@example.com` use ``"user": "
|
|
3339
|
+
# user@example.com"`` and for specifying service account `service-account@
|
|
3340
|
+
# gserviceaccount.com` use ``"serviceAccount": "service-account@gserviceaccount.
|
|
3341
|
+
# com"``.
|
|
3236
3342
|
class Principal
|
|
3237
3343
|
include Google::Apis::Core::Hashable
|
|
3238
3344
|
|
|
@@ -3583,7 +3689,11 @@ module Google
|
|
|
3583
3689
|
include Google::Apis::Core::Hashable
|
|
3584
3690
|
|
|
3585
3691
|
# Users/Service accounts which have access for DNS binding on the intranet VPC
|
|
3586
|
-
# corresponding to the consumer project.
|
|
3692
|
+
# corresponding to the consumer project. Principal can be a user or a service
|
|
3693
|
+
# account. For example: For specifying user `user@example.com` use ``"user": "
|
|
3694
|
+
# user@example.com"`` and for specifying service account `service-account@
|
|
3695
|
+
# gserviceaccount.com` use ``"serviceAccount": "service-account@gserviceaccount.
|
|
3696
|
+
# com"``.
|
|
3587
3697
|
# Corresponds to the JSON property `principal`
|
|
3588
3698
|
# @return [Google::Apis::VmwareengineV1::Principal]
|
|
3589
3699
|
attr_accessor :principal
|
|
@@ -3760,21 +3870,43 @@ module Google
|
|
|
3760
3870
|
include Google::Apis::Core::Hashable
|
|
3761
3871
|
|
|
3762
3872
|
# Required. Zone that will remain operational when connection between the two
|
|
3763
|
-
# zones is lost. Specify the resource name of a zone that belongs to the
|
|
3764
|
-
# of the private cloud. For example: `projects/`project`/locations/europe-
|
|
3765
|
-
# a` where ``project`` can either be a project number
|
|
3873
|
+
# zones is lost. Specify the resource name or ID of a zone that belongs to the
|
|
3874
|
+
# region of the private cloud. For example: `projects/`project`/locations/europe-
|
|
3875
|
+
# west3-a` or `europe-west3-a`, where ``project`` can either be a project number
|
|
3876
|
+
# or a project ID.
|
|
3766
3877
|
# Corresponds to the JSON property `preferredLocation`
|
|
3767
3878
|
# @return [String]
|
|
3768
3879
|
attr_accessor :preferred_location
|
|
3769
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
|
+
|
|
3770
3891
|
# Required. Additional zone for a higher level of availability and load
|
|
3771
|
-
# balancing. Specify the resource name of a zone that belongs to the
|
|
3772
|
-
# the private cloud. For example: `projects/`project`/locations/europe-
|
|
3773
|
-
# where ``project`` can either be a project number
|
|
3892
|
+
# balancing. Specify the resource name or ID of a zone that belongs to the
|
|
3893
|
+
# region of the private cloud. For example: `projects/`project`/locations/europe-
|
|
3894
|
+
# west3-b` or `europe-west3-b`, where ``project`` can either be a project number
|
|
3895
|
+
# or a project ID.
|
|
3774
3896
|
# Corresponds to the JSON property `secondaryLocation`
|
|
3775
3897
|
# @return [String]
|
|
3776
3898
|
attr_accessor :secondary_location
|
|
3777
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
|
+
|
|
3778
3910
|
def initialize(**args)
|
|
3779
3911
|
update!(**args)
|
|
3780
3912
|
end
|
|
@@ -3782,7 +3914,9 @@ module Google
|
|
|
3782
3914
|
# Update properties of this object
|
|
3783
3915
|
def update!(**args)
|
|
3784
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)
|
|
3785
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)
|
|
3786
3920
|
end
|
|
3787
3921
|
end
|
|
3788
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.
|
|
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.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
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.
|
|
@@ -2053,11 +2123,13 @@ module Google
|
|
|
2053
2123
|
end
|
|
2054
2124
|
|
|
2055
2125
|
# Modifies a `PrivateCloud` resource. Only the following fields can be updated: `
|
|
2056
|
-
# description`.
|
|
2057
|
-
#
|
|
2058
|
-
#
|
|
2059
|
-
#
|
|
2060
|
-
# completes.
|
|
2126
|
+
# description`, `encryption_config`. If `updateMask` is provided, only fields
|
|
2127
|
+
# specified in it are applied. If `updateMask` is not provided, the default
|
|
2128
|
+
# behavior is to update the `description`. It is advised to provide an `
|
|
2129
|
+
# updateMask` to avoid confusion. During operation processing, the resource is
|
|
2130
|
+
# temporarily in the `ACTIVE` state before the operation fully completes. For
|
|
2131
|
+
# that period of time, you can't update the resource. Use the operation status
|
|
2132
|
+
# to determine when the processing fully completes.
|
|
2061
2133
|
# @param [String] name
|
|
2062
2134
|
# Output only. Identifier. The resource name of this private cloud. Resource
|
|
2063
2135
|
# names are schemeless URIs that follow the conventions in https://cloud.google.
|
|
@@ -2071,8 +2143,8 @@ module Google
|
|
|
2071
2143
|
# Required. Field mask is used to specify the fields to be overwritten in the `
|
|
2072
2144
|
# PrivateCloud` resource by the update. The fields specified in `updateMask` are
|
|
2073
2145
|
# relative to the resource, not the full request. A field will be overwritten if
|
|
2074
|
-
# it is in the mask. If the user does not provide a mask then
|
|
2075
|
-
# overwritten.
|
|
2146
|
+
# it is in the mask. If the user does not provide a mask then only the
|
|
2147
|
+
# description field will be overwritten.
|
|
2076
2148
|
# @param [Boolean] validate_only
|
|
2077
2149
|
# Optional. If set to `true`, only validates the request but doesn’t execute the
|
|
2078
2150
|
# request. If set to `false`, validates and executes the request.
|
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.
|
|
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.
|
|
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:
|