google-api-client 0.30.2 → 0.30.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +90 -0
  3. data/README.md +17 -1
  4. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
  6. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  7. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
  9. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analytics_v3/classes.rb +1 -1
  15. data/generated/google/apis/analytics_v3/service.rb +1 -1
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
  18. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
  20. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  21. data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
  24. data/generated/google/apis/bigquery_v2.rb +1 -1
  25. data/generated/google/apis/bigquery_v2/classes.rb +243 -5
  26. data/generated/google/apis/bigquery_v2/representations.rb +77 -0
  27. data/generated/google/apis/bigquery_v2/service.rb +206 -0
  28. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  29. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
  30. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
  31. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  32. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  33. data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
  34. data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
  35. data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
  38. data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
  39. data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
  40. data/generated/google/apis/cloudasset_v1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
  42. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
  46. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  47. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
  48. data/generated/google/apis/cloudiot_v1.rb +1 -1
  49. data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
  50. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
  54. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
  56. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
  58. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  59. data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
  60. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
  62. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  63. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
  64. data/generated/google/apis/cloudshell_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
  66. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
  70. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
  72. data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
  73. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
  74. data/generated/google/apis/composer_v1.rb +1 -1
  75. data/generated/google/apis/composer_v1/classes.rb +8 -74
  76. data/generated/google/apis/composer_v1beta1.rb +1 -1
  77. data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
  78. data/generated/google/apis/compute_alpha.rb +1 -1
  79. data/generated/google/apis/compute_alpha/classes.rb +1991 -700
  80. data/generated/google/apis/compute_alpha/representations.rb +604 -154
  81. data/generated/google/apis/compute_alpha/service.rb +693 -89
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +375 -230
  84. data/generated/google/apis/compute_beta/representations.rb +2 -0
  85. data/generated/google/apis/compute_beta/service.rb +92 -6
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +1827 -239
  88. data/generated/google/apis/compute_v1/representations.rb +669 -2
  89. data/generated/google/apis/compute_v1/service.rb +1150 -6
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +104 -0
  92. data/generated/google/apis/container_v1/representations.rb +48 -0
  93. data/generated/google/apis/container_v1beta1.rb +1 -1
  94. data/generated/google/apis/container_v1beta1/classes.rb +67 -2
  95. data/generated/google/apis/container_v1beta1/representations.rb +31 -0
  96. data/generated/google/apis/content_v2.rb +1 -1
  97. data/generated/google/apis/content_v2/classes.rb +4 -0
  98. data/generated/google/apis/content_v2_1.rb +1 -1
  99. data/generated/google/apis/content_v2_1/classes.rb +41 -0
  100. data/generated/google/apis/content_v2_1/representations.rb +19 -0
  101. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  102. data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
  103. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  104. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  105. data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +147 -64
  108. data/generated/google/apis/dataproc_v1/representations.rb +42 -0
  109. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  110. data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
  111. data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
  112. data/generated/google/apis/dialogflow_v2.rb +2 -2
  113. data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
  114. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  115. data/generated/google/apis/dialogflow_v2/service.rb +77 -17
  116. data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  122. data/generated/google/apis/dns_v1beta2.rb +1 -1
  123. data/generated/google/apis/dns_v1beta2/service.rb +1 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +0 -10
  126. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  127. data/generated/google/apis/file_v1.rb +1 -1
  128. data/generated/google/apis/file_v1/classes.rb +17 -74
  129. data/generated/google/apis/file_v1/representations.rb +1 -0
  130. data/generated/google/apis/file_v1beta1.rb +1 -1
  131. data/generated/google/apis/file_v1beta1/classes.rb +17 -74
  132. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/firebase_v1beta1.rb +44 -0
  134. data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
  135. data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
  136. data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
  137. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  138. data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
  139. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  140. data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/iam_v1/classes.rb +6 -0
  143. data/generated/google/apis/iam_v1/representations.rb +1 -0
  144. data/generated/google/apis/logging_v2.rb +1 -1
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +18 -0
  147. data/generated/google/apis/ml_v1/representations.rb +3 -0
  148. data/generated/google/apis/monitoring_v3.rb +1 -1
  149. data/generated/google/apis/monitoring_v3/classes.rb +1 -1
  150. data/generated/google/apis/people_v1.rb +1 -1
  151. data/generated/google/apis/people_v1/classes.rb +12 -111
  152. data/generated/google/apis/pubsub_v1.rb +1 -1
  153. data/generated/google/apis/pubsub_v1/classes.rb +43 -0
  154. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  155. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  156. data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
  157. data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
  158. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  159. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
  160. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
  161. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
  162. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  163. data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
  164. data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
  165. data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
  166. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
  168. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  169. data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
  170. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
  171. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  172. data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
  173. data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
  174. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  175. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
  176. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  177. data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
  178. data/generated/google/apis/serviceusage_v1.rb +1 -1
  179. data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
  180. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  181. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
  182. data/generated/google/apis/spanner_v1.rb +1 -1
  183. data/generated/google/apis/spanner_v1/classes.rb +12 -111
  184. data/generated/google/apis/speech_v1.rb +1 -1
  185. data/generated/google/apis/speech_v1/classes.rb +13 -74
  186. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  187. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
  188. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  189. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
  190. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  191. data/generated/google/apis/tagmanager_v1.rb +4 -3
  192. data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
  193. data/generated/google/apis/tagmanager_v1/service.rb +223 -374
  194. data/generated/google/apis/tagmanager_v2.rb +4 -3
  195. data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
  196. data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
  197. data/generated/google/apis/tagmanager_v2/service.rb +608 -757
  198. data/generated/google/apis/texttospeech_v1.rb +1 -1
  199. data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
  200. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  201. data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
  202. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  203. data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
  204. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  205. data/generated/google/apis/tpu_v1.rb +1 -1
  206. data/generated/google/apis/tpu_v1/classes.rb +17 -88
  207. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  208. data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
  209. data/generated/google/apis/vault_v1.rb +1 -1
  210. data/generated/google/apis/vault_v1/classes.rb +49 -0
  211. data/generated/google/apis/vault_v1/representations.rb +18 -0
  212. data/generated/google/apis/videointelligence_v1.rb +1 -1
  213. data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
  214. data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
  215. data/generated/google/apis/videointelligence_v1/service.rb +217 -9
  216. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  217. data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
  218. data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
  219. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  220. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
  221. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
  222. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  223. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
  224. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
  225. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  226. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
  227. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
  228. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  229. data/lib/google/apis/version.rb +1 -1
  230. metadata +6 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/text-to-speech/
