google-api-client 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -122,12 +122,12 @@ module Google
122
122
 
123
123
  # Creates an instance.
124
124
  # @param [String] parent
125
- # The instance's project and location, in the format
125
+ # Required. The instance's project and location, in the format
126
126
  # projects/`project_id`/locations/`location`. In Cloud Filestore,
127
127
  # locations map to GCP zones, for example **us-west1-b**.
128
128
  # @param [Google::Apis::FileV1::Instance] instance_object
129
129
  # @param [String] instance_id
130
- # The name of the instance to create.
130
+ # Required. The name of the instance to create.
131
131
  # The name must be unique for the specified project and location.
132
132
  # @param [String] fields
133
133
  # Selector specifying which fields to include in a partial response.
@@ -161,7 +161,7 @@ module Google
161
161
 
162
162
  # Deletes an instance.
163
163
  # @param [String] name
164
- # The instance resource name, in the format
164
+ # Required. The instance resource name, in the format
165
165
  # projects/`project_id`/locations/`location`/instances/`instance_id`
166
166
  # @param [String] fields
167
167
  # Selector specifying which fields to include in a partial response.
@@ -192,7 +192,7 @@ module Google
192
192
 
193
193
  # Gets the details of a specific instance.
194
194
  # @param [String] name
195
- # The instance resource name, in the format
195
+ # Required. The instance resource name, in the format
196
196
  # projects/`project_id`/locations/`location`/instances/`instance_id`.
197
197
  # @param [String] fields
198
198
  # Selector specifying which fields to include in a partial response.
@@ -224,7 +224,7 @@ module Google
224
224
  # Lists all instances in a project for either a specified location
225
225
  # or for all locations.
226
226
  # @param [String] parent
227
- # The project and location for which to retrieve instance information,
227
+ # Required. The project and location for which to retrieve instance information,
228
228
  # in the format projects/`project_id`/locations/`location`. In Cloud
229
229
  # Filestore, locations map to GCP zones, for example **us-west1-b**. To
230
230
  # retrieve instance information for all locations, use "-" for the `location`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200320'
28
+ REVISION = '20200413'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -455,7 +455,7 @@ module Google
455
455
  # @return [String]
456
456
  attr_accessor :create_time
457
457
 
458
- # Optional. The description of the instance (2048 characters or less).
458
+ # The description of the instance (2048 characters or less).
459
459
  # Corresponds to the JSON property `description`
460
460
  # @return [String]
461
461
  attr_accessor :description
@@ -122,13 +122,15 @@ module Google
122
122
 
123
123
  # Creates an instance.
124
124
  # @param [String] parent
125
- # The instance's project and location, in the format
125
+ # Required. The instance's project and location, in the format
126
126
  # projects/`project_id`/locations/`location`. In Cloud Filestore,
127
127
  # locations map to GCP zones, for example **us-west1-b**.
128
128
  # @param [Google::Apis::FileV1beta1::Instance] instance_object
129
129
  # @param [String] instance_id
130
- # The name of the instance to create.
131
- # The name must be unique for the specified project and location.
130
+ # Required. The ID of the instance to create.
131
+ # The ID must be unique within the specified project and location.
132
+ # This value must start with a lowercase letter followed by up to 62
133
+ # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
132
134
  # @param [String] fields
133
135
  # Selector specifying which fields to include in a partial response.
134
136
  # @param [String] quota_user
@@ -161,7 +163,7 @@ module Google
161
163
 
162
164
  # Deletes an instance.
163
165
  # @param [String] name
164
- # The instance resource name, in the format
166
+ # Required. The instance resource name, in the format
165
167
  # projects/`project_id`/locations/`location`/instances/`instance_id`
166
168
  # @param [String] fields
167
169
  # Selector specifying which fields to include in a partial response.
@@ -192,7 +194,7 @@ module Google
192
194
 
193
195
  # Gets the details of a specific instance.
194
196
  # @param [String] name
