google-api-client 0.9.28 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -4
  3. data/CHANGELOG.md +10 -0
  4. data/api_names.yaml +36512 -36326
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +41 -41
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +13 -13
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +110 -110
  9. data/generated/google/apis/adsense_v1_4.rb +1 -1
  10. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4.rb +3 -3
  12. data/generated/google/apis/analyticsreporting_v4/classes.rb +845 -845
  13. data/generated/google/apis/analyticsreporting_v4/representations.rb +184 -184
  14. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  15. data/generated/google/apis/androidenterprise_v1/classes.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1/service.rb +3 -1
  17. data/generated/google/apis/appstate_v1.rb +1 -1
  18. data/generated/google/apis/calendar_v3.rb +1 -1
  19. data/generated/google/apis/classroom_v1.rb +22 -25
  20. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  21. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  22. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  23. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1/classes.rb +322 -322
  25. data/generated/google/apis/cloudbuild_v1/representations.rb +88 -88
  26. data/generated/google/apis/cloudbuild_v1/service.rb +57 -57
  27. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  28. data/generated/google/apis/clouddebugger_v2/classes.rb +311 -311
  29. data/generated/google/apis/clouddebugger_v2/representations.rb +92 -92
  30. data/generated/google/apis/clouddebugger_v2/service.rb +41 -41
  31. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  32. data/generated/google/apis/cloudkms_v1beta1/classes.rb +611 -611
  33. data/generated/google/apis/cloudkms_v1beta1/representations.rb +124 -124
  34. data/generated/google/apis/cloudkms_v1beta1/service.rb +254 -248
  35. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +116 -116
  37. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +28 -28
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +257 -257
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +394 -394
  41. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +269 -269
  43. data/generated/google/apis/cloudtrace_v1.rb +8 -8
  44. data/generated/google/apis/cloudtrace_v1/classes.rb +90 -84
  45. data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
  46. data/generated/google/apis/cloudtrace_v1/service.rb +40 -35
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +406 -31
  49. data/generated/google/apis/compute_beta/representations.rb +154 -0
  50. data/generated/google/apis/compute_beta/service.rb +262 -9
  51. data/generated/google/apis/compute_v1.rb +1 -1
  52. data/generated/google/apis/compute_v1/classes.rb +17 -20
  53. data/generated/google/apis/content_v2.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  55. data/generated/google/apis/dataflow_v1b3/classes.rb +3226 -2847
  56. data/generated/google/apis/dataflow_v1b3/representations.rb +825 -677
  57. data/generated/google/apis/dataflow_v1b3/service.rb +175 -175
  58. data/generated/google/apis/dataproc_v1.rb +2 -2
  59. data/generated/google/apis/dataproc_v1/classes.rb +1213 -1136
  60. data/generated/google/apis/dataproc_v1/representations.rb +262 -244
  61. data/generated/google/apis/dataproc_v1/service.rb +298 -243
  62. data/generated/google/apis/datastore_v1.rb +4 -4
  63. data/generated/google/apis/datastore_v1/classes.rb +728 -728
  64. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  65. data/generated/google/apis/datastore_v1/service.rb +68 -68
  66. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  67. data/generated/google/apis/drive_v2.rb +1 -1
  68. data/generated/google/apis/drive_v3.rb +1 -1
  69. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  70. data/generated/google/apis/games_management_v1management.rb +1 -1
  71. data/generated/google/apis/games_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1.rb +7 -7
  73. data/generated/google/apis/genomics_v1/classes.rb +932 -932
  74. data/generated/google/apis/genomics_v1/representations.rb +205 -205
  75. data/generated/google/apis/genomics_v1/service.rb +1228 -1228
  76. data/generated/google/apis/gmail_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +440 -440
  78. data/generated/google/apis/iam_v1/representations.rb +94 -94
  79. data/generated/google/apis/iam_v1/service.rb +60 -60
  80. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  81. data/generated/google/apis/identitytoolkit_v3/classes.rb +21 -1
  82. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
  83. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  84. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  85. data/generated/google/apis/kgsearch_v1/service.rb +21 -21
  86. data/generated/google/apis/language_v1beta1.rb +1 -1
  87. data/generated/google/apis/language_v1beta1/classes.rb +232 -232
  88. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  89. data/generated/google/apis/logging_v2beta1.rb +1 -1
  90. data/generated/google/apis/logging_v2beta1/classes.rb +345 -337
  91. data/generated/google/apis/logging_v2beta1/representations.rb +55 -55
  92. data/generated/google/apis/logging_v2beta1/service.rb +331 -306
  93. data/generated/google/apis/monitoring_v3.rb +1 -1
  94. data/generated/google/apis/monitoring_v3/classes.rb +253 -253
  95. data/generated/google/apis/monitoring_v3/representations.rb +58 -58
  96. data/generated/google/apis/monitoring_v3/service.rb +135 -135
  97. data/generated/google/apis/people_v1.rb +15 -16
  98. data/generated/google/apis/people_v1/classes.rb +985 -855
  99. data/generated/google/apis/people_v1/representations.rb +227 -220
  100. data/generated/google/apis/people_v1/service.rb +58 -52
  101. data/generated/google/apis/plus_domains_v1.rb +1 -1
  102. data/generated/google/apis/plus_v1.rb +1 -1
  103. data/generated/google/apis/pubsub_v1.rb +1 -1
  104. data/generated/google/apis/pubsub_v1/classes.rb +257 -257
  105. data/generated/google/apis/pubsub_v1/representations.rb +83 -83
  106. data/generated/google/apis/pubsub_v1/service.rb +390 -390
  107. data/generated/google/apis/script_v1.rb +17 -17
  108. data/generated/google/apis/script_v1/classes.rb +149 -141
  109. data/generated/google/apis/script_v1/representations.rb +26 -27
  110. data/generated/google/apis/script_v1/service.rb +9 -8
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +4223 -4188
  113. data/generated/google/apis/sheets_v4/representations.rb +850 -834
  114. data/generated/google/apis/sheets_v4/service.rb +192 -192
  115. data/generated/google/apis/slides_v1.rb +1 -1
  116. data/generated/google/apis/slides_v1/classes.rb +927 -800
  117. data/generated/google/apis/slides_v1/representations.rb +253 -211
  118. data/generated/google/apis/speech_v1beta1.rb +1 -1
  119. data/generated/google/apis/speech_v1beta1/classes.rb +94 -107
  120. data/generated/google/apis/speech_v1beta1/representations.rb +24 -36
  121. data/generated/google/apis/speech_v1beta1/service.rb +51 -54
  122. data/generated/google/apis/storage_v1.rb +1 -1
  123. data/generated/google/apis/vision_v1.rb +1 -1
  124. data/generated/google/apis/vision_v1/classes.rb +888 -885
  125. data/generated/google/apis/vision_v1/representations.rb +139 -139
  126. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  127. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -1
  128. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  129. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  130. data/generated/google/apis/youtubereporting_v1/classes.rb +80 -80
  131. data/generated/google/apis/youtubereporting_v1/representations.rb +23 -23
  132. data/generated/google/apis/youtubereporting_v1/service.rb +51 -51
  133. data/google-api-client.gemspec +2 -2
  134. data/lib/google/apis/core/api_command.rb +1 -1
  135. data/lib/google/apis/core/json_representation.rb +2 -2
  136. data/lib/google/apis/version.rb +1 -1
  137. data/samples/cli/lib/samples/you_tube.rb +4 -1
  138. metadata +36 -30
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech/
26
26
  module SpeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20170201'
