google-api-client 0.50.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +3 -1
  3. data/CHANGELOG.md +127 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1beta.rb +1 -1
  10. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  11. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
  12. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  13. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
  14. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
  15. data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  18. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  19. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  20. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  21. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  22. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +7 -7
  25. data/generated/google/apis/apigee_v1/service.rb +8 -7
  26. data/generated/google/apis/appengine_v1beta.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  28. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  29. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  30. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  31. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  32. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  33. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  34. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  35. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
  36. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
  37. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  38. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  39. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
  40. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  41. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
  43. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  44. data/generated/google/apis/chat_v1.rb +1 -1
  45. data/generated/google/apis/chat_v1/service.rb +176 -0
  46. data/generated/google/apis/cloudasset_v1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
  48. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  49. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  50. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  52. data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
  53. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
  55. data/generated/google/apis/cloudiot_v1.rb +1 -1
  56. data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
  57. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  58. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  59. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  60. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  61. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
  62. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  63. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
  65. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  66. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  67. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
  68. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  69. data/generated/google/apis/composer_v1.rb +1 -1
  70. data/generated/google/apis/composer_v1/classes.rb +123 -0
  71. data/generated/google/apis/composer_v1/representations.rb +49 -0
  72. data/generated/google/apis/composer_v1/service.rb +19 -15
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  75. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  76. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +7 -2
  79. data/generated/google/apis/compute_v1/representations.rb +1 -0
  80. data/generated/google/apis/compute_v1/service.rb +691 -544
  81. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  82. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
  83. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  84. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  85. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
  86. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  87. data/generated/google/apis/content_v2.rb +1 -1
  88. data/generated/google/apis/content_v2/classes.rb +4 -4
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +175 -4
  91. data/generated/google/apis/content_v2_1/representations.rb +78 -0
  92. data/generated/google/apis/content_v2_1/service.rb +179 -0
  93. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  94. data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
  95. data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
  96. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  97. data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
  98. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  99. data/generated/google/apis/dataproc_v1.rb +1 -1
  100. data/generated/google/apis/dataproc_v1/classes.rb +78 -6
  101. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
  104. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  105. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  106. data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
  107. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
  108. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
  110. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
  111. data/generated/google/apis/dialogflow_v2.rb +1 -1
  112. data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
  113. data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
  114. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  115. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
  117. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
  118. data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
  119. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  120. data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
  121. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
  122. data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
  123. data/generated/google/apis/displayvideo_v1.rb +1 -1
  124. data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
  125. data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
  126. data/generated/google/apis/displayvideo_v1/service.rb +103 -39
  127. data/generated/google/apis/dns_v1.rb +1 -1
  128. data/generated/google/apis/dns_v1/classes.rb +6 -0
  129. data/generated/google/apis/dns_v1/representations.rb +1 -0
  130. data/generated/google/apis/dns_v1beta2.rb +1 -1
  131. data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
  132. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  134. data/generated/google/apis/drive_v2.rb +1 -1
  135. data/generated/google/apis/drive_v2/classes.rb +4 -1
  136. data/generated/google/apis/drive_v2/service.rb +24 -56
  137. data/generated/google/apis/drive_v3.rb +1 -1
  138. data/generated/google/apis/drive_v3/classes.rb +4 -1
  139. data/generated/google/apis/drive_v3/service.rb +14 -30
  140. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  141. data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
  142. data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
  143. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  144. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  145. data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
  146. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  147. data/generated/google/apis/games_v1.rb +1 -1
  148. data/generated/google/apis/games_v1/classes.rb +67 -14
  149. data/generated/google/apis/games_v1/representations.rb +31 -2
  150. data/generated/google/apis/games_v1/service.rb +33 -0
  151. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  152. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  153. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  154. data/generated/google/apis/healthcare_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  156. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  157. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
  158. data/generated/google/apis/iam_v1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +101 -0
  160. data/generated/google/apis/iam_v1/representations.rb +33 -0
  161. data/generated/google/apis/iam_v1/service.rb +62 -0
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  164. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  167. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  168. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  169. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  170. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  171. data/generated/google/apis/jobs_v4/service.rb +903 -0
  172. data/generated/google/apis/licensing_v1.rb +1 -1
  173. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  174. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  175. data/generated/google/apis/licensing_v1/service.rb +32 -29
  176. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  177. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  178. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  179. data/generated/google/apis/logging_v2.rb +1 -1
  180. data/generated/google/apis/logging_v2/classes.rb +5 -4
  181. data/generated/google/apis/managedidentities_v1.rb +1 -1
  182. data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
  183. data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
  184. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  185. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
  186. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
  187. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  188. data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
  189. data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
  190. data/generated/google/apis/ml_v1.rb +1 -1
  191. data/generated/google/apis/ml_v1/classes.rb +0 -6
  192. data/generated/google/apis/ml_v1/representations.rb +0 -1
  193. data/generated/google/apis/monitoring_v3.rb +1 -1
  194. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  195. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  196. data/generated/google/apis/notebooks_v1.rb +1 -1
  197. data/generated/google/apis/notebooks_v1/classes.rb +0 -6
  198. data/generated/google/apis/notebooks_v1/representations.rb +0 -1
  199. data/generated/google/apis/osconfig_v1.rb +1 -1
  200. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  201. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  202. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  203. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  204. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  205. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  206. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  207. data/generated/google/apis/people_v1.rb +1 -1
  208. data/generated/google/apis/people_v1/classes.rb +6 -2
  209. data/generated/google/apis/pubsub_v1.rb +1 -1
  210. data/generated/google/apis/pubsub_v1/classes.rb +0 -6
  211. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  212. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
  214. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  215. data/generated/google/apis/recommender_v1.rb +1 -1
  216. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  217. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  218. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  219. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  220. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  221. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  222. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  223. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  224. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  225. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  226. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  227. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  228. data/generated/google/apis/reseller_v1.rb +4 -4
  229. data/generated/google/apis/reseller_v1/service.rb +5 -5
  230. data/generated/google/apis/run_v1.rb +1 -1
  231. data/generated/google/apis/run_v1/classes.rb +2 -1
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  236. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  237. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  238. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  239. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  240. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  241. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  243. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  244. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  245. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
  246. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  247. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  248. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
  249. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
  250. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  251. data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
  252. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  253. data/generated/google/apis/sheets_v4.rb +1 -1
  254. data/generated/google/apis/sheets_v4/classes.rb +309 -0
  255. data/generated/google/apis/sheets_v4/representations.rb +99 -0
  256. data/generated/google/apis/slides_v1.rb +1 -1
  257. data/generated/google/apis/spanner_v1.rb +1 -1
  258. data/generated/google/apis/spanner_v1/classes.rb +9 -6
  259. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  260. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  261. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  262. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  263. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  264. data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
  265. data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
  266. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  267. data/generated/google/apis/storage_v1.rb +1 -1
  268. data/generated/google/apis/storage_v1/classes.rb +7 -0
  269. data/generated/google/apis/storage_v1/representations.rb +1 -0
  270. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  271. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
  272. data/generated/google/apis/vault_v1.rb +1 -1
  273. data/generated/google/apis/vault_v1/classes.rb +76 -0
  274. data/generated/google/apis/vault_v1/representations.rb +45 -0
  275. data/generated/google/apis/vectortile_v1.rb +1 -1
  276. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  277. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  278. data/generated/google/apis/videointelligence_v1.rb +1 -1
  279. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  280. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  281. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  282. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  283. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  284. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  286. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  287. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  288. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  289. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  290. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  291. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  292. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  293. data/generated/google/apis/youtube_v3.rb +1 -1
  294. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  295. data/lib/google/apis/version.rb +1 -1
  296. metadata +19 -11
  297. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  298. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  299. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -19,15 +19,15 @@ require 'google/apis/errors'
