google-api-client 0.42.1 → 0.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -268
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +739 -1192
  35. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  36. data/generated/google/apis/apigee_v1/service.rb +885 -1126
  37. data/generated/google/apis/appengine_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/service.rb +6 -3
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  41. data/generated/google/apis/appsmarket_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  44. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  45. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  47. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  50. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  51. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  52. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  53. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  54. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  55. data/generated/google/apis/blogger_v2.rb +2 -3
  56. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  57. data/generated/google/apis/blogger_v2/service.rb +1 -2
  58. data/generated/google/apis/blogger_v3.rb +2 -3
  59. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  60. data/generated/google/apis/blogger_v3/service.rb +1 -2
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +140 -159
  63. data/generated/google/apis/books_v1/service.rb +47 -49
  64. data/generated/google/apis/chat_v1.rb +1 -1
  65. data/generated/google/apis/chat_v1/classes.rb +19 -0
  66. data/generated/google/apis/chat_v1/representations.rb +13 -0
  67. data/generated/google/apis/chat_v1/service.rb +39 -0
  68. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  69. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  70. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  73. data/generated/google/apis/classroom_v1/service.rb +643 -902
  74. data/generated/google/apis/cloudasset_v1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  76. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  79. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  80. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  81. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  82. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  83. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  84. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  89. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  90. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  99. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  101. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  102. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  104. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  105. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  106. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  107. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  108. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  110. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  111. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  113. data/generated/google/apis/cloudshell_v1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  115. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  117. data/generated/google/apis/compute_alpha.rb +1 -1
  118. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  119. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  120. data/generated/google/apis/compute_alpha/service.rb +15 -7
  121. data/generated/google/apis/compute_beta.rb +1 -1
  122. data/generated/google/apis/compute_beta/classes.rb +39 -14
  123. data/generated/google/apis/compute_beta/representations.rb +2 -0
  124. data/generated/google/apis/compute_beta/service.rb +15 -7
  125. data/generated/google/apis/compute_v1.rb +1 -1
  126. data/generated/google/apis/compute_v1/classes.rb +65 -42
  127. data/generated/google/apis/compute_v1/representations.rb +18 -15
  128. data/generated/google/apis/compute_v1/service.rb +63 -19
  129. data/generated/google/apis/container_v1.rb +1 -1
  130. data/generated/google/apis/container_v1/classes.rb +26 -0
  131. data/generated/google/apis/container_v1/representations.rb +15 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +15 -0
  134. data/generated/google/apis/content_v2/representations.rb +1 -0
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +15 -0
  137. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  138. data/generated/google/apis/customsearch_v1.rb +1 -1
  139. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  140. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  141. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  142. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  143. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  144. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  145. data/generated/google/apis/datafusion_v1.rb +43 -0
  146. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  147. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
  148. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  149. data/generated/google/apis/dataproc_v1.rb +1 -1
  150. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  151. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  152. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  153. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  155. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  156. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  157. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  158. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  159. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  160. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  161. data/generated/google/apis/dialogflow_v2.rb +1 -1
  162. data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
  163. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  164. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  165. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  166. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
  167. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  168. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
  169. data/generated/google/apis/displayvideo_v1.rb +7 -1
  170. data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
  171. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  172. data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
  173. data/generated/google/apis/dlp_v2.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/dns_v1/classes.rb +7 -7
  177. data/generated/google/apis/dns_v1beta2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  179. data/generated/google/apis/dns_v2beta1.rb +1 -1
  180. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  181. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  182. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  183. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  184. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  185. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  186. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  187. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  188. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  189. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  190. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  191. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  193. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  194. data/generated/google/apis/drive_v2.rb +1 -1
  195. data/generated/google/apis/drive_v2/classes.rb +3 -1
  196. data/generated/google/apis/drive_v3.rb +1 -1
  197. data/generated/google/apis/drive_v3/classes.rb +9 -1
  198. data/generated/google/apis/drive_v3/representations.rb +1 -0
  199. data/generated/google/apis/driveactivity_v2.rb +1 -1
  200. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  201. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  202. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  203. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  204. data/generated/google/apis/fcm_v1.rb +1 -1
  205. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  206. data/generated/google/apis/fcm_v1/service.rb +5 -6
  207. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  208. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  209. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  210. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  213. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  214. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  215. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  216. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  217. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  219. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  220. data/generated/google/apis/firebaseml_v1.rb +1 -1
  221. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  222. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  223. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  224. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  225. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  226. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  227. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  228. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  229. data/generated/google/apis/games_management_v1management.rb +1 -1
  230. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  231. data/generated/google/apis/games_v1.rb +1 -1
  232. data/generated/google/apis/games_v1/classes.rb +1 -1
  233. data/generated/google/apis/games_v1/service.rb +2 -2
  234. data/generated/google/apis/gameservices_v1.rb +1 -1
  235. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  236. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  237. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  238. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  239. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  240. data/generated/google/apis/genomics_v1.rb +1 -1
  241. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  242. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  243. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  244. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  245. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  246. data/generated/google/apis/gmail_v1.rb +3 -3
  247. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  248. data/generated/google/apis/gmail_v1/service.rb +257 -285
  249. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  250. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  251. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  252. data/generated/google/apis/healthcare_v1.rb +1 -1
  253. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  254. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  255. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  256. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  257. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +93 -111
  260. data/generated/google/apis/language_v1/service.rb +4 -4
  261. data/generated/google/apis/language_v1beta1.rb +1 -1
  262. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  263. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  264. data/generated/google/apis/language_v1beta2.rb +1 -1
  265. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  266. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  267. data/generated/google/apis/libraryagent_v1.rb +1 -1
  268. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  269. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  270. data/generated/google/apis/logging_v2.rb +1 -1
  271. data/generated/google/apis/logging_v2/classes.rb +6 -6
  272. data/generated/google/apis/managedidentities_v1.rb +1 -1
  273. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  274. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  275. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  277. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  278. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  279. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  281. data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
  282. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  283. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  284. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  285. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  286. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  287. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  288. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  289. data/generated/google/apis/monitoring_v1.rb +1 -1
  290. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +36 -18
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  295. data/generated/google/apis/osconfig_v1.rb +1 -1
  296. data/generated/google/apis/osconfig_v1/classes.rb +796 -0
  297. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  298. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  299. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  300. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  301. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  302. data/generated/google/apis/people_v1.rb +1 -1
  303. data/generated/google/apis/people_v1/classes.rb +382 -401
  304. data/generated/google/apis/people_v1/representations.rb +57 -0
  305. data/generated/google/apis/people_v1/service.rb +169 -385
  306. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  307. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  308. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  309. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  310. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  311. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  312. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  313. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  314. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  315. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  318. data/generated/google/apis/pubsub_v1.rb +1 -1
  319. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  320. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  321. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  322. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  323. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  324. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  325. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  326. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  327. data/generated/google/apis/recommender_v1.rb +1 -1
  328. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  329. data/generated/google/apis/recommender_v1/service.rb +43 -58
  330. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  331. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  332. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  333. data/generated/google/apis/redis_v1.rb +1 -1
  334. data/generated/google/apis/redis_v1/classes.rb +397 -0
  335. data/generated/google/apis/redis_v1/representations.rb +139 -0
  336. data/generated/google/apis/redis_v1beta1.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  338. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  339. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  342. data/generated/google/apis/run_v1.rb +1 -1
  343. data/generated/google/apis/run_v1/classes.rb +835 -1248
  344. data/generated/google/apis/run_v1/service.rb +233 -247
  345. data/generated/google/apis/run_v1alpha1.rb +1 -1
  346. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  347. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  350. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  351. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  353. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  354. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  355. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
  356. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  357. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  358. data/generated/google/apis/searchconsole_v1.rb +1 -1
  359. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  360. data/generated/google/apis/securitycenter_v1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  362. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  363. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  365. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  366. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  368. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  369. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  370. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  377. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  378. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  379. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  380. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  381. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  382. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  383. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  384. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  385. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  386. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  387. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  388. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  389. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  391. data/generated/google/apis/serviceusage_v1.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  393. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  394. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  395. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  396. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  397. data/generated/google/apis/spanner_v1.rb +1 -1
  398. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  401. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  402. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  403. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  404. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  405. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  406. data/generated/google/apis/tagmanager_v1.rb +2 -3
  407. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  408. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  409. data/generated/google/apis/tagmanager_v2.rb +2 -3
  410. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  411. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  412. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/testing_v1/classes.rb +63 -0
  415. data/generated/google/apis/testing_v1/representations.rb +32 -0
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  418. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  419. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  422. data/generated/google/apis/tpu_v1/service.rb +21 -25
  423. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  424. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  425. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  426. data/generated/google/apis/translate_v3.rb +1 -1
  427. data/generated/google/apis/translate_v3/service.rb +14 -1
  428. data/generated/google/apis/translate_v3beta1.rb +1 -1
  429. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  430. data/generated/google/apis/vision_v1.rb +1 -1
  431. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  432. data/generated/google/apis/vision_v1/service.rb +254 -340
  433. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  435. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  436. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  438. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  439. data/generated/google/apis/webfonts_v1.rb +1 -1
  440. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  441. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  442. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  443. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  444. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  445. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  446. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  449. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  450. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  452. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  453. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  454. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  455. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  456. data/generated/google/apis/youtube_v3.rb +1 -1
  457. data/generated/google/apis/youtube_v3/classes.rb +943 -1175
  458. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  459. data/generated/google/apis/youtube_v3/service.rb +1007 -1316
  460. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  461. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  462. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  463. data/lib/google/apis/core/base_service.rb +7 -1
  464. data/lib/google/apis/version.rb +1 -1
  465. metadata +19 -11
  466. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  467. data/generated/google/apis/fitness_v1.rb +0 -85
  468. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  469. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  470. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -879,6 +879,121 @@ module Google