195
- # The instance resource name, in the format
197
+ # Required. The instance resource name, in the format
196
198
  # projects/`project_id`/locations/`location`/instances/`instance_id`.
197
199
  # @param [String] fields
198
200
  # Selector specifying which fields to include in a partial response.
@@ -224,7 +226,7 @@ module Google
224
226
  # Lists all instances in a project for either a specified location
225
227
  # or for all locations.
226
228
  # @param [String] parent
227
- # The project and location for which to retrieve instance information,
229
+ # Required. The project and location for which to retrieve instance information,
228
230
  # in the format projects/`project_id`/locations/`location`. In Cloud
229
231
  # Filestore, locations map to GCP zones, for example **us-west1-b**. To
230
232
  # retrieve instance information for all locations, use "-" for the `location`
@@ -275,7 +277,8 @@ module Google
275
277
  # projects/`project_id`/locations/`location_id`/instances/`instance_id`.
276
278
  # @param [Google::Apis::FileV1beta1::Instance] instance_object
277
279
  # @param [String] update_mask
278
- # Mask of fields to update. At least one path must be supplied in this
280
+ # Required. Mask of fields to update. At least one path must be supplied in
281
+ # this
279
282
  # field. The elements of the repeated paths field may only include these
280
283
  # fields:
281
284
  # * "description"
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com
27
27
  module FirebaseV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200402'
29
+ REVISION = '20200506'
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'
@@ -156,8 +156,11 @@ module Google
156
156
  # <br>This method does not modify any billing account information on the
157
157
  # underlying GCP `Project`.
158
158
  # <br>
159
- # <br>To call `AddFirebase`, a member must be an Editor or Owner for the
160
- # existing GCP `Project`. Service accounts cannot call `AddFirebase`.
159
+ # <br>To call `AddFirebase`, a project member or service account must have
160
+ # the following permissions (the IAM roles of Editor and Owner contain these
161
+ # permissions):
162
+ # `firebase.projects.update`, `resourcemanager.projects.get`,
163
+ # `serviceusage.services.enable`, and `serviceusage.services.get`.
161
164
  # @param [String] project
162
165
  # The resource name of the GCP `Project` to which Firebase resources will be
163
166
  # added, in the format:
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://firebase.google.com/docs/hosting/
28
28
  module FirebasehostingV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20200407'
30
+ REVISION = '20200430'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -102,45 +102,6 @@ module Google
102
102
  end
103
103
  end
104
104
 
105
- # The request sent to CloneVersion.
106
- class CloneVersionRequest
107
- include Google::Apis::Core::Hashable
108
-
109
- # A representation of filter path.
110
- # Corresponds to the JSON property `exclude`
111
- # @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
112
- attr_accessor :exclude
113
-
114
- # If true, immediately finalize the version after cloning is complete.
115
- # Corresponds to the JSON property `finalize`
116
- # @return [Boolean]
117
- attr_accessor :finalize
118
- alias_method :finalize?, :finalize
119
-
120
- # A representation of filter path.
121
- # Corresponds to the JSON property `include`
122
- # @return [Google::Apis::FirebasehostingV1beta1::PathFilter]
123
- attr_accessor :include
124
-
125
- # Required. The name of the version to be cloned, in the format:
126
- # `sites/`site`/versions/`version``
127
- # Corresponds to the JSON property `sourceVersion`
128
- # @return [String]
129
- attr_accessor :source_version
130
-
131
- def initialize(**args)
132
- update!(**args)
133
- end
134
-
135
- # Update properties of this object
136
- def update!(**args)
137
- @exclude = args[:exclude] if args.key?(:exclude)
138
- @finalize = args[:finalize] if args.key?(:finalize)
139
- @include = args[:include] if args.key?(:include)
140
- @source_version = args[:source_version] if args.key?(:source_version)
141
- end
142
- end
143
-
144
105
  # A configured rewrite that directs requests to a Cloud Run service. If the
145
106
  # Cloud Run service does not exist when setting or updating your Firebase
