google-api-client 0.33.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +119 -0
  3. data/README.md +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +30 -0
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +105 -0
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  12. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
  15. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
  17. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  18. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  20. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  21. data/generated/google/apis/admin_reports_v1/service.rb +6 -3
  22. data/generated/google/apis/admin_reports_v1.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
  24. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  25. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +3 -3
  27. data/generated/google/apis/appengine_v1.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +3 -3
  29. data/generated/google/apis/appengine_v1beta.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +15 -1
  31. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
  36. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  38. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  39. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  40. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  41. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  42. data/generated/google/apis/civicinfo_v2.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  45. data/generated/google/apis/cloudasset_v1.rb +1 -1
  46. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  47. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  48. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  49. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  50. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  52. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  53. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
  57. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  58. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
  60. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  61. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  62. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
  63. data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
  66. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  67. data/generated/google/apis/cloudshell_v1.rb +1 -1
  68. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
  69. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  70. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  71. data/generated/google/apis/compute_alpha/classes.rb +519 -152
  72. data/generated/google/apis/compute_alpha/representations.rb +108 -2
  73. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_beta/classes.rb +1016 -266
  76. data/generated/google/apis/compute_beta/representations.rb +284 -0
  77. data/generated/google/apis/compute_beta/service.rb +1242 -532
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_v1/classes.rb +283 -125
  80. data/generated/google/apis/compute_v1/representations.rb +24 -0
  81. data/generated/google/apis/compute_v1/service.rb +759 -473
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/container_v1/classes.rb +207 -5
  84. data/generated/google/apis/container_v1/representations.rb +85 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1beta1/classes.rb +125 -3
  87. data/generated/google/apis/container_v1beta1/representations.rb +22 -0
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/datastore_v1/service.rb +85 -1
  90. data/generated/google/apis/datastore_v1.rb +1 -1
  91. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  92. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +25 -287
  94. data/generated/google/apis/dialogflow_v2/representations.rb +2 -115
  95. data/generated/google/apis/dialogflow_v2.rb +1 -1
  96. data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -287
  97. data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -115
  98. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  99. data/generated/google/apis/dlp_v2/classes.rb +19 -11
  100. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  101. data/generated/google/apis/dlp_v2/service.rb +43 -0
  102. data/generated/google/apis/dlp_v2.rb +1 -1
  103. data/generated/google/apis/docs_v1/classes.rb +175 -0
  104. data/generated/google/apis/docs_v1/representations.rb +77 -0
  105. data/generated/google/apis/docs_v1.rb +1 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  107. data/generated/google/apis/drive_v2/classes.rb +2 -1
  108. data/generated/google/apis/drive_v2/service.rb +3 -3
  109. data/generated/google/apis/drive_v2.rb +1 -1
  110. data/generated/google/apis/drive_v3.rb +1 -1
  111. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
  112. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  113. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  114. data/generated/google/apis/firestore_v1.rb +1 -1
  115. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  116. data/generated/google/apis/fitness_v1/service.rb +1 -1
  117. data/generated/google/apis/fitness_v1.rb +1 -1
  118. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  119. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  120. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  121. data/generated/google/apis/games_management_v1management.rb +1 -1
  122. data/generated/google/apis/games_v1/classes.rb +6 -292
  123. data/generated/google/apis/games_v1/representations.rb +1 -98
  124. data/generated/google/apis/games_v1/service.rb +0 -123
  125. data/generated/google/apis/games_v1.rb +1 -1
  126. data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
  127. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  128. data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
  129. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +9 -2
  131. data/generated/google/apis/iam_v1/representations.rb +1 -0
  132. data/generated/google/apis/iam_v1.rb +1 -1
  133. data/generated/google/apis/iap_v1/classes.rb +185 -0
  134. data/generated/google/apis/iap_v1/representations.rb +102 -0
  135. data/generated/google/apis/iap_v1/service.rb +72 -0
  136. data/generated/google/apis/iap_v1.rb +1 -1
  137. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  138. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  139. data/generated/google/apis/jobs_v2.rb +1 -1
  140. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  141. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  142. data/generated/google/apis/jobs_v3.rb +1 -1
  143. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  144. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  145. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  146. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  147. data/generated/google/apis/licensing_v1/service.rb +81 -37
  148. data/generated/google/apis/licensing_v1.rb +4 -4
  149. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  150. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  151. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  152. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  153. data/generated/google/apis/ml_v1/classes.rb +66 -23
  154. data/generated/google/apis/ml_v1/representations.rb +1 -0
  155. data/generated/google/apis/ml_v1/service.rb +7 -3
  156. data/generated/google/apis/ml_v1.rb +2 -2
  157. data/generated/google/apis/monitoring_v1/classes.rb +260 -0
  158. data/generated/google/apis/monitoring_v1/representations.rb +123 -0
  159. data/generated/google/apis/monitoring_v1/service.rb +64 -0
  160. data/generated/google/apis/monitoring_v1.rb +36 -0
  161. data/generated/google/apis/monitoring_v3/classes.rb +12 -12
  162. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  163. data/generated/google/apis/monitoring_v3.rb +1 -1
  164. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  165. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  166. data/generated/google/apis/oslogin_v1.rb +1 -1
  167. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  168. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  169. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  170. data/generated/google/apis/people_v1/classes.rb +67 -63
  171. data/generated/google/apis/people_v1/service.rb +53 -44
  172. data/generated/google/apis/people_v1.rb +1 -1
  173. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  174. data/generated/google/apis/reseller_v1/service.rb +1 -1
  175. data/generated/google/apis/reseller_v1.rb +1 -1
  176. data/generated/google/apis/run_v1/classes.rb +0 -7
  177. data/generated/google/apis/run_v1/service.rb +156 -94
  178. data/generated/google/apis/run_v1.rb +1 -1
  179. data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
  180. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  181. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  182. data/generated/google/apis/run_v1alpha1.rb +1 -1
  183. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
  184. data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
  185. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  186. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  187. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  188. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  189. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  190. data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
  191. data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
  192. data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
  193. data/generated/google/apis/sql_v1beta4.rb +37 -0
  194. data/generated/google/apis/storage_v1.rb +1 -1
  195. data/generated/google/apis/testing_v1/classes.rb +142 -1
  196. data/generated/google/apis/testing_v1/representations.rb +76 -0
  197. data/generated/google/apis/testing_v1.rb +1 -1
  198. data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
  199. data/generated/google/apis/videointelligence_v1.rb +1 -1
  200. data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
  201. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  202. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
  203. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  204. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
  205. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  206. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
  207. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  208. data/generated/google/apis/vision_v1.rb +1 -1
  209. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  210. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  211. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  212. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  213. data/google-api-client.gemspec +3 -0
  214. data/lib/google/apis/version.rb +1 -1
  215. metadata +20 -11
  216. data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
  217. data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
  218. data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
  219. data/generated/google/apis/dfareporting_v3_2.rb +0 -40
