Class: Google::Apis::SpeechV1::ListPhraseSetResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpeechV1::ListPhraseSetResponse
- 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 more...
Overview
Message returned to the client by the ListPhraseSet
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#phrase_sets ⇒ Array<Google::Apis::SpeechV1::PhraseSet>
The phrase set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPhraseSetResponse
constructor
A new instance of ListPhraseSetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPhraseSetResponse
Returns a new instance of ListPhraseSetResponse.
239 240 241 |
# File 'lib/google/apis/speech_v1/classes.rb', line 239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
232 233 234 |
# File 'lib/google/apis/speech_v1/classes.rb', line 232 def next_page_token @next_page_token end |
#phrase_sets ⇒ Array<Google::Apis::SpeechV1::PhraseSet>
The phrase set.
Corresponds to the JSON property phraseSets
237 238 239 |
# File 'lib/google/apis/speech_v1/classes.rb', line 237 def phrase_sets @phrase_sets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
244 245 246 247 |
# File 'lib/google/apis/speech_v1/classes.rb', line 244 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets) end |