Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GlossariesResource.ListRequest

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

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListGlossariesResponse>
TranslateBaseServiceRequest<ListGlossariesResponse>
ProjectsResource.LocationsResource.GlossariesResource.ListRequest
Implements
IClientServiceRequest<ListGlossariesResponse>
IClientServiceRequest
Inherited Members
TranslateBaseServiceRequest<ListGlossariesResponse>.Xgafv
TranslateBaseServiceRequest<ListGlossariesResponse>.AccessToken
TranslateBaseServiceRequest<ListGlossariesResponse>.Alt
TranslateBaseServiceRequest<ListGlossariesResponse>.Callback
TranslateBaseServiceRequest<ListGlossariesResponse>.Fields
TranslateBaseServiceRequest<ListGlossariesResponse>.Key
TranslateBaseServiceRequest<ListGlossariesResponse>.OauthToken
TranslateBaseServiceRequest<ListGlossariesResponse>.PrettyPrint
TranslateBaseServiceRequest<ListGlossariesResponse>.QuotaUser
TranslateBaseServiceRequest<ListGlossariesResponse>.UploadType
TranslateBaseServiceRequest<ListGlossariesResponse>.UploadProtocol
ClientServiceRequest<ListGlossariesResponse>.Execute()
ClientServiceRequest<ListGlossariesResponse>.ExecuteAsStream()
ClientServiceRequest<ListGlossariesResponse>.ExecuteAsync()
ClientServiceRequest<ListGlossariesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListGlossariesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListGlossariesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListGlossariesResponse>.CreateRequest(bool?)
ClientServiceRequest<ListGlossariesResponse>.GenerateRequestUri()
ClientServiceRequest<ListGlossariesResponse>.GetBody()
ClientServiceRequest<ListGlossariesResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListGlossariesResponse>.ETagAction
ClientServiceRequest<ListGlossariesResponse>.ModifyRequest
ClientServiceRequest<ListGlossariesResponse>.ValidateParameters
ClientServiceRequest<ListGlossariesResponse>.ApiVersion
ClientServiceRequest<ListGlossariesResponse>.RequestParameters
ClientServiceRequest<ListGlossariesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Translate.v3beta1
Assembly: Google.Apis.Translate.v3beta1.dll
Syntax
public class ProjectsResource.LocationsResource.GlossariesResource.ListRequest : TranslateBaseServiceRequest<ListGlossariesResponse>, IClientServiceRequest<ListGlossariesResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

Filter

Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src" or "tgt", and the value must be a valid language code. For multiple restrictions, concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used here, which means using 'en-US' and 'en' can lead to different results, which depends on the language code you used when you create the glossary. For the unidirectional glossaries, the "src" and "tgt" add restrictions on the source and target language code separately. For the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional glossaries which exactly match the source language code as "en-US" and the target language code "zh-CN", but all equivalent term set glossaries which contain "en-US" and "zh-CN" in their language set will be picked. If missing, no filtering is performed.

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListGlossariesResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListGlossariesResponse>.MethodName

PageSize

Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate default.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. A token identifying a page of results the server should return. Typically, this is the value of [ListGlossariesResponse.next_page_token] returned from the previous call to ListGlossaries method. The first page is returned if page_tokenis empty or missing.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

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

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListGlossariesResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
TranslateBaseServiceRequest<ListGlossariesResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX