Class ProjectsResource.LocationsResource.GlossariesResource
The "glossaries" collection of methods.
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.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. |
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 |
---|---|---|
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 |
---|---|---|
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 |
---|---|---|
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. |
string | name | Required. The resource name of the glossary. Glossary names have the form
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.PatchRequest |