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
@@ -873,6 +873,13 @@ module Google
873
873
  # The name of the service. See the [overview](/service-management/overview)
874
874
  # for naming requirements. For example: `example.googleapis.com`.
875
875
  # @param [Google::Apis::ServicemanagementV1::Rollout] rollout_object
876
+ # @param [String] base_rollout_id
877
+ # Unimplemented. Do not use this feature until this comment is removed.
878
+ # The rollout id that rollout to be created based on.
879
+ # Rollout should be constructed based on current successful rollout, this
880
+ # field indicates the current successful rollout id that new rollout based on
881
+ # to construct, if current successful rollout changed when server receives
882
+ # the request, request will be rejected for safety.
876
883
  # @param [String] fields
877
884
  # Selector specifying which fields to include in a partial response.
878
885
  # @param [String] quota_user
@@ -890,13 +897,14 @@ module Google
890
897
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
891
898
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
892
899
  # @raise [Google::Apis::AuthorizationError] Authorization is required
893
- def create_service_rollout(service_name, rollout_object = nil, fields: nil, quota_user: nil, options: nil, &block)
900
+ def create_service_rollout(service_name, rollout_object = nil, base_rollout_id: nil, fields: nil, quota_user: nil, options: nil, &block)
894
901
  command = make_simple_command(:post, 'v1/services/{serviceName}/rollouts', options)
895
902
  command.request_representation = Google::Apis::ServicemanagementV1::Rollout::Representation
896
903
  command.request_object = rollout_object
897
904
  command.response_representation = Google::Apis::ServicemanagementV1::Operation::Representation
898
905
  command.response_class = Google::Apis::ServicemanagementV1::Operation
899
906
  command.params['serviceName'] = service_name unless service_name.nil?
907
+ command.query['baseRolloutId'] = base_rollout_id unless base_rollout_id.nil?
900
908
  command.query['fields'] = fields unless fields.nil?
901
909
  command.query['quotaUser'] = quota_user unless quota_user.nil?
902
910
  execute_or_queue_command(command, &block)
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190604'
29
+ REVISION = '20190607'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2153,7 +2153,6 @@ module Google
2153
2153
  # Different APIs can support different monitored resource types. APIs generally
2154
2154
  # provide a `list` method that returns the monitored resource descriptors used
2155
2155
  # by the API.
2156
- # Next ID: 10
2157
2156
  class MonitoredResourceDescriptor
2158
2157
  include Google::Apis::Core::Hashable
2159
2158
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20190604'
29
+ REVISION = '20190607'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2093,7 +2093,6 @@ module Google
2093
2093
  # Different APIs can support different monitored resource types. APIs generally
2094
2094
  # provide a `list` method that returns the monitored resource descriptors used
2095
2095
  # by the API.
2096
- # Next ID: 10
2097
2096
  class MonitoredResourceDescriptor
2098
2097
  include Google::Apis::Core::Hashable
2099
2098
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190605'
30
+ REVISION = '20190607'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2847,7 +2847,6 @@ module Google
2847
2847
  # Different APIs can support different monitored resource types. APIs generally
2848
2848
  # provide a `list` method that returns the monitored resource descriptors used
2849
2849
  # by the API.
2850
- # Next ID: 10
2851
2850
  class MonitoredResourceDescriptor
2852
2851
  include Google::Apis::Core::Hashable
2853
2852
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190605'
30
+ REVISION = '20190607'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2823,7 +2823,6 @@ module Google
2823
2823
  # Different APIs can support different monitored resource types. APIs generally
2824
2824
  # provide a `list` method that returns the monitored resource descriptors used
2825
2825
  # by the API.
2826
- # Next ID: 10
2827
2826
  class MonitoredResourceDescriptor
2828
2827
  include Google::Apis::Core::Hashable
2829
2828
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/spanner/
27
27
  module SpannerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190503'
29
+ REVISION = '20190613'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -902,43 +902,10 @@ module Google
902
902
 
903
903
  # The `Status` type defines a logical error model that is suitable for
904
904
  # different programming environments, including REST APIs and RPC APIs. It is
