Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GlossariesResource

The "glossaries" collection of methods.

Inheritance
System.Object
ProjectsResource.LocationsResource.GlossariesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class GlossariesResource

Constructors

GlossariesResource(IClientService)

Constructs a new resource.

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

Properties

GlossaryEntries

Gets the GlossaryEntries resource.

Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource GlossaryEntries { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource

Methods

Create(Glossary, String)

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.

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

The body of the request.

System.String parent

Required. The project name.

Returns
Type Description
ProjectsResource.LocationsResource.GlossariesResource.CreateRequest

Delete(String)

Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.

Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
System.String name

Required. The name of the glossary to delete.

Returns
Type Description
ProjectsResource.LocationsResource.GlossariesResource.DeleteRequest

Get(String)

Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.

Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GetRequest Get(string name)
Parameters
Type Name Description
System.String name

Required. The name of the glossary to retrieve.

Returns
Type Description
ProjectsResource.LocationsResource.GlossariesResource.GetRequest

List(String)

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.

Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.ListRequest List(string parent)
Parameters
Type Name Description
System.String parent

Required. The name of the project from which to list all of the glossaries.

Returns
Type Description
ProjectsResource.LocationsResource.GlossariesResource.ListRequest

Patch(Glossary, String)

Updates a glossary. A LRO is used since the update can be async if the glossary's entry file is updated.

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

The body of the request.

System.String name

Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.

Returns
Type Description
ProjectsResource.LocationsResource.GlossariesResource.PatchRequest
In This Article
Back to top