accessConfig = $accessConfig; } /** * @return AccessConfig */ public function getAccessConfig() { return $this->accessConfig; } /** * Optional. Immutable. The Cloud KMS Key name to use for encryption. The key * must be located in the same region as the cluster and cannot be changed. * Structured like: projects/{project}/locations/{location}/keyRings/{key_ring * }/cryptoKeys/{crypto_key}. * * @param string $kmsKey */ public function setKmsKey($kmsKey) { $this->kmsKey = $kmsKey; } /** * @return string */ public function getKmsKey() { return $this->kmsKey; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GcpConfig::class, 'Google_Service_ManagedKafka_GcpConfig');