@@ -432,6 +432,210 @@ module Google
432
432
  execute_or_queue_command(command, &block)
433
433
  end
434
434
 
435
+ # Creates a new pubsub.
436
+ # @param [String] parent
437
+ # The project ID or project number in which this pubsub should
438
+ # be created.
439
+ # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
440
+ # @param [String] fields
441
+ # Selector specifying which fields to include in a partial response.
442
+ # @param [String] quota_user
443
+ # Available to use for quota purposes for server-side applications. Can be any
444
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
445
+ # @param [Google::Apis::RequestOptions] options
446
+ # Request-specific options
447
+ #
448
+ # @yield [result, err] Result & error if block supplied
449
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
450
+ # @yieldparam err [StandardError] error object if request failed
451
+ #
452
+ # @return [Google::Apis::RunV1alpha1::PubSub]
453
+ #
454
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
455
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
456
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
457
+ def create_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
458
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
459
+ command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
460
+ command.request_object = pub_sub_object
461
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
462
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
463
+ command.params['parent'] = parent unless parent.nil?
464
+ command.query['fields'] = fields unless fields.nil?
465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
466
+ execute_or_queue_command(command, &block)
467
+ end
468
+
469
+ # Rpc to delete a pubsub.
470
+ # @param [String] name
471
+ # The name of the pubsub being deleted. If needed, replace
472
+ # `namespace_id` with the project ID.
473
+ # @param [String] api_version
474
+ # Cloud Run currently ignores this parameter.
475
+ # @param [String] kind
476
+ # Cloud Run currently ignores this parameter.
477
+ # @param [String] propagation_policy
478
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
479
+ # this setting, and deletes in the background. Please see
480
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
481
+ # more information.
482
+ # @param [String] fields
483
+ # Selector specifying which fields to include in a partial response.
484
+ # @param [String] quota_user
485
+ # Available to use for quota purposes for server-side applications. Can be any
486
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
487
+ # @param [Google::Apis::RequestOptions] options
488
+ # Request-specific options
489
+ #
490
+ # @yield [result, err] Result & error if block supplied
491
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
492
+ # @yieldparam err [StandardError] error object if request failed
493
+ #
494
+ # @return [Google::Apis::RunV1alpha1::Empty]
495
+ #
496
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
497
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
498
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
499
+ def delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
500
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
501
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
502
+ command.response_class = Google::Apis::RunV1alpha1::Empty
503
+ command.params['name'] = name unless name.nil?
504
+ command.query['apiVersion'] = api_version unless api_version.nil?
505
+ command.query['kind'] = kind unless kind.nil?
506
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
507
+ command.query['fields'] = fields unless fields.nil?
508
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
509
+ execute_or_queue_command(command, &block)
510
+ end
511
+
512
+ # Rpc to get information about a pubsub.
513
+ # @param [String] name
514
+ # The name of the pubsub being retrieved. If needed, replace
515
+ # `namespace_id` with the project ID.
516
+ # @param [String] fields
517
+ # Selector specifying which fields to include in a partial response.
518
+ # @param [String] quota_user
519
+ # Available to use for quota purposes for server-side applications. Can be any
520
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
521
+ # @param [Google::Apis::RequestOptions] options
522
+ # Request-specific options
523
+ #
524
+ # @yield [result, err] Result & error if block supplied
525
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
526
+ # @yieldparam err [StandardError] error object if request failed
527
+ #
528
+ # @return [Google::Apis::RunV1alpha1::PubSub]
529
+ #
530
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
531
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
533
+ def get_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
534
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
535
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
536
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
537
+ command.params['name'] = name unless name.nil?
538
+ command.query['fields'] = fields unless fields.nil?
539
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
540
+ execute_or_queue_command(command, &block)
541
+ end
542
+
543
+ # Rpc to list pubsubs.
544
+ # @param [String] parent
545
+ # The project ID or project number from which the pubsubs should
546
+ # be listed.
547
+ # @param [String] continue
548
+ # Optional encoded string to continue paging.
549
+ # @param [String] field_selector
550
+ # Allows to filter resources based on a specific value for a field name.
551
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
552
+ # Not currently used by Cloud Run.
553
+ # @param [Boolean] include_uninitialized
554
+ # Not currently used by Cloud Run.
555
+ # @param [String] label_selector
556
+ # Allows to filter resources based on a label. Supported operations are
557
+ # =, !=, exists, in, and notIn.
558
+ # @param [Fixnum] limit
559
+ # The maximum number of records that should be returned.
560
+ # @param [String] resource_version
561
+ # The baseline resource version from which the list or watch operation should
562
+ # start. Not currently used by Cloud Run.
563
+ # @param [Boolean] watch
564
+ # Flag that indicates that the client expects to watch this resource as well.
565
+ # Not currently used by Cloud Run.
566
+ # @param [String] fields
567
+ # Selector specifying which fields to include in a partial response.
568
+ # @param [String] quota_user
569
+ # Available to use for quota purposes for server-side applications. Can be any
570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
571
+ # @param [Google::Apis::RequestOptions] options
572
+ # Request-specific options
573
+ #
574
+ # @yield [result, err] Result & error if block supplied
575
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
576
+ # @yieldparam err [StandardError] error object if request failed
577
+ #
578
+ # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
579
+ #
580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
583
+ def list_namespace_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
584
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
585
+ command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
586
+ command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
587
+ command.params['parent'] = parent unless parent.nil?
588
+ command.query['continue'] = continue unless continue.nil?
589
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
590
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
591
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
592
+ command.query['limit'] = limit unless limit.nil?
593
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
594
+ command.query['watch'] = watch unless watch.nil?
595
+ command.query['fields'] = fields unless fields.nil?
596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
597
+ execute_or_queue_command(command, &block)
598
+ end
599
+
600
+ # Rpc to replace a pubsub.
601
+ # Only the spec and metadata labels and annotations are modifiable. After
602
+ # the Update request, Cloud Run will work to make the 'status'
603
+ # match the requested 'spec'.
604
+ # May provide metadata.resourceVersion to enforce update from last read for
605
+ # optimistic concurrency control.
606
+ # @param [String] name
607
+ # The name of the pubsub being retrieved. If needed, replace
608
+ # `namespace_id` with the project ID.
609
+ # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
610
+ # @param [String] fields
611
+ # Selector specifying which fields to include in a partial response.
612
+ # @param [String] quota_user
613
+ # Available to use for quota purposes for server-side applications. Can be any
614
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
615
+ # @param [Google::Apis::RequestOptions] options
616
+ # Request-specific options
617
+ #
618
+ # @yield [result, err] Result & error if block supplied
619
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
620
+ # @yieldparam err [StandardError] error object if request failed
621
+ #
622
+ # @return [Google::Apis::RunV1alpha1::PubSub]
623
+ #
624
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
627
+ def replace_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
628
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
629
+ command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
630
+ command.request_object = pub_sub_object
631
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
632
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
633
+ command.params['name'] = name unless name.nil?
634
+ command.query['fields'] = fields unless fields.nil?
635
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
636
+ execute_or_queue_command(command, &block)
637
+ end
638
+
435
639
  # Rpc to delete a revision.
