Class ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource
The "dataset" collection of methods.
Inherited Members
Namespace: Google.Apis.Document.v1beta3
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource
Constructors
DatasetResource(IClientService)
Constructs a new resource.
Declaration
public DatasetResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BatchDeleteDocuments(GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest, string)
Deletes a set of documents.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.BatchDeleteDocumentsRequest BatchDeleteDocuments(GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3BatchDeleteDocumentsRequest | body | The body of the request. |
string | dataset | Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.BatchDeleteDocumentsRequest |
GetDatasetSchema(string)
Gets the DatasetSchema
of a Dataset
.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.GetDatasetSchemaRequest GetDatasetSchema(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The dataset schema resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.GetDatasetSchemaRequest |
GetDocument(string)
Returns relevant fields present in the requested document.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.GetDocumentRequest GetDocument(string dataset)
Parameters
Type | Name | Description |
---|---|---|
string | dataset | Required. The resource name of the dataset that the document belongs to . Format: projects/{project}/locations/{location}/processors/{processor}/dataset |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.GetDocumentRequest |
ImportDocuments(GoogleCloudDocumentaiV1beta3ImportDocumentsRequest, string)
Import documents into a dataset.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.ImportDocumentsRequest ImportDocuments(GoogleCloudDocumentaiV1beta3ImportDocumentsRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3ImportDocumentsRequest | body | The body of the request. |
string | dataset | Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.ImportDocumentsRequest |
ListDocuments(GoogleCloudDocumentaiV1beta3ListDocumentsRequest, string)
Returns a list of documents present in the dataset.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.ListDocumentsRequest ListDocuments(GoogleCloudDocumentaiV1beta3ListDocumentsRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3ListDocumentsRequest | body | The body of the request. |
string | dataset | Required. The resource name of the dataset to be listed. Format: projects/{project}/locations/{location}/processors/{processor}/dataset |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.ListDocumentsRequest |
UpdateDatasetSchema(GoogleCloudDocumentaiV1beta3DatasetSchema, string)
Updates a DatasetSchema
.
Declaration
public virtual ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.UpdateDatasetSchemaRequest UpdateDatasetSchema(GoogleCloudDocumentaiV1beta3DatasetSchema body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDocumentaiV1beta3DatasetSchema | body | The body of the request. |
string | name | Dataset schema resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ProcessorsResource.DatasetResource.UpdateDatasetSchemaRequest |