879
879
  execute_or_queue_command(command, &block)
880
880
  end
881
881
 
882
+ # Starts creating a new Cloud Bigtable Backup. The returned backup
883
+ # long-running operation can be used to
884
+ # track creation of the backup. The
885
+ # metadata field type is
886
+ # CreateBackupMetadata. The
887
+ # response field type is
888
+ # Backup, if successful. Cancelling the returned operation will stop the
889
+ # creation and delete the backup.
890
+ # @param [String] parent
891
+ # Required. This must be one of the clusters in the instance in which this
892
+ # table is located. The backup will be stored in this cluster. Values are
893
+ # of the form `projects/`project`/instances/`instance`/clusters/`cluster``.
894
+ # @param [Google::Apis::BigtableadminV2::Backup] backup_object
895
+ # @param [String] backup_id
896
+ # Required. The id of the backup to be created. The `backup_id` along with
897
+ # the parent `parent` are combined as `parent`/backups/`backup_id` to create
898
+ # the full backup name, of the form:
899
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup_id`
900
+ # `.
901
+ # This string must be between 1 and 50 characters in length and match the
902
+ # regex _a-zA-Z0-9*.
903
+ # @param [String] fields
904
+ # Selector specifying which fields to include in a partial response.
905
+ # @param [String] quota_user
906
+ # Available to use for quota purposes for server-side applications. Can be any
907
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
908
+ # @param [Google::Apis::RequestOptions] options
909
+ # Request-specific options
910
+ #
911
+ # @yield [result, err] Result & error if block supplied
912
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
913
+ # @yieldparam err [StandardError] error object if request failed
914
+ #
915
+ # @return [Google::Apis::BigtableadminV2::Operation]
916
+ #
917
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
920
+ def create_project_instance_cluster_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
921
+ command = make_simple_command(:post, 'v2/{+parent}/backups', options)
922
+ command.request_representation = Google::Apis::BigtableadminV2::Backup::Representation
923
+ command.request_object = backup_object
924
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
925
+ command.response_class = Google::Apis::BigtableadminV2::Operation
926
+ command.params['parent'] = parent unless parent.nil?
927
+ command.query['backupId'] = backup_id unless backup_id.nil?
928
+ command.query['fields'] = fields unless fields.nil?
929
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
930
+ execute_or_queue_command(command, &block)
931
+ end
932
+
933
+ # Deletes a pending or completed Cloud Bigtable backup.
934
+ # @param [String] name
935
+ # Required. Name of the backup to delete.
936
+ # Values are of the form
937
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup``.
938
+ # @param [String] fields
939
+ # Selector specifying which fields to include in a partial response.
940
+ # @param [String] quota_user
941
+ # Available to use for quota purposes for server-side applications. Can be any
942
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
943
+ # @param [Google::Apis::RequestOptions] options
944
+ # Request-specific options
945
+ #
946
+ # @yield [result, err] Result & error if block supplied
947
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
948
+ # @yieldparam err [StandardError] error object if request failed
949
+ #
950
+ # @return [Google::Apis::BigtableadminV2::Empty]
951
+ #
952
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
953
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
954
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
955
+ def delete_project_instance_cluster_backup(name, fields: nil, quota_user: nil, options: nil, &block)
956
+ command = make_simple_command(:delete, 'v2/{+name}', options)
957
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
958
+ command.response_class = Google::Apis::BigtableadminV2::Empty
959
+ command.params['name'] = name unless name.nil?
960
+ command.query['fields'] = fields unless fields.nil?
961
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
962
+ execute_or_queue_command(command, &block)
963
+ end
964
+
965
+ # Gets metadata on a pending or completed Cloud Bigtable Backup.
966
+ # @param [String] name
967
+ # Required. Name of the backup.
968
+ # Values are of the form
969
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup``.
970
+ # @param [String] fields
971
+ # Selector specifying which fields to include in a partial response.
972
+ # @param [String] quota_user
973
+ # Available to use for quota purposes for server-side applications. Can be any
974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
975
+ # @param [Google::Apis::RequestOptions] options
976
+ # Request-specific options
977
+ #
978
+ # @yield [result, err] Result & error if block supplied
979
+ # @yieldparam result [Google::Apis::BigtableadminV2::Backup] parsed result object
980
+ # @yieldparam err [StandardError] error object if request failed
981
+ #
982
+ # @return [Google::Apis::BigtableadminV2::Backup]
983
+ #
984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
987
+ def get_project_instance_cluster_backup(name, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:get, 'v2/{+name}', options)
989
+ command.response_representation = Google::Apis::BigtableadminV2::Backup::Representation
990
+ command.response_class = Google::Apis::BigtableadminV2::Backup
991
+ command.params['name'] = name unless name.nil?
992
+ command.query['fields'] = fields unless fields.nil?
993
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
994
+ execute_or_queue_command(command, &block)
995
+ end
996
+
882
997
  # Gets the access control policy for a Table resource.