436
640
  # @param [String] name
437
641
  # The name of the revision being deleted. If needed, replace
@@ -1494,6 +1698,210 @@ module Google
1494
1698
  execute_or_queue_command(command, &block)
1495
1699
  end
1496
1700
 
1701
+ # Creates a new pubsub.
1702
+ # @param [String] parent
1703
+ # The project ID or project number in which this pubsub should
1704
+ # be created.
1705
+ # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
1706
+ # @param [String] fields
1707
+ # Selector specifying which fields to include in a partial response.
1708
+ # @param [String] quota_user
1709
+ # Available to use for quota purposes for server-side applications. Can be any
1710
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1711
+ # @param [Google::Apis::RequestOptions] options
1712
+ # Request-specific options
1713
+ #
1714
+ # @yield [result, err] Result & error if block supplied
1715
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1716
+ # @yieldparam err [StandardError] error object if request failed
1717
+ #
1718
+ # @return [Google::Apis::RunV1alpha1::PubSub]
1719
+ #
1720
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1721
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
+ def create_project_location_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1724
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
1725
+ command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1726
+ command.request_object = pub_sub_object
1727
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1728
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
1729
+ command.params['parent'] = parent unless parent.nil?
1730
+ command.query['fields'] = fields unless fields.nil?
1731
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1732
+ execute_or_queue_command(command, &block)
1733
+ end
1734
+
1735
+ # Rpc to delete a pubsub.
1736
+ # @param [String] name
1737
+ # The name of the pubsub being deleted. If needed, replace
1738
+ # `namespace_id` with the project ID.
1739
+ # @param [String] api_version
1740
+ # Cloud Run currently ignores this parameter.
1741
+ # @param [String] kind
1742
+ # Cloud Run currently ignores this parameter.
1743
+ # @param [String] propagation_policy
1744
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1745
+ # this setting, and deletes in the background. Please see
1746
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1747
+ # more information.
1748
+ # @param [String] fields
1749
+ # Selector specifying which fields to include in a partial response.
1750
+ # @param [String] quota_user
1751
+ # Available to use for quota purposes for server-side applications. Can be any
1752
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1753
+ # @param [Google::Apis::RequestOptions] options
1754
+ # Request-specific options
1755
+ #
1756
+ # @yield [result, err] Result & error if block supplied
1757
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1758
+ # @yieldparam err [StandardError] error object if request failed
1759
+ #
1760
+ # @return [Google::Apis::RunV1alpha1::Empty]
1761
+ #
1762
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1763
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1764
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1765
+ def delete_project_location_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1766
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1767
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1768
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1769
+ command.params['name'] = name unless name.nil?
1770
+ command.query['apiVersion'] = api_version unless api_version.nil?
1771
+ command.query['kind'] = kind unless kind.nil?
1772
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1773
+ command.query['fields'] = fields unless fields.nil?
1774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1775
+ execute_or_queue_command(command, &block)
1776
+ end
1777
+
1778
+ # Rpc to get information about a pubsub.
1779
+ # @param [String] name
1780
+ # The name of the pubsub being retrieved. If needed, replace
1781
+ # `namespace_id` with the project ID.
1782
+ # @param [String] fields
1783
+ # Selector specifying which fields to include in a partial response.
1784
+ # @param [String] quota_user
1785
+ # Available to use for quota purposes for server-side applications. Can be any
1786
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1787
+ # @param [Google::Apis::RequestOptions] options
1788
+ # Request-specific options
1789
+ #
1790
+ # @yield [result, err] Result & error if block supplied
1791
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1792
+ # @yieldparam err [StandardError] error object if request failed
1793
+ #
1794
+ # @return [Google::Apis::RunV1alpha1::PubSub]
1795
+ #
1796
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1797
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1798
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1799
+ def get_project_location_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
1800
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1801
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1802
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
1803
+ command.params['name'] = name unless name.nil?
1804
+ command.query['fields'] = fields unless fields.nil?
1805
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1806
+ execute_or_queue_command(command, &block)
1807
+ end
1808
+
1809
+ # Rpc to list pubsubs.
1810
+ # @param [String] parent
1811
+ # The project ID or project number from which the pubsubs should
1812
+ # be listed.
1813
+ # @param [String] continue
1814
+ # Optional encoded string to continue paging.
1815
+ # @param [String] field_selector
1816
+ # Allows to filter resources based on a specific value for a field name.
1817
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1818
+ # Not currently used by Cloud Run.
1819
+ # @param [Boolean] include_uninitialized
1820
+ # Not currently used by Cloud Run.
1821
+ # @param [String] label_selector
1822
+ # Allows to filter resources based on a label. Supported operations are
1823
+ # =, !=, exists, in, and notIn.
1824
+ # @param [Fixnum] limit
1825
+ # The maximum number of records that should be returned.
1826
+ # @param [String] resource_version
1827
+ # The baseline resource version from which the list or watch operation should
1828
+ # start. Not currently used by Cloud Run.
1829
+ # @param [Boolean] watch
1830
+ # Flag that indicates that the client expects to watch this resource as well.
1831
+ # Not currently used by Cloud Run.
1832
+ # @param [String] fields
1833
+ # Selector specifying which fields to include in a partial response.
1834
+ # @param [String] quota_user
1835
+ # Available to use for quota purposes for server-side applications. Can be any
1836
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1837
+ # @param [Google::Apis::RequestOptions] options
1838
+ # Request-specific options
1839
+ #
1840
+ # @yield [result, err] Result & error if block supplied
1841
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
1842
+ # @yieldparam err [StandardError] error object if request failed
1843
+ #
1844
+ # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
1845
+ #
1846
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1847
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1848
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1849
+ def list_project_location_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1850
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/pubsubs', options)
1851
+ command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
1852
+ command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
1853
+ command.params['parent'] = parent unless parent.nil?
1854
+ command.query['continue'] = continue unless continue.nil?
1855
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1856
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1857
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1858
+ command.query['limit'] = limit unless limit.nil?
1859
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1860
+ command.query['watch'] = watch unless watch.nil?
1861
+ command.query['fields'] = fields unless fields.nil?
1862
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1863
+ execute_or_queue_command(command, &block)
1864
+ end
1865
+
1866
+ # Rpc to replace a pubsub.
1867
+ # Only the spec and metadata labels and annotations are modifiable. After
1868
+ # the Update request, Cloud Run will work to make the 'status'
1869
+ # match the requested 'spec'.
1870
+ # May provide metadata.resourceVersion to enforce update from last read for
1871
+ # optimistic concurrency control.
1872
+ # @param [String] name
1873
+ # The name of the pubsub being retrieved. If needed, replace
1874
+ # `namespace_id` with the project ID.
1875
+ # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
1876
+ # @param [String] fields
1877
+ # Selector specifying which fields to include in a partial response.
1878
+ # @param [String] quota_user
1879
+ # Available to use for quota purposes for server-side applications. Can be any
1880
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1881
+ # @param [Google::Apis::RequestOptions] options
1882
+ # Request-specific options
1883
+ #
1884
+ # @yield [result, err] Result & error if block supplied
1885
+ # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1886
+ # @yieldparam err [StandardError] error object if request failed
1887
+ #
1888
+ # @return [Google::Apis::RunV1alpha1::PubSub]
1889
+ #
1890
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1891
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1892
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1893
+ def replace_project_location_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1894
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1895
+ command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1896
+ command.request_object = pub_sub_object
1897
+ command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1898
+ command.response_class = Google::Apis::RunV1alpha1::PubSub
1899
+ command.params['name'] = name unless name.nil?
1900
+ command.query['fields'] = fields unless fields.nil?
1901
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1902
+ execute_or_queue_command(command, &block)
1903
+ end
1904
+
1497
1905
  # Rpc to delete a revision.