146
107
  # Hosting configuration, then the request fails. Any errors from the Cloud Run
@@ -533,25 +494,6 @@ module Google
533
494
  end
534
495
  end
535
496
 
536
- # A representation of filter path.
537
- class PathFilter
538
- include Google::Apis::Core::Hashable
539
-
540
- # An array of regexes to filter by.
541
- # Corresponds to the JSON property `regexes`
542
- # @return [Array<String>]
543
- attr_accessor :regexes
544
-
545
- def initialize(**args)
546
- update!(**args)
547
- end
548
-
549
- # Update properties of this object
550
- def update!(**args)
551
- @regexes = args[:regexes] if args.key?(:regexes)
552
- end
553
- end
554
-
555
497
  # The request to populate a Version's Files.
556
498
  class PopulateVersionFilesRequest
557
499
  include Google::Apis::Core::Hashable
@@ -864,6 +806,13 @@ module Google
864
806
  class SiteConfig
865
807
  include Google::Apis::Core::Hashable
866
808
 
809
+ # Whether or not web requests made by site visitors are logged via Cloud
810
+ # Logging.
811
+ # Corresponds to the JSON property `cloudLoggingEnabled`
812
+ # @return [Boolean]
813
+ attr_accessor :cloud_logging_enabled
814
+ alias_method :cloud_logging_enabled?, :cloud_logging_enabled
815
+
867
816
  # The number of FINALIZED versions that will be held for a site before
868
817
  # automatic deletion. When a new version is deployed, content for versions
869
818
  # in storage in excess of this number will be deleted, and will no longer be
@@ -879,6 +828,7 @@ module Google
879
828
 
880
829
  # Update properties of this object
881
830
  def update!(**args)
831
+ @cloud_logging_enabled = args[:cloud_logging_enabled] if args.key?(:cloud_logging_enabled)
882
832
  @max_versions = args[:max_versions] if args.key?(:max_versions)
883
833
  end
884
834
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class CloneVersionRequest
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class CloudRunRewrite
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -112,12 +106,6 @@ module Google
112
106
  include Google::Apis::Core::JsonObjectSupport
113
107
  end
114
108
 
115
- class PathFilter
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
109
  class PopulateVersionFilesRequest
122
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
111
 
@@ -208,18 +196,6 @@ module Google
208
196
  end
209
197
  end
210
198
 
211
- class CloneVersionRequest
212
- # @private
213
- class Representation < Google::Apis::Core::JsonRepresentation
214
- property :exclude, as: 'exclude', class: Google::Apis::FirebasehostingV1beta1::PathFilter, decorator: Google::Apis::FirebasehostingV1beta1::PathFilter::Representation
215
-
216
- property :finalize, as: 'finalize'
217
- property :include, as: 'include', class: Google::Apis::FirebasehostingV1beta1::PathFilter, decorator: Google::Apis::FirebasehostingV1beta1::PathFilter::Representation
218
-
219
- property :source_version, as: 'sourceVersion'
220
- end
221
- end
222
-
223
199
  class CloudRunRewrite
224
200
  # @private
225
201
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,13 +305,6 @@ module Google
329
305
  end
330
306
  end
331
307
 
332
- class PathFilter
333
- # @private
334
- class Representation < Google::Apis::Core::JsonRepresentation
335
- collection :regexes, as: 'regexes'
336
- end
337
- end
338
-
339
308
  class PopulateVersionFilesRequest
340
309
  # @private
341
310
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -414,6 +383,7 @@ module Google
414
383
  class SiteConfig
415
384
  # @private
416
385
  class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :cloud_logging_enabled, as: 'cloudLoggingEnabled'
417
387
  property :max_versions, :numeric_string => true, as: 'maxVersions'
418
388
  end
419
389
  end
@@ -481,41 +481,6 @@ module Google
481
481
  execute_or_queue_command(command, &block)
482
482
  end
483
483
 