28
+ REVISION = '20170209'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,24 +22,38 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1beta1
24
24
 
25
- # The request message for Operations.CancelOperation.
26
- class CancelOperationRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- def initialize(**args)
30
- update!(**args)
31
- end
32
-
33
- # Update properties of this object
34
- def update!(**args)
35
- end
36
- end
37
-
38
25
  # This resource represents a long-running operation that is the result of a
39
26
  # network API call.
40
27
  class Operation
41
28
  include Google::Apis::Core::Hashable
42
29
 
30
+ # If the value is `false`, it means the operation is still in progress.
31
+ # If true, the operation is completed, and either `error` or `response` is
32
+ # available.
33
+ # Corresponds to the JSON property `done`
34
+ # @return [Boolean]
35
+ attr_accessor :done
36
+ alias_method :done?, :done
37
+
38
+ # The normal response of the operation in case of success. If the original
39
+ # method returns no data on success, such as `Delete`, the response is
40
+ # `google.protobuf.Empty`. If the original method is standard
41
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
42
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
43
+ # is the original method name. For example, if the original method name
44
+ # is `TakeSnapshot()`, the inferred response type is
45
+ # `TakeSnapshotResponse`.
46
+ # Corresponds to the JSON property `response`
47
+ # @return [Hash<String,Object>]
48
+ attr_accessor :response
49
+
50
+ # The server-assigned name, which is only unique within the same service that
51
+ # originally returns it. If you use the default HTTP mapping, the
52
+ # `name` should have the format of `operations/some/unique/name`.
53
+ # Corresponds to the JSON property `name`
54
+ # @return [String]
55
+ attr_accessor :name
56
+
43
57
  # The `Status` type defines a logical error model that is suitable for different
