From 666af3bd33051da5203c7803e4ec95f0bfec387c Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 13 Jun 2026 18:49:50 -0700 Subject: [PATCH] Regenerate vmwareengine client --- src/VMwareEngine/EncryptionConfig.php | 98 +++++++++++++++++++++++++++ src/VMwareEngine/PrivateCloud.php | 19 ++++++ 2 files changed, 117 insertions(+) create mode 100644 src/VMwareEngine/EncryptionConfig.php diff --git a/src/VMwareEngine/EncryptionConfig.php b/src/VMwareEngine/EncryptionConfig.php new file mode 100644 index 00000000000..b5381d6bc21 --- /dev/null +++ b/src/VMwareEngine/EncryptionConfig.php @@ -0,0 +1,98 @@ +cryptoKeyName = $cryptoKeyName; + } + /** + * @return string + */ + public function getCryptoKeyName() + { + return $this->cryptoKeyName; + } + /** + * Required. The encryption type of the private cloud. + * + * Accepted values: TYPE_UNSPECIFIED, CMEK, LEGACY_CMEK, OTHER + * + * @param self::TYPE_* $type + */ + public function setType($type) + { + $this->type = $type; + } + /** + * @return self::TYPE_* + */ + public function getType() + { + return $this->type; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(EncryptionConfig::class, 'Google_Service_VMwareEngine_EncryptionConfig'); diff --git a/src/VMwareEngine/PrivateCloud.php b/src/VMwareEngine/PrivateCloud.php index 5caab276045..4c1da39bb88 100644 --- a/src/VMwareEngine/PrivateCloud.php +++ b/src/VMwareEngine/PrivateCloud.php @@ -83,6 +83,8 @@ class PrivateCloud extends \Google\Model * @var string */ public $description; + protected $encryptionConfigType = EncryptionConfig::class; + protected $encryptionConfigDataType = ''; /** * Output only. Time when the resource will be irreversibly deleted. * @@ -182,6 +184,23 @@ public function getDescription() { return $this->description; } + /** + * Optional. Encryption configuration for the private cloud. If this field is + * left unspecified, Google default encryption is used. + * + * @param EncryptionConfig $encryptionConfig + */ + public function setEncryptionConfig(EncryptionConfig $encryptionConfig) + { + $this->encryptionConfig = $encryptionConfig; + } + /** + * @return EncryptionConfig + */ + public function getEncryptionConfig() + { + return $this->encryptionConfig; + } /** * Output only. Time when the resource will be irreversibly deleted. *