Class ProjectsResource.LocationsResource.SchemasResource
The "schemas" collection of methods.
Inherited Members
Namespace: Google.Apis.Document.v1beta3
Assembly: Google.Apis.Document.v1beta3.dll
Syntax
public class ProjectsResource.LocationsResource.SchemasResource
Constructors
SchemasResource(IClientService)
Constructs a new resource.
Declaration
public SchemasResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
SchemaVersions
Gets the SchemaVersions resource.
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource SchemaVersions { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource |
Methods
Create(GoogleCloudDocumentaiV1beta3NextSchema, string)
Creates a schema.
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.CreateRequest Create(GoogleCloudDocumentaiV1beta3NextSchema body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDocumentaiV1beta3NextSchema | body | The body of the request. |
| string | parent | Required. The parent (project and location) under which to create the Schema. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.CreateRequest |
Delete(string)
Deletes a schema.
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the Schema to be deleted. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.DeleteRequest |
Get(string)
Gets a schema.
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the Schema to get. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.GetRequest |
List(string)
Lists Schemas.
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.ListRequest |
Patch(GoogleCloudDocumentaiV1beta3NextSchema, string)
Updates a schema. Editable fields are: - display_name - labels
Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.PatchRequest Patch(GoogleCloudDocumentaiV1beta3NextSchema body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudDocumentaiV1beta3NextSchema | body | The body of the request. |
| string | name | Identifier. The resource name of the Schema. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SchemasResource.PatchRequest |