26
26
  module TexttospeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190329'
28
+ REVISION = '20190614'
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'
@@ -26,15 +26,14 @@ module Google
26
26
  class AudioConfig
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Required. The format of the requested audio byte stream.
29
+ # Required. The format of the audio byte stream.
30
30
  # Corresponds to the JSON property `audioEncoding`
31
31
  # @return [String]
32
32
  attr_accessor :audio_encoding
33
33
 
34
- # An identifier which selects 'audio effects' profiles that are applied on
35
- # (post synthesized) text to speech.
36
- # Effects are applied on top of each other in the order they are given.
37
- # See
34
+ # Input only. Optional. An identifier which selects 'audio effects' profiles
35
+ # that are applied on (post synthesized) text to speech. Effects are applied
36
+ # on top of each other in the order they are given. See
38
37
  # [audio-profiles](https:
39
38
  # //cloud.google.com/text-to-speech/docs/audio-profiles)
40
39
  # for current supported profile ids.
@@ -42,39 +41,40 @@ module Google
42
41
  # @return [Array<String>]
43
42
  attr_accessor :effects_profile_id
44
43
 
45
- # Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
46
- # semitones from the original pitch. -20 means decrease 20 semitones from the
47
- # original pitch.
44
+ # Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means
45
+ # increase 20 semitones from the original pitch. -20 means decrease 20
46
+ # semitones from the original pitch.
48
47
  # Corresponds to the JSON property `pitch`
