Class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.TrainCustomModelRequest
Trains a custom model.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.TrainCustomModelRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.TrainCustomModelRequest : DiscoveryEngineBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
TrainCustomModelRequest(IClientService, GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest, string)
Constructs a new TrainCustomModel request.
Declaration
public TrainCustomModelRequest(IClientService service, GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest body, string dataStore)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest | body | |
string | dataStore |
Properties
DataStore
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.
Declaration
[RequestParameter("dataStore", RequestParameterType.Path)]
public virtual string DataStore { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes TrainCustomModel parameter list.
Declaration
protected override void InitParameters()