Cloud Speech-to-Text V1 API - Class Google::Cloud::Speech::V1::ListCustomClassesRequest (v0.17.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1 API class Google::Cloud::Speech::V1::ListCustomClassesRequest.

Message sent by the client for the ListCustomClasses method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Returns
  • (::Integer) — The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

#page_token

def page_token() -> ::String
Returns
  • (::String) — A page token, received from a previous ListCustomClass call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ListCustomClass must match the call that provided the page token.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — A page token, received from a previous ListCustomClass call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ListCustomClass must match the call that provided the page token.

Returns
  • (::String) — A page token, received from a previous ListCustomClass call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ListCustomClass must match the call that provided the page token.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent, which owns this collection of custom classes. Format:

    projects/{project}/locations/{location}/customClasses

    Speech-to-Text supports three locations: global, us (US North America), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent, which owns this collection of custom classes. Format:

    projects/{project}/locations/{location}/customClasses

    Speech-to-Text supports three locations: global, us (US North America), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.

Returns
  • (::String) — Required. The parent, which owns this collection of custom classes. Format:

    projects/{project}/locations/{location}/customClasses

    Speech-to-Text supports three locations: global, us (US North America), and eu (Europe). If you are calling the speech.googleapis.com endpoint, use the global location. To specify a region, use a regional endpoint with matching us or eu location value.