49
48
  # @return [Float]
50
49
  attr_accessor :pitch
51
50
 
52
- # The synthesis sample rate (in hertz) for this audio. Optional. If this is
53
- # different from the voice's natural sample rate, then the synthesizer will
54
- # honor this request by converting to the desired sample rate (which might
55
- # result in worse audio quality), unless the specified sample rate is not
56
- # supported for the encoding chosen, in which case it will fail the request
57
- # and return google.rpc.Code.INVALID_ARGUMENT.
51
+ # The synthesis sample rate (in hertz) for this audio. Optional. When this is
52
+ # specified in SynthesizeSpeechRequest, if this is different from the voice's
53
+ # natural sample rate, then the synthesizer will honor this request by
54
+ # converting to the desired sample rate (which might result in worse audio
55
+ # quality), unless the specified sample rate is not supported for the
56
+ # encoding chosen, in which case it will fail the request and return
57
+ # google.rpc.Code.INVALID_ARGUMENT.
58
58
  # Corresponds to the JSON property `sampleRateHertz`
59
59
  # @return [Fixnum]
60
60
  attr_accessor :sample_rate_hertz
61
61
 
62
- # Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
63
- # native speed supported by the specific voice. 2.0 is twice as fast, and
64
- # 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
65
- # other values < 0.25 or > 4.0 will return an error.
62
+ # Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
63
+ # the normal native speed supported by the specific voice. 2.0 is twice as
64
+ # fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
65
+ # speed. Any other values < 0.25 or > 4.0 will return an error.
66
66
  # Corresponds to the JSON property `speakingRate`
67
67
  # @return [Float]
68
68
  attr_accessor :speaking_rate
69
69
 
70
- # Optional volume gain (in dB) of the normal native volume supported by the
71
- # specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
72
- # 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
73
- # will play at approximately half the amplitude of the normal native signal
74
- # amplitude. A value of +6.0 (dB) will play at approximately twice the
75
- # amplitude of the normal native signal amplitude. Strongly recommend not to
76
- # exceed +10 (dB) as there's usually no effective increase in loudness for
77
- # any value greater than that.
70
+ # Input only. Optional. Volume gain (in dB) of the normal native volume
71
+ # supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
72
+ # set to a value of 0.0 (dB), will play at normal native signal amplitude. A
73
+ # value of -6.0 (dB) will play at approximately half the amplitude of the
74
+ # normal native signal amplitude. A value of +6.0 (dB) will play at
75
+ # approximately twice the amplitude of the normal native signal amplitude.
76
+ # Strongly recommend not to exceed +10 (dB) as there's usually no effective
77
+ # increase in loudness for any value greater than that.
78
78
  # Corresponds to the JSON property `volumeGainDb`
79
79
  # @return [Float]
80
80
  attr_accessor :volume_gain_db
@@ -183,7 +183,8 @@ module Google
183
183
  include Google::Apis::Core::Hashable
184
184
 
185
185
  # The audio data bytes encoded as specified in the request, including the
186
- # header (For LINEAR16 audio, we include the WAV header). Note: as
186
+ # header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
187
+ # For LINEAR16 audio, we include the WAV header. Note: as
187
188
  # with all bytes fields, protobuffers use a pure binary representation,
188
189
  # whereas JSON representations use base64.
189
190
  # Corresponds to the JSON property `audioContent`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/text-to-speech/
26
26
  module TexttospeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190329'
28
+ REVISION = '20190614'
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'
@@ -26,15 +26,14 @@ module Google
26
26
  class AudioConfig
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Required. The format of the requested audio byte stream.
29
+ # Required. The format of the audio byte stream.
30
30
  # Corresponds to the JSON property `audioEncoding`