1498
1906
  # @param [String] name
1499
1907
  # The name of the revision being deleted. If needed, replace
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190927'
29
+ REVISION = '20191021'
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'
@@ -1453,16 +1453,6 @@ module Google
1453
1453
  # @return [Google::Apis::ServicecontrolV1::QuotaProperties]
1454
1454
  attr_accessor :quota_properties
1455
1455
 
1456
- # DO NOT USE. This field is deprecated, use "resources" field instead.
1457
- # The resource name of the parent of a resource in the resource hierarchy.
1458
- # This can be in one of the following formats:
1459
- # - “projects/<project-id or project-number>”
1460
- # - “folders/<folder-id>”
1461
- # - “organizations/<organization-id>”
1462
- # Corresponds to the JSON property `resourceContainer`
1463
- # @return [String]
1464
- attr_accessor :resource_container
1465
-
1466
1456
  # The resources that are involved in the operation.
1467
1457
  # The maximum supported number of entries in this field is 100.
1468
1458
  # Corresponds to the JSON property `resources`
@@ -1496,7 +1486,6 @@ module Google
1496
1486
  @operation_id = args[:operation_id] if args.key?(:operation_id)
1497
1487
  @operation_name = args[:operation_name] if args.key?(:operation_name)
1498
1488
  @quota_properties = args[:quota_properties] if args.key?(:quota_properties)
