google-apis-speech_v1 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ce90415816a873ab1f83107a11d86671c8be292499ab367e4e18260f7dec8ff
4
- data.tar.gz: 7e88b9447b73b3b5269620c04c867a7d51a4c91522ac1c01617f8301d1f8c48a
3
+ metadata.gz: 4d31a606e148525312a9ff68df1246749046c4e4035d3afe48dac421281096d4
4
+ data.tar.gz: cf2401627abf512f411abf65726f71b2b642453cc10203e1936950d247650c02
5
5
  SHA512:
6
- metadata.gz: 93009545ea2e12a6f2ba410427118547b73e891679ae5f72f9b052ebbb275f790938888f90cd9173f08f5053ca2d0de2567ad255f1a4501d01afb412dff04d25
7
- data.tar.gz: 45196c282f84c1a7adbed404b4d3400735d6ecfef02d7316dc5c5d1774fc06065901f64518f6ddca6c5ea86c39b84eb7d97f0d66139913f4a061b0135b18f64d
6
+ metadata.gz: e0b02c42e2c6baf975d4357116b8c2d0374d3f3e22d6ba9875ade92adf7a5492c5c9a61021514da24ce78c6f4bccd26592684fd545d3aec954dfb5c5e9331f96
7
+ data.tar.gz: cf63fa9b4f7dbaba2a3733a8ac409a97c947c94129468029b8ac81535f70adcc24f700e4c101ec0a5dd244ebdd1f20ad2c876896fb3d8edde2f71789e82419e4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-speech_v1
2
2
 
3
+ ### v0.28.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221202
6
+
3
7
  ### v0.27.0 (2022-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20221020
@@ -22,6 +22,26 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1
24
24
 
25
+ #
26
+ class AbnfGrammar
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # All declarations and rules of an ABNF grammar broken up into multiple strings
30
+ # that will end up concatenated.
31
+ # Corresponds to the JSON property `abnfStrings`
32
+ # @return [Array<String>]
33
+ attr_accessor :abnf_strings
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @abnf_strings = args[:abnf_strings] if args.key?(:abnf_strings)
42
+ end
43
+ end
44
+
25
45
  # An item of the class.
26
46
  class ClassItem
27
47
  include Google::Apis::Core::Hashable
@@ -946,6 +966,13 @@ module Google
946
966
  class SpeechAdaptation
947
967
  include Google::Apis::Core::Hashable
948
968
 
969
+ # Augmented Backus-Naur form (ABNF) is a standardized grammar notation comprised
970
+ # by a set of derivation rules. See specifications: https://www.w3.org/TR/speech-
971
+ # grammar
972
+ # Corresponds to the JSON property `abnfGrammar`
973
+ # @return [Google::Apis::SpeechV1::AbnfGrammar]
974
+ attr_accessor :abnf_grammar
975
+
949
976
  # A collection of custom classes. To specify the classes inline, leave the class'
950
977
  # `name` blank and fill in the rest of its fields, giving it a unique `
951
978
  # custom_class_id`. Refer to the inline defined class in phrase hints by its `
@@ -972,6 +999,7 @@ module Google
972
999
 
973
1000
  # Update properties of this object
974
1001
  def update!(**args)
1002
+ @abnf_grammar = args[:abnf_grammar] if args.key?(:abnf_grammar)
975
1003
  @custom_classes = args[:custom_classes] if args.key?(:custom_classes)
976
1004
  @phrase_set_references = args[:phrase_set_references] if args.key?(:phrase_set_references)
977
1005
  @phrase_sets = args[:phrase_sets] if args.key?(:phrase_sets)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SpeechV1
18
18
  # Version of the google-apis-speech_v1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221020"
25
+ REVISION = "20221202"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1
24
24
 
25
+ class AbnfGrammar
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class ClassItem
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -190,6 +196,13 @@ module Google
190
196
  include Google::Apis::Core::JsonObjectSupport
191
197
  end
192
198
 
199
+ class AbnfGrammar
200
+ # @private
201
+ class Representation < Google::Apis::Core::JsonRepresentation
202
+ collection :abnf_strings, as: 'abnfStrings'
203
+ end
204
+ end
205
+
193
206
  class ClassItem
194
207
  # @private
195
208
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -412,6 +425,8 @@ module Google
412
425
  class SpeechAdaptation
413
426
  # @private
414
427
  class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :abnf_grammar, as: 'abnfGrammar', class: Google::Apis::SpeechV1::AbnfGrammar, decorator: Google::Apis::SpeechV1::AbnfGrammar::Representation
429
+
415
430
  collection :custom_classes, as: 'customClasses', class: Google::Apis::SpeechV1::CustomClass, decorator: Google::Apis::SpeechV1::CustomClass::Representation
416
431
 
417
432
  collection :phrase_set_references, as: 'phraseSetReferences'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-speech_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-speech_v1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-speech_v1
63
63
  post_install_message:
64
64
  rdoc_options: []