Class: Google::Cloud::Speech::V1::ListCustomClassesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb

Overview

Message sent by the client for the ListCustomClasses method.

Instance Attribute Summary collapse

Instance Attribute Details

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



233
234
235
236
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 233

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

#page_token::String

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



233
234
235
236
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 233

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

#parent::String

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



233
234
235
236
# File 'proto_docs/google/cloud/speech/v1/cloud_speech_adaptation.rb', line 233

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