Class: Google::Apis::SpeechV1::ListCustomClassesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpeechV1::ListCustomClassesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/speech_v1/classes.rb,
lib/google/apis/speech_v1/representations.rb,
lib/google/apis/speech_v1/representations.rb
Overview
Message returned to the client by the ListCustomClasses
method.
Instance Attribute Summary collapse
-
#custom_classes ⇒ Array<Google::Apis::SpeechV1::CustomClass>
The custom classes.
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCustomClassesResponse
constructor
A new instance of ListCustomClassesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListCustomClassesResponse
Returns a new instance of ListCustomClassesResponse.
298 299 300 |
# File 'lib/google/apis/speech_v1/classes.rb', line 298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_classes ⇒ Array<Google::Apis::SpeechV1::CustomClass>
The custom classes.
Corresponds to the JSON property customClasses
290 291 292 |
# File 'lib/google/apis/speech_v1/classes.rb', line 290 def custom_classes @custom_classes end |
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
296 297 298 |
# File 'lib/google/apis/speech_v1/classes.rb', line 296 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
303 304 305 306 |
# File 'lib/google/apis/speech_v1/classes.rb', line 303 def update!(**args) @custom_classes = args[:custom_classes] if args.key?(:custom_classes) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |