google-apis-vmwareengine_v1 0.18.0 → 0.20.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: fd1037e86b6353e488cca1a31118fd8c29ed51596dc1d4cce77e45f2c4c1468a
4
- data.tar.gz: b7f24972727bc6f28218f26104c7a321404bb53d2c8000d67d9ecdb093a8e3f4
3
+ metadata.gz: ce4bdecda20533ff14f8f09a635a489b6a5112808d7e92ba33cbb86aca339d3b
4
+ data.tar.gz: ba8ab0273d86e825018594eb7178ff54b60caa1e9459fb3fb4c0a39bc12d20d5
5
5
  SHA512:
6
- metadata.gz: 9d59940afb10ad5835b47a80c9511905614f78bb157167730b1d4c8e1c9df9ccc1af57bf2ac58dfd938fffe38cc832a3768f606acbb8ae42e6a496ca1c3949e8
7
- data.tar.gz: 91cbcf540c47bbe48eec8c7c3ea63a9a0c227ebd0d6b1f6f637a8571ce2184910cf8c251e2e3cb2fe959c5aeede511ff09330060b3c63a3565c41f18648f2175
6
+ metadata.gz: 44abf45e0d10b6609e2357d0ae6a02abb778d05dce08e7f0b7487135555a3cc20601169535b448857dd5d28bdbbc7fe4fc9fcef5db74045ce35e4a9f08085ccd
7
+ data.tar.gz: 640eca345ff45f7264546293cda787098ddd6b0cca008b3e290d0944970960f96bfe2d141fd911d2fe0970bd13779793157fe0a1a2c019e606491e58b9a68f36
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-vmwareengine_v1
2
2
 
3
+ ### v0.20.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260608
6
+ * Regenerated using generator version 0.19.0
7
+
8
+ ### v0.19.0 (2026-05-31)
9
+
10
+ * Regenerated from discovery document revision 20260518
11
+
3
12
  ### v0.18.0 (2026-05-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20260420
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/solutions/vmware-as-a-servi
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -843,6 +843,36 @@ module Google
843
843
  end
844
844
  end
845
845
 
846
+ # Encryption configuration for a private cloud.
847
+ class EncryptionConfig
848
+ include Google::Apis::Core::Hashable
849
+
850
+ # Optional. The resource name of the Cloud KMS key to be used for CMEK
851
+ # encryption. The format of this field is `projects/`project`/locations/`
852
+ # location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. The key must be in the
853
+ # same region as the private cloud. This key is used for wrapping the key-
854
+ # encrypting key of vSAN clusters. This field must be provided when `type` is `
855
+ # CMEK` or `LEGACY_CMEK`, and must not be set when `type` is `OTHER`.
856
+ # Corresponds to the JSON property `cryptoKeyName`
857
+ # @return [String]
858
+ attr_accessor :crypto_key_name
859
+
860
+ # Required. The encryption type of the private cloud.
861
+ # Corresponds to the JSON property `type`
862
+ # @return [String]
863
+ attr_accessor :type
864
+
865
+ def initialize(**args)
866
+ update!(**args)
867
+ end
868
+
869
+ # Update properties of this object
870
+ def update!(**args)
871
+ @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
872
+ @type = args[:type] if args.key?(:type)
873
+ end
874
+ end
875
+
846
876
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
847
877
  # CEL is a C-like expression language. The syntax and semantics of CEL are
848
878
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -2266,6 +2296,54 @@ module Google
2266
2296
  end
2267
2297
  end
2268
2298
 
