Class ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource
The "glossaryEntries" collection of methods.
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource
Constructors
GlossaryEntriesResource(IClientService)
Constructs a new resource.
Declaration
public GlossaryEntriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GlossaryEntry, string)
Creates a glossary entry.
Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.CreateRequest Create(GlossaryEntry body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GlossaryEntry | body | The body of the request. |
string | parent | Required. The resource name of the glossary to create the entry under. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.CreateRequest |
Delete(string)
Deletes a single entry from the glossary
Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the glossary entry to delete |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.DeleteRequest |
Get(string)
Gets a single glossary entry by the given id.
Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the glossary entry to get |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.GetRequest |
List(string)
List the entries for the glossary.
Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent glossary resource name for listing the glossary's entries. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.ListRequest |
Patch(GlossaryEntry, string)
Updates a glossary entry.
Declaration
public virtual ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.PatchRequest Patch(GlossaryEntry body, string name)
Parameters
Type | Name | Description |
---|---|---|
GlossaryEntry | body | The body of the request. |
string | name | Identifier. The resource name of the entry. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlossariesResource.GlossaryEntriesResource.PatchRequest |