19
19
 
20
20
  module Google
21
21
  module Apis
22
- module AssuredworkloadsV1beta1
22
+ module AssuredworkloadsV1
23
23
  # Assured Workloads API
24
24
  #
25
25
  #
26
26
  #
27
27
  # @example
28
- # require 'google/apis/assuredworkloads_v1beta1'
28
+ # require 'google/apis/assuredworkloads_v1'
29
29
  #
30
- # Assuredworkloads = Google::Apis::AssuredworkloadsV1beta1 # Alias the module
30
+ # Assuredworkloads = Google::Apis::AssuredworkloadsV1 # Alias the module
31
31
  # service = Assuredworkloads::AssuredworkloadsService.new
32
32
  #
33
33
  # @see https://cloud.google.com
@@ -60,18 +60,18 @@ module Google
60
60
  # Request-specific options
61
61
  #
62
62
  # @yield [result, err] Result & error if block supplied
63
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation] parsed result object
63
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation] parsed result object
64
64
  # @yieldparam err [StandardError] error object if request failed
65
65
  #
66
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation]
66
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation]
67
67
  #
68
68
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
69
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
70
  # @raise [Google::Apis::AuthorizationError] Authorization is required
71
71
  def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
72
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
73
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation::Representation
74
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation
72
+ command = make_simple_command(:get, 'v1/{+name}', options)
73
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation::Representation
74
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation
75
75
  command.params['name'] = name unless name.nil?