2299
+ # Request message for VmwareEngine.MigrateManagementVms
2300
+ class MigrateManagementVmsRequest
2301
+ include Google::Apis::Core::Hashable
2302
+
2303
+ # Required. The user-provided identifier of the workload cluster to which the
2304
+ # management VMs are to be migrated. The cluster must be in the same private
2305
+ # cloud as the one specified in `name`, and must be a workload cluster. The
2306
+ # eventual cluster name will be constructed from the private cloud name and this
2307
+ # cluster ID.
2308
+ # Corresponds to the JSON property `clusterId`
2309
+ # @return [String]
2310
+ attr_accessor :cluster_id
2311
+
2312
+ # Optional. Checksum used to ensure that the user-provided value is up to date
2313
+ # before the server processes the request. The server compares provided checksum
2314
+ # with the current checksum of the resource. If the user-provided value is out
2315
+ # of date, this request returns an `ABORTED` error.
2316
+ # Corresponds to the JSON property `etag`
2317
+ # @return [String]
2318
+ attr_accessor :etag
2319
+
2320
+ # Optional. A request ID to identify requests. Specify a unique request ID so
2321
+ # that if you must retry your request, the server will know to ignore the
2322
+ # request if it has already been completed. The server guarantees that a request
2323
+ # doesn't result in creation of duplicate commitments for at least 60 minutes.
2324
+ # For example, consider a situation where you make an initial request and the
2325
+ # request times out. If you make the request again with the same request ID, the
2326
+ # server can check if the original operation with the same request ID was
2327
+ # received, and if so, will ignore the second request. This prevents clients
2328
+ # from accidentally creating duplicate commitments. The request ID must be a
2329
+ # valid UUID with the exception that zero UUID is not supported (00000000-0000-
2330
+ # 0000-0000-000000000000).
2331
+ # Corresponds to the JSON property `requestId`
2332
+ # @return [String]
2333
+ attr_accessor :request_id
2334
+
2335
+ def initialize(**args)
2336
+ update!(**args)
2337
+ end
2338
+
2339
+ # Update properties of this object
2340
+ def update!(**args)
2341
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
2342
+ @etag = args[:etag] if args.key?(:etag)
2343
+ @request_id = args[:request_id] if args.key?(:request_id)
2344
+ end
2345
+ end
2346
+
2269
2347
  # Mount Datastore Request message
2270
2348
  class MountDatastoreRequest
2271
2349
  include Google::Apis::Core::Hashable
@@ -3199,6 +3277,11 @@ module Google
3199
3277
  # @return [String]
3200
3278
  attr_accessor :description
3201
3279
 
3280
+ # Encryption configuration for a private cloud.
3281
+ # Corresponds to the JSON property `encryptionConfig`
3282
+ # @return [Google::Apis::VmwareengineV1::EncryptionConfig]
3283
+ attr_accessor :encryption_config
3284
+
3202
3285
  # Output only. Time when the resource will be irreversibly deleted.
3203
3286
  # Corresponds to the JSON property `expireTime`
3204
3287
  # @return [String]
@@ -3268,6 +3351,7 @@ module Google
3268
3351
  @create_time = args[:create_time] if args.key?(:create_time)
3269
3352
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3270
3353
  @description = args[:description] if args.key?(:description)
3354
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
3271
3355
  @expire_time = args[:expire_time] if args.key?(:expire_time)
3272
3356
  @hcx = args[:hcx] if args.key?(:hcx)
3273
3357
  @management_cluster = args[:management_cluster] if args.key?(:management_cluster)
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260420"
25
+ REVISION = "20260608"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class EncryptionConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class Expr
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -346,6 +352,12 @@ module Google
346
352
  include Google::Apis::Core::JsonObjectSupport
347
353
  end
348
354
 
355
+ class MigrateManagementVmsRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
349
361
  class MountDatastoreRequest
350
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
363
 
@@ -770,6 +782,14 @@ module Google
770
782
  end
771
783
  end
772
784
 
785
+ class EncryptionConfig
786
+ # @private
787
+ class Representation < Google::Apis::Core::JsonRepresentation
788
+ property :crypto_key_name, as: 'cryptoKeyName'
789
+ property :type, as: 'type'
790
+ end
791
+ end
792
+
773
793
  class Expr
774
794
  # @private
775
795
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1156,6 +1176,15 @@ module Google
1156
1176
  end
1157
1177
  end
1158
1178
 