905
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
906
- # - Simple to use and understand for most users
907
- # - Flexible enough to meet unexpected needs
908
- # # Overview
909
- # The `Status` message contains three pieces of data: error code, error
910
- # message, and error details. The error code should be an enum value of
911
- # google.rpc.Code, but it may accept additional error codes if needed. The
912
- # error message should be a developer-facing English message that helps
913
- # developers *understand* and *resolve* the error. If a localized user-facing
914
- # error message is needed, put the localized message in the error details or
915
- # localize it in the client. The optional error details may contain arbitrary
916
- # information about the error. There is a predefined set of error detail types
917
- # in the package `google.rpc` that can be used for common error conditions.
918
- # # Language mapping
919
- # The `Status` message is the logical representation of the error model, but it
920
- # is not necessarily the actual wire format. When the `Status` message is
921
- # exposed in different client libraries and different wire protocols, it can be
922
- # mapped differently. For example, it will likely be mapped to some exceptions
923
- # in Java, but more likely mapped to some error codes in C.
924
- # # Other uses
925
- # The error model and the `Status` message can be used in a variety of
926
- # environments, either with or without APIs, to provide a
927
- # consistent developer experience across different environments.
928
- # Example uses of this error model include:
929
- # - Partial errors. If a service needs to return partial errors to the client,
930
- # it may embed the `Status` in the normal response to indicate the partial
931
- # errors.
932
- # - Workflow errors. A typical workflow has multiple steps. Each step may
933
- # have a `Status` message for error reporting.
934
- # - Batch operations. If a client uses batch request and batch response, the
935
- # `Status` message should be used directly inside batch response, one for
936
- # each error sub-response.
937
- # - Asynchronous operations. If an API call embeds asynchronous operation
938
- # results in its response, the status of those operations should be
939
- # represented directly using the `Status` message.
940
- # - Logging. If some API errors are stored in logs, the message `Status` could
941
- # be used directly after any stripping needed for security/privacy reasons.
905
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
906
+ # three pieces of data: error code, error message, and error details.
907
+ # You can find out more about this error model and how to work with it in the
908
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
942
909
  # Corresponds to the JSON property `status`
943
910
  # @return [Google::Apis::SpannerV1::Status]
944
911
  attr_accessor :status
@@ -1622,43 +1589,10 @@ module Google
1622
1589
 
1623
1590
  # The `Status` type defines a logical error model that is suitable for
1624
1591
  # different programming environments, including REST APIs and RPC APIs. It is
1625
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1626
- # - Simple to use and understand for most users
1627
- # - Flexible enough to meet unexpected needs
1628
- # # Overview
1629
- # The `Status` message contains three pieces of data: error code, error
1630
- # message, and error details. The error code should be an enum value of
1631
- # google.rpc.Code, but it may accept additional error codes if needed. The
1632
- # error message should be a developer-facing English message that helps
1633
- # developers *understand* and *resolve* the error. If a localized user-facing
1634
- # error message is needed, put the localized message in the error details or
1635
- # localize it in the client. The optional error details may contain arbitrary
1636
- # information about the error. There is a predefined set of error detail types
1637
- # in the package `google.rpc` that can be used for common error conditions.
1638
- # # Language mapping
1639
- # The `Status` message is the logical representation of the error model, but it
1640
- # is not necessarily the actual wire format. When the `Status` message is
1641
- # exposed in different client libraries and different wire protocols, it can be
1642
- # mapped differently. For example, it will likely be mapped to some exceptions
1643
- # in Java, but more likely mapped to some error codes in C.
1644
- # # Other uses
1645
- # The error model and the `Status` message can be used in a variety of
1646
- # environments, either with or without APIs, to provide a
1647
- # consistent developer experience across different environments.
1648
- # Example uses of this error model include:
1649
- # - Partial errors. If a service needs to return partial errors to the client,
1650
- # it may embed the `Status` in the normal response to indicate the partial
1651
- # errors.
1652
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1653
- # have a `Status` message for error reporting.
1654
- # - Batch operations. If a client uses batch request and batch response, the
1655
- # `Status` message should be used directly inside batch response, one for
1656
- # each error sub-response.
1657
- # - Asynchronous operations. If an API call embeds asynchronous operation
1658
- # results in its response, the status of those operations should be
1659
- # represented directly using the `Status` message.
1660
- # - Logging. If some API errors are stored in logs, the message `Status` could
1661
- # be used directly after any stripping needed for security/privacy reasons.
1592
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1593
+ # three pieces of data: error code, error message, and error details.
1594
+ # You can find out more about this error model and how to work with it in the
1595
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1662
1596
  # Corresponds to the JSON property `error`
1663
1597
  # @return [Google::Apis::SpannerV1::Status]
1664
1598
  attr_accessor :error
@@ -2738,43 +2672,10 @@ module Google
2738
2672
 
2739
2673
  # The `Status` type defines a logical error model that is suitable for