1499
- @resource_container = args[:resource_container] if args.key?(:resource_container)
1500
1489
  @resources = args[:resources] if args.key?(:resources)
1501
1490
  @start_time = args[:start_time] if args.key?(:start_time)
1502
1491
  @user_labels = args[:user_labels] if args.key?(:user_labels)
@@ -597,7 +597,6 @@ module Google
597
597
  property :operation_name, as: 'operationName'
598
598
  property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation
599
599
 
600
- property :resource_container, as: 'resourceContainer'
601
600
  collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV1::ResourceInfo, decorator: Google::Apis::ServicecontrolV1::ResourceInfo::Representation
602
601
 
603
602
  property :start_time, as: 'startTime'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191003'
29
+ REVISION = '20191027'
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'
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
 
21
21
  module Google
22
22
  module Apis
23
- module SpeechV2beta
23
+ module SpeechV2beta1
24
24
 
25
25
  # The response message for Operations.ListOperations.
26
26
  class ListOperationsResponse
@@ -33,7 +33,7 @@ module Google
33
33
 
34
34
  # A list of operations that matches the specified filter in the request.
35
35
  # Corresponds to the JSON property `operations`
36
- # @return [Array<Google::Apis::SpeechV2beta::Operation>]
36
+ # @return [Array<Google::Apis::SpeechV2beta1::Operation>]
37
37
  attr_accessor :operations