484
- # Creates a new version on the target site using the content
485
- # of the specified version.
486
- # @param [String] parent
487
- # Required. The target site where the cloned version will reside,
488
- # in the format: `sites/`site``
489
- # @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
490
- # @param [String] fields
491
- # Selector specifying which fields to include in a partial response.
492
- # @param [String] quota_user
493
- # Available to use for quota purposes for server-side applications. Can be any
494
- # arbitrary string assigned to a user, but should not exceed 40 characters.
495
- # @param [Google::Apis::RequestOptions] options
496
- # Request-specific options
497
- #
498
- # @yield [result, err] Result & error if block supplied
499
- # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Operation] parsed result object
500
- # @yieldparam err [StandardError] error object if request failed
501
- #
502
- # @return [Google::Apis::FirebasehostingV1beta1::Operation]
503
- #
504
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
505
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
506
- # @raise [Google::Apis::AuthorizationError] Authorization is required
507
- def clone_project_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
508
- command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', options)
509
- command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation
510
- command.request_object = clone_version_request_object
511
- command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation
512
- command.response_class = Google::Apis::FirebasehostingV1beta1::Operation
513
- command.params['parent'] = parent unless parent.nil?
514
- command.query['fields'] = fields unless fields.nil?
515
- command.query['quotaUser'] = quota_user unless quota_user.nil?
516
- execute_or_queue_command(command, &block)
517
- end
518
-
519
484
  # Creates a new version for a site.
520
485
  # @param [String] parent
521
486
  # Required. The parent to create the version for, in the format:
@@ -1159,41 +1124,6 @@ module Google
1159
1124
  execute_or_queue_command(command, &block)
1160
1125
  end
1161
1126
 
