deploymentPlatform = $deploymentPlatform; } /** * @return self::DEPLOYMENT_PLATFORM_* */ public function getDeploymentPlatform() { return $this->deploymentPlatform; } /** * The user defined display name of model. Ex. baseline-classification-model * * @param string $displayName */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * The domain of the model, for example, “image-classification”. * * @param string $domain */ public function setDomain($domain) { $this->domain = $domain; } /** * @return string */ public function getDomain() { return $this->domain; } /** * The name of the model library, for example, “transformers”. * * @param string $library */ public function setLibrary($library) { $this->library = $library; } /** * @return string */ public function getLibrary() { return $this->library; } /** * The region in which the model is used, for example, “us-central1”. * * @param string $location */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } /** * The name of the AI model, for example, "gemini:1.0.0". * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * The publisher of the model, for example, “google” or “nvidia”. * * @param string $publisher */ public function setPublisher($publisher) { $this->publisher = $publisher; } /** * @return string */ public function getPublisher() { return $this->publisher; } /** * The purpose of the model, for example, "Inteference" or "Training". * * @param string $usageCategory */ public function setUsageCategory($usageCategory) { $this->usageCategory = $usageCategory; } /** * @return string */ public function getUsageCategory() { return $this->usageCategory; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AiModel::class, 'Google_Service_SecurityCommandCenter_AiModel');