38
38
 
39
39
  def initialize(**args)
@@ -93,7 +93,7 @@ module Google
93
93
  # Output only. Sequential list of transcription results corresponding to
94
94
  # sequential portions of audio.
95
95
  # Corresponds to the JSON property `results`
96
- # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionResult>]
96
+ # @return [Array<Google::Apis::SpeechV2beta1::SpeechRecognitionResult>]
97
97
  attr_accessor :results
98
98
 
99
99
  def initialize(**args)
@@ -126,7 +126,7 @@ module Google
126
126
  # You can find out more about this error model and how to work with it in the
127
127
  # [API Design Guide](https://cloud.google.com/apis/design/errors).
128
128
  # Corresponds to the JSON property `error`
129
- # @return [Google::Apis::SpeechV2beta::Status]
129
+ # @return [Google::Apis::SpeechV2beta1::Status]
130
130
  attr_accessor :error
131
131
 
132
132
  # Service-specific metadata associated with the operation. It typically
@@ -194,7 +194,7 @@ module Google
194
194
  # Note: When `enable_speaker_diarization` is true, you will see all the words
195
195
  # from the beginning of the audio.
196
196
  # Corresponds to the JSON property `words`
197
- # @return [Array<Google::Apis::SpeechV2beta::WordInfo>]
197
+ # @return [Array<Google::Apis::SpeechV2beta1::WordInfo>]
198
198
  attr_accessor :words
199
199
 
200
200
  def initialize(**args)
