Class ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtSentencesResource.ListRequest
Lists all AdaptiveMtSentences under a given file/dataset.
Inheritance
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AdaptiveMtDatasetsResource.AdaptiveMtSentencesResource.ListRequest : TranslateBaseServiceRequest<ListAdaptiveMtSentencesResponse>, IClientServiceRequest<ListAdaptiveMtSentencesResponse>, 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
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A token identifying a page of results the server should return. Typically, this is the value
of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to
ListTranslationMemories
method. The first page is returned if page_token
is empty or
missing.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource name of the project from which to list the Adaptive MT files. The
following format lists all sentences under a file.
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
The following format lists all sentences within a dataset.
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()