Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class AiModel.
Contains information about the AI model associated with the finding.
Generated from protobuf message google.cloud.securitycenter.v2.AiModel
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of the AI model, for example, "gemini:1.0.0".
↳ domain
string
The domain of the model, for example, “image-classification”.
↳ library
string
The name of the model library, for example, “transformers”.
↳ location
string
The region in which the model is used, for example, “us-central1”.
↳ publisher
string
The publisher of the model, for example, “google” or “nvidia”.
↳ deployment_platform
int
The platform on which the model is deployed.
↳ display_name
string
The user defined display name of model. Ex. baseline-classification-model
getName
The name of the AI model, for example, "gemini:1.0.0".
string
setName
The name of the AI model, for example, "gemini:1.0.0".
var
string
$this
getDomain
The domain of the model, for example, “image-classification”.
string
setDomain
The domain of the model, for example, “image-classification”.
var
string
$this
getLibrary
The name of the model library, for example, “transformers”.
string
setLibrary
The name of the model library, for example, “transformers”.
var
string
$this
getLocation
The region in which the model is used, for example, “us-central1”.
string
setLocation
The region in which the model is used, for example, “us-central1”.
var
string
$this
getPublisher
The publisher of the model, for example, “google” or “nvidia”.
string
setPublisher
The publisher of the model, for example, “google” or “nvidia”.
var
string
$this
getDeploymentPlatform
The platform on which the model is deployed.
int
setDeploymentPlatform
The platform on which the model is deployed.
var
int
$this
getDisplayName
The user defined display name of model. Ex. baseline-classification-model
string
setDisplayName
The user defined display name of model. Ex. baseline-classification-model
var
string
$this