Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource

The "schemaVersions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource
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.SchemaVersionsResource

Constructors

SchemaVersionsResource(IClientService)

Constructs a new resource.

Declaration
public SchemaVersionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudDocumentaiV1SchemaVersion, string)

Creates a schema version.

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

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.CreateRequest

Delete(string)

Deletes a schema version.

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the SchemaVersion to delete. Format: projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.DeleteRequest

Generate(GoogleCloudDocumentaiV1GenerateSchemaVersionRequest, string)

Generates a schema version.

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GenerateRequest Generate(GoogleCloudDocumentaiV1GenerateSchemaVersionRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDocumentaiV1GenerateSchemaVersionRequest body

The body of the request.

string parent

Required. The parent (project, location and schema) under which to generate the SchemaVersion. Format: projects/{project}/locations/{location}/schemas/{schema}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GenerateRequest

Get(string)

Gets a schema version.

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the SchemaVersion to get. Format: projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schema_version}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.GetRequest

List(string)

Lists SchemaVersions.

Declaration
public virtual ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Format: projects/{project}/locations/{location}/schemas/{schema}

Returns
Type Description
ProjectsResource.LocationsResource.SchemasResource.SchemaVersionsResource.ListRequest

Patch(GoogleCloudDocumentaiV1SchemaVersion, string)

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

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

The body of the request.

string name

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

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