76
76
  command.query['fields'] = fields unless fields.nil?
77
77
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -103,18 +103,18 @@ module Google
103
103
  # Request-specific options
104
104
  #
105
105
  # @yield [result, err] Result & error if block supplied
106
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
106
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleLongrunningListOperationsResponse] parsed result object
107
107
  # @yieldparam err [StandardError] error object if request failed
108
108
  #
109
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningListOperationsResponse]
109
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleLongrunningListOperationsResponse]
110
110
  #
111
111
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
114
114
  def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
115
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
116
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningListOperationsResponse::Representation
117
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningListOperationsResponse
115
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
116
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleLongrunningListOperationsResponse::Representation
117
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleLongrunningListOperationsResponse
118
118
  command.params['name'] = name unless name.nil?
119
119
  command.query['filter'] = filter unless filter.nil?
120
120
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -128,7 +128,7 @@ module Google
128
128
  # @param [String] parent
129
129
  # Required. The resource name of the new Workload's parent. Must be of the form `
130
130
  # organizations/`org_id`/locations/`location_id``.
131
- # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] google_cloud_assuredworkloads_v1beta1_workload_object
131
+ # @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload] google_cloud_assuredworkloads_v1_workload_object
132
132
  # @param [String] external_id
133
133
  # Optional. A identifier associated with the workload and underlying projects
134
134
  # which allows for the break down of billing costs for a workload. The value
@@ -143,20 +143,20 @@ module Google
143
143
  # Request-specific options
144
144
  #
145
145
  # @yield [result, err] Result & error if block supplied
146
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation] parsed result object
146
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation] parsed result object
147
147
  # @yieldparam err [StandardError] error object if request failed
148
148
  #
149
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation]
149
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation]
150
150
  #
151
151
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
152
152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
153
153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
154
- def create_organization_location_workload(parent, google_cloud_assuredworkloads_v1beta1_workload_object = nil, external_id: nil, fields: nil, quota_user: nil, options: nil, &block)
155
- command = make_simple_command(:post, 'v1beta1/{+parent}/workloads', options)
156
- command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload::Representation
157
- command.request_object = google_cloud_assuredworkloads_v1beta1_workload_object
158
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation::Representation
159
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation
154
+ def create_organization_location_workload(parent, google_cloud_assuredworkloads_v1_workload_object = nil, external_id: nil, fields: nil, quota_user: nil, options: nil, &block)
155
+ command = make_simple_command(:post, 'v1/{+parent}/workloads', options)
156
+ command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload::Representation
157
+ command.request_object = google_cloud_assuredworkloads_v1_workload_object
158
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation::Representation
159
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleLongrunningOperation
160
160
  command.params['parent'] = parent unless parent.nil?
