agentRegistrySyncConfig = $agentRegistrySyncConfig; } /** * @return GoogleCloudApihubV1AgentRegistrySyncConfig */ public function getAgentRegistrySyncConfig() { return $this->agentRegistrySyncConfig; } /** * Optional. The Customer Managed Encryption Key (CMEK) used for data * encryption. The CMEK name should follow the format of * `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`, * where the location must match the instance location. If the CMEK is not * provided, a GMEK will be created for the instance. * * @param string $cmekKeyName */ public function setCmekKeyName($cmekKeyName) { $this->cmekKeyName = $cmekKeyName; } /** * @return string */ public function getCmekKeyName() { return $this->cmekKeyName; } /** * Optional. If true, the search will be disabled for the instance. The * default value is false. * * @param bool $disableSearch */ public function setDisableSearch($disableSearch) { $this->disableSearch = $disableSearch; } /** * @return bool */ public function getDisableSearch() { return $this->disableSearch; } /** * Optional. Encryption type for the region. If the encryption type is CMEK, * the cmek_key_name must be provided. If no encryption type is provided, GMEK * will be used. * * Accepted values: ENCRYPTION_TYPE_UNSPECIFIED, GMEK, CMEK * * @param self::ENCRYPTION_TYPE_* $encryptionType */ public function setEncryptionType($encryptionType) { $this->encryptionType = $encryptionType; } /** * @return self::ENCRYPTION_TYPE_* */ public function getEncryptionType() { return $this->encryptionType; } /** * Optional. The name of the Vertex AI location where the data store is * stored. * * @param string $vertexLocation */ public function setVertexLocation($vertexLocation) { $this->vertexLocation = $vertexLocation; } /** * @return string */ public function getVertexLocation() { return $this->vertexLocation; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudApihubV1Config::class, 'Google_Service_APIhub_GoogleCloudApihubV1Config');