883
998
  # Returns an empty policy if the resource exists but does not have a policy
884
999
  # set.
@@ -915,6 +1030,147 @@ module Google
915
1030
  execute_or_queue_command(command, &block)
916
1031
  end
917
1032
 
1033
+ # Lists Cloud Bigtable backups. Returns both completed and pending
1034
+ # backups.
1035
+ # @param [String] parent
1036
+ # Required. The cluster to list backups from. Values are of the
1037
+ # form `projects/`project`/instances/`instance`/clusters/`cluster``.
1038
+ # Use ``cluster` = '-'` to list backups for all clusters in an instance,
1039
+ # e.g., `projects/`project`/instances/`instance`/clusters/-`.
1040
+ # @param [String] filter
1041
+ # A filter expression that filters backups listed in the response.
1042
+ # The expression must specify the field name, a comparison operator,
1043
+ # and the value that you want to use for filtering. The value must be a
1044
+ # string, a number, or a boolean. The comparison operator must be
1045
+ # <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
1046
+ # roughly synonymous with equality. Filter rules are case insensitive.
1047
+ # The fields eligible for filtering are:
1048
+ # * `name`
1049
+ # * `source_table`
1050
+ # * `state`
1051
+ # * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1052
+ # * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1053
+ # * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1054
+ # * `size_bytes`
1055
+ # To filter on multiple expressions, provide each separate expression within
1056
+ # parentheses. By default, each expression is an AND expression. However,
1057
+ # you can include AND, OR, and NOT expressions explicitly.
1058
+ # Some examples of using filters are:
1059
+ # * `name:"exact"` --> The backup's name is the string "exact".
1060
+ # * `name:howl` --> The backup's name contains the string "howl".
1061
+ # * `source_table:prod`
1062
+ # --> The source_table's name contains the string "prod".
1063
+ # * `state:CREATING` --> The backup is pending creation.
1064
+ # * `state:READY` --> The backup is fully created and ready for use.
1065
+ # * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
1066
+ # --> The backup name contains the string "howl" and start_time
1067
+ # of the backup is before 2018-03-28T14:50:00Z.
1068
+ # * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
1069
+ # @param [String] order_by
1070
+ # An expression for specifying the sort order of the results of the request.
1071
+ # The string value should specify one or more fields in Backup. The full
1072
+ # syntax is described at https://aip.dev/132#ordering.
1073
+ # Fields supported are:
1074
+ # * name
1075
+ # * source_table
1076
+ # * expire_time
1077
+ # * start_time
1078
+ # * end_time
1079
+ # * size_bytes
1080
+ # * state
1081
+ # For example, "start_time". The default sorting order is ascending.
1082
+ # To specify descending order for the field, a suffix " desc" should
1083
+ # be appended to the field name. For example, "start_time desc".
1084
+ # Redundant space characters in the syntax are insigificant.
1085
+ # If order_by is empty, results will be sorted by `start_time` in descending
1086
+ # order starting from the most recently created backup.
1087
+ # @param [Fixnum] page_size
1088
+ # Number of backups to be returned in the response. If 0 or
1089
+ # less, defaults to the server's maximum allowed page size.
1090
+ # @param [String] page_token
1091
+ # If non-empty, `page_token` should contain a
1092
+ # next_page_token from a
1093
+ # previous ListBackupsResponse to the same `parent` and with the same
1094
+ # `filter`.
1095
+ # @param [String] fields
1096
+ # Selector specifying which fields to include in a partial response.
1097
+ # @param [String] quota_user
1098
+ # Available to use for quota purposes for server-side applications. Can be any
1099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1100
+ # @param [Google::Apis::RequestOptions] options
1101
+ # Request-specific options
1102
+ #
1103
+ # @yield [result, err] Result & error if block supplied
1104
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListBackupsResponse] parsed result object
1105
+ # @yieldparam err [StandardError] error object if request failed
1106
+ #
1107
+ # @return [Google::Apis::BigtableadminV2::ListBackupsResponse]
1108
+ #
1109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1112
+ def list_project_instance_cluster_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:get, 'v2/{+parent}/backups', options)
1114
+ command.response_representation = Google::Apis::BigtableadminV2::ListBackupsResponse::Representation
1115
+ command.response_class = Google::Apis::BigtableadminV2::ListBackupsResponse
1116
+ command.params['parent'] = parent unless parent.nil?
1117
+ command.query['filter'] = filter unless filter.nil?
1118
+ command.query['orderBy'] = order_by unless order_by.nil?
1119
+ command.query['pageSize'] = page_size unless page_size.nil?
1120
+ command.query['pageToken'] = page_token unless page_token.nil?
1121
+ command.query['fields'] = fields unless fields.nil?
1122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
+ execute_or_queue_command(command, &block)
1124
+ end
1125
+
1126
+ # Updates a pending or completed Cloud Bigtable Backup.
1127
+ # @param [String] name
1128
+ # A globally unique identifier for the backup which cannot be
1129
+ # changed. Values are of the form
1130
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/
1131
+ # backups/_a-zA-Z0-9*`
1132
+ # The final segment of the name must be between 1 and 50 characters
1133
+ # in length.
1134
+ # The backup is stored in the cluster identified by the prefix of the backup
1135
+ # name of the form
1136
+ # `projects/`project`/instances/`instance`/clusters/`cluster``.
1137
+ # @param [Google::Apis::BigtableadminV2::Backup] backup_object
1138
+ # @param [String] update_mask
1139
+ # Required. A mask specifying which fields (e.g. `expire_time`) in the
1140
+ # Backup resource should be updated. This mask is relative to the Backup
1141
+ # resource, not to the request message. The field mask must always be
1142
+ # specified; this prevents any future fields from being erased accidentally
1143
+ # by clients that do not know about them.
1144
+ # @param [String] fields
1145
+ # Selector specifying which fields to include in a partial response.
1146
+ # @param [String] quota_user
1147
+ # Available to use for quota purposes for server-side applications. Can be any
1148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1149
+ # @param [Google::Apis::RequestOptions] options
1150
+ # Request-specific options
1151
+ #
1152
+ # @yield [result, err] Result & error if block supplied
1153
+ # @yieldparam result [Google::Apis::BigtableadminV2::Backup] parsed result object
1154
+ # @yieldparam err [StandardError] error object if request failed
1155
+ #
1156
+ # @return [Google::Apis::BigtableadminV2::Backup]
1157
+ #
1158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1161
+ def patch_project_instance_cluster_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1162
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1163
+ command.request_representation = Google::Apis::BigtableadminV2::Backup::Representation
1164
+ command.request_object = backup_object
1165
+ command.response_representation = Google::Apis::BigtableadminV2::Backup::Representation
1166
+ command.response_class = Google::Apis::BigtableadminV2::Backup
1167
+ command.params['name'] = name unless name.nil?
1168
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1169
+ command.query['fields'] = fields unless fields.nil?
1170
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
+ execute_or_queue_command(command, &block)
1172
+ end
1173
+
918
1174
  # Sets the access control policy on a Table resource.