2740
2674
  # different programming environments, including REST APIs and RPC APIs. It is
2741
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2742
- # - Simple to use and understand for most users
2743
- # - Flexible enough to meet unexpected needs
2744
- # # Overview
2745
- # The `Status` message contains three pieces of data: error code, error
2746
- # message, and error details. The error code should be an enum value of
2747
- # google.rpc.Code, but it may accept additional error codes if needed. The
2748
- # error message should be a developer-facing English message that helps
2749
- # developers *understand* and *resolve* the error. If a localized user-facing
2750
- # error message is needed, put the localized message in the error details or
2751
- # localize it in the client. The optional error details may contain arbitrary
2752
- # information about the error. There is a predefined set of error detail types
2753
- # in the package `google.rpc` that can be used for common error conditions.
2754
- # # Language mapping
2755
- # The `Status` message is the logical representation of the error model, but it
2756
- # is not necessarily the actual wire format. When the `Status` message is
2757
- # exposed in different client libraries and different wire protocols, it can be
2758
- # mapped differently. For example, it will likely be mapped to some exceptions
2759
- # in Java, but more likely mapped to some error codes in C.
2760
- # # Other uses
2761
- # The error model and the `Status` message can be used in a variety of
2762
- # environments, either with or without APIs, to provide a
2763
- # consistent developer experience across different environments.
2764
- # Example uses of this error model include:
2765
- # - Partial errors. If a service needs to return partial errors to the client,
2766
- # it may embed the `Status` in the normal response to indicate the partial
2767
- # errors.
2768
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2769
- # have a `Status` message for error reporting.
2770
- # - Batch operations. If a client uses batch request and batch response, the
2771
- # `Status` message should be used directly inside batch response, one for
2772
- # each error sub-response.
2773
- # - Asynchronous operations. If an API call embeds asynchronous operation
2774
- # results in its response, the status of those operations should be
2775
- # represented directly using the `Status` message.
2776
- # - Logging. If some API errors are stored in logs, the message `Status` could
2777
- # be used directly after any stripping needed for security/privacy reasons.
2675
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2676
+ # three pieces of data: error code, error message, and error details.
2677
+ # You can find out more about this error model and how to work with it in the
2678
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2778
2679
  class Status
2779
2680
  include Google::Apis::Core::Hashable
2780
2681
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190510'
28
+ REVISION = '20190610'
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'
@@ -150,43 +150,10 @@ module Google
150
150
 
151
151
  # The `Status` type defines a logical error model that is suitable for
152
152
  # different programming environments, including REST APIs and RPC APIs. It is
153
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
154
- # - Simple to use and understand for most users
155
- # - Flexible enough to meet unexpected needs
156
- # # Overview
157
- # The `Status` message contains three pieces of data: error code, error
158
- # message, and error details. The error code should be an enum value of
159
- # google.rpc.Code, but it may accept additional error codes if needed. The
160
- # error message should be a developer-facing English message that helps
161
- # developers *understand* and *resolve* the error. If a localized user-facing
162
- # error message is needed, put the localized message in the error details or
163
- # localize it in the client. The optional error details may contain arbitrary
164
- # information about the error. There is a predefined set of error detail types
165
- # in the package `google.rpc` that can be used for common error conditions.
166
- # # Language mapping
167
- # The `Status` message is the logical representation of the error model, but it
168
- # is not necessarily the actual wire format. When the `Status` message is
169
- # exposed in different client libraries and different wire protocols, it can be
170
- # mapped differently. For example, it will likely be mapped to some exceptions
171
- # in Java, but more likely mapped to some error codes in C.
172
- # # Other uses
173
- # The error model and the `Status` message can be used in a variety of
174
- # environments, either with or without APIs, to provide a
175
- # consistent developer experience across different environments.
176
- # Example uses of this error model include:
177
- # - Partial errors. If a service needs to return partial errors to the client,
178
- # it may embed the `Status` in the normal response to indicate the partial
179
- # errors.
180
- # - Workflow errors. A typical workflow has multiple steps. Each step may
181
- # have a `Status` message for error reporting.
182
- # - Batch operations. If a client uses batch request and batch response, the
183
- # `Status` message should be used directly inside batch response, one for
184
- # each error sub-response.
185
- # - Asynchronous operations. If an API call embeds asynchronous operation
186
- # results in its response, the status of those operations should be
187
- # represented directly using the `Status` message.
188
- # - Logging. If some API errors are stored in logs, the message `Status` could
189
- # be used directly after any stripping needed for security/privacy reasons.
153
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
154
+ # three pieces of data: error code, error message, and error details.
155
+ # You can find out more about this error model and how to work with it in the
156
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
190
157
  # Corresponds to the JSON property `error`
