Class ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GenerateRequest
Generates a schema version.
Inheritance
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GenerateRequest
Implements
Inherited Members
DocumentBaseServiceRequest<GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse>.CreateRequest(bool?)
Namespace: Google.Apis.Document.v1beta3
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GenerateRequest : DocumentBaseServiceRequest<GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse>, IClientServiceRequest<GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest, string)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDocumentaiV1beta3GenerateSchemaVersionRequest | 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 schema) under which to generate the
SchemaVersion. Format: projects/{project}/locations/{location}/schemas/{schema}
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 Generate parameter list.
Declaration
protected override void InitParameters()