161
161
  command.query['externalId'] = external_id unless external_id.nil?
162
162
  command.query['fields'] = fields unless fields.nil?
@@ -182,18 +182,18 @@ module Google
182
182
  # Request-specific options
183
183
  #
184
184
  # @yield [result, err] Result & error if block supplied
185
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleProtobufEmpty] parsed result object
185
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleProtobufEmpty] parsed result object
186
186
  # @yieldparam err [StandardError] error object if request failed
187
187
  #
188
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleProtobufEmpty]
188
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleProtobufEmpty]
189
189
  #
190
190
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
191
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
192
  # @raise [Google::Apis::AuthorizationError] Authorization is required
193
193
  def delete_organization_location_workload(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
194
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
195
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleProtobufEmpty::Representation
196
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleProtobufEmpty
194
+ command = make_simple_command(:delete, 'v1/{+name}', options)
195
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleProtobufEmpty::Representation
196
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleProtobufEmpty
197
197
  command.params['name'] = name unless name.nil?
198
198
  command.query['etag'] = etag unless etag.nil?
199
199
  command.query['fields'] = fields unless fields.nil?
@@ -216,18 +216,18 @@ module Google
216
216
  # Request-specific options
217
217
  #
218
218
  # @yield [result, err] Result & error if block supplied
219
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] parsed result object
219
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload] parsed result object
220
220
  # @yieldparam err [StandardError] error object if request failed
221
221
  #
222
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload]
222
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload]
223
223
  #
224
224
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
225
225
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226
226
  # @raise [Google::Apis::AuthorizationError] Authorization is required
227
227
  def get_organization_location_workload(name, fields: nil, quota_user: nil, options: nil, &block)
228
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
229
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload::Representation
230
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload
228
+ command = make_simple_command(:get, 'v1/{+name}', options)
229
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload::Representation
230
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload
231
231
  command.params['name'] = name unless name.nil?
232
232
  command.query['fields'] = fields unless fields.nil?
233
233
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -256,18 +256,18 @@ module Google
256
256
  # Request-specific options
257
257
  #
258
258
  # @yield [result, err] Result & error if block supplied
259
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse] parsed result object
259
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListWorkloadsResponse] parsed result object
260
260
  # @yieldparam err [StandardError] error object if request failed
261
261
  #
262
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse]
262
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListWorkloadsResponse]
263
263
  #
264
264
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
265
265
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
266
266
  # @raise [Google::Apis::AuthorizationError] Authorization is required
267
267
  def list_organization_location_workloads(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
268
- command = make_simple_command(:get, 'v1beta1/{+parent}/workloads', options)
269
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse::Representation
270
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse
268
+ command = make_simple_command(:get, 'v1/{+parent}/workloads', options)
269
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListWorkloadsResponse::Representation
270
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListWorkloadsResponse
271
271
  command.params['parent'] = parent unless parent.nil?
272
272
  command.query['filter'] = filter unless filter.nil?
273
273
  command.query['pageSize'] = page_size unless page_size.nil?
@@ -283,7 +283,7 @@ module Google
283
283
  # @param [String] name
284
284
  # Optional. The resource name of the workload. Format: organizations/`
285
285
  # organization`/locations/`location`/workloads/`workload` Read-only.
286
- # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] google_cloud_assuredworkloads_v1beta1_workload_object
286
+ # @param [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload] google_cloud_assuredworkloads_v1_workload_object
287
287
  # @param [String] update_mask
288
288
  # Required. The list of fields to be updated.
289
289
  # @param [String] fields
@@ -295,20 +295,20 @@ module Google
295
295
  # Request-specific options
296
296
  #
297
297
  # @yield [result, err] Result & error if block supplied
298
- # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload] parsed result object
298
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload] parsed result object
299
299
  # @yieldparam err [StandardError] error object if request failed