1162
- # Creates a new version on the target site using the content
1163
- # of the specified version.
1164
- # @param [String] parent
1165
- # Required. The target site where the cloned version will reside,
1166
- # in the format: `sites/`site``
1167
- # @param [Google::Apis::FirebasehostingV1beta1::CloneVersionRequest] clone_version_request_object
1168
- # @param [String] fields
1169
- # Selector specifying which fields to include in a partial response.
1170
- # @param [String] quota_user
1171
- # Available to use for quota purposes for server-side applications. Can be any
1172
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1173
- # @param [Google::Apis::RequestOptions] options
1174
- # Request-specific options
1175
- #
1176
- # @yield [result, err] Result & error if block supplied
1177
- # @yieldparam result [Google::Apis::FirebasehostingV1beta1::Operation] parsed result object
1178
- # @yieldparam err [StandardError] error object if request failed
1179
- #
1180
- # @return [Google::Apis::FirebasehostingV1beta1::Operation]
1181
- #
1182
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1183
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1184
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1185
- def clone_site_version(parent, clone_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1186
- command = make_simple_command(:post, 'v1beta1/{+parent}/versions:clone', options)
1187
- command.request_representation = Google::Apis::FirebasehostingV1beta1::CloneVersionRequest::Representation
1188
- command.request_object = clone_version_request_object
1189
- command.response_representation = Google::Apis::FirebasehostingV1beta1::Operation::Representation
1190
- command.response_class = Google::Apis::FirebasehostingV1beta1::Operation
1191
- command.params['parent'] = parent unless parent.nil?
1192
- command.query['fields'] = fields unless fields.nil?
1193
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1194
- execute_or_queue_command(command, &block)
1195
- end
1196
-
1197
1127
  # Creates a new version for a site.
1198
1128
  # @param [String] parent
1199
1129
  # Required. The parent to create the version for, in the format:
@@ -0,0 +1,34 @@
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/firebaseml_v1beta2/service.rb'
16
+ require 'google/apis/firebaseml_v1beta2/classes.rb'
17
+ require 'google/apis/firebaseml_v1beta2/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Firebase ML API
22
+ #
23
+ # Access custom machine learning models hosted via Firebase ML.
24
+ #
25
+ # @see https://firebase.google.com
26
+ module FirebasemlV1beta2
27
+ VERSION = 'V1beta2'
28
+ REVISION = '20200415'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,344 @@
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 FirebasemlV1beta2
24
+
25
+ # A generic empty message that you can re-use to avoid defining duplicated
26
+ # empty messages in your APIs. A typical example is to use it as the request
27
+ # or the response type of an API method. For instance:
28
+ # service Foo `
29
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
30
+ # `
31
+ # The JSON representation for `Empty` is empty JSON object ````.
32
+ class Empty
33
+ include Google::Apis::Core::Hashable
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ end
42
+ end
43
+
44
+ # The response for list models
45
+ class ListModelsResponse
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # The list of models
49
+ # Corresponds to the JSON property `models`
50
+ # @return [Array<Google::Apis::FirebasemlV1beta2::Model>]
51
+ attr_accessor :models
52
+
53
+ # Token to retrieve the next page of results, or empty if there are no
54
+ # more results in the list.
55
+ # Corresponds to the JSON property `nextPageToken`
56
+ # @return [String]
57
+ attr_accessor :next_page_token
58
+
59
+ def initialize(**args)
60
+ update!(**args)
61
+ end
62
+
63
+ # Update properties of this object
64
+ def update!(**args)
65
+ @models = args[:models] if args.key?(:models)
66
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
67
+ end
68
+ end
69
+
70
+ # An ML model hosted in Firebase ML
71
+ class Model
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Output only. Lists operation ids associated with this model whose status is
75
+ # NOT done.
76
+ # Corresponds to the JSON property `activeOperations`
77
+ # @return [Array<Google::Apis::FirebasemlV1beta2::Operation>]
78
+ attr_accessor :active_operations
79
+
80
+ # Output only. Timestamp when this model was created in Firebase ML.
81
+ # Corresponds to the JSON property `createTime`
82
+ # @return [String]
83
+ attr_accessor :create_time
84
+
85
+ # Required. The name of the model to create. The name can be up to 32 characters
86
+ # long
87
+ # and can consist only of ASCII Latin letters A-Z and a-z, underscores(_)
88
+ # and ASCII digits 0-9. It must start with a letter.
89
+ # Corresponds to the JSON property `displayName`
90
+ # @return [String]
91
+ attr_accessor :display_name
92
+
93
+ # Output only. See RFC7232
94
+ # https://tools.ietf.org/html/rfc7232#section-2.3
95
+ # Corresponds to the JSON property `etag`
96
+ # @return [String]
97
+ attr_accessor :etag
98
+
99
+ # Output only. The model_hash will change if a new file is available for
100
+ # download.
101
+ # Corresponds to the JSON property `modelHash`
102
+ # @return [String]
103
+ attr_accessor :model_hash
104
+
105
+ # The resource name of the Model.
106
+ # Model names have the form `projects/`project_id`/models/`model_id``
107
+ # The name is ignored when creating a model.
108
+ # Corresponds to the JSON property `name`
109
+ # @return [String]
110
+ attr_accessor :name
111
+
112
+ # State common to all model types.
113
+ # Includes publishing and validation information.
114
+ # Corresponds to the JSON property `state`
115
+ # @return [Google::Apis::FirebasemlV1beta2::ModelState]
116
+ attr_accessor :state
117
+
118
+ # User defined tags which can be used to group/filter models during listing
119
+ # Corresponds to the JSON property `tags`
120
+ # @return [Array<String>]
121
+ attr_accessor :tags
122
+
123
+ # Information that is specific to TfLite models.
124
+ # Corresponds to the JSON property `tfliteModel`
125
+ # @return [Google::Apis::FirebasemlV1beta2::TfLiteModel]
126
+ attr_accessor :tflite_model
127
+
128
+ # Output only. Timestamp when this model was updated in Firebase ML.
129
+ # Corresponds to the JSON property `updateTime`
130
+ # @return [String]
131
+ attr_accessor :update_time
132
+
133
+ def initialize(**args)
134
+ update!(**args)
135
+ end
136
+
137
+ # Update properties of this object
138
+ def update!(**args)
139
+ @active_operations = args[:active_operations] if args.key?(:active_operations)
140
+ @create_time = args[:create_time] if args.key?(:create_time)
141
+ @display_name = args[:display_name] if args.key?(:display_name)
142
+ @etag = args[:etag] if args.key?(:etag)
143
+ @model_hash = args[:model_hash] if args.key?(:model_hash)
144
+ @name = args[:name] if args.key?(:name)
145
+ @state = args[:state] if args.key?(:state)
146
+ @tags = args[:tags] if args.key?(:tags)
147
+ @tflite_model = args[:tflite_model] if args.key?(:tflite_model)
148
+ @update_time = args[:update_time] if args.key?(:update_time)
149
+ end
150
+ end
151
+
152
+ # This is returned in the longrunning operations
153
+ # for create/update.
154
+ class ModelOperationMetadata
155
+ include Google::Apis::Core::Hashable
156
+
157
+ #
158
+ # Corresponds to the JSON property `basicOperationStatus`
159
+ # @return [String]
160
+ attr_accessor :basic_operation_status
161
+
162
+ # The name of the model we are creating/updating
163
+ # The name must have the form `projects/`project_id`/models/`model_id``
164
+ # Corresponds to the JSON property `name`
165
+ # @return [String]
166
+ attr_accessor :name
167
+
168
+ def initialize(**args)
169
+ update!(**args)
170
+ end
171
+
172
+ # Update properties of this object
173
+ def update!(**args)
174
+ @basic_operation_status = args[:basic_operation_status] if args.key?(:basic_operation_status)
175
+ @name = args[:name] if args.key?(:name)
176
+ end
177
+ end
178
+
179
+ # State common to all model types.
180
+ # Includes publishing and validation information.
181
+ class ModelState
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Indicates if this model has been published.
185
+ # Corresponds to the JSON property `published`
186
+ # @return [Boolean]
187
+ attr_accessor :published
188
+ alias_method :published?, :published
189
+
190
+ # The `Status` type defines a logical error model that is suitable for
191
+ # different programming environments, including REST APIs and RPC APIs. It is
192
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
193
+ # three pieces of data: error code, error message, and error details.
194
+ # You can find out more about this error model and how to work with it in the
195
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
196
+ # Corresponds to the JSON property `validationError`
197
+ # @return [Google::Apis::FirebasemlV1beta2::Status]
198
+ attr_accessor :validation_error
199
+
200
+ def initialize(**args)
201
+ update!(**args)
202
+ end
203
+
204
+ # Update properties of this object
205
+ def update!(**args)
206
+ @published = args[:published] if args.key?(:published)
207
+ @validation_error = args[:validation_error] if args.key?(:validation_error)
208
+ end
209
+ end
210
+
211
+ # This resource represents a long-running operation that is the result of a
212
+ # network API call.
213
+ class Operation
214
+ include Google::Apis::Core::Hashable
215
+
216
+ # If the value is `false`, it means the operation is still in progress.
217
+ # If `true`, the operation is completed, and either `error` or `response` is
218
+ # available.
219
+ # Corresponds to the JSON property `done`
220
+ # @return [Boolean]
221
+ attr_accessor :done
222
+ alias_method :done?, :done
223
+
224
+ # The `Status` type defines a logical error model that is suitable for
225
+ # different programming environments, including REST APIs and RPC APIs. It is
226
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
227
+ # three pieces of data: error code, error message, and error details.
228
+ # You can find out more about this error model and how to work with it in the
229
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
230
+ # Corresponds to the JSON property `error`
231
+ # @return [Google::Apis::FirebasemlV1beta2::Status]
232
+ attr_accessor :error
233
+
234
+ # Service-specific metadata associated with the operation. It typically
235
+ # contains progress information and common metadata such as create time.
236
+ # Some services might not provide such metadata. Any method that returns a
237
+ # long-running operation should document the metadata type, if any.
238
+ # Corresponds to the JSON property `metadata`
239
+ # @return [Hash<String,Object>]
240
+ attr_accessor :metadata
241
+
242
+ # The server-assigned name, which is only unique within the same service that
243
+ # originally returns it. If you use the default HTTP mapping, the
244
+ # `name` should be a resource name ending with `operations/`unique_id``.
245
+ # Corresponds to the JSON property `name`
246
+ # @return [String]
247
+ attr_accessor :name
248
+
249
+ # The normal response of the operation in case of success. If the original
250
+ # method returns no data on success, such as `Delete`, the response is
251
+ # `google.protobuf.Empty`. If the original method is standard
252
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
253
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
254
+ # is the original method name. For example, if the original method name
255
+ # is `TakeSnapshot()`, the inferred response type is
256
+ # `TakeSnapshotResponse`.
257
+ # Corresponds to the JSON property `response`
258
+ # @return [Hash<String,Object>]
259
+ attr_accessor :response
260
+
261
+ def initialize(**args)
262
+ update!(**args)
263
+ end
264
+
265
+ # Update properties of this object
266
+ def update!(**args)
267
+ @done = args[:done] if args.key?(:done)
268
+ @error = args[:error] if args.key?(:error)
269
+ @metadata = args[:metadata] if args.key?(:metadata)
270
+ @name = args[:name] if args.key?(:name)
271
+ @response = args[:response] if args.key?(:response)
272
+ end
273
+ end
274
+
275
+ # The `Status` type defines a logical error model that is suitable for
276
+ # different programming environments, including REST APIs and RPC APIs. It is
277
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
278
+ # three pieces of data: error code, error message, and error details.
279
+ # You can find out more about this error model and how to work with it in the
280
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
281
+ class Status
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # The status code, which should be an enum value of google.rpc.Code.
285
+ # Corresponds to the JSON property `code`
286
+ # @return [Fixnum]
287
+ attr_accessor :code
288
+
289
+ # A list of messages that carry the error details. There is a common set of
290
+ # message types for APIs to use.
291
+ # Corresponds to the JSON property `details`
292
+ # @return [Array<Hash<String,Object>>]
293
+ attr_accessor :details
294
+
295
+ # A developer-facing error message, which should be in English. Any
296
+ # user-facing error message should be localized and sent in the
297
+ # google.rpc.Status.details field, or localized by the client.
298
+ # Corresponds to the JSON property `message`
299
+ # @return [String]
300
+ attr_accessor :message
301
+
302
+ def initialize(**args)
303
+ update!(**args)
304
+ end
305
+
306
+ # Update properties of this object
307
+ def update!(**args)
308
+ @code = args[:code] if args.key?(:code)
309
+ @details = args[:details] if args.key?(:details)
310
+ @message = args[:message] if args.key?(:message)
311
+ end
312
+ end
313
+
314
+ # Information that is specific to TfLite models.
315
+ class TfLiteModel
316
+ include Google::Apis::Core::Hashable
317
+
318
+ # The TfLite file containing the model. (Stored in Google Cloud).
319
+ # The gcs_tflite_uri should have form: gs://some-bucket/some-model.tflite
320
+ # Note: If you update the file in the original location, it is
321
+ # necessary to call UpdateModel for ML to pick up and validate the
322
+ # updated file.
323
+ # Corresponds to the JSON property `gcsTfliteUri`
324
+ # @return [String]
325
+ attr_accessor :gcs_tflite_uri
326
+
327
+ # Output only. The size of the TFLite model
328
+ # Corresponds to the JSON property `sizeBytes`
329
+ # @return [String]
330
+ attr_accessor :size_bytes
331
+
332
+ def initialize(**args)
333
+ update!(**args)
334
+ end
335
+
336
+ # Update properties of this object
337
+ def update!(**args)
338
+ @gcs_tflite_uri = args[:gcs_tflite_uri] if args.key?(:gcs_tflite_uri)
339
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
340
+ end
341
+ end
342
+ end
343
+ end
344
+ end