191
158
  # @return [Google::Apis::SpeechV1::Status]
192
159
  attr_accessor :error
@@ -592,6 +559,11 @@ module Google
592
559
  # specific commands are typically spoken by the user. This can also be used
593
560
  # to add additional words to the vocabulary of the recognizer. See
594
561
  # [usage limits](/speech-to-text/quotas#content).
562
+ # List items can also be set to classes for groups of words that represent
563
+ # common concepts that occur in natural language. For example, rather than
564
+ # providing phrase hints for every month of the year, using the $MONTH class
565
+ # improves the likelihood of correctly transcribing audio that includes
566
+ # months.
595
567
  # Corresponds to the JSON property `phrases`
596
568
  # @return [Array<String>]
597
569
  attr_accessor :phrases
@@ -677,43 +649,10 @@ module Google
677
649
 
678
650
  # The `Status` type defines a logical error model that is suitable for
679
651
  # different programming environments, including REST APIs and RPC APIs. It is
680
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
681
- # - Simple to use and understand for most users
682
- # - Flexible enough to meet unexpected needs
683
- # # Overview
684
- # The `Status` message contains three pieces of data: error code, error
685
- # message, and error details. The error code should be an enum value of
686
- # google.rpc.Code, but it may accept additional error codes if needed. The
687
- # error message should be a developer-facing English message that helps
688
- # developers *understand* and *resolve* the error. If a localized user-facing
689
- # error message is needed, put the localized message in the error details or
690
- # localize it in the client. The optional error details may contain arbitrary
691
- # information about the error. There is a predefined set of error detail types
692
- # in the package `google.rpc` that can be used for common error conditions.
693
- # # Language mapping
694
- # The `Status` message is the logical representation of the error model, but it
695
- # is not necessarily the actual wire format. When the `Status` message is
696
- # exposed in different client libraries and different wire protocols, it can be
697
- # mapped differently. For example, it will likely be mapped to some exceptions
698
- # in Java, but more likely mapped to some error codes in C.
699
- # # Other uses
700
- # The error model and the `Status` message can be used in a variety of
701
- # environments, either with or without APIs, to provide a
702
- # consistent developer experience across different environments.
703
- # Example uses of this error model include:
704
- # - Partial errors. If a service needs to return partial errors to the client,
705
- # it may embed the `Status` in the normal response to indicate the partial
706
- # errors.
707
- # - Workflow errors. A typical workflow has multiple steps. Each step may
708
- # have a `Status` message for error reporting.
709
- # - Batch operations. If a client uses batch request and batch response, the
710
- # `Status` message should be used directly inside batch response, one for
711
- # each error sub-response.
712
- # - Asynchronous operations. If an API call embeds asynchronous operation
713
- # results in its response, the status of those operations should be
714
- # represented directly using the `Status` message.
715
- # - Logging. If some API errors are stored in logs, the message `Status` could
716
- # be used directly after any stripping needed for security/privacy reasons.
652
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
653
+ # three pieces of data: error code, error message, and error details.
654
+ # You can find out more about this error model and how to work with it in the
655
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
717
656
  class Status
718
657
  include Google::Apis::Core::Hashable
719
658
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20190524'
28
+ REVISION = '20190610'
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'
@@ -150,43 +150,10 @@ module Google
150
150
 
151
151
  # The `Status` type defines a logical error model that is suitable for
152
152
  # different programming environments, including REST APIs and RPC APIs. It is