44
58
  # programming environments, including REST APIs and RPC APIs. It is used by
45
59
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -91,44 +105,17 @@ module Google
91
105
  # @return [Hash<String,Object>]
92
106
  attr_accessor :metadata
93
107
 
94
- # If the value is `false`, it means the operation is still in progress.
95
- # If true, the operation is completed, and either `error` or `response` is
96
- # available.
97
- # Corresponds to the JSON property `done`
98
- # @return [Boolean]
99
- attr_accessor :done
100
- alias_method :done?, :done
101
-
102
- # The normal response of the operation in case of success. If the original
103
- # method returns no data on success, such as `Delete`, the response is
104
- # `google.protobuf.Empty`. If the original method is standard
105
- # `Get`/`Create`/`Update`, the response should be the resource. For other
106
- # methods, the response should have the type `XxxResponse`, where `Xxx`
107
- # is the original method name. For example, if the original method name
108
- # is `TakeSnapshot()`, the inferred response type is
109
- # `TakeSnapshotResponse`.
110
- # Corresponds to the JSON property `response`
111
- # @return [Hash<String,Object>]
112
- attr_accessor :response
113
-
114
- # The server-assigned name, which is only unique within the same service that
115
- # originally returns it. If you use the default HTTP mapping, the
116
- # `name` should have the format of `operations/some/unique/name`.
117
- # Corresponds to the JSON property `name`
118
- # @return [String]
119
- attr_accessor :name
120
-
121
108
  def initialize(**args)
122
109
  update!(**args)
123
110
  end
124
111
 
125
112
  # Update properties of this object
126
113
  def update!(**args)
127
- @error = args[:error] if args.key?(:error)
128
- @metadata = args[:metadata] if args.key?(:metadata)
129
114
  @done = args[:done] if args.key?(:done)
130
115
  @response = args[:response] if args.key?(:response)
131
116
  @name = args[:name] if args.key?(:name)
117
+ @error = args[:error] if args.key?(:error)
118
+ @metadata = args[:metadata] if args.key?(:metadata)
132
119
  end
133
120
  end
134
121
 
@@ -165,6 +152,12 @@ module Google
165
152
  # @return [String]
166
153
  attr_accessor :language_code
167
154
 
155
+ # Provides "hints" to the speech recognizer to favor specific words and phrases
156
+ # in the results.
157
+ # Corresponds to the JSON property `speechContext`
158
+ # @return [Google::Apis::SpeechV1beta1::SpeechContext]
159
+ attr_accessor :speech_context
160
+
168
161
  # *Required* Encoding of audio data sent in all `RecognitionAudio` messages.
169
162
  # Corresponds to the JSON property `encoding`
170
163
  # @return [String]
@@ -179,12 +172,6 @@ module Google
179
172
  attr_accessor :profanity_filter
180
173
  alias_method :profanity_filter?, :profanity_filter
181
174
 
