Class: Google::Cloud::AutoML::V1beta1::Model

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1beta1/model.rb

Overview

API proto representing a trained machine learning model.

Defined Under Namespace

Modules: DeploymentState

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp

Returns Output only. Timestamp when the model training finished and can be used for prediction.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#dataset_id::String

Returns 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.



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#deployment_state::Google::Cloud::AutoML::V1beta1::Model::DeploymentState

Returns Output only. Deployment state of the model. A model can only serve prediction requests after it gets deployed.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#display_name::String

Returns 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.



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#image_classification_model_metadata::Google::Cloud::AutoML::V1beta1::ImageClassificationModelMetadata

Returns Metadata for image classification models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#image_object_detection_model_metadata::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionModelMetadata

Returns Metadata for image object detection models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#name::String

Returns 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}



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#tables_model_metadata::Google::Cloud::AutoML::V1beta1::TablesModelMetadata

Returns Metadata for Tables models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#text_classification_model_metadata::Google::Cloud::AutoML::V1beta1::TextClassificationModelMetadata

Returns Metadata for text classification models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#text_extraction_model_metadata::Google::Cloud::AutoML::V1beta1::TextExtractionModelMetadata

Returns Metadata for text extraction models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#text_sentiment_model_metadata::Google::Cloud::AutoML::V1beta1::TextSentimentModelMetadata

Returns Metadata for text sentiment models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#translation_model_metadata::Google::Cloud::AutoML::V1beta1::TranslationModelMetadata

Returns Metadata for translation models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#update_time::Google::Protobuf::Timestamp

Returns Output only. Timestamp when this model was last updated.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#video_classification_model_metadata::Google::Cloud::AutoML::V1beta1::VideoClassificationModelMetadata

Returns Metadata for video classification models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end

#video_object_tracking_model_metadata::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingModelMetadata

Returns Metadata for video object tracking models.

Returns:



76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# File 'proto_docs/google/cloud/automl/v1beta1/model.rb', line 76

class Model
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Deployment state of the model.
  module DeploymentState
    # Should not be used, an un-set enum has this value by default.
    DEPLOYMENT_STATE_UNSPECIFIED = 0

    # Model is deployed.
    DEPLOYED = 1

    # Model is not deployed.
    UNDEPLOYED = 2
  end
end