31
31
  # @return [String]
32
32
  attr_accessor :audio_encoding
33
33
 
34
- # An identifier which selects 'audio effects' profiles that are applied on
35
- # (post synthesized) text to speech.
36
- # Effects are applied on top of each other in the order they are given.
37
- # See
34
+ # Input only. Optional. An identifier which selects 'audio effects' profiles
35
+ # that are applied on (post synthesized) text to speech. Effects are applied
36
+ # on top of each other in the order they are given. See
38
37
  # [audio-profiles](https:
39
38
  # //cloud.google.com/text-to-speech/docs/audio-profiles)
40
39
  # for current supported profile ids.
@@ -42,39 +41,40 @@ module Google
42
41
  # @return [Array<String>]
43
42
  attr_accessor :effects_profile_id
44
43
 
45
- # Optional speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
46
- # semitones from the original pitch. -20 means decrease 20 semitones from the
47
- # original pitch.
44
+ # Input only. Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means
45
+ # increase 20 semitones from the original pitch. -20 means decrease 20
46
+ # semitones from the original pitch.
48
47
  # Corresponds to the JSON property `pitch`
49
48
  # @return [Float]
50
49
  attr_accessor :pitch
51
50
 
52
- # The synthesis sample rate (in hertz) for this audio. Optional. If this is
53
- # different from the voice's natural sample rate, then the synthesizer will
54
- # honor this request by converting to the desired sample rate (which might
55
- # result in worse audio quality), unless the specified sample rate is not
56
- # supported for the encoding chosen, in which case it will fail the request
57
- # and return google.rpc.Code.INVALID_ARGUMENT.
51
+ # The synthesis sample rate (in hertz) for this audio. Optional. When this is
52
+ # specified in SynthesizeSpeechRequest, if this is different from the voice's
53
+ # natural sample rate, then the synthesizer will honor this request by
54
+ # converting to the desired sample rate (which might result in worse audio
55
+ # quality), unless the specified sample rate is not supported for the
56
+ # encoding chosen, in which case it will fail the request and return
57
+ # google.rpc.Code.INVALID_ARGUMENT.
58
58
  # Corresponds to the JSON property `sampleRateHertz`
59
59
  # @return [Fixnum]
60
60
  attr_accessor :sample_rate_hertz
61
61
 
62
- # Optional speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
63
- # native speed supported by the specific voice. 2.0 is twice as fast, and
64
- # 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
65
- # other values < 0.25 or > 4.0 will return an error.
62
+ # Input only. Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is
63
+ # the normal native speed supported by the specific voice. 2.0 is twice as
64
+ # fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
65
+ # speed. Any other values < 0.25 or > 4.0 will return an error.
66
66
  # Corresponds to the JSON property `speakingRate`
67
67
  # @return [Float]
68
68
  attr_accessor :speaking_rate
69
69
 
70
- # Optional volume gain (in dB) of the normal native volume supported by the
71
- # specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
72
- # 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
73
- # will play at approximately half the amplitude of the normal native signal
74
- # amplitude. A value of +6.0 (dB) will play at approximately twice the
75
- # amplitude of the normal native signal amplitude. Strongly recommend not to
76
- # exceed +10 (dB) as there's usually no effective increase in loudness for
77
- # any value greater than that.
70
+ # Input only. Optional. Volume gain (in dB) of the normal native volume
71
+ # supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
72
+ # set to a value of 0.0 (dB), will play at normal native signal amplitude. A
73
+ # value of -6.0 (dB) will play at approximately half the amplitude of the
74
+ # normal native signal amplitude. A value of +6.0 (dB) will play at
75
+ # approximately twice the amplitude of the normal native signal amplitude.
76
+ # Strongly recommend not to exceed +10 (dB) as there's usually no effective
77
+ # increase in loudness for any value greater than that.
78
78
  # Corresponds to the JSON property `volumeGainDb`
