Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::Model (v0.8.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::Model.

API proto representing a trained machine learning model.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#dataset_id

def dataset_id() -> ::String
Returns
  • (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.

#dataset_id=

def dataset_id=(value) -> ::String
Parameter
  • value (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.
Returns
  • (::String) — Required. The resource ID of the dataset used to create the model. The dataset must come from the same ancestor project and location.

#deployment_state

def deployment_state() -> ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
Returns

#deployment_state=

def deployment_state=(value) -> ::Google::Cloud::AutoML::V1beta1::Model::DeploymentState
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.
Returns
  • (::String) — Required. The name of the model to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9. It must start with a letter.

#image_classification_model_metadata

def image_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
Returns

#image_classification_model_metadata=

def image_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata
Parameter
Returns

#image_object_detection_model_metadata

def image_object_detection_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
Returns

#image_object_detection_model_metadata=

def image_object_detection_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}
Returns
  • (::String) — Output only. Resource name of the model. Format: projects/{project_id}/locations/{location_id}/models/{model_id}

#tables_model_metadata

def tables_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
Returns

#tables_model_metadata=

def tables_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TablesModelMetadata
Parameter
Returns

#text_classification_model_metadata

def text_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
Returns

#text_classification_model_metadata=

def text_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata
Parameter
Returns

#text_extraction_model_metadata

def text_extraction_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
Returns

#text_extraction_model_metadata=

def text_extraction_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata
Parameter
Returns

#text_sentiment_model_metadata

def text_sentiment_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
Returns

#text_sentiment_model_metadata=

def text_sentiment_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata
Parameter
Returns

#translation_model_metadata

def translation_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
Returns

#translation_model_metadata=

def translation_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#update_time=

def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#video_classification_model_metadata

def video_classification_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
Returns

#video_classification_model_metadata=

def video_classification_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata
Parameter
Returns

#video_object_tracking_model_metadata

def video_object_tracking_model_metadata() -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
Returns

#video_object_tracking_model_metadata=

def video_object_tracking_model_metadata=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata
Parameter
Returns