Class: Google::Cloud::Translate::V3::ListAdaptiveMtSentencesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/translate/v3/adaptive_mt.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#page_size::Integer

Returns:

  • (::Integer)


382
383
384
385
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 382

class ListAdaptiveMtSentencesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::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.



382
383
384
385
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 382

class ListAdaptiveMtSentencesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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}



382
383
384
385
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 382

class ListAdaptiveMtSentencesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end