79
79
  # @return [Float]
80
80
  attr_accessor :volume_gain_db
@@ -183,7 +183,8 @@ module Google
183
183
  include Google::Apis::Core::Hashable
184
184
 
185
185
  # The audio data bytes encoded as specified in the request, including the
186
- # header (For LINEAR16 audio, we include the WAV header). Note: as
186
+ # header for encodings that are wrapped in containers (e.g. MP3, OGG_OPUS).
187
+ # For LINEAR16 audio, we include the WAV header. Note: as
187
188
  # with all bytes fields, protobuffers use a pure binary representation,
188
189
  # whereas JSON representations use base64.
189
190
  # Corresponds to the JSON property `audioContent`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://firebase.google.com/docs/test-lab/
26
26
  module ToolresultsV1beta3
27
27
  VERSION = 'V1beta3'
28
- REVISION = '20190529'
28
+ REVISION = '20190617'
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'
@@ -2618,6 +2618,40 @@ module Google
2618
2618
  class TestSuiteOverview
2619
2619
  include Google::Apis::Core::Hashable
2620
2620
 
2621
+ # A Duration represents a signed, fixed-length span of time represented as a
2622
+ # count of seconds and fractions of seconds at nanosecond resolution. It is
2623
+ # independent of any calendar and concepts like "day" or "month". It is related
2624
+ # to Timestamp in that the difference between two Timestamp values is a Duration
2625
+ # and it can be added or subtracted from a Timestamp. Range is approximately +-
2626
+ # 10,000 years.
2627
+ # # Examples
2628
+ # Example 1: Compute Duration from two Timestamps in pseudo code.
2629
+ # Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
2630
+ # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
2631
+ # start.nanos;
2632
+ # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
2633
+ # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
2634
+ # 1; duration.nanos += 1000000000; `
2635
+ # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
2636
+ # Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
2637
+ # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
2638
+ # duration.nanos;
2639
+ # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
2640
+ # Example 3: Compute Duration from datetime.timedelta in Python.
2641
+ # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
2642
+ # FromTimedelta(td)
2643
+ # # JSON Mapping
2644
+ # In JSON format, the Duration type is encoded as a string rather than an object,
2645
+ # where the string ends in the suffix "s" (indicating seconds) and is preceded
2646
+ # by the number of seconds, with nanoseconds expressed as fractional seconds.
2647
+ # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
2648
+ # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
2649
+ # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
2650
+ # format as "3.000001s".
2651
+ # Corresponds to the JSON property `elapsedTime`
2652
+ # @return [Google::Apis::ToolresultsV1beta3::Duration]
2653
+ attr_accessor :elapsed_time
2654
+
2621
2655
  # Number of test cases in error, typically set by the service by parsing the
2622
2656
  # xml_source.
2623
2657
  # - In create/response: always set - In update request: never
@@ -2662,6 +2696,7 @@ module Google
2662
2696
 
2663
2697
  # Update properties of this object
2664
2698
  def update!(**args)
2699
+ @elapsed_time = args[:elapsed_time] if args.key?(:elapsed_time)
2665
2700
  @error_count = args[:error_count] if args.key?(:error_count)
2666
2701
  @failure_count = args[:failure_count] if args.key?(:failure_count)
2667
2702
  @name = args[:name] if args.key?(:name)
@@ -936,6 +936,8 @@ module Google
936
936
  class TestSuiteOverview
937
937
  # @private
938
938
  class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :elapsed_time, as: 'elapsedTime', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
940
+
939
941
  property :error_count, as: 'errorCount'
940
942
  property :failure_count, as: 'failureCount'
941
943
  property :name, as: 'name'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tpu/
26
26
  module TpuV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190509'
28
+ REVISION = '20190619'
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'
@@ -292,8 +292,7 @@ module Google
292
292
  # @return [String]
293
293
  attr_accessor :cidr_block