919
1175
  # Replaces any existing policy.
920
1176
  # @param [String] resource
@@ -1322,6 +1578,48 @@ module Google
1322
1578
  execute_or_queue_command(command, &block)
1323
1579
  end
1324
1580
 
1581
+ # Create a new table by restoring from a completed backup. The new table
1582
+ # must be in the same instance as the instance containing the backup. The
1583
+ # returned table long-running operation can
1584
+ # be used to track the progress of the operation, and to cancel it. The
1585
+ # metadata field type is
1586
+ # RestoreTableMetadata. The
1587
+ # response type is
1588
+ # Table, if successful.
1589
+ # @param [String] parent
1590
+ # Required. The name of the instance in which to create the restored
1591
+ # table. This instance must be the parent of the source backup. Values are
1592
+ # of the form `projects/<project>/instances/<instance>`.
1593
+ # @param [Google::Apis::BigtableadminV2::RestoreTableRequest] restore_table_request_object
1594
+ # @param [String] fields
1595
+ # Selector specifying which fields to include in a partial response.
1596
+ # @param [String] quota_user
1597
+ # Available to use for quota purposes for server-side applications. Can be any
1598
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1599
+ # @param [Google::Apis::RequestOptions] options
1600
+ # Request-specific options
1601
+ #
1602
+ # @yield [result, err] Result & error if block supplied
1603
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1604
+ # @yieldparam err [StandardError] error object if request failed
1605
+ #
1606
+ # @return [Google::Apis::BigtableadminV2::Operation]
1607
+ #
1608
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1609
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1610
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1611
+ def restore_table(parent, restore_table_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1612
+ command = make_simple_command(:post, 'v2/{+parent}/tables:restore', options)
1613
+ command.request_representation = Google::Apis::BigtableadminV2::RestoreTableRequest::Representation
1614
+ command.request_object = restore_table_request_object
1615
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1616
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1617
+ command.params['parent'] = parent unless parent.nil?
1618
+ command.query['fields'] = fields unless fields.nil?
1619
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1620
+ execute_or_queue_command(command, &block)
1621
+ end
1622
+
1325
1623
  # Sets the access control policy on a Table resource.
1326
1624
  # Replaces any existing policy.
1327
1625
  # @param [String] resource
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200711'
29
+ REVISION = '20200801'
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'
@@ -22,45 +22,38 @@ module Google
22
22
  module Apis
23
23
  module BillingbudgetsV1beta1
24
24
 
25
- # AllUpdatesRule defines notifications that are sent based on budget spend
26
- # and thresholds.
25
+ # AllUpdatesRule defines notifications that are sent based on budget spend and
26
+ # thresholds.
27
27
  class GoogleCloudBillingBudgetsV1beta1AllUpdatesRule
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
30
  # Optional. Targets to send notifications to when a threshold is exceeded. This
31
- # is in
32
- # addition to default recipients who have billing account roles.
33
- # The value is the full REST resource name of a monitoring notification
34
- # channel with the form
35
- # `projects/`project_id`/notificationChannels/`channel_id``. A maximum of 5
36
- # channels are allowed. See
37
- # https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
38
- # for more details.
31
+ # is in addition to default recipients who have billing account roles. The value
32
+ # is the full REST resource name of a monitoring notification channel with the
33
+ # form `projects/`project_id`/notificationChannels/`channel_id``. A maximum of 5
34
+ # channels are allowed. See https://cloud.google.com/billing/docs/how-to/budgets-
35
+ # notification-recipients for more details.
39
36
  # Corresponds to the JSON property `monitoringNotificationChannels`
40
37
  # @return [Array<String>]
41
38
  attr_accessor :monitoring_notification_channels
42
39
 
43
- # Required. The name of the Cloud Pub/Sub topic where budget related messages
44
- # will be
45
- # published, in the form `projects/`project_id`/topics/`topic_id``. Updates
46
- # are sent at regular intervals to the topic.
47
- # The topic needs to be created before the budget is created; see
48
- # https://cloud.google.com/billing/docs/how-to/budgets#manage-notifications
49
- # for more details.
50
- # Caller is expected to have
51
- # `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
52
- # budget, otherwise, the API call will fail with PERMISSION_DENIED. See
53
- # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-
54
- # notifications
55
- # for more details on Pub/Sub roles and permissions.
40
+ # Optional. The name of the Pub/Sub topic where budget related messages will be
41
+ # published, in the form `projects/`project_id`/topics/`topic_id``. Updates are
42
+ # sent at regular intervals to the topic. The topic needs to be created before
43
+ # the budget is created; see https://cloud.google.com/billing/docs/how-to/
44
+ # budgets#manage-notifications for more details. Caller is expected to have `
45
+ # pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget,
46
+ # otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.
47
+ # google.com/billing/docs/how-to/budgets-programmatic-notifications for more
48
+ # details on Pub/Sub roles and permissions.
56
49
  # Corresponds to the JSON property `pubsubTopic`
57
50
  # @return [String]
58
51
  attr_accessor :pubsub_topic
59
52
 
60
- # Required. The schema version of the notification sent to `pubsub_topic`.
61
- # Only "1.0" is accepted. It represents the JSON schema as defined in
62
- # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-
63
- # notifications#notification_format
53
+ # Optional. The schema version of the notification sent to `pubsub_topic`. Only "
54
+ # 1.0" is accepted. It represents the JSON schema as defined in https://cloud.
55
+ # google.com/billing/docs/how-to/budgets-programmatic-notifications#
56
+ # notification_format
64
57
  # Corresponds to the JSON property `schemaVersion`
65
58
  # @return [String]
66
59
  attr_accessor :schema_version
@@ -77,16 +70,16 @@ module Google
77
70
  end
78
71
  end
79
72
 
80
- # A budget is a plan that describes what you expect to spend on Cloud
81
- # projects, plus the rules to execute as spend is tracked against that plan,
82
- # (for example, send an alert when 90% of the target spend is met).
83
- # Currently all plans are monthly budgets so the usage period(s) tracked are
84
- # implied (calendar months of usage back-to-back).
73
+ # A budget is a plan that describes what you expect to spend on Cloud projects,
74
+ # plus the rules to execute as spend is tracked against that plan, (for example,
75
+ # send an alert when 90% of the target spend is met). Currently all plans are
76
+ # monthly budgets so the usage period(s) tracked are implied (calendar months of
77
+ # usage back-to-back).
85
78
  class GoogleCloudBillingBudgetsV1beta1Budget
86
79
  include Google::Apis::Core::Hashable
87
80
 
88
- # AllUpdatesRule defines notifications that are sent based on budget spend
89
- # and thresholds.
81
+ # AllUpdatesRule defines notifications that are sent based on budget spend and
82
+ # thresholds.
90
83
  # Corresponds to the JSON property `allUpdatesRule`
91
84
  # @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1AllUpdatesRule]
92
85
  attr_accessor :all_updates_rule
@@ -101,28 +94,26 @@ module Google
101
94
  # @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1Filter]
102
95
  attr_accessor :budget_filter
103
96
 
104
- # User data for display name in UI.
105
- # Validation: <= 60 chars.
97
+ # User data for display name in UI. Validation: <= 60 chars.
106
98
  # Corresponds to the JSON property `displayName`
107
99
  # @return [String]
108
100
  attr_accessor :display_name
109
101
 
110
- # Optional. Etag to validate that the object is unchanged for a
111
- # read-modify-write operation.
112
- # An empty etag will cause an update to overwrite other changes.
102
+ # Optional. Etag to validate that the object is unchanged for a read-modify-
103
+ # write operation. An empty etag will cause an update to overwrite other changes.
113
104
  # Corresponds to the JSON property `etag`
114
105
  # @return [String]
115
106
  attr_accessor :etag
116
107
 
117
- # Output only. Resource name of the budget.
118
- # The resource name implies the scope of a budget. Values are of the form
119
- # `billingAccounts/`billingAccountId`/budgets/`budgetId``.
108
+ # Output only. Resource name of the budget. The resource name implies the scope
109
+ # of a budget. Values are of the form `billingAccounts/`billingAccountId`/
110
+ # budgets/`budgetId``.
120
111
  # Corresponds to the JSON property `name`
121
112
  # @return [String]
122
113
  attr_accessor :name
123
114
 
124
- # Optional. Rules that trigger alerts (notifications of thresholds
125
- # being crossed) when spend exceeds the specified percentages of the budget.
115
+ # Optional. Rules that trigger alerts (notifications of thresholds being crossed)
116
+ # when spend exceeds the specified percentages of the budget.
126
117
  # Corresponds to the JSON property `thresholdRules`
127
118
  # @return [Array<Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1ThresholdRule>]
128
119
  attr_accessor :threshold_rules
@@ -147,11 +138,10 @@ module Google
147
138
  class GoogleCloudBillingBudgetsV1beta1BudgetAmount
148
139
  include Google::Apis::Core::Hashable
149
140
 
150
- # Describes a budget amount targeted to last period's spend.
151
- # At this time, the amount is automatically 100% of last period's spend;
152
- # that is, there are no other options yet.
153
- # Future configuration will be described here (for example, configuring a
154
- # percentage of last period's spend).
141
+ # Describes a budget amount targeted to last period's spend. At this time, the
142
+ # amount is automatically 100% of last period's spend; that is, there are no
143
+ # other options yet. Future configuration will be described here (for example,
144
+ # configuring a percentage of last period's spend).
155
145
  # Corresponds to the JSON property `lastPeriodAmount`
156
146
  # @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]
157
147
  attr_accessor :last_period_amount
@@ -176,11 +166,11 @@ module Google
176
166
  class GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest
177
167
  include Google::Apis::Core::Hashable
178
168
 
179
- # A budget is a plan that describes what you expect to spend on Cloud
180
- # projects, plus the rules to execute as spend is tracked against that plan,
181
- # (for example, send an alert when 90% of the target spend is met).
182
- # Currently all plans are monthly budgets so the usage period(s) tracked are
183
- # implied (calendar months of usage back-to-back).
169
+ # A budget is a plan that describes what you expect to spend on Cloud projects,
170
+ # plus the rules to execute as spend is tracked against that plan, (for example,
171
+ # send an alert when 90% of the target spend is met). Currently all plans are
172
+ # monthly budgets so the usage period(s) tracked are implied (calendar months of
173
+ # usage back-to-back).
184
174
  # Corresponds to the JSON property `budget`
185
175
  # @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1Budget]
186
176
  attr_accessor :budget
@@ -205,40 +195,36 @@ module Google
205
195
  attr_accessor :credit_types_treatment
206
196
 
207
197
  # Optional. A single label and value pair specifying that usage from only this
208
- # set of
209
- # labeled resources should be included in the budget. Currently, multiple
210
- # entries or multiple values per entry are not allowed. If omitted, the
211
- # report will include all labeled and unlabeled usage.
198
+ # set of labeled resources should be included in the budget. Currently, multiple
199
+ # entries or multiple values per entry are not allowed. If omitted, the report
200
+ # will include all labeled and unlabeled usage.
212
201
  # Corresponds to the JSON property `labels`
213
202
  # @return [Hash<String,Array<Object>>]
214
203
  attr_accessor :labels
215
204
 
216
- # Optional. A set of projects of the form `projects/`project``,
217
- # specifying that usage from only this set of projects should be
218
- # included in the budget. If omitted, the report will include all usage for
219
- # the billing account, regardless of which project the usage occurred on.
220
- # Only zero or one project can be specified currently.
205
+ # Optional. A set of projects of the form `projects/`project``, specifying that
206
+ # usage from only this set of projects should be included in the budget. If
207
+ # omitted, the report will include all usage for the billing account, regardless
208
+ # of which project the usage occurred on. Only zero or one project can be
209
+ # specified currently.
221
210
  # Corresponds to the JSON property `projects`
222
211
  # @return [Array<String>]
223
212
  attr_accessor :projects
224
213
 
225
- # Optional. A set of services of the form `services/`service_id``,
226
- # specifying that usage from only this set of services should be
227
- # included in the budget. If omitted, the report will include usage for
228
- # all the services.
229
- # The service names are available through the Catalog API:
230
- # https://cloud.google.com/billing/v1/how-tos/catalog-api.
214
+ # Optional. A set of services of the form `services/`service_id``, specifying
215
+ # that usage from only this set of services should be included in the budget. If
216
+ # omitted, the report will include usage for all the services. The service names
217
+ # are available through the Catalog API: https://cloud.google.com/billing/v1/how-
218
+ # tos/catalog-api.
231
219
  # Corresponds to the JSON property `services`
232
220
  # @return [Array<String>]
233
221
  attr_accessor :services
234
222
 
235
223
  # Optional. A set of subaccounts of the form `billingAccounts/`account_id``,
236
- # specifying
237
- # that usage from only this set of subaccounts should be included in the
238
- # budget. If a subaccount is set to the name of the parent account,
239
- # usage from the parent account will be included. If omitted, the
240
- # report will include usage from the parent account and all
241
- # subaccounts, if they exist.
224
+ # specifying that usage from only this set of subaccounts should be included in
225
+ # the budget. If a subaccount is set to the name of the parent account, usage
226
+ # from the parent account will be included. If omitted, the report will include
227
+ # usage from the parent account and all subaccounts, if they exist.
242
228
  # Corresponds to the JSON property `subaccounts`
243
229
  # @return [Array<String>]
244
230
  attr_accessor :subaccounts
@@ -257,11 +243,10 @@ module Google
257
243
  end
258
244
  end
259
245
 
260
- # Describes a budget amount targeted to last period's spend.
261
- # At this time, the amount is automatically 100% of last period's spend;
262
- # that is, there are no other options yet.
263
- # Future configuration will be described here (for example, configuring a
264
- # percentage of last period's spend).
246
+ # Describes a budget amount targeted to last period's spend. At this time, the
247
+ # amount is automatically 100% of last period's spend; that is, there are no
248
+ # other options yet. Future configuration will be described here (for example,
249
+ # configuring a percentage of last period's spend).
265
250
  class GoogleCloudBillingBudgetsV1beta1LastPeriodAmount
266
251
  include Google::Apis::Core::Hashable
267
252
 
@@ -283,8 +268,8 @@ module Google
283
268
  # @return [Array<Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1Budget>]
284
269
  attr_accessor :budgets
285
270
 
286
- # If not empty, indicates that there may be more budgets that match the
287
- # request; this value should be passed in a new `ListBudgetsRequest`.
271
+ # If not empty, indicates that there may be more budgets that match the request;
272
+ # this value should be passed in a new `ListBudgetsRequest`.
288
273
  # Corresponds to the JSON property `nextPageToken`
289
274
  # @return [String]
290
275
  attr_accessor :next_page_token
@@ -300,13 +285,12 @@ module Google
300
285
  end
301
286
  end
302
287
 
303
- # ThresholdRule contains a definition of a threshold which triggers
304
- # an alert (a notification of a threshold being crossed) to be sent when
305
- # spend goes above the specified amount.
306
- # Alerts are automatically e-mailed to users with the Billing Account
307
- # Administrator role or the Billing Account User role.
308
- # The thresholds here have no effect on notifications sent to anything
309
- # configured under `Budget.all_updates_rule`.
288
+ # ThresholdRule contains a definition of a threshold which triggers an alert (a
289
+ # notification of a threshold being crossed) to be sent when spend goes above
290
+ # the specified amount. Alerts are automatically e-mailed to users with the
291
+ # Billing Account Administrator role or the Billing Account User role. The
292
+ # thresholds here have no effect on notifications sent to anything configured
293
+ # under `Budget.all_updates_rule`.
310
294
  class GoogleCloudBillingBudgetsV1beta1ThresholdRule
311
295
  include Google::Apis::Core::Hashable
312
296
 
@@ -316,9 +300,8 @@ module Google
316
300
  # @return [String]
317
301
  attr_accessor :spend_basis
318
302
 
319
- # Required. Send an alert when this threshold is exceeded.
320
- # This is a 1.0-based percentage, so 0.5 = 50%.
321
- # Validation: non-negative number.
303
+ # Required. Send an alert when this threshold is exceeded. This is a 1.0-based
304
+ # percentage, so 0.5 = 50%. Validation: non-negative number.
322
305
  # Corresponds to the JSON property `thresholdPercent`
323
306
  # @return [Float]
324
307
  attr_accessor :threshold_percent
@@ -338,21 +321,20 @@ module Google
338
321
  class GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest
339
322
  include Google::Apis::Core::Hashable
340
323
 
341
- # A budget is a plan that describes what you expect to spend on Cloud
342
- # projects, plus the rules to execute as spend is tracked against that plan,
343
- # (for example, send an alert when 90% of the target spend is met).
344
- # Currently all plans are monthly budgets so the usage period(s) tracked are
345
- # implied (calendar months of usage back-to-back).
324
+ # A budget is a plan that describes what you expect to spend on Cloud projects,
325
+ # plus the rules to execute as spend is tracked against that plan, (for example,
326
+ # send an alert when 90% of the target spend is met). Currently all plans are
327
+ # monthly budgets so the usage period(s) tracked are implied (calendar months of
328
+ # usage back-to-back).
346
329
  # Corresponds to the JSON property `budget`
347
330
  # @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1Budget]
348
331
  attr_accessor :budget
349
332
 
350
- # Optional. Indicates which fields in the provided budget to update.
351
- # Read-only fields (such as `name`) cannot be changed. If this is not
352
- # provided, then only fields with non-default values from the request are
353
- # updated. See
354
- # https://developers.google.com/protocol-buffers/docs/proto3#default for more
355
- # details about default values.
333
+ # Optional. Indicates which fields in the provided budget to update. Read-only
334
+ # fields (such as `name`) cannot be changed. If this is not provided, then only
335
+ # fields with non-default values from the request are updated. See https://
336
+ # developers.google.com/protocol-buffers/docs/proto3#default for more details
337
+ # about default values.
356
338
  # Corresponds to the JSON property `updateMask`
357
339
  # @return [String]
358
340
  attr_accessor :update_mask
@@ -368,13 +350,11 @@ module Google
368
350
  end
369
351
  end
370
352
 
371
- # A generic empty message that you can re-use to avoid defining duplicated
372
- # empty messages in your APIs. A typical example is to use it as the request
373
- # or the response type of an API method. For instance:
374
- # service Foo `
375
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
376
- # `
377
- # The JSON representation for `Empty` is empty JSON object ````.
353
+ # A generic empty message that you can re-use to avoid defining duplicated empty
354
+ # messages in your APIs. A typical example is to use it as the request or the
355
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
356
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
357
+ # `Empty` is empty JSON object ````.
378
358
  class GoogleProtobufEmpty
379
359
  include Google::Apis::Core::Hashable
380
360
 
@@ -396,18 +376,17 @@ module Google
396
376
  # @return [String]
397
377
  attr_accessor :currency_code
398
378
 
399
- # Number of nano (10^-9) units of the amount.
400
- # The value must be between -999,999,999 and +999,999,999 inclusive.
401
- # If `units` is positive, `nanos` must be positive or zero.
402
- # If `units` is zero, `nanos` can be positive, zero, or negative.
403
- # If `units` is negative, `nanos` must be negative or zero.
404
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
379
+ # Number of nano (10^-9) units of the amount. The value must be between -999,999,
380
+ # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
381
+ # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
382
+ # negative. If `units` is negative, `nanos` must be negative or zero. For
383
+ # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
405
384
  # Corresponds to the JSON property `nanos`
406
385
  # @return [Fixnum]
407
386
  attr_accessor :nanos
408
387
 
409
- # The whole units of the amount.
410
- # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
388
+ # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
389
+ # 1 unit is one US dollar.
411
390
  # Corresponds to the JSON property `units`
412
391
  # @return [Fixnum]
413
392
  attr_accessor :units