google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -1,223 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module AndroidpublisherV2
24
-
25
- #
26
- class PageInfo
27
- include Google::Apis::Core::Hashable
28
-
29
- #
30
- # Corresponds to the JSON property `resultPerPage`
31
- # @return [Fixnum]
32
- attr_accessor :result_per_page
33
-
34
- #
35
- # Corresponds to the JSON property `startIndex`
36
- # @return [Fixnum]
37
- attr_accessor :start_index
38
-
39
- #
40
- # Corresponds to the JSON property `totalResults`
41
- # @return [Fixnum]
42
- attr_accessor :total_results
43
-
44
- def initialize(**args)
45
- update!(**args)
46
- end
47
-
48
- # Update properties of this object
49
- def update!(**args)
50
- @result_per_page = args[:result_per_page] if args.key?(:result_per_page)
51
- @start_index = args[:start_index] if args.key?(:start_index)
52
- @total_results = args[:total_results] if args.key?(:total_results)
53
- end
54
- end
55
-
56
- # A ProductPurchase resource indicates the status of a user's inapp product
57
- # purchase.
58
- class ProductPurchase
59
- include Google::Apis::Core::Hashable
60
-
61
- # The consumption state of the inapp product. Possible values are:
62
- # - Yet to be consumed
63
- # - Consumed
64
- # Corresponds to the JSON property `consumptionState`
65
- # @return [Fixnum]
66
- attr_accessor :consumption_state
67
-
68
- # A developer-specified string that contains supplemental information about an
69
- # order.
70
- # Corresponds to the JSON property `developerPayload`
71
- # @return [String]
72
- attr_accessor :developer_payload
73
-
74
- # This kind represents an inappPurchase object in the androidpublisher service.
75
- # Corresponds to the JSON property `kind`
76
- # @return [String]
77
- attr_accessor :kind
78
-
79
- # The order id associated with the purchase of the inapp product.
80
- # Corresponds to the JSON property `orderId`
81
- # @return [String]
82
- attr_accessor :order_id
83
-
84
- # The purchase state of the order. Possible values are:
85
- # - Purchased
86
- # - Canceled
87
- # - Pending
88
- # Corresponds to the JSON property `purchaseState`
89
- # @return [Fixnum]
90
- attr_accessor :purchase_state
91
-
92
- # The time the product was purchased, in milliseconds since the epoch (Jan 1,
93
- # 1970).
94
- # Corresponds to the JSON property `purchaseTimeMillis`
95
- # @return [Fixnum]
96
- attr_accessor :purchase_time_millis
97
-
98
- # The type of purchase of the inapp product. This field is only set if this
99
- # purchase was not made using the standard in-app billing flow. Possible values
100
- # are:
101
- # - Test (i.e. purchased from a license testing account)
102
- # - Promo (i.e. purchased using a promo code)
103
- # - Rewarded (i.e. from watching a video ad instead of paying)
104
- # Corresponds to the JSON property `purchaseType`
105
- # @return [Fixnum]
106
- attr_accessor :purchase_type
107
-
108
- def initialize(**args)
109
- update!(**args)
110
- end
111
-
112
- # Update properties of this object
113
- def update!(**args)
114
- @consumption_state = args[:consumption_state] if args.key?(:consumption_state)
115
- @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
116
- @kind = args[:kind] if args.key?(:kind)
117
- @order_id = args[:order_id] if args.key?(:order_id)
118
- @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
119
- @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
120
- @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
121
- end
122
- end
123
-
124
- #
125
- class TokenPagination
126
- include Google::Apis::Core::Hashable
127
-
128
- #
129
- # Corresponds to the JSON property `nextPageToken`
130
- # @return [String]
131
- attr_accessor :next_page_token
132
-
133
- #
134
- # Corresponds to the JSON property `previousPageToken`
135
- # @return [String]
136
- attr_accessor :previous_page_token
137
-
138
- def initialize(**args)
139
- update!(**args)
140
- end
141
-
142
- # Update properties of this object
143
- def update!(**args)
144
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
145
- @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
146
- end
147
- end
148
-
149
- # A VoidedPurchase resource indicates a purchase that was either canceled/
150
- # refunded/charged-back.
151
- class VoidedPurchase
152
- include Google::Apis::Core::Hashable
153
-
154
- # This kind represents a voided purchase object in the androidpublisher service.
155
- # Corresponds to the JSON property `kind`
156
- # @return [String]
157
- attr_accessor :kind
158
-
159
- # The time at which the purchase was made, in milliseconds since the epoch (Jan
160
- # 1, 1970).
161
- # Corresponds to the JSON property `purchaseTimeMillis`
162
- # @return [Fixnum]
163
- attr_accessor :purchase_time_millis
164
-
165
- # The token which uniquely identifies a one-time purchase or subscription. To
166
- # uniquely identify subscription renewals use order_id (available starting from
167
- # version 3 of the API).
168
- # Corresponds to the JSON property `purchaseToken`
169
- # @return [String]
170
- attr_accessor :purchase_token
171
-
172
- # The time at which the purchase was canceled/refunded/charged-back, in
173
- # milliseconds since the epoch (Jan 1, 1970).
174
- # Corresponds to the JSON property `voidedTimeMillis`
175
- # @return [Fixnum]
176
- attr_accessor :voided_time_millis
177
-
178
- def initialize(**args)
179
- update!(**args)
180
- end
181
-
182
- # Update properties of this object
183
- def update!(**args)
184
- @kind = args[:kind] if args.key?(:kind)
185
- @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
186
- @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
187
- @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
188
- end
189
- end
190
-
191
- #
192
- class VoidedPurchasesListResponse
193
- include Google::Apis::Core::Hashable
194
-
195
- #
196
- # Corresponds to the JSON property `pageInfo`
197
- # @return [Google::Apis::AndroidpublisherV2::PageInfo]
198
- attr_accessor :page_info
199
-
200
- #
201
- # Corresponds to the JSON property `tokenPagination`
202
- # @return [Google::Apis::AndroidpublisherV2::TokenPagination]
203
- attr_accessor :token_pagination
204
-
205
- #
206
- # Corresponds to the JSON property `voidedPurchases`
207
- # @return [Array<Google::Apis::AndroidpublisherV2::VoidedPurchase>]
208
- attr_accessor :voided_purchases
209
-
210
- def initialize(**args)
211
- update!(**args)
212
- end
213
-
214
- # Update properties of this object
215
- def update!(**args)
216
- @page_info = args[:page_info] if args.key?(:page_info)
217
- @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
218
- @voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases)
219
- end
220
- end
221
- end
222
- end
223
- end
@@ -1,160 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module AndroidpublisherV2
23
- # Google Play Developer API
24
- #
25
- # Accesses Android application developers' Google Play accounts.
26
- #
27
- # @example
28
- # require 'google/apis/androidpublisher_v2'
29
- #
30
- # Androidpublisher = Google::Apis::AndroidpublisherV2 # Alias the module
31
- # service = Androidpublisher::AndroidPublisherService.new
32
- #
33
- # @see https://developers.google.com/android-publisher
34
- class AndroidPublisherService < Google::Apis::Core::BaseService
35
- # @return [String]
36
- # API key. Your API key identifies your project and provides you with API access,
37
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
- attr_accessor :key
39
-
40
- # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
43
- attr_accessor :quota_user
44
-
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
- def initialize
50
- super('https://www.googleapis.com/', 'androidpublisher/v2/applications/')
51
- @batch_path = 'batch/androidpublisher/v2'
52
- end
53
-
54
- # Checks the purchase and consumption status of an inapp item.
55
- # @param [String] package_name
56
- # The package name of the application the inapp product was sold in (for example,
57
- # 'com.some.thing').
58
- # @param [String] product_id
59
- # The inapp product SKU (for example, 'com.some.thing.inapp1').
60
- # @param [String] token
61
- # The token provided to the user's device when the inapp product was purchased.
62
- # @param [String] fields
63
- # Selector specifying which fields to include in a partial response.
64
- # @param [String] quota_user
65
- # An opaque string that represents a user for quota purposes. Must not exceed 40
66
- # characters.
67
- # @param [String] user_ip
68
- # Deprecated. Please use quotaUser instead.
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::AndroidpublisherV2::ProductPurchase] parsed result object
74
- # @yieldparam err [StandardError] error object if request failed
75
- #
76
- # @return [Google::Apis::AndroidpublisherV2::ProductPurchase]
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 get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
83
- command.response_representation = Google::Apis::AndroidpublisherV2::ProductPurchase::Representation
84
- command.response_class = Google::Apis::AndroidpublisherV2::ProductPurchase
85
- command.params['packageName'] = package_name unless package_name.nil?
86
- command.params['productId'] = product_id unless product_id.nil?
87
- command.params['token'] = token unless token.nil?
88
- command.query['fields'] = fields unless fields.nil?
89
- command.query['quotaUser'] = quota_user unless quota_user.nil?
90
- command.query['userIp'] = user_ip unless user_ip.nil?
91
- execute_or_queue_command(command, &block)
92
- end
93
-
94
- # Lists the purchases that were canceled, refunded or charged-back.
95
- # @param [String] package_name
96
- # The package name of the application for which voided purchases need to be
97
- # returned (for example, 'com.some.thing').
98
- # @param [Fixnum] end_time
99
- # The time, in milliseconds since the Epoch, of the newest voided purchase that
100
- # you want to see in the response. The value of this parameter cannot be greater
101
- # than the current time and is ignored if a pagination token is set. Default
102
- # value is current time. Note: This filter is applied on the time at which the
103
- # record is seen as voided by our systems and not the actual voided time
104
- # returned in the response.
105
- # @param [Fixnum] max_results
106
- # @param [Fixnum] start_index
107
- # @param [Fixnum] start_time
108
- # The time, in milliseconds since the Epoch, of the oldest voided purchase that
109
- # you want to see in the response. The value of this parameter cannot be older
110
- # than 30 days and is ignored if a pagination token is set. Default value is
111
- # current time minus 30 days. Note: This filter is applied on the time at which
112
- # the record is seen as voided by our systems and not the actual voided time
113
- # returned in the response.
114
- # @param [String] token
115
- # @param [String] fields
116
- # Selector specifying which fields to include in a partial response.
117
- # @param [String] quota_user
118
- # An opaque string that represents a user for quota purposes. Must not exceed 40
119
- # characters.
120
- # @param [String] user_ip
121
- # Deprecated. Please use quotaUser instead.
122
- # @param [Google::Apis::RequestOptions] options
123
- # Request-specific options
124
- #
125
- # @yield [result, err] Result & error if block supplied
126
- # @yieldparam result [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] parsed result object
127
- # @yieldparam err [StandardError] error object if request failed
128
- #
129
- # @return [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse]
130
- #
131
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
132
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
133
- # @raise [Google::Apis::AuthorizationError] Authorization is required
134
- def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
135
- command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
136
- command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation
137
- command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse
138
- command.params['packageName'] = package_name unless package_name.nil?
139
- command.query['endTime'] = end_time unless end_time.nil?
140
- command.query['maxResults'] = max_results unless max_results.nil?
141
- command.query['startIndex'] = start_index unless start_index.nil?
142
- command.query['startTime'] = start_time unless start_time.nil?
143
- command.query['token'] = token unless token.nil?
144
- command.query['fields'] = fields unless fields.nil?
145
- command.query['quotaUser'] = quota_user unless quota_user.nil?
146
- command.query['userIp'] = user_ip unless user_ip.nil?
147
- execute_or_queue_command(command, &block)
148
- end
149
-
150
- protected
151
-
152
- def apply_command_defaults(command)
153
- command.query['key'] = key unless key.nil?
154
- command.query['quotaUser'] = quota_user unless quota_user.nil?
155
- command.query['userIp'] = user_ip unless user_ip.nil?
156
- end
157
- end
158
- end
159
- end
160
- end
@@ -1,841 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module CloudfunctionsV1beta2
24
-
25
- # Request for the `CallFunction` method.
26
- class CallFunctionRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- # Required. Input to be passed to the function.
30
- # Corresponds to the JSON property `data`
31
- # @return [String]
32
- attr_accessor :data
33
-
34
- def initialize(**args)
35
- update!(**args)
36
- end
37
-
38
- # Update properties of this object
39
- def update!(**args)
40
- @data = args[:data] if args.key?(:data)
41
- end
42
- end
43
-
44
- # Response of `CallFunction` method.
45
- class CallFunctionResponse
46
- include Google::Apis::Core::Hashable
47
-
48
- # Either system or user-function generated error. Set if execution
49
- # was not successful.
50
- # Corresponds to the JSON property `error`
51
- # @return [String]
52
- attr_accessor :error
53
-
54
- # Execution id of function invocation.
55
- # Corresponds to the JSON property `executionId`
56
- # @return [String]
57
- attr_accessor :execution_id
58
-
59
- # Result populated for successful execution of synchronous function. Will
60
- # not be populated if function does not return a result through context.
61
- # Corresponds to the JSON property `result`
62
- # @return [String]
63
- attr_accessor :result
64
-
65
- def initialize(**args)
66
- update!(**args)
67
- end
68
-
69
- # Update properties of this object
70
- def update!(**args)
71
- @error = args[:error] if args.key?(:error)
72
- @execution_id = args[:execution_id] if args.key?(:execution_id)
73
- @result = args[:result] if args.key?(:result)
74
- end
75
- end
76
-
77
- # Describes a Cloud Function that contains user computation executed in
78
- # response to an event. It encapsulate function and triggers configurations.
79
- class CloudFunction
80
- include Google::Apis::Core::Hashable
81
-
82
- # The amount of memory in MB available for a function.
83
- # Defaults to 256MB.
84
- # Corresponds to the JSON property `availableMemoryMb`
85
- # @return [Fixnum]
86
- attr_accessor :available_memory_mb
87
-
88
- # The name of the function (as defined in source code) that will be
89
- # executed. Defaults to the resource name suffix, if not specified. For
90
- # backward compatibility, if function with given name is not found, then the
91
- # system will try to use function named "function".
92
- # For Node.js this is name of a function exported by the module specified
93
- # in `source_location`.
94
- # Corresponds to the JSON property `entryPoint`
95
- # @return [String]
96
- attr_accessor :entry_point
97
-
98
- # Environment variables that shall be available during function execution.
99
- # Corresponds to the JSON property `environmentVariables`
100
- # @return [Hash<String,String>]
101
- attr_accessor :environment_variables
102
-
103
- # Describes EventTrigger, used to request events be sent from another
104
- # service.
105
- # Corresponds to the JSON property `eventTrigger`
106
- # @return [Google::Apis::CloudfunctionsV1beta2::EventTrigger]
107
- attr_accessor :event_trigger
108
-
109
- # Describes HTTPSTrigger, could be used to connect web hooks to function.
110
- # Corresponds to the JSON property `httpsTrigger`
111
- # @return [Google::Apis::CloudfunctionsV1beta2::HttpsTrigger]
112
- attr_accessor :https_trigger
113
-
114
- # Labels associated with this Cloud Function.
115
- # Corresponds to the JSON property `labels`
116
- # @return [Hash<String,String>]
117
- attr_accessor :labels
118
-
119
- # Output only. Name of the most recent operation modifying the function. If
120
- # the function status is `DEPLOYING` or `DELETING`, then it points to the
121
- # active operation.
122
- # Corresponds to the JSON property `latestOperation`
123
- # @return [String]
124
- attr_accessor :latest_operation
125
-
126
- # The limit on the maximum number of function instances that may coexist at a
127
- # given time.
128
- # Corresponds to the JSON property `maxInstances`
129
- # @return [Fixnum]
130
- attr_accessor :max_instances
131
-
132
- # A user-defined name of the function. Function names must be unique
133
- # globally and match pattern `projects/*/locations/*/functions/*`
134
- # Corresponds to the JSON property `name`
135
- # @return [String]
136
- attr_accessor :name
137
-
138
- # The VPC Network that this cloud function can connect to. It can be
139
- # either the fully-qualified URI, or the short name of the network resource.
140
- # If the short network name is used, the network must belong to the same
141
- # project. Otherwise, it must belong to a project within the same
142
- # organization. The format of this field is either
143
- # `projects/`project`/global/networks/`network`` or ``network``, where
144
- # `project` is a project id where the network is defined, and `network` is
145
- # the short name of the network.
146
- # This field is mutually exclusive with `vpc_connector` and will be replaced
147
- # by it.
148
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
149
- # more information on connecting Cloud projects.
150
- # Corresponds to the JSON property `network`
151
- # @return [String]
152
- attr_accessor :network
153
-
154
- # The runtime in which to run the function. Required when deploying a new
155
- # function, optional when updating an existing function. For a complete
156
- # list of possible choices, see the
157
- # [`gcloud` command
158
- # reference](/sdk/gcloud/reference/functions/deploy#--runtime).
159
- # Corresponds to the JSON property `runtime`
160
- # @return [String]
161
- attr_accessor :runtime
162
-
163
- # The email of the function's service account. If empty, defaults to
164
- # ``project_id`@appspot.gserviceaccount.com`.
165
- # Corresponds to the JSON property `serviceAccount`
166
- # @return [String]
167
- attr_accessor :service_account
168
-
169
- # The Google Cloud Storage URL, starting with gs://, pointing to the zip
170
- # archive which contains the function.
171
- # Corresponds to the JSON property `sourceArchiveUrl`
172
- # @return [String]
173
- attr_accessor :source_archive_url
174
-
175
- # Describes the location of the function source in a remote repository.
176
- # Corresponds to the JSON property `sourceRepository`
177
- # @return [Google::Apis::CloudfunctionsV1beta2::SourceRepository]
178
- attr_accessor :source_repository
179
-
180
- # The URL pointing to the hosted repository where the function is defined.
181
- # There are supported Cloud Source Repository URLs in the following
182
- # formats:
183
- # To refer to a specific commit:
184
- # `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*`
185
- # To refer to a moveable alias (branch):
186
- # `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/
187
- # paths/*`
188
- # In particular, to refer to HEAD use `master` moveable alias.
189
- # To refer to a specific fixed alias (tag):
190
- # `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/
191
- # *`
192
- # You may omit `paths/*` if you want to use the main directory.
193
- # Corresponds to the JSON property `sourceRepositoryUrl`
194
- # @return [String]
195
- attr_accessor :source_repository_url
196
-
197
- # The Google Cloud Storage signed URL used for source uploading, generated
198
- # by google.cloud.functions.v1beta2.GenerateUploadUrl
199
- # Corresponds to the JSON property `sourceUploadUrl`
200
- # @return [String]
201
- attr_accessor :source_upload_url
202
-
203
- # Output only. Status of the function deployment.
204
- # Corresponds to the JSON property `status`
205
- # @return [String]
206
- attr_accessor :status
207
-
208
- # The function execution timeout. Execution is considered failed and
209
- # can be terminated if the function is not completed at the end of the
210
- # timeout period. Defaults to 60 seconds.
211
- # Corresponds to the JSON property `timeout`
212
- # @return [String]
213
- attr_accessor :timeout
214
-
215
- # Output only. The last update timestamp of a Cloud Function.
216
- # Corresponds to the JSON property `updateTime`
217
- # @return [String]
218
- attr_accessor :update_time
219
-
220
- # Output only. The version identifier of the Cloud Function. Each deployment
221
- # attempt
222
- # results in a new version of a function being created.
223
- # Corresponds to the JSON property `versionId`
224
- # @return [Fixnum]
225
- attr_accessor :version_id
226
-
227
- # The VPC Network Connector that this cloud function can connect to. It can
228
- # be either the fully-qualified URI, or the short name of the network
229
- # connector resource. The format of this field is
230
- # `projects/*/locations/*/connectors/*`
231
- # This field is mutually exclusive with `network` field and will eventually
232
- # replace it.
233
- # See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for
234
- # more information on connecting Cloud projects.
235
- # Corresponds to the JSON property `vpcConnector`
236
- # @return [String]
237
- attr_accessor :vpc_connector
238
-
239
- def initialize(**args)
240
- update!(**args)
241
- end
242
-
243
- # Update properties of this object
244
- def update!(**args)
245
- @available_memory_mb = args[:available_memory_mb] if args.key?(:available_memory_mb)
246
- @entry_point = args[:entry_point] if args.key?(:entry_point)
247
- @environment_variables = args[:environment_variables] if args.key?(:environment_variables)
248
- @event_trigger = args[:event_trigger] if args.key?(:event_trigger)
249
- @https_trigger = args[:https_trigger] if args.key?(:https_trigger)
250
- @labels = args[:labels] if args.key?(:labels)
251
- @latest_operation = args[:latest_operation] if args.key?(:latest_operation)
252
- @max_instances = args[:max_instances] if args.key?(:max_instances)
253
- @name = args[:name] if args.key?(:name)
254
- @network = args[:network] if args.key?(:network)
255
- @runtime = args[:runtime] if args.key?(:runtime)
256
- @service_account = args[:service_account] if args.key?(:service_account)
257
- @source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
258
- @source_repository = args[:source_repository] if args.key?(:source_repository)
259
- @source_repository_url = args[:source_repository_url] if args.key?(:source_repository_url)
260
- @source_upload_url = args[:source_upload_url] if args.key?(:source_upload_url)
261
- @status = args[:status] if args.key?(:status)
262
- @timeout = args[:timeout] if args.key?(:timeout)
263
- @update_time = args[:update_time] if args.key?(:update_time)
264
- @version_id = args[:version_id] if args.key?(:version_id)
265
- @vpc_connector = args[:vpc_connector] if args.key?(:vpc_connector)
266
- end
267
- end
268
-
269
- # Describes EventTrigger, used to request events be sent from another
270
- # service.
271
- class EventTrigger
272
- include Google::Apis::Core::Hashable
273
-
274
- # `event_type` names contain the service that is sending an event and the
275
- # kind of event that was fired. Must be of the form
276
- # `providers/*/eventTypes/*` e.g. Directly handle a Message published to
277
- # Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`.
278
- # Handle an object changing in Google Cloud Storage:
279
- # `providers/cloud.storage/eventTypes/object.change`
280
- # Handle a write to the Firebase Realtime Database:
281
- # `providers/google.firebase.database/eventTypes/ref.write`
282
- # Corresponds to the JSON property `eventType`
283
- # @return [String]
284
- attr_accessor :event_type
285
-
286
- # Describes the policy in case of function's execution failure.
287
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
288
- # Corresponds to the JSON property `failurePolicy`
289
- # @return [Google::Apis::CloudfunctionsV1beta2::FailurePolicy]
290
- attr_accessor :failure_policy
291
-
292
- # Which instance of the source's service should send events. E.g. for Pub/Sub
293
- # this would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud
294
- # Storage this would be a bucket at `projects/*/buckets/*`. For any source
295
- # that only supports one instance per-project, this should be the name of the
296
- # project (`projects/*`)
297
- # Corresponds to the JSON property `resource`
298
- # @return [String]
299
- attr_accessor :resource
300
-
301
- # The hostname of the service that should be observed.
302
- # If no string is provided, the default service implementing the API will
303
- # be used. For example, `storage.googleapis.com` is the default for all
304
- # event types in the `google.storage` namespace.
305
- # Corresponds to the JSON property `service`
306
- # @return [String]
307
- attr_accessor :service
308
-
309
- def initialize(**args)
310
- update!(**args)
311
- end
312
-
313
- # Update properties of this object
314
- def update!(**args)
315
- @event_type = args[:event_type] if args.key?(:event_type)
316
- @failure_policy = args[:failure_policy] if args.key?(:failure_policy)
317
- @resource = args[:resource] if args.key?(:resource)
318
- @service = args[:service] if args.key?(:service)
319
- end
320
- end
321
-
322
- # Describes the policy in case of function's execution failure.
323
- # If empty, then defaults to ignoring failures (i.e. not retrying them).
324
- class FailurePolicy
325
- include Google::Apis::Core::Hashable
326
-
327
- # Describes the retry policy in case of function's execution failure.
328
- # A function execution will be retried on any failure.
329
- # A failed execution will be retried up to 7 days with an exponential backoff
330
- # (capped at 10 seconds).
331
- # Retried execution is charged as any other execution.
332
- # Corresponds to the JSON property `retry`
333
- # @return [Google::Apis::CloudfunctionsV1beta2::Retry]
334
- attr_accessor :retry
335
-
336
- def initialize(**args)
337
- update!(**args)
338
- end
339
-
340
- # Update properties of this object
341
- def update!(**args)
342
- @retry = args[:retry] if args.key?(:retry)
343
- end
344
- end
345
-
346
- # Request of `GenerateDownloadUrl` method.
347
- class GenerateDownloadUrlRequest
348
- include Google::Apis::Core::Hashable
349
-
350
- # The optional version of function.
351
- # Corresponds to the JSON property `versionId`
352
- # @return [Fixnum]
353
- attr_accessor :version_id
354
-
355
- def initialize(**args)
356
- update!(**args)
357
- end
358
-
359
- # Update properties of this object
360
- def update!(**args)
361
- @version_id = args[:version_id] if args.key?(:version_id)
362
- end
363
- end
364
-
365
- # Response of `GenerateDownloadUrl` method.
366
- class GenerateDownloadUrlResponse
367
- include Google::Apis::Core::Hashable
368
-
369
- # The generated Google Cloud Storage signed URL that should be used for
370
- # function source code download.
371
- # Corresponds to the JSON property `downloadUrl`
372
- # @return [String]
373
- attr_accessor :download_url
374
-
375
- def initialize(**args)
376
- update!(**args)
377
- end
378
-
379
- # Update properties of this object
380
- def update!(**args)
381
- @download_url = args[:download_url] if args.key?(:download_url)
382
- end
383
- end
384
-
385
- # Request of `GenerateUploadUrl` method.
386
- class GenerateUploadUrlRequest
387
- include Google::Apis::Core::Hashable
388
-
389
- def initialize(**args)
390
- update!(**args)
391
- end
392
-
393
- # Update properties of this object
394
- def update!(**args)
395
- end
396
- end
397
-
398
- # Response of `GenerateUploadUrl` method.
399
- class GenerateUploadUrlResponse
400
- include Google::Apis::Core::Hashable
401
-
402
- # The generated Google Cloud Storage signed URL that should be used for a
403
- # function source code upload. The uploaded file should be a zip archive
404
- # which contains a function.
405
- # Corresponds to the JSON property `uploadUrl`
406
- # @return [String]
407
- attr_accessor :upload_url
408
-
409
- def initialize(**args)
410
- update!(**args)
411
- end
412
-
413
- # Update properties of this object
414
- def update!(**args)
415
- @upload_url = args[:upload_url] if args.key?(:upload_url)
416
- end
417
- end
418
-
419
- # Describes HTTPSTrigger, could be used to connect web hooks to function.
420
- class HttpsTrigger
421
- include Google::Apis::Core::Hashable
422
-
423
- # Output only. The deployed url for the function.
424
- # Corresponds to the JSON property `url`
425
- # @return [String]
426
- attr_accessor :url
427
-
428
- def initialize(**args)
429
- update!(**args)
430
- end
431
-
432
- # Update properties of this object
433
- def update!(**args)
434
- @url = args[:url] if args.key?(:url)
435
- end
436
- end
437
-
438
- # Response for the `ListFunctions` method.
439
- class ListFunctionsResponse
440
- include Google::Apis::Core::Hashable
441
-
442
- # The functions that match the request.
443
- # Corresponds to the JSON property `functions`
444
- # @return [Array<Google::Apis::CloudfunctionsV1beta2::CloudFunction>]
445
- attr_accessor :functions
446
-
447
- # If not empty, indicates that there may be more functions that match
448
- # the request; this value should be passed in a new
449
- # google.cloud.functions.v1beta2.ListFunctionsRequest
450
- # to get more functions.
451
- # Corresponds to the JSON property `nextPageToken`
452
- # @return [String]
453
- attr_accessor :next_page_token
454
-
455
- # Locations that could not be reached. The response does not include any
456
- # functions from these locations.
457
- # Corresponds to the JSON property `unreachable`
458
- # @return [Array<String>]
459
- attr_accessor :unreachable
460
-
461
- def initialize(**args)
462
- update!(**args)
463
- end
464
-
465
- # Update properties of this object
466
- def update!(**args)
467
- @functions = args[:functions] if args.key?(:functions)
468
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
469
- @unreachable = args[:unreachable] if args.key?(:unreachable)
470
- end
471
- end
472
-
473
- # The response message for Locations.ListLocations.
474
- class ListLocationsResponse
475
- include Google::Apis::Core::Hashable
476
-
477
- # A list of locations that matches the specified filter in the request.
478
- # Corresponds to the JSON property `locations`
479
- # @return [Array<Google::Apis::CloudfunctionsV1beta2::Location>]
480
- attr_accessor :locations
481
-
482
- # The standard List next-page token.
483
- # Corresponds to the JSON property `nextPageToken`
484
- # @return [String]
485
- attr_accessor :next_page_token
486
-
487
- def initialize(**args)
488
- update!(**args)
489
- end
490
-
491
- # Update properties of this object
492
- def update!(**args)
493
- @locations = args[:locations] if args.key?(:locations)
494
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
495
- end
496
- end
497
-
498
- # The response message for Operations.ListOperations.
499
- class ListOperationsResponse
500
- include Google::Apis::Core::Hashable
501
-
502
- # The standard List next-page token.
503
- # Corresponds to the JSON property `nextPageToken`
504
- # @return [String]
505
- attr_accessor :next_page_token
506
-
507
- # A list of operations that matches the specified filter in the request.
508
- # Corresponds to the JSON property `operations`
509
- # @return [Array<Google::Apis::CloudfunctionsV1beta2::Operation>]
510
- attr_accessor :operations
511
-
512
- def initialize(**args)
513
- update!(**args)
514
- end
515
-
516
- # Update properties of this object
517
- def update!(**args)
518
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
519
- @operations = args[:operations] if args.key?(:operations)
520
- end
521
- end
522
-
523
- # A resource that represents Google Cloud Platform location.
524
- class Location
525
- include Google::Apis::Core::Hashable
526
-
527
- # The friendly name for this location, typically a nearby city name.
528
- # For example, "Tokyo".
529
- # Corresponds to the JSON property `displayName`
530
- # @return [String]
531
- attr_accessor :display_name
532
-
533
- # Cross-service attributes for the location. For example
534
- # `"cloud.googleapis.com/region": "us-east1"`
535
- # Corresponds to the JSON property `labels`
536
- # @return [Hash<String,String>]
537
- attr_accessor :labels
538
-
539
- # The canonical id for this location. For example: `"us-east1"`.
540
- # Corresponds to the JSON property `locationId`
541
- # @return [String]
542
- attr_accessor :location_id
543
-
544
- # Service-specific metadata. For example the available capacity at the given
545
- # location.
546
- # Corresponds to the JSON property `metadata`
547
- # @return [Hash<String,Object>]
548
- attr_accessor :metadata
549
-
550
- # Resource name for the location, which may vary between implementations.
551
- # For example: `"projects/example-project/locations/us-east1"`
552
- # Corresponds to the JSON property `name`
553
- # @return [String]
554
- attr_accessor :name
555
-
556
- def initialize(**args)
557
- update!(**args)
558
- end
559
-
560
- # Update properties of this object
561
- def update!(**args)
562
- @display_name = args[:display_name] if args.key?(:display_name)
563
- @labels = args[:labels] if args.key?(:labels)
564
- @location_id = args[:location_id] if args.key?(:location_id)
565
- @metadata = args[:metadata] if args.key?(:metadata)
566
- @name = args[:name] if args.key?(:name)
567
- end
568
- end
569
-
570
- # This resource represents a long-running operation that is the result of a
571
- # network API call.
572
- class Operation
573
- include Google::Apis::Core::Hashable
574
-
575
- # If the value is `false`, it means the operation is still in progress.
576
- # If `true`, the operation is completed, and either `error` or `response` is
577
- # available.
578
- # Corresponds to the JSON property `done`
579
- # @return [Boolean]
580
- attr_accessor :done
581
- alias_method :done?, :done
582
-
583
- # The `Status` type defines a logical error model that is suitable for
584
- # different programming environments, including REST APIs and RPC APIs. It is
585
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
586
- # three pieces of data: error code, error message, and error details.
587
- # You can find out more about this error model and how to work with it in the
588
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
589
- # Corresponds to the JSON property `error`
590
- # @return [Google::Apis::CloudfunctionsV1beta2::Status]
591
- attr_accessor :error
592
-
593
- # Service-specific metadata associated with the operation. It typically
594
- # contains progress information and common metadata such as create time.
595
- # Some services might not provide such metadata. Any method that returns a
596
- # long-running operation should document the metadata type, if any.
597
- # Corresponds to the JSON property `metadata`
598
- # @return [Hash<String,Object>]
599
- attr_accessor :metadata
600
-
601
- # The server-assigned name, which is only unique within the same service that
602
- # originally returns it. If you use the default HTTP mapping, the
603
- # `name` should be a resource name ending with `operations/`unique_id``.
604
- # Corresponds to the JSON property `name`
605
- # @return [String]
606
- attr_accessor :name
607
-
608
- # The normal response of the operation in case of success. If the original
609
- # method returns no data on success, such as `Delete`, the response is
610
- # `google.protobuf.Empty`. If the original method is standard
611
- # `Get`/`Create`/`Update`, the response should be the resource. For other
612
- # methods, the response should have the type `XxxResponse`, where `Xxx`
613
- # is the original method name. For example, if the original method name
614
- # is `TakeSnapshot()`, the inferred response type is
615
- # `TakeSnapshotResponse`.
616
- # Corresponds to the JSON property `response`
617
- # @return [Hash<String,Object>]
618
- attr_accessor :response
619
-
620
- def initialize(**args)
621
- update!(**args)
622
- end
623
-
624
- # Update properties of this object
625
- def update!(**args)
626
- @done = args[:done] if args.key?(:done)
627
- @error = args[:error] if args.key?(:error)
628
- @metadata = args[:metadata] if args.key?(:metadata)
629
- @name = args[:name] if args.key?(:name)
630
- @response = args[:response] if args.key?(:response)
631
- end
632
- end
633
-
634
- # Metadata describing an Operation
635
- class OperationMetadataV1
636
- include Google::Apis::Core::Hashable
637
-
638
- # The original request that started the operation.
639
- # Corresponds to the JSON property `request`
640
- # @return [Hash<String,Object>]
641
- attr_accessor :request
642
-
643
- # Target of the operation - for example
644
- # projects/project-1/locations/region-1/functions/function-1
645
- # Corresponds to the JSON property `target`
646
- # @return [String]
647
- attr_accessor :target
648
-
649
- # Type of operation.
650
- # Corresponds to the JSON property `type`
651
- # @return [String]
652
- attr_accessor :type
653
-
654
- # The last update timestamp of the operation.
655
- # Corresponds to the JSON property `updateTime`
656
- # @return [String]
657
- attr_accessor :update_time
658
-
659
- # Version id of the function created or updated by an API call.
660
- # This field is only populated for Create and Update operations.
661
- # Corresponds to the JSON property `versionId`
662
- # @return [Fixnum]
663
- attr_accessor :version_id
664
-
665
- def initialize(**args)
666
- update!(**args)
667
- end
668
-
669
- # Update properties of this object
670
- def update!(**args)
671
- @request = args[:request] if args.key?(:request)
672
- @target = args[:target] if args.key?(:target)
673
- @type = args[:type] if args.key?(:type)
674
- @update_time = args[:update_time] if args.key?(:update_time)
675
- @version_id = args[:version_id] if args.key?(:version_id)
676
- end
677
- end
678
-
679
- # Metadata describing an Operation
680
- class OperationMetadataV1Beta2
681
- include Google::Apis::Core::Hashable
682
-
683
- # The original request that started the operation.
684
- # Corresponds to the JSON property `request`
685
- # @return [Hash<String,Object>]
686
- attr_accessor :request
687
-
688
- # Target of the operation - for example
689
- # projects/project-1/locations/region-1/functions/function-1
690
- # Corresponds to the JSON property `target`
691
- # @return [String]
692
- attr_accessor :target
693
-
694
- # Type of operation.
695
- # Corresponds to the JSON property `type`
696
- # @return [String]
697
- attr_accessor :type
698
-
699
- # The last update timestamp of the operation.
700
- # Corresponds to the JSON property `updateTime`
701
- # @return [String]
702
- attr_accessor :update_time
703
-
704
- # Version id of the function created or updated by an API call.
705
- # This field is only populated for Create and Update operations.
706
- # Corresponds to the JSON property `versionId`
707
- # @return [Fixnum]
708
- attr_accessor :version_id
709
-
710
- def initialize(**args)
711
- update!(**args)
712
- end
713
-
714
- # Update properties of this object
715
- def update!(**args)
716
- @request = args[:request] if args.key?(:request)
717
- @target = args[:target] if args.key?(:target)
718
- @type = args[:type] if args.key?(:type)
719
- @update_time = args[:update_time] if args.key?(:update_time)
720
- @version_id = args[:version_id] if args.key?(:version_id)
721
- end
722
- end
723
-
724
- # Describes the retry policy in case of function's execution failure.
725
- # A function execution will be retried on any failure.
726
- # A failed execution will be retried up to 7 days with an exponential backoff
727
- # (capped at 10 seconds).
728
- # Retried execution is charged as any other execution.
729
- class Retry
730
- include Google::Apis::Core::Hashable
731
-
732
- def initialize(**args)
733
- update!(**args)
734
- end
735
-
736
- # Update properties of this object
737
- def update!(**args)
738
- end
739
- end
740
-
741
- # Describes the location of the function source in a remote repository.
742
- class SourceRepository
743
- include Google::Apis::Core::Hashable
744
-
745
- # The name of the branch from which the function should be fetched.
746
- # Corresponds to the JSON property `branch`
747
- # @return [String]
748
- attr_accessor :branch
749
-
750
- # Output only. The id of the revision that was resolved at the moment of
751
- # function creation or update. For example when a user deployed from a
752
- # branch, it will be the revision id of the latest change on this branch at
753
- # that time. If user deployed from revision then this value will be always
754
- # equal to the revision specified by the user.
755
- # Corresponds to the JSON property `deployedRevision`
756
- # @return [String]
757
- attr_accessor :deployed_revision
758
-
759
- # URL to the hosted repository where the function is defined. Only paths in
760
- # https://source.developers.google.com domain are supported. The path should
761
- # contain the name of the repository.
762
- # Corresponds to the JSON property `repositoryUrl`
763
- # @return [String]
764
- attr_accessor :repository_url
765
-
766
- # The id of the revision that captures the state of the repository from
767
- # which the function should be fetched.
768
- # Corresponds to the JSON property `revision`
769
- # @return [String]
770
- attr_accessor :revision
771
-
772
- # The path within the repository where the function is defined. The path
773
- # should point to the directory where Cloud Functions files are located. Use
774
- # "/" if the function is defined directly in the root directory of a
775
- # repository.
776
- # Corresponds to the JSON property `sourcePath`
777
- # @return [String]
778
- attr_accessor :source_path
779
-
780
- # The name of the tag that captures the state of the repository from
781
- # which the function should be fetched.
782
- # Corresponds to the JSON property `tag`
783
- # @return [String]
784
- attr_accessor :tag
785
-
786
- def initialize(**args)
787
- update!(**args)
788
- end
789
-
790
- # Update properties of this object
791
- def update!(**args)
792
- @branch = args[:branch] if args.key?(:branch)
793
- @deployed_revision = args[:deployed_revision] if args.key?(:deployed_revision)
794
- @repository_url = args[:repository_url] if args.key?(:repository_url)
795
- @revision = args[:revision] if args.key?(:revision)
796
- @source_path = args[:source_path] if args.key?(:source_path)
797
- @tag = args[:tag] if args.key?(:tag)
798
- end
799
- end
800
-
801
- # The `Status` type defines a logical error model that is suitable for
802
- # different programming environments, including REST APIs and RPC APIs. It is
803
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
804
- # three pieces of data: error code, error message, and error details.
805
- # You can find out more about this error model and how to work with it in the
806
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
807
- class Status
808
- include Google::Apis::Core::Hashable
809
-
810
- # The status code, which should be an enum value of google.rpc.Code.
811
- # Corresponds to the JSON property `code`
812
- # @return [Fixnum]
813
- attr_accessor :code
814
-
815
- # A list of messages that carry the error details. There is a common set of
816
- # message types for APIs to use.
817
- # Corresponds to the JSON property `details`
818
- # @return [Array<Hash<String,Object>>]
819
- attr_accessor :details
820
-
821
- # A developer-facing error message, which should be in English. Any
822
- # user-facing error message should be localized and sent in the
823
- # google.rpc.Status.details field, or localized by the client.
824
- # Corresponds to the JSON property `message`
825
- # @return [String]
826
- attr_accessor :message
827
-
828
- def initialize(**args)
829
- update!(**args)
830
- end
831
-
832
- # Update properties of this object
833
- def update!(**args)
834
- @code = args[:code] if args.key?(:code)
835
- @details = args[:details] if args.key?(:details)
836
- @message = args[:message] if args.key?(:message)
837
- end
838
- end
839
- end
840
- end
841
- end