google-apis-vmwareengine_v1 0.5.0 → 0.7.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: 6545b64c2050e3122e46d005eaa865a1c31614f5980f09c0a6eaeaa5bc0cb71c
|
4
|
+
data.tar.gz: '0812685f0f21db7cdbe01c17767d54af9633fb6b7c63c9d84492e111cbfd76d2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32456f4a62e27ca941bddb704d4ca7835b33d1394a2b086388cbd94925249780824b89c280a3b39a4dedeebd247bd7c3dd4c13017c3f10b13ae7a271dee5eae4
|
7
|
+
data.tar.gz: 5a140f852401b090de2494f04ccd3c95b96499bcbe6dcd5128184b870a219d5c78d56e50b44900a775ce19e123a6882963196321a24dbfd15581dac4f7225976
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-vmwareengine_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240701
|
6
|
+
|
7
|
+
### v0.6.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240412
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.5.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -93,6 +93,114 @@ module Google
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
+
# Autoscaling policy describes the behavior of the autoscaling with respect to
|
97
|
+
# the resource utilization. The scale-out operation is initiated if the
|
98
|
+
# utilization exceeds ANY of the respective thresholds. The scale-in operation
|
99
|
+
# is initiated if the utilization is below ALL of the respective thresholds.
|
100
|
+
class AutoscalingPolicy
|
101
|
+
include Google::Apis::Core::Hashable
|
102
|
+
|
103
|
+
# Thresholds define the utilization of resources triggering scale-out and scale-
|
104
|
+
# in operations.
|
105
|
+
# Corresponds to the JSON property `consumedMemoryThresholds`
|
106
|
+
# @return [Google::Apis::VmwareengineV1::Thresholds]
|
107
|
+
attr_accessor :consumed_memory_thresholds
|
108
|
+
|
109
|
+
# Thresholds define the utilization of resources triggering scale-out and scale-
|
110
|
+
# in operations.
|
111
|
+
# Corresponds to the JSON property `cpuThresholds`
|
112
|
+
# @return [Google::Apis::VmwareengineV1::Thresholds]
|
113
|
+
attr_accessor :cpu_thresholds
|
114
|
+
|
115
|
+
# Thresholds define the utilization of resources triggering scale-out and scale-
|
116
|
+
# in operations.
|
117
|
+
# Corresponds to the JSON property `grantedMemoryThresholds`
|
118
|
+
# @return [Google::Apis::VmwareengineV1::Thresholds]
|
119
|
+
attr_accessor :granted_memory_thresholds
|
120
|
+
|
121
|
+
# Required. The canonical identifier of the node type to add or remove.
|
122
|
+
# Corresponds to the `NodeType`.
|
123
|
+
# Corresponds to the JSON property `nodeTypeId`
|
124
|
+
# @return [String]
|
125
|
+
attr_accessor :node_type_id
|
126
|
+
|
127
|
+
# Required. Number of nodes to add to a cluster during a scale-out operation.
|
128
|
+
# Must be divisible by 2 for stretched clusters. During a scale-in operation
|
129
|
+
# only one node (or 2 for stretched clusters) are removed in a single iteration.
|
130
|
+
# Corresponds to the JSON property `scaleOutSize`
|
131
|
+
# @return [Fixnum]
|
132
|
+
attr_accessor :scale_out_size
|
133
|
+
|
134
|
+
# Thresholds define the utilization of resources triggering scale-out and scale-
|
135
|
+
# in operations.
|
136
|
+
# Corresponds to the JSON property `storageThresholds`
|
137
|
+
# @return [Google::Apis::VmwareengineV1::Thresholds]
|
138
|
+
attr_accessor :storage_thresholds
|
139
|
+
|
140
|
+
def initialize(**args)
|
141
|
+
update!(**args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Update properties of this object
|
145
|
+
def update!(**args)
|
146
|
+
@consumed_memory_thresholds = args[:consumed_memory_thresholds] if args.key?(:consumed_memory_thresholds)
|
147
|
+
@cpu_thresholds = args[:cpu_thresholds] if args.key?(:cpu_thresholds)
|
148
|
+
@granted_memory_thresholds = args[:granted_memory_thresholds] if args.key?(:granted_memory_thresholds)
|
149
|
+
@node_type_id = args[:node_type_id] if args.key?(:node_type_id)
|
150
|
+
@scale_out_size = args[:scale_out_size] if args.key?(:scale_out_size)
|
151
|
+
@storage_thresholds = args[:storage_thresholds] if args.key?(:storage_thresholds)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# Autoscaling settings define the rules used by VMware Engine to automatically
|
156
|
+
# scale-out and scale-in the clusters in a private cloud.
|
157
|
+
class AutoscalingSettings
|
158
|
+
include Google::Apis::Core::Hashable
|
159
|
+
|
160
|
+
# Required. The map with autoscaling policies applied to the cluster. The key is
|
161
|
+
# the identifier of the policy. It must meet the following requirements: * Only
|
162
|
+
# contains 1-63 alphanumeric characters and hyphens * Begins with an
|
163
|
+
# alphabetical character * Ends with a non-hyphen character * Not formatted as a
|
164
|
+
# UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034)
|
165
|
+
# (section 3.5) Currently there map must contain only one element that describes
|
166
|
+
# the autoscaling policy for compute nodes.
|
167
|
+
# Corresponds to the JSON property `autoscalingPolicies`
|
168
|
+
# @return [Hash<String,Google::Apis::VmwareengineV1::AutoscalingPolicy>]
|
169
|
+
attr_accessor :autoscaling_policies
|
170
|
+
|
171
|
+
# Optional. The minimum duration between consecutive autoscale operations. It
|
172
|
+
# starts once addition or removal of nodes is fully completed. Defaults to 30
|
173
|
+
# minutes if not specified. Cool down period must be in whole minutes (for
|
174
|
+
# example, 30, 31, 50, 180 minutes).
|
175
|
+
# Corresponds to the JSON property `coolDownPeriod`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :cool_down_period
|
178
|
+
|
179
|
+
# Optional. Maximum number of nodes of any type in a cluster. If not specified
|
180
|
+
# the default limits apply.
|
181
|
+
# Corresponds to the JSON property `maxClusterNodeCount`
|
182
|
+
# @return [Fixnum]
|
183
|
+
attr_accessor :max_cluster_node_count
|
184
|
+
|
185
|
+
# Optional. Minimum number of nodes of any type in a cluster. If not specified
|
186
|
+
# the default limits apply.
|
187
|
+
# Corresponds to the JSON property `minClusterNodeCount`
|
188
|
+
# @return [Fixnum]
|
189
|
+
attr_accessor :min_cluster_node_count
|
190
|
+
|
191
|
+
def initialize(**args)
|
192
|
+
update!(**args)
|
193
|
+
end
|
194
|
+
|
195
|
+
# Update properties of this object
|
196
|
+
def update!(**args)
|
197
|
+
@autoscaling_policies = args[:autoscaling_policies] if args.key?(:autoscaling_policies)
|
198
|
+
@cool_down_period = args[:cool_down_period] if args.key?(:cool_down_period)
|
199
|
+
@max_cluster_node_count = args[:max_cluster_node_count] if args.key?(:max_cluster_node_count)
|
200
|
+
@min_cluster_node_count = args[:min_cluster_node_count] if args.key?(:min_cluster_node_count)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
96
204
|
# Associates `members`, or principals, with a `role`.
|
97
205
|
class Binding
|
98
206
|
include Google::Apis::Core::Hashable
|
@@ -198,6 +306,12 @@ module Google
|
|
198
306
|
class Cluster
|
199
307
|
include Google::Apis::Core::Hashable
|
200
308
|
|
309
|
+
# Autoscaling settings define the rules used by VMware Engine to automatically
|
310
|
+
# scale-out and scale-in the clusters in a private cloud.
|
311
|
+
# Corresponds to the JSON property `autoscalingSettings`
|
312
|
+
# @return [Google::Apis::VmwareengineV1::AutoscalingSettings]
|
313
|
+
attr_accessor :autoscaling_settings
|
314
|
+
|
201
315
|
# Output only. Creation time of this resource.
|
202
316
|
# Corresponds to the JSON property `createTime`
|
203
317
|
# @return [String]
|
@@ -251,6 +365,7 @@ module Google
|
|
251
365
|
|
252
366
|
# Update properties of this object
|
253
367
|
def update!(**args)
|
368
|
+
@autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings)
|
254
369
|
@create_time = args[:create_time] if args.key?(:create_time)
|
255
370
|
@management = args[:management] if args.key?(:management)
|
256
371
|
@name = args[:name] if args.key?(:name)
|
@@ -3027,6 +3142,32 @@ module Google
|
|
3027
3142
|
end
|
3028
3143
|
end
|
3029
3144
|
|
3145
|
+
# Thresholds define the utilization of resources triggering scale-out and scale-
|
3146
|
+
# in operations.
|
3147
|
+
class Thresholds
|
3148
|
+
include Google::Apis::Core::Hashable
|
3149
|
+
|
3150
|
+
# Required. The utilization triggering the scale-in operation in percent.
|
3151
|
+
# Corresponds to the JSON property `scaleIn`
|
3152
|
+
# @return [Fixnum]
|
3153
|
+
attr_accessor :scale_in
|
3154
|
+
|
3155
|
+
# Required. The utilization triggering the scale-out operation in percent.
|
3156
|
+
# Corresponds to the JSON property `scaleOut`
|
3157
|
+
# @return [Fixnum]
|
3158
|
+
attr_accessor :scale_out
|
3159
|
+
|
3160
|
+
def initialize(**args)
|
3161
|
+
update!(**args)
|
3162
|
+
end
|
3163
|
+
|
3164
|
+
# Update properties of this object
|
3165
|
+
def update!(**args)
|
3166
|
+
@scale_in = args[:scale_in] if args.key?(:scale_in)
|
3167
|
+
@scale_out = args[:scale_out] if args.key?(:scale_out)
|
3168
|
+
end
|
3169
|
+
end
|
3170
|
+
|
3030
3171
|
# Request message for VmwareEngine.UndeletePrivateCloud
|
3031
3172
|
class UndeletePrivateCloudRequest
|
3032
3173
|
include Google::Apis::Core::Hashable
|
@@ -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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,18 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AutoscalingPolicy
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AutoscalingSettings
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
37
49
|
class Binding
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
51
|
|
@@ -412,6 +424,12 @@ module Google
|
|
412
424
|
include Google::Apis::Core::JsonObjectSupport
|
413
425
|
end
|
414
426
|
|
427
|
+
class Thresholds
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
415
433
|
class UndeletePrivateCloudRequest
|
416
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
435
|
|
@@ -453,6 +471,33 @@ module Google
|
|
453
471
|
end
|
454
472
|
end
|
455
473
|
|
474
|
+
class AutoscalingPolicy
|
475
|
+
# @private
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
+
property :consumed_memory_thresholds, as: 'consumedMemoryThresholds', class: Google::Apis::VmwareengineV1::Thresholds, decorator: Google::Apis::VmwareengineV1::Thresholds::Representation
|
478
|
+
|
479
|
+
property :cpu_thresholds, as: 'cpuThresholds', class: Google::Apis::VmwareengineV1::Thresholds, decorator: Google::Apis::VmwareengineV1::Thresholds::Representation
|
480
|
+
|
481
|
+
property :granted_memory_thresholds, as: 'grantedMemoryThresholds', class: Google::Apis::VmwareengineV1::Thresholds, decorator: Google::Apis::VmwareengineV1::Thresholds::Representation
|
482
|
+
|
483
|
+
property :node_type_id, as: 'nodeTypeId'
|
484
|
+
property :scale_out_size, as: 'scaleOutSize'
|
485
|
+
property :storage_thresholds, as: 'storageThresholds', class: Google::Apis::VmwareengineV1::Thresholds, decorator: Google::Apis::VmwareengineV1::Thresholds::Representation
|
486
|
+
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
class AutoscalingSettings
|
491
|
+
# @private
|
492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
493
|
+
hash :autoscaling_policies, as: 'autoscalingPolicies', class: Google::Apis::VmwareengineV1::AutoscalingPolicy, decorator: Google::Apis::VmwareengineV1::AutoscalingPolicy::Representation
|
494
|
+
|
495
|
+
property :cool_down_period, as: 'coolDownPeriod'
|
496
|
+
property :max_cluster_node_count, as: 'maxClusterNodeCount'
|
497
|
+
property :min_cluster_node_count, as: 'minClusterNodeCount'
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
456
501
|
class Binding
|
457
502
|
# @private
|
458
503
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -466,6 +511,8 @@ module Google
|
|
466
511
|
class Cluster
|
467
512
|
# @private
|
468
513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::VmwareengineV1::AutoscalingSettings, decorator: Google::Apis::VmwareengineV1::AutoscalingSettings::Representation
|
515
|
+
|
469
516
|
property :create_time, as: 'createTime'
|
470
517
|
property :management, as: 'management'
|
471
518
|
property :name, as: 'name'
|
@@ -1137,6 +1184,14 @@ module Google
|
|
1137
1184
|
end
|
1138
1185
|
end
|
1139
1186
|
|
1187
|
+
class Thresholds
|
1188
|
+
# @private
|
1189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1190
|
+
property :scale_in, as: 'scaleIn'
|
1191
|
+
property :scale_out, as: 'scaleOut'
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1140
1195
|
class UndeletePrivateCloudRequest
|
1141
1196
|
# @private
|
1142
1197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-vmwareengine_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|