182
- # Provides "hints" to the speech recognizer to favor specific words and phrases
183
- # in the results.
184
- # Corresponds to the JSON property `speechContext`
185
- # @return [Google::Apis::SpeechV1beta1::SpeechContext]
186
- attr_accessor :speech_context
187
-
188
175
  def initialize(**args)
189
176
  update!(**args)
190
177
  end
@@ -194,9 +181,9 @@ module Google
194
181
  @max_alternatives = args[:max_alternatives] if args.key?(:max_alternatives)
195
182
  @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
196
183
  @language_code = args[:language_code] if args.key?(:language_code)
184
+ @speech_context = args[:speech_context] if args.key?(:speech_context)
197
185
  @encoding = args[:encoding] if args.key?(:encoding)
198
186
  @profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter)
199
- @speech_context = args[:speech_context] if args.key?(:speech_context)
200
187
  end
201
188
  end
202
189
 
@@ -271,6 +258,13 @@ module Google
271
258
  class Status
272
259
  include Google::Apis::Core::Hashable
273
260
 
261
+ # A developer-facing error message, which should be in English. Any
262
+ # user-facing error message should be localized and sent in the
263
+ # google.rpc.Status.details field, or localized by the client.
264
+ # Corresponds to the JSON property `message`
265
+ # @return [String]
266
+ attr_accessor :message
267
+
274
268
  # A list of messages that carry the error details. There will be a
275
269
  # common set of message types for APIs to use.
276
270
  # Corresponds to the JSON property `details`
@@ -282,22 +276,15 @@ module Google
282
276
  # @return [Fixnum]
283
277
  attr_accessor :code
284
278
 
285
- # A developer-facing error message, which should be in English. Any
286
- # user-facing error message should be localized and sent in the
287
- # google.rpc.Status.details field, or localized by the client.
288
- # Corresponds to the JSON property `message`
289
- # @return [String]
290
- attr_accessor :message
291
-
292
279
  def initialize(**args)
293
280
  update!(**args)
294
281
  end
295
282
 
296
283
  # Update properties of this object
297
284
  def update!(**args)
285
+ @message = args[:message] if args.key?(:message)
298
286
  @details = args[:details] if args.key?(:details)
299
287
  @code = args[:code] if args.key?(:code)
300
- @message = args[:message] if args.key?(:message)
301
288
  end
302
289
  end
303
290
 
@@ -373,6 +360,31 @@ module Google
373
360
  end
374
361
  end
375
362
 
363
+ # Provides "hints" to the speech recognizer to favor specific words and phrases
364
+ # in the results.
365
+ class SpeechContext
366
+ include Google::Apis::Core::Hashable
367
+
368
+ # *Optional* A list of strings containing words and phrases "hints" so that
369
+ # the speech recognition is more likely to recognize them. This can be used
370
+ # to improve the accuracy for specific words and phrases, for example, if
371
+ # specific commands are typically spoken by the user. This can also be used
372
+ # to add additional words to the vocabulary of the recognizer. See
373
+ # [usage limits](https://cloud.google.com/speech/limits#content).
374
+ # Corresponds to the JSON property `phrases`
375
+ # @return [Array<String>]
376
+ attr_accessor :phrases
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @phrases = args[:phrases] if args.key?(:phrases)
385
+ end
386
+ end
387
+
376
388
  # The response message for Operations.ListOperations.
377
389
  class ListOperationsResponse
378
390
  include Google::Apis::Core::Hashable
@@ -398,20 +410,15 @@ module Google
398
410
  end
399
411
  end
400
412
 
401
- # Provides "hints" to the speech recognizer to favor specific words and phrases
402
- # in the results.
403
- class SpeechContext
413
+ # A speech recognition result corresponding to a portion of the audio.
414
+ class SpeechRecognitionResult
404
415
  include Google::Apis::Core::Hashable
405
416
 
