Class ProjectsResource.LocationsResource.ProcessorsResource.SetDefaultProcessorVersionRequest
Set the default (active) version of a Processor that will be used in ProcessDocument and BatchProcessDocuments.
Inheritance
ProjectsResource.LocationsResource.ProcessorsResource.SetDefaultProcessorVersionRequest
Inherited Members
Namespace: Google.Apis.Document.v1
Assembly: Google.Apis.Document.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ProcessorsResource.SetDefaultProcessorVersionRequest : DocumentBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
SetDefaultProcessorVersionRequest(IClientService, GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest, string)
Constructs a new SetDefaultProcessorVersion request.
Declaration
public SetDefaultProcessorVersionRequest(IClientService service, GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest body, string processor)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDocumentaiV1SetDefaultProcessorVersionRequest | body | |
string | processor |
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
Processor
Required. The resource name of the Processor to change default version.
Declaration
[RequestParameter("processor", RequestParameterType.Path)]
public virtual string Processor { 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 SetDefaultProcessorVersion parameter list.
Declaration
protected override void InitParameters()