294
294
 
295
- # Output only.
296
- # The time when the node was created.
295
+ # Output only. The time when the node was created.
297
296
  # Corresponds to the JSON property `createTime`
298
297
  # @return [String]
299
298
  attr_accessor :create_time
@@ -308,15 +307,14 @@ module Google
308
307
  # @return [String]
309
308
  attr_accessor :health
310
309
 
311
- # Output only.
312
- # If this field is populated, it contains a description of why the TPU Node
310
+ # Output only. If this field is populated, it contains a description of why the
311
+ # TPU Node
313
312
  # is unhealthy.
314
313
  # Corresponds to the JSON property `healthDescription`
315
314
  # @return [String]
316
315
  attr_accessor :health_description
317
316
 
318
- # Output only.
319
- # DEPRECATED! Use network_endpoints instead.
317
+ # Output only. DEPRECATED! Use network_endpoints instead.
320
318
  # The network address for the TPU Node as visible to Compute Engine
321
319
  # instances.
322
320
  # Corresponds to the JSON property `ipAddress`
@@ -328,8 +326,7 @@ module Google
328
326
  # @return [Hash<String,String>]
329
327
  attr_accessor :labels
330
328
 
331
- # Output only.
332
- # The immutable name of the TPU
329
+ # Output only. The immutable name of the TPU
333
330
  # Corresponds to the JSON property `name`
334
331
  # @return [String]
335
332
  attr_accessor :name
@@ -348,8 +345,7 @@ module Google
348
345
  # @return [Array<Google::Apis::TpuV1::NetworkEndpoint>]
349
346
  attr_accessor :network_endpoints
350
347
 
351
- # Output only.
352
- # DEPRECATED! Use network_endpoints instead.
348
+ # Output only. DEPRECATED! Use network_endpoints instead.
353
349
  # The network port for the TPU Node as visible to Compute Engine instances.
354
350
  # Corresponds to the JSON property `port`
355
351
  # @return [String]
@@ -360,8 +356,8 @@ module Google
360
356
  # @return [Google::Apis::TpuV1::SchedulingConfig]
361
357
  attr_accessor :scheduling_config
362
358
 
363
- # Output only.
364
- # The service account used to run the tensor flow services within the node.
359
+ # Output only. The service account used to run the tensor flow services within
360
+ # the node.
365
361
  # To share resources, including Google Cloud Storage data, with the
366
362
  # Tensorflow job running in the Node, this account must have permissions to
367
363
  # that data.
@@ -369,8 +365,7 @@ module Google
369
365
  # @return [String]
370
366
  attr_accessor :service_account
371
367
 
372
- # Output only.
373
- # The current state for the TPU Node.
368
+ # Output only. The current state for the TPU Node.
374
369
  # Corresponds to the JSON property `state`
375
370
  # @return [String]
376
371
  attr_accessor :state
@@ -421,43 +416,10 @@ module Google
421
416
 
422
417
  # The `Status` type defines a logical error model that is suitable for
423
418
  # different programming environments, including REST APIs and RPC APIs. It is
