Class ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.TrainRequest
Trains a new processor version. Operation metadata is returned as TrainProcessorVersionMetadata.
Inheritance
ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.TrainRequest
Inherited Members
Namespace: Google.Apis.Document.v1
Assembly: Google.Apis.Document.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ProcessorsResource.ProcessorVersionsResource.TrainRequest : DocumentBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
TrainRequest(IClientService, GoogleCloudDocumentaiV1TrainProcessorVersionRequest, string)
Constructs a new Train request.
Declaration
public TrainRequest(IClientService service, GoogleCloudDocumentaiV1TrainProcessorVersionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDocumentaiV1TrainProcessorVersionRequest | body | |
string | parent |
Properties
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
Parent
Required. The parent (project, location and processor) to create the new version for.
Format: projects/{project}/locations/{location}/processors/{processor}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
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 Train parameter list.
Declaration
protected override void InitParameters()