Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SchemasResource

The "schemas" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SchemasResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Document.v1
Assembly: Google.Apis.Document.v1.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(GoogleCloudDocumentaiV1NextSchema, string)

Creates a schema.

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.CreateRequest Create(GoogleCloudDocumentaiV1NextSchema body, string parent)
Parameters
Type Name Description
GoogleCloudDocumentaiV1NextSchema body

The body of the request.

string parent

Required. The parent (project and location) under which to create the Schema. Format: projects/{project}/locations/{location}

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: projects/{project}/locations/{location}/schemas/{schema}

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: projects/{project}/locations/{location}/schemas/{schema}

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: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.ListRequest

Patch(GoogleCloudDocumentaiV1NextSchema, string)

Updates a schema. Editable fields are: - display_name - labels

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.PatchRequest Patch(GoogleCloudDocumentaiV1NextSchema body, string name)
Parameters
Type Name Description
GoogleCloudDocumentaiV1NextSchema body

The body of the request.

string name

Identifier. The resource name of the Schema. Format: projects/{project}/locations/{location}/schemas/{schema}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.PatchRequest
In this article
Back to top Generated by DocFX