Class ProjectsResource.LocationsResource.DocumentsResource.ProcessRequest
Processes a single document.
Inheritance
ProjectsResource.LocationsResource.DocumentsResource.ProcessRequest
Inherited Members
Namespace: Google.Apis.Document.v1beta2
Assembly: Google.Apis.Document.v1beta2.dll
Syntax
public class ProjectsResource.LocationsResource.DocumentsResource.ProcessRequest : DocumentBaseServiceRequest<GoogleCloudDocumentaiV1beta2Document>, IClientServiceRequest<GoogleCloudDocumentaiV1beta2Document>, IClientServiceRequest
Constructors
ProcessRequest(IClientService, GoogleCloudDocumentaiV1beta2ProcessDocumentRequest, string)
Constructs a new Process request.
Declaration
public ProcessRequest(IClientService service, GoogleCloudDocumentaiV1beta2ProcessDocumentRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDocumentaiV1beta2ProcessDocumentRequest | 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
Target project and location to make a call. Format:
projects/{project-id}/locations/{location-id}
. If no location is specified, a region will be
chosen automatically. This field is only populated when used in ProcessDocument method.
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 Process parameter list.
Declaration
protected override void InitParameters()