@@ -218,7 +218,7 @@ module Google
218
218
  # These alternatives are ordered in terms of accuracy, with the top (first)
219
219
  # alternative being the most probable, as ranked by the recognizer.
220
220
  # Corresponds to the JSON property `alternatives`
221
- # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionAlternative>]
221
+ # @return [Array<Google::Apis::SpeechV2beta1::SpeechRecognitionAlternative>]
222
222
  attr_accessor :alternatives
223
223
 
224
224
  # Output only. For multi-channel audio, this is the channel number corresponding
@@ -316,8 +316,9 @@ module Google
316
316
  # Output only. A distinct integer value is assigned for every speaker within
317
317
  # the audio. This field specifies which one of those speakers was detected to
318
318
  # have spoken this word. Value ranges from `1` to
319
- # `diarization_speaker_count`. speaker_tag is set if
320
- # `enable_speaker_diarization` = `true` and only in the top alternative.
319
+ # `diarization_config.max_speaker_count` . `speaker_tag` is set if
320
+ # `diarization_config.enable_speaker_diarization` = `true` and only in the
321
+ # top alternative.
321
322
  # Corresponds to the JSON property `speakerTag`
322
323
  # @return [Fixnum]
323
324
  attr_accessor :speaker_tag
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
 
21
21
  module Google
22
22
  module Apis
23
- module SpeechV2beta
23
+ module SpeechV2beta1
24
24
 
25
25
  class ListOperationsResponse
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -74,7 +74,7 @@ module Google
74
74
  # @private
75
75
  class Representation < Google::Apis::Core::JsonRepresentation
76
76
  property :next_page_token, as: 'nextPageToken'
77
- collection :operations, as: 'operations', class: Google::Apis::SpeechV2beta::Operation, decorator: Google::Apis::SpeechV2beta::Operation::Representation
77
+ collection :operations, as: 'operations', class: Google::Apis::SpeechV2beta1::Operation, decorator: Google::Apis::SpeechV2beta1::Operation::Representation
78
78
 
79
79
  end
80
80
  end
@@ -91,7 +91,7 @@ module Google
91
91
  class LongRunningRecognizeResponse
92
92
  # @private
93
93
  class Representation < Google::Apis::Core::JsonRepresentation
94
- collection :results, as: 'results', class: Google::Apis::SpeechV2beta::SpeechRecognitionResult, decorator: Google::Apis::SpeechV2beta::SpeechRecognitionResult::Representation
94
+ collection :results, as: 'results', class: Google::Apis::SpeechV2beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV2beta1::SpeechRecognitionResult::Representation
95
95
 
96
96
  end
97
97
  end
@@ -100,7 +100,7 @@ module Google
100
100
  # @private
101
101
  class Representation < Google::Apis::Core::JsonRepresentation
102
102
  property :done, as: 'done'
103
- property :error, as: 'error', class: Google::Apis::SpeechV2beta::Status, decorator: Google::Apis::SpeechV2beta::Status::Representation
103
+ property :error, as: 'error', class: Google::Apis::SpeechV2beta1::Status, decorator: Google::Apis::SpeechV2beta1::Status::Representation
104
104
 
105
105
  hash :metadata, as: 'metadata'
106
106
  property :name, as: 'name'
@@ -113,7 +113,7 @@ module Google
113
113
  class Representation < Google::Apis::Core::JsonRepresentation
114
114
  property :confidence, as: 'confidence'
115
115
  property :transcript, as: 'transcript'
116
- collection :words, as: 'words', class: Google::Apis::SpeechV2beta::WordInfo, decorator: Google::Apis::SpeechV2beta::WordInfo::Representation
116
+ collection :words, as: 'words', class: Google::Apis::SpeechV2beta1::WordInfo, decorator: Google::Apis::SpeechV2beta1::WordInfo::Representation
117
117
 
118
118
  end
119
119
  end
@@ -121,7 +121,7 @@ module Google
121
121
  class SpeechRecognitionResult
122
122
  # @private
123
123
  class Representation < Google::Apis::Core::JsonRepresentation
124
- collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV2beta::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV2beta::SpeechRecognitionAlternative::Representation
124
+ collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV2beta1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV2beta1::SpeechRecognitionAlternative::Representation
125
125
 
126
126
  property :channel_tag, as: 'channelTag'
127
127
  property :language_code, as: 'languageCode'