Class: Google::Apis::SpeechV1p1beta1::ListPhraseSetResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/speech_v1p1beta1/classes.rb,
lib/google/apis/speech_v1p1beta1/representations.rb,
lib/google/apis/speech_v1p1beta1/representations.rb

Overview

Message returned to the client by the ListPhraseSet method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListPhraseSetResponse

Returns a new instance of ListPhraseSetResponse.



349
350
351
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 349

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


342
343
344
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 342

def next_page_token
  @next_page_token
end

#phrase_setsArray<Google::Apis::SpeechV1p1beta1::PhraseSet>

The phrase set. Corresponds to the JSON property phraseSets



347
348
349
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 347

def phrase_sets
  @phrase_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



354
355
356
357
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 354

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