Cloud Translation V3 API - Class Google::Cloud::Translate::V3::ListExamplesRequest (v1.3.0)

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

Request message for ListExamples.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::String) —

    Optional. An expression for filtering the examples that will be returned. Example filter:

    • usage=TRAIN

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) —

    Optional. An expression for filtering the examples that will be returned. Example filter:

    • usage=TRAIN
Returns
  • (::String) —

    Optional. An expression for filtering the examples that will be returned. Example filter:

    • usage=TRAIN

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. Requested page size. The server can return fewer results than requested.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Requested page size. The server can return fewer results than requested.
Returns
  • (::Integer) — Optional. Requested page size. The server can return fewer results than requested.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.
Returns
  • (::String) — Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of a ListExamples call.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Name of the parent dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the parent dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
Returns
  • (::String) — Required. Name of the parent dataset. In form of projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}