406
- # *Optional* A list of strings containing words and phrases "hints" so that
407
- # the speech recognition is more likely to recognize them. This can be used
408
- # to improve the accuracy for specific words and phrases, for example, if
409
- # specific commands are typically spoken by the user. This can also be used
410
- # to add additional words to the vocabulary of the recognizer. See
411
- # [usage limits](https://cloud.google.com/speech/limits#content).
412
- # Corresponds to the JSON property `phrases`
413
- # @return [Array<String>]
414
- attr_accessor :phrases
417
+ # *Output-only* May contain one or more recognition hypotheses (up to the
418
+ # maximum specified in `max_alternatives`).
419
+ # Corresponds to the JSON property `alternatives`
420
+ # @return [Array<Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative>]
421
+ attr_accessor :alternatives
415
422
 
416
423
  def initialize(**args)
417
424
  update!(**args)
@@ -419,19 +426,27 @@ module Google
419
426
 
420
427
  # Update properties of this object
421
428
  def update!(**args)
422
- @phrases = args[:phrases] if args.key?(:phrases)
429
+ @alternatives = args[:alternatives] if args.key?(:alternatives)
423
430
  end
424
431
  end
425
432
 
426
- # A speech recognition result corresponding to a portion of the audio.
427
- class SpeechRecognitionResult
433
+ # The top-level message sent by the client for the `AsyncRecognize` method.
434
+ class AsyncRecognizeRequest
428
435
  include Google::Apis::Core::Hashable
429
436
 
430
- # *Output-only* May contain one or more recognition hypotheses (up to the
431
- # maximum specified in `max_alternatives`).
432
- # Corresponds to the JSON property `alternatives`
433
- # @return [Array<Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative>]
434
- attr_accessor :alternatives
437
+ # Provides information to the recognizer that specifies how to process the
438
+ # request.
439
+ # Corresponds to the JSON property `config`
440
+ # @return [Google::Apis::SpeechV1beta1::RecognitionConfig]
441
+ attr_accessor :config
442
+
443
+ # Contains audio data in the encoding specified in the `RecognitionConfig`.
444
+ # Either `content` or `uri` must be supplied. Supplying both or neither
445
+ # returns google.rpc.Code.INVALID_ARGUMENT. See
446
+ # [audio limits](https://cloud.google.com/speech/limits#content).
447
+ # Corresponds to the JSON property `audio`
448
+ # @return [Google::Apis::SpeechV1beta1::RecognitionAudio]
449
+ attr_accessor :audio
435
450
 
436
451
  def initialize(**args)
437
452
  update!(**args)
@@ -439,7 +454,8 @@ module Google
439
454
 
440
455
  # Update properties of this object
441
456
  def update!(**args)
442
- @alternatives = args[:alternatives] if args.key?(:alternatives)
457
+ @config = args[:config] if args.key?(:config)
458
+ @audio = args[:audio] if args.key?(:audio)
443
459
  end
444
460
  end
445
461
 
@@ -477,35 +493,6 @@ module Google
477
493
  @uri = args[:uri] if args.key?(:uri)
478
494
  end
479
495
  end
480
-
481
- # The top-level message sent by the client for the `AsyncRecognize` method.
482
- class AsyncRecognizeRequest
483
- include Google::Apis::Core::Hashable
484
-
485
- # Provides information to the recognizer that specifies how to process the
486
- # request.
487
- # Corresponds to the JSON property `config`
488
- # @return [Google::Apis::SpeechV1beta1::RecognitionConfig]
489
- attr_accessor :config
490
-
491
- # Contains audio data in the encoding specified in the `RecognitionConfig`.
492
- # Either `content` or `uri` must be supplied. Supplying both or neither
493
- # returns google.rpc.Code.INVALID_ARGUMENT. See
494
- # [audio limits](https://cloud.google.com/speech/limits#content).
495
- # Corresponds to the JSON property `audio`
496
- # @return [Google::Apis::SpeechV1beta1::RecognitionAudio]
497
- attr_accessor :audio
498
-
499
- def initialize(**args)
500
- update!(**args)
501
- end
502
-
503
- # Update properties of this object
504
- def update!(**args)
505
- @config = args[:config] if args.key?(:config)
506
- @audio = args[:audio] if args.key?(:audio)
507
- end
508
- end
509
496
  end
510
497
  end
511
498
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module SpeechV1beta1
24
24
 
25
- class CancelOperationRequest
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class Operation
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -70,13 +64,13 @@ module Google
70
64
  include Google::Apis::Core::JsonObjectSupport
