# Class EngineConfig (0.4.1)

0.4.1 (latest) 0.4.0 0.3.0 0.2.0 0.1.3

    EngineConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The EngineConfig resource creates the configuration for
training a model.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource name of the EngineConfig. format: `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}` |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp of creation of this resource. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp of the most recent update of this resource. |
| `labels` | `MutableMapping[str, str]` Labels |
| `state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.EngineConfig.State` Output only. State of the EngineConfig (creating, active, deleting, etc.) |
| `engine_version` | `str` Required. The resource name of the EngineVersion used in this model tuning. format: `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}` |
| `tuning` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.EngineConfig.Tuning` Optional. Configuration for tuning in creation of the EngineConfig. This field is required if `hyperparameter_source.type` is not `INHERITED`, and output-only otherwise. |
| `performance_target` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.EngineConfig.PerformanceTarget` Optional. PerformanceTarget gives information on how the tuning and training will be evaluated. This field is required if `hyperparameter_source.type` is not `INHERITED`, and output-only otherwise. |
| `line_of_business` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.LineOfBusiness` Output only. The line of business (Retail/Commercial) this engine config is used for. Determined by EngineVersion, cannot be set by user. |
| `hyperparameter_source_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.EngineConfig.HyperparameterSourceType` Optional. The origin of hyperparameters for the created EngineConfig. The default is `TUNING`. In this case, the hyperparameters are selected as a result of a tuning run. |
| `hyperparameter_source` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-financialservices/latest/google.cloud.financialservices_v1.types.EngineConfig.HyperparameterSource` Optional. Configuration of hyperparameters source EngineConfig. |

## Classes

### HyperparameterSource

    HyperparameterSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Parameters for bootstrapping an Engine Config with the
results of another one.

### HyperparameterSourceType

    HyperparameterSourceType(value)

The type of the hyperparameter source.

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### PerformanceTarget

    PerformanceTarget(mapping=None, *, ignore_unknown_fields=False, **kwargs)

PerformanceTarget gives hints on how to evaluate the
performance of a model.

### State

    State(value)

The possible states of a resource.

### Tuning

    Tuning(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The parameters needed for the tuning operation, these are
used only in tuning and not passed on to training.