Cloud Translation V3 API - Class Google::Cloud::Translate::V3::ListAdaptiveMtSentencesRequest (v0.10.0)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::ListAdaptiveMtSentencesRequest.

The request for listing Adaptive MT sentences from a Dataset/File.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer)

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer)
Returns
  • (::Integer)

#page_token

def page_token() -> ::String
Returns
  • (::String) — 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.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#parent

def parent() -> ::String
Returns
  • (::String) — 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}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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}
Returns
  • (::String) — 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}