Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::AiModel.
Contains information about the AI model associated with the finding.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployment_platform
def deployment_platform() -> ::Google::Cloud::SecurityCenter::V2::AiModel::DeploymentPlatform
Returns
- (::Google::Cloud::SecurityCenter::V2::AiModel::DeploymentPlatform) — The platform on which the model is deployed.
#deployment_platform=
def deployment_platform=(value) -> ::Google::Cloud::SecurityCenter::V2::AiModel::DeploymentPlatform
Parameter
- value (::Google::Cloud::SecurityCenter::V2::AiModel::DeploymentPlatform) — The platform on which the model is deployed.
Returns
- (::Google::Cloud::SecurityCenter::V2::AiModel::DeploymentPlatform) — The platform on which the model is deployed.
#display_name
def display_name() -> ::String
Returns
- (::String) — The user defined display name of model. Ex. baseline-classification-model
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The user defined display name of model. Ex. baseline-classification-model
Returns
- (::String) — The user defined display name of model. Ex. baseline-classification-model
#domain
def domain() -> ::String
Returns
- (::String) — The domain of the model, for example, “image-classification”.
#domain=
def domain=(value) -> ::String
Parameter
- value (::String) — The domain of the model, for example, “image-classification”.
Returns
- (::String) — The domain of the model, for example, “image-classification”.
#library
def library() -> ::String
Returns
- (::String) — The name of the model library, for example, “transformers”.
#library=
def library=(value) -> ::String
Parameter
- value (::String) — The name of the model library, for example, “transformers”.
Returns
- (::String) — The name of the model library, for example, “transformers”.
#location
def location() -> ::String
Returns
- (::String) — The region in which the model is used, for example, “us-central1”.
#location=
def location=(value) -> ::String
Parameter
- value (::String) — The region in which the model is used, for example, “us-central1”.
Returns
- (::String) — The region in which the model is used, for example, “us-central1”.
#name
def name() -> ::String
Returns
- (::String) — The name of the AI model, for example, "gemini:1.0.0".
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name of the AI model, for example, "gemini:1.0.0".
Returns
- (::String) — The name of the AI model, for example, "gemini:1.0.0".
#publisher
def publisher() -> ::String
Returns
- (::String) — The publisher of the model, for example, “google” or “nvidia”.
#publisher=
def publisher=(value) -> ::String
Parameter
- value (::String) — The publisher of the model, for example, “google” or “nvidia”.
Returns
- (::String) — The publisher of the model, for example, “google” or “nvidia”.