Class: Google::Apis::SpeechV1p1beta1::AbnfGrammar
- Inherits:
-
Object
- Object
- Google::Apis::SpeechV1p1beta1::AbnfGrammar
- 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
Instance Attribute Summary collapse
-
#abnf_strings ⇒ Array<String>
All declarations and rules of an ABNF grammar broken up into multiple strings that will end up concatenated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbnfGrammar
constructor
A new instance of AbnfGrammar.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AbnfGrammar
Returns a new instance of AbnfGrammar.
35 36 37 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#abnf_strings ⇒ Array<String>
All declarations and rules of an ABNF grammar broken up into multiple strings
that will end up concatenated.
Corresponds to the JSON property abnfStrings
33 34 35 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 33 def abnf_strings @abnf_strings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/speech_v1p1beta1/classes.rb', line 40 def update!(**args) @abnf_strings = args[:abnf_strings] if args.key?(:abnf_strings) end |