71
65
  end
72
66
 
73
- class ListOperationsResponse
67
+ class SpeechContext
74
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
69
 
76
70
  include Google::Apis::Core::JsonObjectSupport
77
71
  end
78
72
 
79
- class SpeechContext
73
+ class ListOperationsResponse
80
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
75
 
82
76
  include Google::Apis::Core::JsonObjectSupport
@@ -88,33 +82,27 @@ module Google
88
82
  include Google::Apis::Core::JsonObjectSupport
89
83
  end
90
84
 
91
- class RecognitionAudio
85
+ class AsyncRecognizeRequest
92
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
87
 
94
88
  include Google::Apis::Core::JsonObjectSupport
95
89
  end
96
90
 
97
- class AsyncRecognizeRequest
91
+ class RecognitionAudio
98
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
93
 
100
94
  include Google::Apis::Core::JsonObjectSupport
101
95
  end
102
96
 
103
- class CancelOperationRequest
104
- # @private
105
- class Representation < Google::Apis::Core::JsonRepresentation
106
- end
107
- end
108
-
109
97
  class Operation
110
98
  # @private
111
99
  class Representation < Google::Apis::Core::JsonRepresentation
112
- property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
113
-
114
- hash :metadata, as: 'metadata'
115
100
  property :done, as: 'done'
116
101
  hash :response, as: 'response'
117
102
  property :name, as: 'name'
103
+ property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation
104
+
105
+ hash :metadata, as: 'metadata'
118
106
  end
119
107
  end
120
108
 
@@ -124,10 +112,10 @@ module Google
124
112
  property :max_alternatives, as: 'maxAlternatives'
125
113
  property :sample_rate, as: 'sampleRate'
126
114
  property :language_code, as: 'languageCode'
127
- property :encoding, as: 'encoding'
128
- property :profanity_filter, as: 'profanityFilter'
129
115
  property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation
130
116
 
117
+ property :encoding, as: 'encoding'
118
+ property :profanity_filter, as: 'profanityFilter'
131
119
  end
132
120
  end
133
121
 
@@ -144,9 +132,9 @@ module Google
144
132
  class Status
145
133
  # @private
146
134
  class Representation < Google::Apis::Core::JsonRepresentation
135
+ property :message, as: 'message'
147
136
  collection :details, as: 'details'
148
137
  property :code, as: 'code'
149
- property :message, as: 'message'
150
138
  end
151
139
  end
152
140
 
@@ -172,15 +160,6 @@ module Google
172
160
  end
173
161
  end
174
162
 
175
- class ListOperationsResponse
176
- # @private
177
- class Representation < Google::Apis::Core::JsonRepresentation
178
- property :next_page_token, as: 'nextPageToken'
179
- collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
180
-
181
- end
182
- end
183
-
184
163
  class SpeechContext
185
164
  # @private
186
165
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -188,19 +167,20 @@ module Google
188
167
  end
189
168
  end
190
169
 
191
- class SpeechRecognitionResult
170
+ class ListOperationsResponse
192
171
  # @private
193
172
  class Representation < Google::Apis::Core::JsonRepresentation
194
- collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative::Representation
173
+ property :next_page_token, as: 'nextPageToken'
174
+ collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
195
175
 
196
176
  end
197
177
  end
198
178
 
199
- class RecognitionAudio
179
+ class SpeechRecognitionResult
200
180
  # @private
201
181
  class Representation < Google::Apis::Core::JsonRepresentation
202
- property :content, :base64 => true, as: 'content'
203
- property :uri, as: 'uri'
182
+ collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative::Representation
183
+
204
184
  end
205
185
  end
206
186
 
@@ -213,6 +193,14 @@ module Google
213
193
 
214
194
  end
215
195
  end
196
+
197
+ class RecognitionAudio
198
+ # @private
199
+ class Representation < Google::Apis::Core::JsonRepresentation
200
+ property :content, :base64 => true, as: 'content'
201
+ property :uri, as: 'uri'
202
+ end
203
+ end
216
204
  end
217
205
  end
218
206
  end