Cloud Translation V3 API - Class Google::Cloud::Translate::V3::ListModelsRequest (v1.2.0)

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

Request message for ListModels.

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 models that will be returned. Supported filter: dataset_id=${dataset_id}

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) — Optional. An expression for filtering the models that will be returned. Supported filter: dataset_id=${dataset_id}
Returns
  • (::String) — Optional. An expression for filtering the models that will be returned. Supported filter: dataset_id=${dataset_id}

#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 ListModels 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 ListModels 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 ListModels call.

#parent

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

#parent=

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