300
300
  #
301
- # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload]
301
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload]
302
302
  #
303
303
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
304
304
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
305
  # @raise [Google::Apis::AuthorizationError] Authorization is required
306
- def patch_organization_location_workload(name, google_cloud_assuredworkloads_v1beta1_workload_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
307
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
308
- command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload::Representation
309
- command.request_object = google_cloud_assuredworkloads_v1beta1_workload_object
310
- command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload::Representation
311
- command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1Workload
306
+ def patch_organization_location_workload(name, google_cloud_assuredworkloads_v1_workload_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
307
+ command = make_simple_command(:patch, 'v1/{+name}', options)
308
+ command.request_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload::Representation
309
+ command.request_object = google_cloud_assuredworkloads_v1_workload_object
310
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload::Representation
311
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Workload
312
312
  command.params['name'] = name unless name.nil?
313
313
  command.query['updateMask'] = update_mask unless update_mask.nil?
314
314
  command.query['fields'] = fields unless fields.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/binary-authorization/
27
27
  module BinaryauthorizationV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201030'
29
+ REVISION = '20201113'
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'
@@ -224,11 +224,6 @@ module Google
224
224
  class Binding
225
225
  include Google::Apis::Core::Hashable
226
226
 
227
- #
228
- # Corresponds to the JSON property `bindingId`
229
- # @return [String]
230
- attr_accessor :binding_id
231
-
232
227
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
233
228
  # CEL is a C-like expression language. The syntax and semantics of CEL are
234
229
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -290,7 +285,6 @@ module Google
290
285
 
291
286
  # Update properties of this object
292
287
  def update!(**args)
293
- @binding_id = args[:binding_id] if args.key?(:binding_id)
294
288
  @condition = args[:condition] if args.key?(:condition)
295
289
  @members = args[:members] if args.key?(:members)
296
290
  @role = args[:role] if args.key?(:role)
@@ -194,7 +194,6 @@ module Google
194
194
  class Binding
195
195
  # @private
196
196
  class Representation < Google::Apis::Core::JsonRepresentation
197
- property :binding_id, as: 'bindingId'
198
197
  property :condition, as: 'condition', class: Google::Apis::BinaryauthorizationV1::Expr, decorator: Google::Apis::BinaryauthorizationV1::Expr::Representation
199
198
 
200
199
  collection :members, as: 'members'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/binary-authorization/
27
27
  module BinaryauthorizationV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201030'
29
+ REVISION = '20201113'
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'
@@ -68,7 +68,8 @@ module Google
68
68
 
69
69
  # An image name pattern to allowlist, in the form `registry/path/to/image`. This
70
70
  # supports a trailing `*` as a wildcard, but this is allowed only in text after
71
- # the `registry/` part.
71
+ # the `registry/` part. Also wildcards do not match `/`, i.e., gcr.io/nginx*
72
+ # matches gcr.io/nginx@latest, but it does not match gcr.io/nginx/image.
72
73
  # Corresponds to the JSON property `namePattern`
73
74
  # @return [String]
74
75
  attr_accessor :name_pattern
@@ -224,11 +225,6 @@ module Google
224
225
  class Binding
225
226
  include Google::Apis::Core::Hashable
226
227
 
227
- #
228
- # Corresponds to the JSON property `bindingId`
229
- # @return [String]
230
- attr_accessor :binding_id
231
-
232
228
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
233
229
  # CEL is a C-like expression language. The syntax and semantics of CEL are
234
230
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -290,7 +286,6 @@ module Google
290
286
 
291
287
  # Update properties of this object
292
288
  def update!(**args)
293
- @binding_id = args[:binding_id] if args.key?(:binding_id)
294
289
  @condition = args[:condition] if args.key?(:condition)
295
290
  @members = args[:members] if args.key?(:members)
296
291
  @role = args[:role] if args.key?(:role)
@@ -194,7 +194,6 @@ module Google
194
194
  class Binding
195
195
  # @private
196
196
  class Representation < Google::Apis::Core::JsonRepresentation
197
- property :binding_id, as: 'bindingId'
198
197
  property :condition, as: 'condition', class: Google::Apis::BinaryauthorizationV1beta1::Expr, decorator: Google::Apis::BinaryauthorizationV1beta1::Expr::Representation
199
198
 
200
199
  collection :members, as: 'members'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/hangouts/chat
26
26
  module ChatV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201028'
28
+ REVISION = '20201127'
29
29
  end
30
30
  end
31
31
  end
@@ -47,6 +47,94 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Legacy path for creating message. Calling these will result in a BadRequest
51
+ # response.
52
+ # @param [String] parent
53
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
54
+ # AAAAMpdlehY
55
+ # @param [Google::Apis::ChatV1::Message] message_object
56
+ # @param [String] thread_key
57
+ # Opaque thread identifier string that can be specified to group messages into a
58
+ # single thread. If this is the first message with a given thread identifier, a
59
+ # new thread is created. Subsequent messages with the same thread identifier
60
+ # will be posted into the same thread. This relieves bots and webhooks from
61
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
62
+ # them) to post further updates to it. Has no effect if thread field,
63
+ # corresponding to an existing thread, is set in message.
64
+ # @param [String] fields
65
+ # Selector specifying which fields to include in a partial response.
66
+ # @param [String] quota_user
67
+ # Available to use for quota purposes for server-side applications. Can be any
68
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
69
+ # @param [Google::Apis::RequestOptions] options
70
+ # Request-specific options
71
+ #
72
+ # @yield [result, err] Result & error if block supplied
73
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
74
+ # @yieldparam err [StandardError] error object if request failed
75
+ #
76
+ # @return [Google::Apis::ChatV1::Message]
77
+ #
78
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
81
+ def messages_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
82
+ command = make_simple_command(:post, 'v1/{+parent}/messages', options)
83
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
84
+ command.request_object = message_object
85
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
86
+ command.response_class = Google::Apis::ChatV1::Message
87
+ command.params['parent'] = parent unless parent.nil?
88
+ command.query['threadKey'] = thread_key unless thread_key.nil?
89
+ command.query['fields'] = fields unless fields.nil?
90
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
91
+ execute_or_queue_command(command, &block)
92
+ end
93
+
94
+ # Legacy path for creating message. Calling these will result in a BadRequest
95
+ # response.
96
+ # @param [String] parent
97
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
98
+ # AAAAMpdlehY
99
+ # @param [Google::Apis::ChatV1::Message] message_object
100
+ # @param [String] thread_key
101
+ # Opaque thread identifier string that can be specified to group messages into a
102
+ # single thread. If this is the first message with a given thread identifier, a
103
+ # new thread is created. Subsequent messages with the same thread identifier
104
+ # will be posted into the same thread. This relieves bots and webhooks from
105
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
106
+ # them) to post further updates to it. Has no effect if thread field,
107
+ # corresponding to an existing thread, is set in message.
108
+ # @param [String] fields
109
+ # Selector specifying which fields to include in a partial response.
110
+ # @param [String] quota_user
111
+ # Available to use for quota purposes for server-side applications. Can be any
112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
113
+ # @param [Google::Apis::RequestOptions] options
114
+ # Request-specific options
115
+ #
116
+ # @yield [result, err] Result & error if block supplied
117
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
118
+ # @yieldparam err [StandardError] error object if request failed
119
+ #
120
+ # @return [Google::Apis::ChatV1::Message]
121
+ #
122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
125
+ def messages_dm_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
126
+ command = make_simple_command(:post, 'v1/{+parent}/messages', options)
127
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
128
+ command.request_object = message_object
129
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
130
+ command.response_class = Google::Apis::ChatV1::Message
131
+ command.params['parent'] = parent unless parent.nil?
132
+ command.query['threadKey'] = thread_key unless thread_key.nil?
133
+ command.query['fields'] = fields unless fields.nil?
134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
135
+ execute_or_queue_command(command, &block)
136
+ end
137
+
50
138
  # Downloads media. Download is supported on the URI `/v1/media/`+name`?alt=media`
51
139
  # .
52
140
  # @param [String] resource_name
@@ -85,6 +173,94 @@ module Google
85
173
  execute_or_queue_command(command, &block)
86
174
  end
87
175
 
176
+ # Legacy path for creating message. Calling these will result in a BadRequest
177
+ # response.
178
+ # @param [String] parent
179
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
180
+ # AAAAMpdlehY
181
+ # @param [Google::Apis::ChatV1::Message] message_object
182
+ # @param [String] thread_key
183
+ # Opaque thread identifier string that can be specified to group messages into a
184
+ # single thread. If this is the first message with a given thread identifier, a
185
+ # new thread is created. Subsequent messages with the same thread identifier
186
+ # will be posted into the same thread. This relieves bots and webhooks from
187
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
188
+ # them) to post further updates to it. Has no effect if thread field,
189
+ # corresponding to an existing thread, is set in message.
190
+ # @param [String] fields
191
+ # Selector specifying which fields to include in a partial response.
192
+ # @param [String] quota_user
193
+ # Available to use for quota purposes for server-side applications. Can be any
194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
195
+ # @param [Google::Apis::RequestOptions] options
196
+ # Request-specific options
197
+ #
198
+ # @yield [result, err] Result & error if block supplied
199
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
200
+ # @yieldparam err [StandardError] error object if request failed
201
+ #
202
+ # @return [Google::Apis::ChatV1::Message]
203
+ #
204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
207
+ def messages_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
208
+ command = make_simple_command(:post, 'v1/{+parent}/messages', options)
209
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
210
+ command.request_object = message_object
211
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
212
+ command.response_class = Google::Apis::ChatV1::Message
213
+ command.params['parent'] = parent unless parent.nil?
214
+ command.query['threadKey'] = thread_key unless thread_key.nil?
215
+ command.query['fields'] = fields unless fields.nil?
216
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
217
+ execute_or_queue_command(command, &block)
218
+ end
219
+
220
+ # Legacy path for creating message. Calling these will result in a BadRequest
221
+ # response.
222
+ # @param [String] parent
223
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
224
+ # AAAAMpdlehY
225
+ # @param [Google::Apis::ChatV1::Message] message_object
226
+ # @param [String] thread_key
227
+ # Opaque thread identifier string that can be specified to group messages into a
228
+ # single thread. If this is the first message with a given thread identifier, a
229
+ # new thread is created. Subsequent messages with the same thread identifier
230
+ # will be posted into the same thread. This relieves bots and webhooks from
231
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
232
+ # them) to post further updates to it. Has no effect if thread field,
233
+ # corresponding to an existing thread, is set in message.
234
+ # @param [String] fields
235
+ # Selector specifying which fields to include in a partial response.
236
+ # @param [String] quota_user
237
+ # Available to use for quota purposes for server-side applications. Can be any
238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
239
+ # @param [Google::Apis::RequestOptions] options
240
+ # Request-specific options
241
+ #
242
+ # @yield [result, err] Result & error if block supplied
243
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
244
+ # @yieldparam err [StandardError] error object if request failed
245
+ #
246
+ # @return [Google::Apis::ChatV1::Message]
247
+ #
248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
251
+ def messages_room_conversation(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
252
+ command = make_simple_command(:post, 'v1/{+parent}/messages', options)
253
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
254
+ command.request_object = message_object
255
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
256
+ command.response_class = Google::Apis::ChatV1::Message
257
+ command.params['parent'] = parent unless parent.nil?
258
+ command.query['threadKey'] = thread_key unless thread_key.nil?
259
+ command.query['fields'] = fields unless fields.nil?
260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
261
+ execute_or_queue_command(command, &block)
262
+ end
263
+
88
264
  # Returns a space.
89
265
  # @param [String] name
90
266
  # Required. Resource name of the space, in the form "spaces/*". Example: spaces/