153
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
154
- # - Simple to use and understand for most users
155
- # - Flexible enough to meet unexpected needs
156
- # # Overview
157
- # The `Status` message contains three pieces of data: error code, error
158
- # message, and error details. The error code should be an enum value of
159
- # google.rpc.Code, but it may accept additional error codes if needed. The
160
- # error message should be a developer-facing English message that helps
161
- # developers *understand* and *resolve* the error. If a localized user-facing
162
- # error message is needed, put the localized message in the error details or
163
- # localize it in the client. The optional error details may contain arbitrary
164
- # information about the error. There is a predefined set of error detail types
165
- # in the package `google.rpc` that can be used for common error conditions.
166
- # # Language mapping
167
- # The `Status` message is the logical representation of the error model, but it
168
- # is not necessarily the actual wire format. When the `Status` message is
169
- # exposed in different client libraries and different wire protocols, it can be
170
- # mapped differently. For example, it will likely be mapped to some exceptions
171
- # in Java, but more likely mapped to some error codes in C.
172
- # # Other uses
173
- # The error model and the `Status` message can be used in a variety of
174
- # environments, either with or without APIs, to provide a
175
- # consistent developer experience across different environments.
176
- # Example uses of this error model include:
177
- # - Partial errors. If a service needs to return partial errors to the client,
178
- # it may embed the `Status` in the normal response to indicate the partial
179
- # errors.
180
- # - Workflow errors. A typical workflow has multiple steps. Each step may
181
- # have a `Status` message for error reporting.
182
- # - Batch operations. If a client uses batch request and batch response, the
183
- # `Status` message should be used directly inside batch response, one for
184
- # each error sub-response.
185
- # - Asynchronous operations. If an API call embeds asynchronous operation
186
- # results in its response, the status of those operations should be
187
- # represented directly using the `Status` message.
188
- # - Logging. If some API errors are stored in logs, the message `Status` could
189
- # be used directly after any stripping needed for security/privacy reasons.
153
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
154
+ # three pieces of data: error code, error message, and error details.
155
+ # You can find out more about this error model and how to work with it in the
156
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
190
157
  # Corresponds to the JSON property `error`
191
158
  # @return [Google::Apis::SpeechV1p1beta1::Status]
192
159
  attr_accessor :error
@@ -709,6 +676,11 @@ module Google
709
676
  # specific commands are typically spoken by the user. This can also be used
710
677
  # to add additional words to the vocabulary of the recognizer. See
711
678
  # [usage limits](/speech-to-text/quotas#content).
679
+ # List items can also be set to classes for groups of words that represent
680
+ # common concepts that occur in natural language. For example, rather than
681
+ # providing phrase hints for every month of the year, using the $MONTH class
682
+ # improves the likelihood of correctly transcribing audio that includes
683
+ # months.
712
684
  # Corresponds to the JSON property `phrases`
713
685
  # @return [Array<String>]
714
686
  attr_accessor :phrases
@@ -804,43 +776,10 @@ module Google
804
776
 
805
777
  # The `Status` type defines a logical error model that is suitable for
806
778
  # different programming environments, including REST APIs and RPC APIs. It is
807
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
808
- # - Simple to use and understand for most users
809
- # - Flexible enough to meet unexpected needs
810
- # # Overview
811
- # The `Status` message contains three pieces of data: error code, error
812
- # message, and error details. The error code should be an enum value of
813
- # google.rpc.Code, but it may accept additional error codes if needed. The
814
- # error message should be a developer-facing English message that helps
815
- # developers *understand* and *resolve* the error. If a localized user-facing
816
- # error message is needed, put the localized message in the error details or
817
- # localize it in the client. The optional error details may contain arbitrary
818
- # information about the error. There is a predefined set of error detail types
819
- # in the package `google.rpc` that can be used for common error conditions.
820
- # # Language mapping
821
- # The `Status` message is the logical representation of the error model, but it
822
- # is not necessarily the actual wire format. When the `Status` message is
823
- # exposed in different client libraries and different wire protocols, it can be
824
- # mapped differently. For example, it will likely be mapped to some exceptions
825
- # in Java, but more likely mapped to some error codes in C.
826
- # # Other uses
827
- # The error model and the `Status` message can be used in a variety of
828
- # environments, either with or without APIs, to provide a
829
- # consistent developer experience across different environments.
830
- # Example uses of this error model include:
831
- # - Partial errors. If a service needs to return partial errors to the client,
832
- # it may embed the `Status` in the normal response to indicate the partial
833
- # errors.
834
- # - Workflow errors. A typical workflow has multiple steps. Each step may
835
- # have a `Status` message for error reporting.
836
- # - Batch operations. If a client uses batch request and batch response, the
837
- # `Status` message should be used directly inside batch response, one for
838
- # each error sub-response.
839
- # - Asynchronous operations. If an API call embeds asynchronous operation
840
- # results in its response, the status of those operations should be
841
- # represented directly using the `Status` message.
842
- # - Logging. If some API errors are stored in logs, the message `Status` could
843
- # be used directly after any stripping needed for security/privacy reasons.
779
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
780
+ # three pieces of data: error code, error message, and error details.
781
+ # You can find out more about this error model and how to work with it in the
782
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
844
783
  class Status
845
784
  include Google::Apis::Core::Hashable
846
785