424
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
425
- # - Simple to use and understand for most users
426
- # - Flexible enough to meet unexpected needs
427
- # # Overview
428
- # The `Status` message contains three pieces of data: error code, error
429
- # message, and error details. The error code should be an enum value of
430
- # google.rpc.Code, but it may accept additional error codes if needed. The
431
- # error message should be a developer-facing English message that helps
432
- # developers *understand* and *resolve* the error. If a localized user-facing
433
- # error message is needed, put the localized message in the error details or
434
- # localize it in the client. The optional error details may contain arbitrary
435
- # information about the error. There is a predefined set of error detail types
436
- # in the package `google.rpc` that can be used for common error conditions.
437
- # # Language mapping
438
- # The `Status` message is the logical representation of the error model, but it
439
- # is not necessarily the actual wire format. When the `Status` message is
440
- # exposed in different client libraries and different wire protocols, it can be
441
- # mapped differently. For example, it will likely be mapped to some exceptions
442
- # in Java, but more likely mapped to some error codes in C.
443
- # # Other uses
444
- # The error model and the `Status` message can be used in a variety of
445
- # environments, either with or without APIs, to provide a
446
- # consistent developer experience across different environments.
447
- # Example uses of this error model include:
448
- # - Partial errors. If a service needs to return partial errors to the client,
449
- # it may embed the `Status` in the normal response to indicate the partial
450
- # errors.
451
- # - Workflow errors. A typical workflow has multiple steps. Each step may
452
- # have a `Status` message for error reporting.
453
- # - Batch operations. If a client uses batch request and batch response, the
454
- # `Status` message should be used directly inside batch response, one for
455
- # each error sub-response.
456
- # - Asynchronous operations. If an API call embeds asynchronous operation
457
- # results in its response, the status of those operations should be
458
- # represented directly using the `Status` message.
459
- # - Logging. If some API errors are stored in logs, the message `Status` could
460
- # be used directly after any stripping needed for security/privacy reasons.
419
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
420
+ # three pieces of data: error code, error message, and error details.
421
+ # You can find out more about this error model and how to work with it in the
422
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
461
423
  # Corresponds to the JSON property `error`
462
424
  # @return [Google::Apis::TpuV1::Status]
463
425
  attr_accessor :error
@@ -623,43 +585,10 @@ module Google
623
585
 
624
586
  # The `Status` type defines a logical error model that is suitable for
625
587
  # different programming environments, including REST APIs and RPC APIs. It is
626
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
627
- # - Simple to use and understand for most users
628
- # - Flexible enough to meet unexpected needs
629
- # # Overview
630
- # The `Status` message contains three pieces of data: error code, error
631
- # message, and error details. The error code should be an enum value of
632
- # google.rpc.Code, but it may accept additional error codes if needed. The
633
- # error message should be a developer-facing English message that helps
634
- # developers *understand* and *resolve* the error. If a localized user-facing
635
- # error message is needed, put the localized message in the error details or
636
- # localize it in the client. The optional error details may contain arbitrary
637
- # information about the error. There is a predefined set of error detail types
638
- # in the package `google.rpc` that can be used for common error conditions.
639
- # # Language mapping
640
- # The `Status` message is the logical representation of the error model, but it
641
- # is not necessarily the actual wire format. When the `Status` message is
642
- # exposed in different client libraries and different wire protocols, it can be
643
- # mapped differently. For example, it will likely be mapped to some exceptions
644
- # in Java, but more likely mapped to some error codes in C.
645
- # # Other uses
646
- # The error model and the `Status` message can be used in a variety of
647
- # environments, either with or without APIs, to provide a
648
- # consistent developer experience across different environments.
649
- # Example uses of this error model include:
650
- # - Partial errors. If a service needs to return partial errors to the client,
651
- # it may embed the `Status` in the normal response to indicate the partial
652
- # errors.
653
- # - Workflow errors. A typical workflow has multiple steps. Each step may
654
- # have a `Status` message for error reporting.
655
- # - Batch operations. If a client uses batch request and batch response, the
656
- # `Status` message should be used directly inside batch response, one for
657
- # each error sub-response.
658
- # - Asynchronous operations. If an API call embeds asynchronous operation
659
- # results in its response, the status of those operations should be
660
- # represented directly using the `Status` message.
661
- # - Logging. If some API errors are stored in logs, the message `Status` could
662
- # be used directly after any stripping needed for security/privacy reasons.
588
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
589
+ # three pieces of data: error code, error message, and error details.
590
+ # You can find out more about this error model and how to work with it in the
591
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
663
592
  class Status
664
593
  include Google::Apis::Core::Hashable
665
594
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tpu/
26
26
  module TpuV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20190509'
28
+ REVISION = '20190619'
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'