Send feedback
Google Cloud Discovery Engine V1 Client - Class TrainCustomModelRequest (1.11.1)
Stay organized with collections
Save and categorize content based on your preferences.
1.11.1 (latest)
1.11.0
1.10.1
1.9.1
1.8.0
1.7.0
1.6.1
1.5.1
1.4.0
1.3.3
1.2.0
1.1.0
1.0.0
0.11.3
0.8.0
0.7.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.1
Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class TrainCustomModelRequest.
Request message for
SearchTuningService.TrainCustomModel
method.
Generated from protobuf message google.cloud.discoveryengine.v1.TrainCustomModelRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1
Methods
__construct
Parameter
Name
Description
data
mixed
Cloud Storage training input.
Cloud Storage training input.
Returns
Type
Description
$this
getDataStore
Required. The resource name of the Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store.
This field is used to identify the data store where to train the models.
Returns
Type
Description
string
setDataStore
Required. The resource name of the Data Store, such as
projects/*/locations/global/collections/default_collection/dataStores/default_data_store.
This field is used to identify the data store where to train the models.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getModelType
Model to be trained. Supported values are:
search-tuning : Fine tuning the search system based on data provided.
Returns
Type
Description
string
setModelType
Model to be trained. Supported values are:
search-tuning : Fine tuning the search system based on data provided.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getErrorConfig
The desired location of errors incurred during the data ingestion and
training.
hasErrorConfig
clearErrorConfig
setErrorConfig
The desired location of errors incurred during the data ingestion and
training.
Returns
Type
Description
$this
getModelId
If not provided, a UUID will be generated.
Returns
Type
Description
string
setModelId
If not provided, a UUID will be generated.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Returns
Type
Description
string
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]