Reference documentation and code samples for the Financial Services V1 API class Google::Cloud::FinancialServices::V1::Model.
Model represents a trained model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of creation of this resource.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
Returns
- (::Google::Protobuf::Timestamp) — Required. End_time specifies the latest time from which labels are used and from which data is used to generate features for training. End_time should be no later than the end of the date_range of the dataset.
#engine_config
def engine_config() -> ::String
Returns
-
(::String) — Required. The resource name of the EngineConfig the model training will be
based on. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}
#engine_config=
def engine_config=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the EngineConfig the model training will be
based on. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}
Returns
-
(::String) — Required. The resource name of the EngineConfig the model training will be
based on. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}
#engine_version
def engine_version() -> ::String
Returns
- (::String) — Output only. The EngineVersion used in training this model. This is output only, and is determined from the EngineConfig used.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels
#line_of_business
def line_of_business() -> ::Google::Cloud::FinancialServices::V1::LineOfBusiness
Returns
- (::Google::Cloud::FinancialServices::V1::LineOfBusiness) — Output only. The line of business (Retail/Commercial) this model is used for. Determined by EngineConfig, cannot be set by user.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of the Model.
format:
/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}
#primary_dataset
def primary_dataset() -> ::String
Returns
-
(::String) — Required. The resource name of the Primary Dataset used in this model
training. For information about how primary and auxiliary datasets are
used, refer to the engine version's documentation. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}
#primary_dataset=
def primary_dataset=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Primary Dataset used in this model
training. For information about how primary and auxiliary datasets are
used, refer to the engine version's documentation. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}
Returns
-
(::String) — Required. The resource name of the Primary Dataset used in this model
training. For information about how primary and auxiliary datasets are
used, refer to the engine version's documentation. Format:
/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}
#state
def state() -> ::Google::Cloud::FinancialServices::V1::Model::State
Returns
- (::Google::Cloud::FinancialServices::V1::Model::State) — Output only. State of the model (creating, active, deleting, etc.)
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp of the most recent update of this resource.