1179
+ class MigrateManagementVmsRequest
1180
+ # @private
1181
+ class Representation < Google::Apis::Core::JsonRepresentation
1182
+ property :cluster_id, as: 'clusterId'
1183
+ property :etag, as: 'etag'
1184
+ property :request_id, as: 'requestId'
1185
+ end
1186
+ end
1187
+
1159
1188
  class MountDatastoreRequest
1160
1189
  # @private
1161
1190
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1349,6 +1378,8 @@ module Google
1349
1378
  property :create_time, as: 'createTime'
1350
1379
  property :delete_time, as: 'deleteTime'
1351
1380
  property :description, as: 'description'
1381
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::VmwareengineV1::EncryptionConfig, decorator: Google::Apis::VmwareengineV1::EncryptionConfig::Representation
1382
+
1352
1383
  property :expire_time, as: 'expireTime'
1353
1384
  property :hcx, as: 'hcx', class: Google::Apis::VmwareengineV1::Hcx, decorator: Google::Apis::VmwareengineV1::Hcx::Representation
1354
1385
 
@@ -132,8 +132,8 @@ module Google
132
132
  # @param [String] name
133
133
  # The resource that owns the locations collection, if applicable.
134
134
  # @param [Array<String>, String] extra_location_types
135
- # Optional. Do not use this field. It is unsupported and is ignored unless
136
- # explicitly documented otherwise. This is primarily for internal usage.
135
+ # Optional. Do not use this field unless explicitly documented otherwise. This
136
+ # is primarily for internal usage.
137
137
  # @param [String] filter
138
138
  # A filter to narrow down results to a preferred subset. The filtering language
139
139
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -2014,6 +2014,44 @@ module Google
2014
2014
  execute_or_queue_command(command, &block)
2015
2015
  end
2016
2016
 
2017
+ # Migrates the management VMs of the PC from the current management cluster to a
2018
+ # workload cluster. Post this migration, the provided workload cluster becomes
2019
+ # the management cluster
2020
+ # @param [String] name
2021
+ # Required. The resource name of the private cloud whose management vms are
2022
+ # getting migrated. Resource names are schemeless URIs that follow the
2023
+ # conventions in https://cloud.google.com/apis/design/resource_names. For
2024
+ # example: `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`
2025
+ # @param [Google::Apis::VmwareengineV1::MigrateManagementVmsRequest] migrate_management_vms_request_object
2026
+ # @param [String] fields
2027
+ # Selector specifying which fields to include in a partial response.
2028
+ # @param [String] quota_user
2029
+ # Available to use for quota purposes for server-side applications. Can be any
2030
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2031
+ # @param [Google::Apis::RequestOptions] options
2032
+ # Request-specific options
2033
+ #
2034
+ # @yield [result, err] Result & error if block supplied
2035
+ # @yieldparam result [Google::Apis::VmwareengineV1::Operation] parsed result object
2036
+ # @yieldparam err [StandardError] error object if request failed
2037
+ #
2038
+ # @return [Google::Apis::VmwareengineV1::Operation]
2039
+ #
2040
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2041
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2042
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2043
+ def migrate_private_cloud_management_vms(name, migrate_management_vms_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2044
+ command = make_simple_command(:post, 'v1/{+name}:migrateManagementVms', options)
2045
+ command.request_representation = Google::Apis::VmwareengineV1::MigrateManagementVmsRequest::Representation
2046
+ command.request_object = migrate_management_vms_request_object
2047
+ command.response_representation = Google::Apis::VmwareengineV1::Operation::Representation
2048
+ command.response_class = Google::Apis::VmwareengineV1::Operation
2049
+ command.params['name'] = name unless name.nil?
2050
+ command.query['fields'] = fields unless fields.nil?
2051
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2052
+ execute_or_queue_command(command, &block)
2053
+ end
2054
+
2017
2055
  # Modifies a `PrivateCloud` resource. Only the following fields can be updated: `
2018
2056
  # description`. Only fields specified in `updateMask` are applied. During
2019
2057
  # operation processing, the resource is temporarily in the `ACTIVE` state before
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.18.0
4
+ version: 0.20.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.18.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-vmwareengine_v1/v0.20.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="