google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/doubleclick-advertisers/
26
26
  module DfareportingV2_7
27
27
  VERSION = 'V2_7'
28
- REVISION = '20170428'
28
+ REVISION = '20170818'
29
29
 
30
30
  # Manage DoubleClick Digital Marketing conversions
31
31
  AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
@@ -2818,7 +2818,7 @@ module Google
2818
2818
  attr_accessor :fs_command
2819
2819
 
2820
2820
  # HTML code for the creative. This is a required field when applicable. This
2821
- # field is ignored if htmlCodeLocked is false. Applicable to the following
2821
+ # field is ignored if htmlCodeLocked is true. Applicable to the following
2822
2822
  # creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
2823
2823
  # Corresponds to the JSON property `htmlCode`
2824
2824
  # @return [String]
@@ -5097,7 +5097,7 @@ module Google
5097
5097
  alias_method :verification_tag_opt_out?, :verification_tag_opt_out
5098
5098
 
5099
5099
  # Whether this directory site has disabled active view for in-stream video
5100
- # creatives.
5100
+ # creatives. This is a read-only field.
5101
5101
  # Corresponds to the JSON property `videoActiveViewOptOut`
5102
5102
  # @return [Boolean]
5103
5103
  attr_accessor :video_active_view_opt_out
@@ -5859,28 +5859,8 @@ module Google
5859
5859
  attr_accessor :tag_string
5860
5860
 
5861
5861
  # List of the user-defined variables used by this conversion tag. These map to
5862
- # the "u[1-20]=" in the tags. Each of these can have a user defined type.
5863
- # Acceptable values are:
5864
- # - "U1"
5865
- # - "U2"
5866
- # - "U3"
5867
- # - "U4"
5868
- # - "U5"
5869
- # - "U6"
5870
- # - "U7"
5871
- # - "U8"
5872
- # - "U9"
5873
- # - "U10"
5874
- # - "U11"
5875
- # - "U12"
5876
- # - "U13"
5877
- # - "U14"
5878
- # - "U15"
5879
- # - "U16"
5880
- # - "U17"
5881
- # - "U18"
5882
- # - "U19"
5883
- # - "U20"
5862
+ # the "u[1-100]=" in the tags. Each of these can have a user defined type.
5863
+ # Acceptable values are U1 to U100, inclusive.
5884
5864
  # Corresponds to the JSON property `userDefinedVariableTypes`
5885
5865
  # @return [Array<String>]
5886
5866
  attr_accessor :user_defined_variable_types
@@ -8135,6 +8115,8 @@ module Google
8135
8115
  # VPAID adapter setting for this placement. Controls which VPAID format the
8136
8116
  # measurement adapter will use for in-stream video creatives assigned to this
8137
8117
  # placement.
8118
+ # Note: Flash is no longer supported. This field now defaults to HTML5 when the
8119
+ # following values are provided: FLASH, BOTH.
8138
8120
  # Corresponds to the JSON property `vpaidAdapterChoice`
8139
8121
  # @return [String]
8140
8122
  attr_accessor :vpaid_adapter_choice
@@ -10573,8 +10555,9 @@ module Google
10573
10555
  # measurement adapter will use for in-stream video creatives assigned to the
10574
10556
  # placement. The publisher's specifications will typically determine this
10575
10557
  # setting. For VPAID creatives, the adapter format will match the VPAID format (
10576
- # HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the
10577
- # Flash adapter).
10558
+ # HTML5 VPAID creatives use the HTML5 adapter).
10559
+ # Note: Flash is no longer supported. This field now defaults to HTML5 when the
10560
+ # following values are provided: FLASH, BOTH.
10578
10561
  # Corresponds to the JSON property `vpaidAdapterChoiceTemplate`
10579
10562
  # @return [String]
10580
10563
  attr_accessor :vpaid_adapter_choice_template
@@ -6296,6 +6296,7 @@ module Google
6296
6296
  # Generate tags for these placements.
6297
6297
  # @param [Array<String>, String] tag_formats
6298
6298
  # Tag formats to generate for these placements.
6299
+ # Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
6299
6300
  # @param [String] fields
6300
6301
  # Selector specifying which fields to include in a partial response.
6301
6302
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/doubleclick-advertisers/
26
26
  module DfareportingV2_8
27
27
  VERSION = 'V2_8'
28
- REVISION = '20170428'
28
+ REVISION = '20170818'
29
29
 
30
30
  # Manage DoubleClick Digital Marketing conversions
31
31
  AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
@@ -2342,9 +2342,9 @@ module Google
2342
2342
  attr_accessor :custom_variables
2343
2343
 
2344
2344
  # The alphanumeric encrypted user ID. When set, encryptionInfo should also be
2345
- # specified. This field is mutually exclusive with encryptedUserIdCandidates[]
2346
- # and mobileDeviceId. This or encryptedUserIdCandidates[] or mobileDeviceId is a
2347
- # required field.
2345
+ # specified. This field is mutually exclusive with encryptedUserIdCandidates[],
2346
+ # mobileDeviceId and gclid. This or encryptedUserIdCandidates[] or
2347
+ # mobileDeviceId or gclid is a required field.
2348
2348
  # Corresponds to the JSON property `encryptedUserId`
2349
2349
  # @return [String]
2350
2350
  attr_accessor :encrypted_user_id
@@ -2354,8 +2354,9 @@ module Google
2354
2354
  # such user ID is found then the conversion will be rejected with
2355
2355
  # NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified.
2356
2356
  # This field may only be used when calling batchinsert; it is not supported by
2357
- # batchupdate. This field is mutually exclusive with encryptedUserId and
2358
- # mobileDeviceId. This or encryptedUserId or mobileDeviceId is a required field.
2357
+ # batchupdate. This field is mutually exclusive with encryptedUserId,
2358
+ # mobileDeviceId and gclid. This or encryptedUserId or mobileDeviceId or gclid
2359
+ # is a required field.
2359
2360
  # Corresponds to the JSON property `encryptedUserIdCandidates`
2360
2361
  # @return [Array<String>]
2361
2362
  attr_accessor :encrypted_user_id_candidates
@@ -2370,6 +2371,13 @@ module Google
2370
2371
  # @return [Fixnum]
2371
2372
  attr_accessor :floodlight_configuration_id
2372
2373
 
2374
+ # The Google click ID. This field is mutually exclusive with encryptedUserId,
2375
+ # encryptedUserIdCandidates[] and mobileDeviceId. This or encryptedUserId or
2376
+ # encryptedUserIdCandidates[] or mobileDeviceId is a required field.
2377
+ # Corresponds to the JSON property `gclid`
2378
+ # @return [String]
2379
+ attr_accessor :gclid
2380
+
2373
2381
  # Identifies what kind of resource this is. Value: the fixed string "
2374
2382
  # dfareporting#conversion".
2375
2383
  # Corresponds to the JSON property `kind`
@@ -2383,9 +2391,9 @@ module Google
2383
2391
  attr_accessor :limit_ad_tracking
2384
2392
  alias_method :limit_ad_tracking?, :limit_ad_tracking
2385
2393
 
2386
- # The mobile device ID. This field is mutually exclusive with encryptedUserId
2387
- # and encryptedUserIdCandidates[]. This or encryptedUserId or
2388
- # encryptedUserIdCandidates[] is a required field.
2394
+ # The mobile device ID. This field is mutually exclusive with encryptedUserId,
2395
+ # encryptedUserIdCandidates[] and gclid. This or encryptedUserId or
2396
+ # encryptedUserIdCandidates[] or gclid is a required field.
2389
2397
  # Corresponds to the JSON property `mobileDeviceId`
2390
2398
  # @return [String]
2391
2399
  attr_accessor :mobile_device_id
@@ -2423,6 +2431,7 @@ module Google
2423
2431
  @encrypted_user_id_candidates = args[:encrypted_user_id_candidates] if args.key?(:encrypted_user_id_candidates)
2424
2432
  @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
2425
2433
  @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id)
2434
+ @gclid = args[:gclid] if args.key?(:gclid)
2426
2435
  @kind = args[:kind] if args.key?(:kind)
2427
2436
  @limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking)
2428
2437
  @mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id)
@@ -2937,7 +2946,7 @@ module Google
2937
2946
  attr_accessor :fs_command
2938
2947
 
2939
2948
  # HTML code for the creative. This is a required field when applicable. This
2940
- # field is ignored if htmlCodeLocked is false. Applicable to the following
2949
+ # field is ignored if htmlCodeLocked is true. Applicable to the following
2941
2950
  # creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
2942
2951
  # Corresponds to the JSON property `htmlCode`
2943
2952
  # @return [String]
@@ -5223,7 +5232,7 @@ module Google
5223
5232
  alias_method :verification_tag_opt_out?, :verification_tag_opt_out
5224
5233
 
5225
5234
  # Whether this directory site has disabled active view for in-stream video
5226
- # creatives.
5235
+ # creatives. This is a read-only field.
5227
5236
  # Corresponds to the JSON property `videoActiveViewOptOut`
5228
5237
  # @return [Boolean]
5229
5238
  attr_accessor :video_active_view_opt_out
@@ -5985,28 +5994,8 @@ module Google
5985
5994
  attr_accessor :tag_string
5986
5995
 
5987
5996
  # List of the user-defined variables used by this conversion tag. These map to
5988
- # the "u[1-20]=" in the tags. Each of these can have a user defined type.
5989
- # Acceptable values are:
5990
- # - "U1"
5991
- # - "U2"
5992
- # - "U3"
5993
- # - "U4"
5994
- # - "U5"
5995
- # - "U6"
5996
- # - "U7"
5997
- # - "U8"
5998
- # - "U9"
5999
- # - "U10"
6000
- # - "U11"
6001
- # - "U12"
6002
- # - "U13"
6003
- # - "U14"
6004
- # - "U15"
6005
- # - "U16"
6006
- # - "U17"
6007
- # - "U18"
6008
- # - "U19"
6009
- # - "U20"
5997
+ # the "u[1-100]=" in the tags. Each of these can have a user defined type.
5998
+ # Acceptable values are U1 to U100, inclusive.
6010
5999
  # Corresponds to the JSON property `userDefinedVariableTypes`
6011
6000
  # @return [Array<String>]
6012
6001
  attr_accessor :user_defined_variable_types
@@ -8260,6 +8249,8 @@ module Google
8260
8249
  # VPAID adapter setting for this placement. Controls which VPAID format the
8261
8250
  # measurement adapter will use for in-stream video creatives assigned to this
8262
8251
  # placement.
8252
+ # Note: Flash is no longer supported. This field now defaults to HTML5 when the
8253
+ # following values are provided: FLASH, BOTH.
8263
8254
  # Corresponds to the JSON property `vpaidAdapterChoice`
8264
8255
  # @return [String]
8265
8256
  attr_accessor :vpaid_adapter_choice
@@ -10701,8 +10692,9 @@ module Google
10701
10692
  # measurement adapter will use for in-stream video creatives assigned to the
10702
10693
  # placement. The publisher's specifications will typically determine this
10703
10694
  # setting. For VPAID creatives, the adapter format will match the VPAID format (
10704
- # HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the
10705
- # Flash adapter).
10695
+ # HTML5 VPAID creatives use the HTML5 adapter).
10696
+ # Note: Flash is no longer supported. This field now defaults to HTML5 when the
10697
+ # following values are provided: FLASH, BOTH.
10706
10698
  # Corresponds to the JSON property `vpaidAdapterChoiceTemplate`
10707
10699
  # @return [String]
10708
10700
  attr_accessor :vpaid_adapter_choice_template
@@ -1911,6 +1911,7 @@ module Google
1911
1911
  collection :encrypted_user_id_candidates, as: 'encryptedUserIdCandidates'
1912
1912
  property :floodlight_activity_id, :numeric_string => true, as: 'floodlightActivityId'
1913
1913
  property :floodlight_configuration_id, :numeric_string => true, as: 'floodlightConfigurationId'
1914
+ property :gclid, as: 'gclid'
1914
1915
  property :kind, as: 'kind'
1915
1916
  property :limit_ad_tracking, as: 'limitAdTracking'
1916
1917
  property :mobile_device_id, as: 'mobileDeviceId'
@@ -6334,6 +6334,7 @@ module Google
6334
6334
  # Generate tags for these placements.
6335
6335
  # @param [Array<String>, String] tag_formats
6336
6336
  # Tag formats to generate for these placements.
6337
+ # Note: PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
6337
6338
  # @param [String] fields
6338
6339
  # Selector specifying which fields to include in a partial response.
6339
6340
  # @param [String] quota_user
@@ -0,0 +1,36 @@
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/dlp_v2beta1/service.rb'
16
+ require 'google/apis/dlp_v2beta1/classes.rb'
17
+ require 'google/apis/dlp_v2beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # DLP API
22
+ #
23
+ # The Google Data Loss Prevention API provides methods for detection of privacy-
24
+ # sensitive fragments in text, images, and Google Cloud Platform storage
25
+ # repositories.
26
+ #
27
+ # @see https://cloud.google.com/dlp/docs/
28
+ module DlpV2beta1
29
+ VERSION = 'V2beta1'
30
+ REVISION = '20170822'
31
+
32
+ # View and manage your data across Google Cloud Platform services
33
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,1735 @@
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 DlpV2beta1
24
+
25
+ # The request message for Operations.CancelOperation.
26
+ class GoogleLongrunningCancelOperationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # The response message for Operations.ListOperations.
39
+ class GoogleLongrunningListOperationsResponse
40
+ include Google::Apis::Core::Hashable
41
+
42
+ # The standard List next-page token.
43
+ # Corresponds to the JSON property `nextPageToken`
44
+ # @return [String]
45
+ attr_accessor :next_page_token
46
+
47
+ # A list of operations that matches the specified filter in the request.
48
+ # Corresponds to the JSON property `operations`
49
+ # @return [Array<Google::Apis::DlpV2beta1::GoogleLongrunningOperation>]
50
+ attr_accessor :operations
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
59
+ @operations = args[:operations] if args.key?(:operations)
60
+ end
61
+ end
62
+
63
+ # This resource represents a long-running operation that is the result of a
64
+ # network API call.
65
+ class GoogleLongrunningOperation
66
+ include Google::Apis::Core::Hashable
67
+
68
+ # If the value is `false`, it means the operation is still in progress.
69
+ # If true, the operation is completed, and either `error` or `response` is
70
+ # available.
71
+ # Corresponds to the JSON property `done`
72
+ # @return [Boolean]
73
+ attr_accessor :done
74
+ alias_method :done?, :done
75
+
76
+ # The `Status` type defines a logical error model that is suitable for different
77
+ # programming environments, including REST APIs and RPC APIs. It is used by
78
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
79
+ # - Simple to use and understand for most users
80
+ # - Flexible enough to meet unexpected needs
81
+ # # Overview
82
+ # The `Status` message contains three pieces of data: error code, error message,
83
+ # and error details. The error code should be an enum value of
84
+ # google.rpc.Code, but it may accept additional error codes if needed. The
85
+ # error message should be a developer-facing English message that helps
86
+ # developers *understand* and *resolve* the error. If a localized user-facing
87
+ # error message is needed, put the localized message in the error details or
88
+ # localize it in the client. The optional error details may contain arbitrary
89
+ # information about the error. There is a predefined set of error detail types
90
+ # in the package `google.rpc` that can be used for common error conditions.
91
+ # # Language mapping
92
+ # The `Status` message is the logical representation of the error model, but it
93
+ # is not necessarily the actual wire format. When the `Status` message is
94
+ # exposed in different client libraries and different wire protocols, it can be
95
+ # mapped differently. For example, it will likely be mapped to some exceptions
96
+ # in Java, but more likely mapped to some error codes in C.
97
+ # # Other uses
98
+ # The error model and the `Status` message can be used in a variety of
99
+ # environments, either with or without APIs, to provide a
100
+ # consistent developer experience across different environments.
101
+ # Example uses of this error model include:
102
+ # - Partial errors. If a service needs to return partial errors to the client,
103
+ # it may embed the `Status` in the normal response to indicate the partial
104
+ # errors.
105
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
106
+ # have a `Status` message for error reporting.
107
+ # - Batch operations. If a client uses batch request and batch response, the
108
+ # `Status` message should be used directly inside batch response, one for
109
+ # each error sub-response.
110
+ # - Asynchronous operations. If an API call embeds asynchronous operation
111
+ # results in its response, the status of those operations should be
112
+ # represented directly using the `Status` message.
113
+ # - Logging. If some API errors are stored in logs, the message `Status` could
114
+ # be used directly after any stripping needed for security/privacy reasons.
115
+ # Corresponds to the JSON property `error`
116
+ # @return [Google::Apis::DlpV2beta1::GoogleRpcStatus]
117
+ attr_accessor :error
118
+
119
+ # This field will contain an InspectOperationMetadata object. This will always
120
+ # be returned with the Operation.
121
+ # Corresponds to the JSON property `metadata`
122
+ # @return [Hash<String,Object>]
123
+ attr_accessor :metadata
124
+
125
+ # The server-assigned name, The `name` should have the format of `inspect/
126
+ # operations/<identifier>`.
127
+ # Corresponds to the JSON property `name`
128
+ # @return [String]
129
+ attr_accessor :name
130
+
131
+ # This field will contain an InspectOperationResult object.
132
+ # Corresponds to the JSON property `response`
133
+ # @return [Hash<String,Object>]
134
+ attr_accessor :response
135
+
136
+ def initialize(**args)
137
+ update!(**args)
138
+ end
139
+
140
+ # Update properties of this object
141
+ def update!(**args)
142
+ @done = args[:done] if args.key?(:done)
143
+ @error = args[:error] if args.key?(:error)
144
+ @metadata = args[:metadata] if args.key?(:metadata)
145
+ @name = args[:name] if args.key?(:name)
146
+ @response = args[:response] if args.key?(:response)
147
+ end
148
+ end
149
+
150
+ # Options defining BigQuery table and row identifiers.
151
+ class GooglePrivacyDlpV2beta1BigQueryOptions
152
+ include Google::Apis::Core::Hashable
153
+
154
+ # References to fields uniquely identifying rows within the table.
155
+ # Nested fields in the format, like `person.birthdate.year`, are allowed.
156
+ # Corresponds to the JSON property `identifyingFields`
157
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>]
158
+ attr_accessor :identifying_fields
159
+
160
+ # Message defining the location of a BigQuery table. A table is uniquely
161
+ # identified by its project_id, dataset_id, and table_name. Within a query
162
+ # a table is often referenced with a string in the format of:
163
+ # `<project_id>:<dataset_id>.<table_id>` or
164
+ # `<project_id>.<dataset_id>.<table_id>`.
165
+ # Corresponds to the JSON property `tableReference`
166
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable]
167
+ attr_accessor :table_reference
168
+
169
+ def initialize(**args)
170
+ update!(**args)
171
+ end
172
+
173
+ # Update properties of this object
174
+ def update!(**args)
175
+ @identifying_fields = args[:identifying_fields] if args.key?(:identifying_fields)
176
+ @table_reference = args[:table_reference] if args.key?(:table_reference)
177
+ end
178
+ end
179
+
180
+ # Message defining the location of a BigQuery table. A table is uniquely
181
+ # identified by its project_id, dataset_id, and table_name. Within a query
182
+ # a table is often referenced with a string in the format of:
183
+ # `<project_id>:<dataset_id>.<table_id>` or
184
+ # `<project_id>.<dataset_id>.<table_id>`.
185
+ class GooglePrivacyDlpV2beta1BigQueryTable
186
+ include Google::Apis::Core::Hashable
187
+
188
+ # Dataset ID of the table.
189
+ # Corresponds to the JSON property `datasetId`
190
+ # @return [String]
191
+ attr_accessor :dataset_id
192
+
193
+ # The Google Cloud Platform project ID of the project containing the table.
194
+ # If omitted, project ID is inferred from the API call.
195
+ # Corresponds to the JSON property `projectId`
196
+ # @return [String]
197
+ attr_accessor :project_id
198
+
199
+ # Name of the table.
200
+ # Corresponds to the JSON property `tableId`
201
+ # @return [String]
202
+ attr_accessor :table_id
203
+
204
+ def initialize(**args)
205
+ update!(**args)
206
+ end
207
+
208
+ # Update properties of this object
209
+ def update!(**args)
210
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
211
+ @project_id = args[:project_id] if args.key?(:project_id)
212
+ @table_id = args[:table_id] if args.key?(:table_id)
213
+ end
214
+ end
215
+
216
+ # Info Type Category description.
217
+ class GooglePrivacyDlpV2beta1CategoryDescription
218
+ include Google::Apis::Core::Hashable
219
+
220
+ # Human readable form of the category name.
221
+ # Corresponds to the JSON property `displayName`
222
+ # @return [String]
223
+ attr_accessor :display_name
224
+
225
+ # Internal name of the category.
226
+ # Corresponds to the JSON property `name`
227
+ # @return [String]
228
+ attr_accessor :name
229
+
230
+ def initialize(**args)
231
+ update!(**args)
232
+ end
233
+
234
+ # Update properties of this object
235
+ def update!(**args)
236
+ @display_name = args[:display_name] if args.key?(:display_name)
237
+ @name = args[:name] if args.key?(:name)
238
+ end
239
+ end
240
+
241
+ # Record key for a finding in a Cloud Storage file.
242
+ class GooglePrivacyDlpV2beta1CloudStorageKey
243
+ include Google::Apis::Core::Hashable
244
+
245
+ # Path to the file.
246
+ # Corresponds to the JSON property `filePath`
247
+ # @return [String]
248
+ attr_accessor :file_path
249
+
250
+ # Byte offset of the referenced data in the file.
251
+ # Corresponds to the JSON property `startOffset`
252
+ # @return [Fixnum]
253
+ attr_accessor :start_offset
254
+
255
+ def initialize(**args)
256
+ update!(**args)
257
+ end
258
+
259
+ # Update properties of this object
260
+ def update!(**args)
261
+ @file_path = args[:file_path] if args.key?(:file_path)
262
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
263
+ end
264
+ end
265
+
266
+ # Options defining a file or a set of files (path ending with *) within
267
+ # a Google Cloud Storage bucket.
268
+ class GooglePrivacyDlpV2beta1CloudStorageOptions
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # Set of files to scan.
272
+ # Corresponds to the JSON property `fileSet`
273
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FileSet]
274
+ attr_accessor :file_set
275
+
276
+ def initialize(**args)
277
+ update!(**args)
278
+ end
279
+
280
+ # Update properties of this object
281
+ def update!(**args)
282
+ @file_set = args[:file_set] if args.key?(:file_set)
283
+ end
284
+ end
285
+
286
+ # A location in Cloud Storage.
287
+ class GooglePrivacyDlpV2beta1CloudStoragePath
288
+ include Google::Apis::Core::Hashable
289
+
290
+ # The url, in the format of `gs://bucket/<path>`.
291
+ # Corresponds to the JSON property `path`
292
+ # @return [String]
293
+ attr_accessor :path
294
+
295
+ def initialize(**args)
296
+ update!(**args)
297
+ end
298
+
299
+ # Update properties of this object
300
+ def update!(**args)
301
+ @path = args[:path] if args.key?(:path)
302
+ end
303
+ end
304
+
305
+ # Represents a color in the RGB color space.
306
+ class GooglePrivacyDlpV2beta1Color
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # The amount of blue in the color as a value in the interval [0, 1].
310
+ # Corresponds to the JSON property `blue`
311
+ # @return [Float]
312
+ attr_accessor :blue
313
+
314
+ # The amount of green in the color as a value in the interval [0, 1].
315
+ # Corresponds to the JSON property `green`
316
+ # @return [Float]
317
+ attr_accessor :green
318
+
319
+ # The amount of red in the color as a value in the interval [0, 1].
320
+ # Corresponds to the JSON property `red`
321
+ # @return [Float]
322
+ attr_accessor :red
323
+
324
+ def initialize(**args)
325
+ update!(**args)
326
+ end
327
+
328
+ # Update properties of this object
329
+ def update!(**args)
330
+ @blue = args[:blue] if args.key?(:blue)
331
+ @green = args[:green] if args.key?(:green)
332
+ @red = args[:red] if args.key?(:red)
333
+ end
334
+ end
335
+
336
+ # Container structure for the content to inspect.
337
+ class GooglePrivacyDlpV2beta1ContentItem
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # Content data to inspect or redact.
341
+ # Corresponds to the JSON property `data`
342
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
343
+ # @return [String]
344
+ attr_accessor :data
345
+
346
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
347
+ # Corresponds to the JSON property `table`
348
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Table]
349
+ attr_accessor :table
350
+
351
+ # Type of the content, as defined in Content-Type HTTP header.
352
+ # Supported types are: all "text" types, octet streams, PNG images,
353
+ # JPEG images.
354
+ # Corresponds to the JSON property `type`
355
+ # @return [String]
356
+ attr_accessor :type
357
+
358
+ # String data to inspect or redact.
359
+ # Corresponds to the JSON property `value`
360
+ # @return [String]
361
+ attr_accessor :value
362
+
363
+ def initialize(**args)
364
+ update!(**args)
365
+ end
366
+
367
+ # Update properties of this object
368
+ def update!(**args)
369
+ @data = args[:data] if args.key?(:data)
370
+ @table = args[:table] if args.key?(:table)
371
+ @type = args[:type] if args.key?(:type)
372
+ @value = args[:value] if args.key?(:value)
373
+ end
374
+ end
375
+
376
+ # Request for scheduling a scan of a data subset from a Google Platform data
377
+ # repository.
378
+ class GooglePrivacyDlpV2beta1CreateInspectOperationRequest
379
+ include Google::Apis::Core::Hashable
380
+
381
+ # Configuration description of the scanning process.
382
+ # When used with redactContent only info_types and min_likelihood are currently
383
+ # used.
384
+ # Corresponds to the JSON property `inspectConfig`
385
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig]
386
+ attr_accessor :inspect_config
387
+
388
+ # Additional configuration for inspect long running operations.
389
+ # Corresponds to the JSON property `operationConfig`
390
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OperationConfig]
391
+ attr_accessor :operation_config
392
+
393
+ # Cloud repository for storing output.
394
+ # Corresponds to the JSON property `outputConfig`
395
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig]
396
+ attr_accessor :output_config
397
+
398
+ # Shared message indicating Cloud storage type.
399
+ # Corresponds to the JSON property `storageConfig`
400
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig]
401
+ attr_accessor :storage_config
402
+
403
+ def initialize(**args)
404
+ update!(**args)
405
+ end
406
+
407
+ # Update properties of this object
408
+ def update!(**args)
409
+ @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
410
+ @operation_config = args[:operation_config] if args.key?(:operation_config)
411
+ @output_config = args[:output_config] if args.key?(:output_config)
412
+ @storage_config = args[:storage_config] if args.key?(:storage_config)
413
+ end
414
+ end
415
+
416
+ # Record key for a finding in Cloud Datastore.
417
+ class GooglePrivacyDlpV2beta1DatastoreKey
418
+ include Google::Apis::Core::Hashable
419
+
420
+ # A unique identifier for a Datastore entity.
421
+ # If a key's partition ID or any of its path kinds or names are
422
+ # reserved/read-only, the key is reserved/read-only.
423
+ # A reserved/read-only key is forbidden in certain documented contexts.
424
+ # Corresponds to the JSON property `entityKey`
425
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Key]
426
+ attr_accessor :entity_key
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @entity_key = args[:entity_key] if args.key?(:entity_key)
435
+ end
436
+ end
437
+
438
+ # Options defining a data set within Google Cloud Datastore.
439
+ class GooglePrivacyDlpV2beta1DatastoreOptions
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # A representation of a Datastore kind.
443
+ # Corresponds to the JSON property `kind`
444
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KindExpression]
445
+ attr_accessor :kind
446
+
447
+ # Datastore partition ID.
448
+ # A partition ID identifies a grouping of entities. The grouping is always
449
+ # by project and namespace, however the namespace ID may be empty.
450
+ # A partition ID contains several dimensions:
451
+ # project ID and namespace ID.
452
+ # Corresponds to the JSON property `partitionId`
453
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId]
454
+ attr_accessor :partition_id
455
+
456
+ # Properties to scan. If none are specified, all properties will be scanned
457
+ # by default.
458
+ # Corresponds to the JSON property `projection`
459
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Projection>]
460
+ attr_accessor :projection
461
+
462
+ def initialize(**args)
463
+ update!(**args)
464
+ end
465
+
466
+ # Update properties of this object
467
+ def update!(**args)
468
+ @kind = args[:kind] if args.key?(:kind)
469
+ @partition_id = args[:partition_id] if args.key?(:partition_id)
470
+ @projection = args[:projection] if args.key?(:projection)
471
+ end
472
+ end
473
+
474
+ # General identifier of a data field in a storage service.
475
+ class GooglePrivacyDlpV2beta1FieldId
476
+ include Google::Apis::Core::Hashable
477
+
478
+ # Name describing the field.
479
+ # Corresponds to the JSON property `columnName`
480
+ # @return [String]
481
+ attr_accessor :column_name
482
+
483
+ def initialize(**args)
484
+ update!(**args)
485
+ end
486
+
487
+ # Update properties of this object
488
+ def update!(**args)
489
+ @column_name = args[:column_name] if args.key?(:column_name)
490
+ end
491
+ end
492
+
493
+ # Set of files to scan.
494
+ class GooglePrivacyDlpV2beta1FileSet
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # The url, in the format `gs://<bucket>/<path>`. Trailing wildcard in the
498
+ # path is allowed.
499
+ # Corresponds to the JSON property `url`
500
+ # @return [String]
501
+ attr_accessor :url
502
+
503
+ def initialize(**args)
504
+ update!(**args)
505
+ end
506
+
507
+ # Update properties of this object
508
+ def update!(**args)
509
+ @url = args[:url] if args.key?(:url)
510
+ end
511
+ end
512
+
513
+ # Container structure describing a single finding within a string or image.
514
+ class GooglePrivacyDlpV2beta1Finding
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Timestamp when finding was detected.
518
+ # Corresponds to the JSON property `createTime`
519
+ # @return [String]
520
+ attr_accessor :create_time
521
+
522
+ # Type of information detected by the API.
523
+ # Corresponds to the JSON property `infoType`
524
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
525
+ attr_accessor :info_type
526
+
527
+ # Estimate of how likely it is that the info_type is correct.
528
+ # Corresponds to the JSON property `likelihood`
529
+ # @return [String]
530
+ attr_accessor :likelihood
531
+
532
+ # Specifies the location of a finding within its source item.
533
+ # Corresponds to the JSON property `location`
534
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Location]
535
+ attr_accessor :location
536
+
537
+ # The specific string that may be potentially sensitive info.
538
+ # Corresponds to the JSON property `quote`
539
+ # @return [String]
540
+ attr_accessor :quote
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @create_time = args[:create_time] if args.key?(:create_time)
549
+ @info_type = args[:info_type] if args.key?(:info_type)
550
+ @likelihood = args[:likelihood] if args.key?(:likelihood)
551
+ @location = args[:location] if args.key?(:location)
552
+ @quote = args[:quote] if args.key?(:quote)
553
+ end
554
+ end
555
+
556
+ # Bounding box encompassing detected text within an image.
557
+ class GooglePrivacyDlpV2beta1ImageLocation
558
+ include Google::Apis::Core::Hashable
559
+
560
+ # Height of the bounding box in pixels.
561
+ # Corresponds to the JSON property `height`
562
+ # @return [Fixnum]
563
+ attr_accessor :height
564
+
565
+ # Left coordinate of the bounding box. (0,0) is upper left.
566
+ # Corresponds to the JSON property `left`
567
+ # @return [Fixnum]
568
+ attr_accessor :left
569
+
570
+ # Top coordinate of the bounding box. (0,0) is upper left.
571
+ # Corresponds to the JSON property `top`
572
+ # @return [Fixnum]
573
+ attr_accessor :top
574
+
575
+ # Width of the bounding box in pixels.
576
+ # Corresponds to the JSON property `width`
577
+ # @return [Fixnum]
578
+ attr_accessor :width
579
+
580
+ def initialize(**args)
581
+ update!(**args)
582
+ end
583
+
584
+ # Update properties of this object
585
+ def update!(**args)
586
+ @height = args[:height] if args.key?(:height)
587
+ @left = args[:left] if args.key?(:left)
588
+ @top = args[:top] if args.key?(:top)
589
+ @width = args[:width] if args.key?(:width)
590
+ end
591
+ end
592
+
593
+ # Configuration for determing how redaction of images should occur.
594
+ class GooglePrivacyDlpV2beta1ImageRedactionConfig
595
+ include Google::Apis::Core::Hashable
596
+
597
+ # Type of information detected by the API.
598
+ # Corresponds to the JSON property `infoType`
599
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
600
+ attr_accessor :info_type
601
+
602
+ # If true, all text found in the image, regardless whether it matches an
603
+ # info_type, is redacted.
604
+ # Corresponds to the JSON property `redactAllText`
605
+ # @return [Boolean]
606
+ attr_accessor :redact_all_text
607
+ alias_method :redact_all_text?, :redact_all_text
608
+
609
+ # Represents a color in the RGB color space.
610
+ # Corresponds to the JSON property `redactionColor`
611
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Color]
612
+ attr_accessor :redaction_color
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @info_type = args[:info_type] if args.key?(:info_type)
621
+ @redact_all_text = args[:redact_all_text] if args.key?(:redact_all_text)
622
+ @redaction_color = args[:redaction_color] if args.key?(:redaction_color)
623
+ end
624
+ end
625
+
626
+ # Type of information detected by the API.
627
+ class GooglePrivacyDlpV2beta1InfoType
628
+ include Google::Apis::Core::Hashable
629
+
630
+ # Name of the information type.
631
+ # Corresponds to the JSON property `name`
632
+ # @return [String]
633
+ attr_accessor :name
634
+
635
+ def initialize(**args)
636
+ update!(**args)
637
+ end
638
+
639
+ # Update properties of this object
640
+ def update!(**args)
641
+ @name = args[:name] if args.key?(:name)
642
+ end
643
+ end
644
+
645
+ # Info type description.
646
+ class GooglePrivacyDlpV2beta1InfoTypeDescription
647
+ include Google::Apis::Core::Hashable
648
+
649
+ # List of categories this info type belongs to.
650
+ # Corresponds to the JSON property `categories`
651
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription>]
652
+ attr_accessor :categories
653
+
654
+ # Human readable form of the info type name.
655
+ # Corresponds to the JSON property `displayName`
656
+ # @return [String]
657
+ attr_accessor :display_name
658
+
659
+ # Internal name of the info type.
660
+ # Corresponds to the JSON property `name`
661
+ # @return [String]
662
+ attr_accessor :name
663
+
664
+ def initialize(**args)
665
+ update!(**args)
666
+ end
667
+
668
+ # Update properties of this object
669
+ def update!(**args)
670
+ @categories = args[:categories] if args.key?(:categories)
671
+ @display_name = args[:display_name] if args.key?(:display_name)
672
+ @name = args[:name] if args.key?(:name)
673
+ end
674
+ end
675
+
676
+ # Max findings configuration per info type, per content item or long running
677
+ # operation.
678
+ class GooglePrivacyDlpV2beta1InfoTypeLimit
679
+ include Google::Apis::Core::Hashable
680
+
681
+ # Type of information detected by the API.
682
+ # Corresponds to the JSON property `infoType`
683
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
684
+ attr_accessor :info_type
685
+
686
+ # Max findings limit for the given infoType.
687
+ # Corresponds to the JSON property `maxFindings`
688
+ # @return [Fixnum]
689
+ attr_accessor :max_findings
690
+
691
+ def initialize(**args)
692
+ update!(**args)
693
+ end
694
+
695
+ # Update properties of this object
696
+ def update!(**args)
697
+ @info_type = args[:info_type] if args.key?(:info_type)
698
+ @max_findings = args[:max_findings] if args.key?(:max_findings)
699
+ end
700
+ end
701
+
702
+ # Statistics regarding a specific InfoType.
703
+ class GooglePrivacyDlpV2beta1InfoTypeStatistics
704
+ include Google::Apis::Core::Hashable
705
+
706
+ # Number of findings for this info type.
707
+ # Corresponds to the JSON property `count`
708
+ # @return [Fixnum]
709
+ attr_accessor :count
710
+
711
+ # Type of information detected by the API.
712
+ # Corresponds to the JSON property `infoType`
713
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
714
+ attr_accessor :info_type
715
+
716
+ def initialize(**args)
717
+ update!(**args)
718
+ end
719
+
720
+ # Update properties of this object
721
+ def update!(**args)
722
+ @count = args[:count] if args.key?(:count)
723
+ @info_type = args[:info_type] if args.key?(:info_type)
724
+ end
725
+ end
726
+
727
+ # Configuration description of the scanning process.
728
+ # When used with redactContent only info_types and min_likelihood are currently
729
+ # used.
730
+ class GooglePrivacyDlpV2beta1InspectConfig
731
+ include Google::Apis::Core::Hashable
732
+
733
+ # When true, excludes type information of the findings.
734
+ # Corresponds to the JSON property `excludeTypes`
735
+ # @return [Boolean]
736
+ attr_accessor :exclude_types
737
+ alias_method :exclude_types?, :exclude_types
738
+
739
+ # When true, a contextual quote from the data that triggered a finding is
740
+ # included in the response; see Finding.quote.
741
+ # Corresponds to the JSON property `includeQuote`
742
+ # @return [Boolean]
743
+ attr_accessor :include_quote
744
+ alias_method :include_quote?, :include_quote
745
+
746
+ # Configuration of findings limit given for specified info types.
747
+ # Corresponds to the JSON property `infoTypeLimits`
748
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeLimit>]
749
+ attr_accessor :info_type_limits
750
+
751
+ # Restricts what info_types to look for. The values must correspond to
752
+ # InfoType values returned by ListInfoTypes or found in documentation.
753
+ # Empty info_types runs all enabled detectors.
754
+ # Corresponds to the JSON property `infoTypes`
755
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType>]
756
+ attr_accessor :info_types
757
+
758
+ # Limits the number of findings per content item or long running operation.
759
+ # Corresponds to the JSON property `maxFindings`
760
+ # @return [Fixnum]
761
+ attr_accessor :max_findings
762
+
763
+ # Only returns findings equal or above this threshold.
764
+ # Corresponds to the JSON property `minLikelihood`
765
+ # @return [String]
766
+ attr_accessor :min_likelihood
767
+
768
+ def initialize(**args)
769
+ update!(**args)
770
+ end
771
+
772
+ # Update properties of this object
773
+ def update!(**args)
774
+ @exclude_types = args[:exclude_types] if args.key?(:exclude_types)
775
+ @include_quote = args[:include_quote] if args.key?(:include_quote)
776
+ @info_type_limits = args[:info_type_limits] if args.key?(:info_type_limits)
777
+ @info_types = args[:info_types] if args.key?(:info_types)
778
+ @max_findings = args[:max_findings] if args.key?(:max_findings)
779
+ @min_likelihood = args[:min_likelihood] if args.key?(:min_likelihood)
780
+ end
781
+ end
782
+
783
+ # Request to search for potentially sensitive info in a list of items.
784
+ class GooglePrivacyDlpV2beta1InspectContentRequest
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # Configuration description of the scanning process.
788
+ # When used with redactContent only info_types and min_likelihood are currently
789
+ # used.
790
+ # Corresponds to the JSON property `inspectConfig`
791
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig]
792
+ attr_accessor :inspect_config
793
+
794
+ # The list of items to inspect. Items in a single request are
795
+ # considered "related" unless inspect_config.independent_inputs is true.
796
+ # Up to 100 are allowed per request.
797
+ # Corresponds to the JSON property `items`
798
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>]
799
+ attr_accessor :items
800
+
801
+ def initialize(**args)
802
+ update!(**args)
803
+ end
804
+
805
+ # Update properties of this object
806
+ def update!(**args)
807
+ @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
808
+ @items = args[:items] if args.key?(:items)
809
+ end
810
+ end
811
+
812
+ # Results of inspecting a list of items.
813
+ class GooglePrivacyDlpV2beta1InspectContentResponse
814
+ include Google::Apis::Core::Hashable
815
+
816
+ # Each content_item from the request has a result in this list, in the
817
+ # same order as the request.
818
+ # Corresponds to the JSON property `results`
819
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult>]
820
+ attr_accessor :results
821
+
822
+ def initialize(**args)
823
+ update!(**args)
824
+ end
825
+
826
+ # Update properties of this object
827
+ def update!(**args)
828
+ @results = args[:results] if args.key?(:results)
829
+ end
830
+ end
831
+
832
+ # Metadata returned within GetOperation for an inspect request.
833
+ class GooglePrivacyDlpV2beta1InspectOperationMetadata
834
+ include Google::Apis::Core::Hashable
835
+
836
+ # The time which this request was started.
837
+ # Corresponds to the JSON property `createTime`
838
+ # @return [String]
839
+ attr_accessor :create_time
840
+
841
+ #
842
+ # Corresponds to the JSON property `infoTypeStats`
843
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeStatistics>]
844
+ attr_accessor :info_type_stats
845
+
846
+ # Total size in bytes that were processed.
847
+ # Corresponds to the JSON property `processedBytes`
848
+ # @return [Fixnum]
849
+ attr_accessor :processed_bytes
850
+
851
+ # Configuration description of the scanning process.
852
+ # When used with redactContent only info_types and min_likelihood are currently
853
+ # used.
854
+ # Corresponds to the JSON property `requestInspectConfig`
855
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig]
856
+ attr_accessor :request_inspect_config
857
+
858
+ # Cloud repository for storing output.
859
+ # Corresponds to the JSON property `requestOutputConfig`
860
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1OutputStorageConfig]
861
+ attr_accessor :request_output_config
862
+
863
+ # Shared message indicating Cloud storage type.
864
+ # Corresponds to the JSON property `requestStorageConfig`
865
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1StorageConfig]
866
+ attr_accessor :request_storage_config
867
+
868
+ # Estimate of the number of bytes to process.
869
+ # Corresponds to the JSON property `totalEstimatedBytes`
870
+ # @return [Fixnum]
871
+ attr_accessor :total_estimated_bytes
872
+
873
+ def initialize(**args)
874
+ update!(**args)
875
+ end
876
+
877
+ # Update properties of this object
878
+ def update!(**args)
879
+ @create_time = args[:create_time] if args.key?(:create_time)
880
+ @info_type_stats = args[:info_type_stats] if args.key?(:info_type_stats)
881
+ @processed_bytes = args[:processed_bytes] if args.key?(:processed_bytes)
882
+ @request_inspect_config = args[:request_inspect_config] if args.key?(:request_inspect_config)
883
+ @request_output_config = args[:request_output_config] if args.key?(:request_output_config)
884
+ @request_storage_config = args[:request_storage_config] if args.key?(:request_storage_config)
885
+ @total_estimated_bytes = args[:total_estimated_bytes] if args.key?(:total_estimated_bytes)
886
+ end
887
+ end
888
+
889
+ # The operational data.
890
+ class GooglePrivacyDlpV2beta1InspectOperationResult
891
+ include Google::Apis::Core::Hashable
892
+
893
+ # The server-assigned name, which is only unique within the same service that
894
+ # originally returns it. If you use the default HTTP mapping, the
895
+ # `name` should have the format of `inspect/results/`id``.
896
+ # Corresponds to the JSON property `name`
897
+ # @return [String]
898
+ attr_accessor :name
899
+
900
+ def initialize(**args)
901
+ update!(**args)
902
+ end
903
+
904
+ # Update properties of this object
905
+ def update!(**args)
906
+ @name = args[:name] if args.key?(:name)
907
+ end
908
+ end
909
+
910
+ # All the findings for a single scanned item.
911
+ class GooglePrivacyDlpV2beta1InspectResult
912
+ include Google::Apis::Core::Hashable
913
+
914
+ # List of findings for an item.
915
+ # Corresponds to the JSON property `findings`
916
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Finding>]
917
+ attr_accessor :findings
918
+
919
+ # If true, then this item might have more findings than were returned,
920
+ # and the findings returned are an arbitrary subset of all findings.
921
+ # The findings list might be truncated because the input items were too
922
+ # large, or because the server reached the maximum amount of resources
923
+ # allowed for a single API call. For best results, divide the input into
924
+ # smaller batches.
925
+ # Corresponds to the JSON property `findingsTruncated`
926
+ # @return [Boolean]
927
+ attr_accessor :findings_truncated
928
+ alias_method :findings_truncated?, :findings_truncated
929
+
930
+ def initialize(**args)
931
+ update!(**args)
932
+ end
933
+
934
+ # Update properties of this object
935
+ def update!(**args)
936
+ @findings = args[:findings] if args.key?(:findings)
937
+ @findings_truncated = args[:findings_truncated] if args.key?(:findings_truncated)
938
+ end
939
+ end
940
+
941
+ # A unique identifier for a Datastore entity.
942
+ # If a key's partition ID or any of its path kinds or names are
943
+ # reserved/read-only, the key is reserved/read-only.
944
+ # A reserved/read-only key is forbidden in certain documented contexts.
945
+ class GooglePrivacyDlpV2beta1Key
946
+ include Google::Apis::Core::Hashable
947
+
948
+ # Datastore partition ID.
949
+ # A partition ID identifies a grouping of entities. The grouping is always
950
+ # by project and namespace, however the namespace ID may be empty.
951
+ # A partition ID contains several dimensions:
952
+ # project ID and namespace ID.
953
+ # Corresponds to the JSON property `partitionId`
954
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PartitionId]
955
+ attr_accessor :partition_id
956
+
957
+ # The entity path.
958
+ # An entity path consists of one or more elements composed of a kind and a
959
+ # string or numerical identifier, which identify entities. The first
960
+ # element identifies a _root entity_, the second element identifies
961
+ # a _child_ of the root entity, the third element identifies a child of the
962
+ # second entity, and so forth. The entities identified by all prefixes of
963
+ # the path are called the element's _ancestors_.
964
+ # A path can never be empty, and a path can have at most 100 elements.
965
+ # Corresponds to the JSON property `path`
966
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PathElement>]
967
+ attr_accessor :path
968
+
969
+ def initialize(**args)
970
+ update!(**args)
971
+ end
972
+
973
+ # Update properties of this object
974
+ def update!(**args)
975
+ @partition_id = args[:partition_id] if args.key?(:partition_id)
976
+ @path = args[:path] if args.key?(:path)
977
+ end
978
+ end
979
+
980
+ # A representation of a Datastore kind.
981
+ class GooglePrivacyDlpV2beta1KindExpression
982
+ include Google::Apis::Core::Hashable
983
+
984
+ # The name of the kind.
985
+ # Corresponds to the JSON property `name`
986
+ # @return [String]
987
+ attr_accessor :name
988
+
989
+ def initialize(**args)
990
+ update!(**args)
991
+ end
992
+
993
+ # Update properties of this object
994
+ def update!(**args)
995
+ @name = args[:name] if args.key?(:name)
996
+ end
997
+ end
998
+
999
+ # Response to the ListInfoTypes request.
1000
+ class GooglePrivacyDlpV2beta1ListInfoTypesResponse
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # Set of sensitive info types belonging to a category.
1004
+ # Corresponds to the JSON property `infoTypes`
1005
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeDescription>]
1006
+ attr_accessor :info_types
1007
+
1008
+ def initialize(**args)
1009
+ update!(**args)
1010
+ end
1011
+
1012
+ # Update properties of this object
1013
+ def update!(**args)
1014
+ @info_types = args[:info_types] if args.key?(:info_types)
1015
+ end
1016
+ end
1017
+
1018
+ # Response to the ListInspectFindings request.
1019
+ class GooglePrivacyDlpV2beta1ListInspectFindingsResponse
1020
+ include Google::Apis::Core::Hashable
1021
+
1022
+ # If not empty, indicates that there may be more results that match the
1023
+ # request; this value should be passed in a new `ListInspectFindingsRequest`.
1024
+ # Corresponds to the JSON property `nextPageToken`
1025
+ # @return [String]
1026
+ attr_accessor :next_page_token
1027
+
1028
+ # All the findings for a single scanned item.
1029
+ # Corresponds to the JSON property `result`
1030
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectResult]
1031
+ attr_accessor :result
1032
+
1033
+ def initialize(**args)
1034
+ update!(**args)
1035
+ end
1036
+
1037
+ # Update properties of this object
1038
+ def update!(**args)
1039
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1040
+ @result = args[:result] if args.key?(:result)
1041
+ end
1042
+ end
1043
+
1044
+ # Response for ListRootCategories request.
1045
+ class GooglePrivacyDlpV2beta1ListRootCategoriesResponse
1046
+ include Google::Apis::Core::Hashable
1047
+
1048
+ # List of all into type categories supported by the API.
1049
+ # Corresponds to the JSON property `categories`
1050
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CategoryDescription>]
1051
+ attr_accessor :categories
1052
+
1053
+ def initialize(**args)
1054
+ update!(**args)
1055
+ end
1056
+
1057
+ # Update properties of this object
1058
+ def update!(**args)
1059
+ @categories = args[:categories] if args.key?(:categories)
1060
+ end
1061
+ end
1062
+
1063
+ # Specifies the location of a finding within its source item.
1064
+ class GooglePrivacyDlpV2beta1Location
1065
+ include Google::Apis::Core::Hashable
1066
+
1067
+ # Generic half-open interval [start, end)
1068
+ # Corresponds to the JSON property `byteRange`
1069
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range]
1070
+ attr_accessor :byte_range
1071
+
1072
+ # Generic half-open interval [start, end)
1073
+ # Corresponds to the JSON property `codepointRange`
1074
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Range]
1075
+ attr_accessor :codepoint_range
1076
+
1077
+ # General identifier of a data field in a storage service.
1078
+ # Corresponds to the JSON property `fieldId`
1079
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId]
1080
+ attr_accessor :field_id
1081
+
1082
+ # Location within an image's pixels.
1083
+ # Corresponds to the JSON property `imageBoxes`
1084
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageLocation>]
1085
+ attr_accessor :image_boxes
1086
+
1087
+ # Message for a unique key indicating a record that contains a finding.
1088
+ # Corresponds to the JSON property `recordKey`
1089
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordKey]
1090
+ attr_accessor :record_key
1091
+
1092
+ # Location of a finding within a `ContentItem.Table`.
1093
+ # Corresponds to the JSON property `tableLocation`
1094
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1TableLocation]
1095
+ attr_accessor :table_location
1096
+
1097
+ def initialize(**args)
1098
+ update!(**args)
1099
+ end
1100
+
1101
+ # Update properties of this object
1102
+ def update!(**args)
1103
+ @byte_range = args[:byte_range] if args.key?(:byte_range)
1104
+ @codepoint_range = args[:codepoint_range] if args.key?(:codepoint_range)
1105
+ @field_id = args[:field_id] if args.key?(:field_id)
1106
+ @image_boxes = args[:image_boxes] if args.key?(:image_boxes)
1107
+ @record_key = args[:record_key] if args.key?(:record_key)
1108
+ @table_location = args[:table_location] if args.key?(:table_location)
1109
+ end
1110
+ end
1111
+
1112
+ # Additional configuration for inspect long running operations.
1113
+ class GooglePrivacyDlpV2beta1OperationConfig
1114
+ include Google::Apis::Core::Hashable
1115
+
1116
+ # Max number of findings per file, Datastore entity, or database row.
1117
+ # Corresponds to the JSON property `maxItemFindings`
1118
+ # @return [Fixnum]
1119
+ attr_accessor :max_item_findings
1120
+
1121
+ def initialize(**args)
1122
+ update!(**args)
1123
+ end
1124
+
1125
+ # Update properties of this object
1126
+ def update!(**args)
1127
+ @max_item_findings = args[:max_item_findings] if args.key?(:max_item_findings)
1128
+ end
1129
+ end
1130
+
1131
+ # Cloud repository for storing output.
1132
+ class GooglePrivacyDlpV2beta1OutputStorageConfig
1133
+ include Google::Apis::Core::Hashable
1134
+
1135
+ # A location in Cloud Storage.
1136
+ # Corresponds to the JSON property `storagePath`
1137
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStoragePath]
1138
+ attr_accessor :storage_path
1139
+
1140
+ # Message defining the location of a BigQuery table. A table is uniquely
1141
+ # identified by its project_id, dataset_id, and table_name. Within a query
1142
+ # a table is often referenced with a string in the format of:
1143
+ # `<project_id>:<dataset_id>.<table_id>` or
1144
+ # `<project_id>.<dataset_id>.<table_id>`.
1145
+ # Corresponds to the JSON property `table`
1146
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryTable]
1147
+ attr_accessor :table
1148
+
1149
+ def initialize(**args)
1150
+ update!(**args)
1151
+ end
1152
+
1153
+ # Update properties of this object
1154
+ def update!(**args)
1155
+ @storage_path = args[:storage_path] if args.key?(:storage_path)
1156
+ @table = args[:table] if args.key?(:table)
1157
+ end
1158
+ end
1159
+
1160
+ # Datastore partition ID.
1161
+ # A partition ID identifies a grouping of entities. The grouping is always
1162
+ # by project and namespace, however the namespace ID may be empty.
1163
+ # A partition ID contains several dimensions:
1164
+ # project ID and namespace ID.
1165
+ class GooglePrivacyDlpV2beta1PartitionId
1166
+ include Google::Apis::Core::Hashable
1167
+
1168
+ # If not empty, the ID of the namespace to which the entities belong.
1169
+ # Corresponds to the JSON property `namespaceId`
1170
+ # @return [String]
1171
+ attr_accessor :namespace_id
1172
+
1173
+ # The ID of the project to which the entities belong.
1174
+ # Corresponds to the JSON property `projectId`
1175
+ # @return [String]
1176
+ attr_accessor :project_id
1177
+
1178
+ def initialize(**args)
1179
+ update!(**args)
1180
+ end
1181
+
1182
+ # Update properties of this object
1183
+ def update!(**args)
1184
+ @namespace_id = args[:namespace_id] if args.key?(:namespace_id)
1185
+ @project_id = args[:project_id] if args.key?(:project_id)
1186
+ end
1187
+ end
1188
+
1189
+ # A (kind, ID/name) pair used to construct a key path.
1190
+ # If either name or ID is set, the element is complete.
1191
+ # If neither is set, the element is incomplete.
1192
+ class GooglePrivacyDlpV2beta1PathElement
1193
+ include Google::Apis::Core::Hashable
1194
+
1195
+ # The auto-allocated ID of the entity.
1196
+ # Never equal to zero. Values less than zero are discouraged and may not
1197
+ # be supported in the future.
1198
+ # Corresponds to the JSON property `id`
1199
+ # @return [Fixnum]
1200
+ attr_accessor :id
1201
+
1202
+ # The kind of the entity.
1203
+ # A kind matching regex `__.*__` is reserved/read-only.
1204
+ # A kind must not contain more than 1500 bytes when UTF-8 encoded.
1205
+ # Cannot be `""`.
1206
+ # Corresponds to the JSON property `kind`
1207
+ # @return [String]
1208
+ attr_accessor :kind
1209
+
1210
+ # The name of the entity.
1211
+ # A name matching regex `__.*__` is reserved/read-only.
1212
+ # A name must not be more than 1500 bytes when UTF-8 encoded.
1213
+ # Cannot be `""`.
1214
+ # Corresponds to the JSON property `name`
1215
+ # @return [String]
1216
+ attr_accessor :name
1217
+
1218
+ def initialize(**args)
1219
+ update!(**args)
1220
+ end
1221
+
1222
+ # Update properties of this object
1223
+ def update!(**args)
1224
+ @id = args[:id] if args.key?(:id)
1225
+ @kind = args[:kind] if args.key?(:kind)
1226
+ @name = args[:name] if args.key?(:name)
1227
+ end
1228
+ end
1229
+
1230
+ # A representation of a Datastore property in a projection.
1231
+ class GooglePrivacyDlpV2beta1Projection
1232
+ include Google::Apis::Core::Hashable
1233
+
1234
+ # A reference to a property relative to the Datastore kind expressions.
1235
+ # Corresponds to the JSON property `property`
1236
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1PropertyReference]
1237
+ attr_accessor :property
1238
+
1239
+ def initialize(**args)
1240
+ update!(**args)
1241
+ end
1242
+
1243
+ # Update properties of this object
1244
+ def update!(**args)
1245
+ @property = args[:property] if args.key?(:property)
1246
+ end
1247
+ end
1248
+
1249
+ # A reference to a property relative to the Datastore kind expressions.
1250
+ class GooglePrivacyDlpV2beta1PropertyReference
1251
+ include Google::Apis::Core::Hashable
1252
+
1253
+ # The name of the property.
1254
+ # If name includes "."s, it may be interpreted as a property name path.
1255
+ # Corresponds to the JSON property `name`
1256
+ # @return [String]
1257
+ attr_accessor :name
1258
+
1259
+ def initialize(**args)
1260
+ update!(**args)
1261
+ end
1262
+
1263
+ # Update properties of this object
1264
+ def update!(**args)
1265
+ @name = args[:name] if args.key?(:name)
1266
+ end
1267
+ end
1268
+
1269
+ # Generic half-open interval [start, end)
1270
+ class GooglePrivacyDlpV2beta1Range
1271
+ include Google::Apis::Core::Hashable
1272
+
1273
+ # Index of the last character of the range (exclusive).
1274
+ # Corresponds to the JSON property `end`
1275
+ # @return [Fixnum]
1276
+ attr_accessor :end
1277
+
1278
+ # Index of the first character of the range (inclusive).
1279
+ # Corresponds to the JSON property `start`
1280
+ # @return [Fixnum]
1281
+ attr_accessor :start
1282
+
1283
+ def initialize(**args)
1284
+ update!(**args)
1285
+ end
1286
+
1287
+ # Update properties of this object
1288
+ def update!(**args)
1289
+ @end = args[:end] if args.key?(:end)
1290
+ @start = args[:start] if args.key?(:start)
1291
+ end
1292
+ end
1293
+
1294
+ # Message for a unique key indicating a record that contains a finding.
1295
+ class GooglePrivacyDlpV2beta1RecordKey
1296
+ include Google::Apis::Core::Hashable
1297
+
1298
+ # Record key for a finding in a Cloud Storage file.
1299
+ # Corresponds to the JSON property `cloudStorageKey`
1300
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageKey]
1301
+ attr_accessor :cloud_storage_key
1302
+
1303
+ # Record key for a finding in Cloud Datastore.
1304
+ # Corresponds to the JSON property `datastoreKey`
1305
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreKey]
1306
+ attr_accessor :datastore_key
1307
+
1308
+ def initialize(**args)
1309
+ update!(**args)
1310
+ end
1311
+
1312
+ # Update properties of this object
1313
+ def update!(**args)
1314
+ @cloud_storage_key = args[:cloud_storage_key] if args.key?(:cloud_storage_key)
1315
+ @datastore_key = args[:datastore_key] if args.key?(:datastore_key)
1316
+ end
1317
+ end
1318
+
1319
+ # Request to search for potentially sensitive info in a list of items
1320
+ # and replace it with a default or provided content.
1321
+ class GooglePrivacyDlpV2beta1RedactContentRequest
1322
+ include Google::Apis::Core::Hashable
1323
+
1324
+ # The configuration for specifying what content to redact from images.
1325
+ # Corresponds to the JSON property `imageRedactionConfigs`
1326
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ImageRedactionConfig>]
1327
+ attr_accessor :image_redaction_configs
1328
+
1329
+ # Configuration description of the scanning process.
1330
+ # When used with redactContent only info_types and min_likelihood are currently
1331
+ # used.
1332
+ # Corresponds to the JSON property `inspectConfig`
1333
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig]
1334
+ attr_accessor :inspect_config
1335
+
1336
+ # The list of items to inspect. Up to 100 are allowed per request.
1337
+ # Corresponds to the JSON property `items`
1338
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>]
1339
+ attr_accessor :items
1340
+
1341
+ # The strings to replace findings text findings with. Must specify at least
1342
+ # one of these or one ImageRedactionConfig if redacting images.
1343
+ # Corresponds to the JSON property `replaceConfigs`
1344
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceConfig>]
1345
+ attr_accessor :replace_configs
1346
+
1347
+ def initialize(**args)
1348
+ update!(**args)
1349
+ end
1350
+
1351
+ # Update properties of this object
1352
+ def update!(**args)
1353
+ @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs)
1354
+ @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
1355
+ @items = args[:items] if args.key?(:items)
1356
+ @replace_configs = args[:replace_configs] if args.key?(:replace_configs)
1357
+ end
1358
+ end
1359
+
1360
+ # Results of redacting a list of items.
1361
+ class GooglePrivacyDlpV2beta1RedactContentResponse
1362
+ include Google::Apis::Core::Hashable
1363
+
1364
+ # The redacted content.
1365
+ # Corresponds to the JSON property `items`
1366
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>]
1367
+ attr_accessor :items
1368
+
1369
+ def initialize(**args)
1370
+ update!(**args)
1371
+ end
1372
+
1373
+ # Update properties of this object
1374
+ def update!(**args)
1375
+ @items = args[:items] if args.key?(:items)
1376
+ end
1377
+ end
1378
+
1379
+ #
1380
+ class GooglePrivacyDlpV2beta1ReplaceConfig
1381
+ include Google::Apis::Core::Hashable
1382
+
1383
+ # Type of information detected by the API.
1384
+ # Corresponds to the JSON property `infoType`
1385
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType]
1386
+ attr_accessor :info_type
1387
+
1388
+ # Content replacing sensitive information of given type. Max 256 chars.
1389
+ # Corresponds to the JSON property `replaceWith`
1390
+ # @return [String]
1391
+ attr_accessor :replace_with
1392
+
1393
+ def initialize(**args)
1394
+ update!(**args)
1395
+ end
1396
+
1397
+ # Update properties of this object
1398
+ def update!(**args)
1399
+ @info_type = args[:info_type] if args.key?(:info_type)
1400
+ @replace_with = args[:replace_with] if args.key?(:replace_with)
1401
+ end
1402
+ end
1403
+
1404
+ #
1405
+ class GooglePrivacyDlpV2beta1Row
1406
+ include Google::Apis::Core::Hashable
1407
+
1408
+ #
1409
+ # Corresponds to the JSON property `values`
1410
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value>]
1411
+ attr_accessor :values
1412
+
1413
+ def initialize(**args)
1414
+ update!(**args)
1415
+ end
1416
+
1417
+ # Update properties of this object
1418
+ def update!(**args)
1419
+ @values = args[:values] if args.key?(:values)
1420
+ end
1421
+ end
1422
+
1423
+ # Shared message indicating Cloud storage type.
1424
+ class GooglePrivacyDlpV2beta1StorageConfig
1425
+ include Google::Apis::Core::Hashable
1426
+
1427
+ # Options defining BigQuery table and row identifiers.
1428
+ # Corresponds to the JSON property `bigQueryOptions`
1429
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1BigQueryOptions]
1430
+ attr_accessor :big_query_options
1431
+
1432
+ # Options defining a file or a set of files (path ending with *) within
1433
+ # a Google Cloud Storage bucket.
1434
+ # Corresponds to the JSON property `cloudStorageOptions`
1435
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CloudStorageOptions]
1436
+ attr_accessor :cloud_storage_options
1437
+
1438
+ # Options defining a data set within Google Cloud Datastore.
1439
+ # Corresponds to the JSON property `datastoreOptions`
1440
+ # @return [Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DatastoreOptions]
1441
+ attr_accessor :datastore_options
1442
+
1443
+ def initialize(**args)
1444
+ update!(**args)
1445
+ end
1446
+
1447
+ # Update properties of this object
1448
+ def update!(**args)
1449
+ @big_query_options = args[:big_query_options] if args.key?(:big_query_options)
1450
+ @cloud_storage_options = args[:cloud_storage_options] if args.key?(:cloud_storage_options)
1451
+ @datastore_options = args[:datastore_options] if args.key?(:datastore_options)
1452
+ end
1453
+ end
1454
+
1455
+ # Structured content to inspect. Up to 50,000 `Value`s per request allowed.
1456
+ class GooglePrivacyDlpV2beta1Table
1457
+ include Google::Apis::Core::Hashable
1458
+
1459
+ #
1460
+ # Corresponds to the JSON property `headers`
1461
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>]
1462
+ attr_accessor :headers
1463
+
1464
+ #
1465
+ # Corresponds to the JSON property `rows`
1466
+ # @return [Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Row>]
1467
+ attr_accessor :rows
1468
+
1469
+ def initialize(**args)
1470
+ update!(**args)
1471
+ end
1472
+
1473
+ # Update properties of this object
1474
+ def update!(**args)
1475
+ @headers = args[:headers] if args.key?(:headers)
1476
+ @rows = args[:rows] if args.key?(:rows)
1477
+ end
1478
+ end
1479
+
1480
+ # Location of a finding within a `ContentItem.Table`.
1481
+ class GooglePrivacyDlpV2beta1TableLocation
1482
+ include Google::Apis::Core::Hashable
1483
+
1484
+ # The zero-based index of the row where the finding is located.
1485
+ # Corresponds to the JSON property `rowIndex`
1486
+ # @return [Fixnum]
1487
+ attr_accessor :row_index
1488
+
1489
+ def initialize(**args)
1490
+ update!(**args)
1491
+ end
1492
+
1493
+ # Update properties of this object
1494
+ def update!(**args)
1495
+ @row_index = args[:row_index] if args.key?(:row_index)
1496
+ end
1497
+ end
1498
+
1499
+ # Set of primitive values supported by the system.
1500
+ class GooglePrivacyDlpV2beta1Value
1501
+ include Google::Apis::Core::Hashable
1502
+
1503
+ #
1504
+ # Corresponds to the JSON property `booleanValue`
1505
+ # @return [Boolean]
1506
+ attr_accessor :boolean_value
1507
+ alias_method :boolean_value?, :boolean_value
1508
+
1509
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
1510
+ # time zone are either specified elsewhere or are not significant. The date
1511
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1512
+ # represent a year and month where the day is not significant, e.g. credit card
1513
+ # expiration date. The year may be 0 to represent a month and day independent
1514
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1515
+ # and `google.protobuf.Timestamp`.
1516
+ # Corresponds to the JSON property `dateValue`
1517
+ # @return [Google::Apis::DlpV2beta1::GoogleTypeDate]
1518
+ attr_accessor :date_value
1519
+
1520
+ #
1521
+ # Corresponds to the JSON property `floatValue`
1522
+ # @return [Float]
1523
+ attr_accessor :float_value
1524
+
1525
+ #
1526
+ # Corresponds to the JSON property `integerValue`
1527
+ # @return [Fixnum]
1528
+ attr_accessor :integer_value
1529
+
1530
+ #
1531
+ # Corresponds to the JSON property `stringValue`
1532
+ # @return [String]
1533
+ attr_accessor :string_value
1534
+
1535
+ # Represents a time of day. The date and time zone are either not significant
1536
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
1537
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1538
+ # Corresponds to the JSON property `timeValue`
1539
+ # @return [Google::Apis::DlpV2beta1::GoogleTypeTimeOfDay]
1540
+ attr_accessor :time_value
1541
+
1542
+ #
1543
+ # Corresponds to the JSON property `timestampValue`
1544
+ # @return [String]
1545
+ attr_accessor :timestamp_value
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @boolean_value = args[:boolean_value] if args.key?(:boolean_value)
1554
+ @date_value = args[:date_value] if args.key?(:date_value)
1555
+ @float_value = args[:float_value] if args.key?(:float_value)
1556
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
1557
+ @string_value = args[:string_value] if args.key?(:string_value)
1558
+ @time_value = args[:time_value] if args.key?(:time_value)
1559
+ @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value)
1560
+ end
1561
+ end
1562
+
1563
+ # A generic empty message that you can re-use to avoid defining duplicated
1564
+ # empty messages in your APIs. A typical example is to use it as the request
1565
+ # or the response type of an API method. For instance:
1566
+ # service Foo `
1567
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1568
+ # `
1569
+ # The JSON representation for `Empty` is empty JSON object ````.
1570
+ class GoogleProtobufEmpty
1571
+ include Google::Apis::Core::Hashable
1572
+
1573
+ def initialize(**args)
1574
+ update!(**args)
1575
+ end
1576
+
1577
+ # Update properties of this object
1578
+ def update!(**args)
1579
+ end
1580
+ end
1581
+
1582
+ # The `Status` type defines a logical error model that is suitable for different
1583
+ # programming environments, including REST APIs and RPC APIs. It is used by
1584
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
1585
+ # - Simple to use and understand for most users
1586
+ # - Flexible enough to meet unexpected needs
1587
+ # # Overview
1588
+ # The `Status` message contains three pieces of data: error code, error message,
1589
+ # and error details. The error code should be an enum value of
1590
+ # google.rpc.Code, but it may accept additional error codes if needed. The
1591
+ # error message should be a developer-facing English message that helps
1592
+ # developers *understand* and *resolve* the error. If a localized user-facing
1593
+ # error message is needed, put the localized message in the error details or
1594
+ # localize it in the client. The optional error details may contain arbitrary
1595
+ # information about the error. There is a predefined set of error detail types
1596
+ # in the package `google.rpc` that can be used for common error conditions.
1597
+ # # Language mapping
1598
+ # The `Status` message is the logical representation of the error model, but it
1599
+ # is not necessarily the actual wire format. When the `Status` message is
1600
+ # exposed in different client libraries and different wire protocols, it can be
1601
+ # mapped differently. For example, it will likely be mapped to some exceptions
1602
+ # in Java, but more likely mapped to some error codes in C.
1603
+ # # Other uses
1604
+ # The error model and the `Status` message can be used in a variety of
1605
+ # environments, either with or without APIs, to provide a
1606
+ # consistent developer experience across different environments.
1607
+ # Example uses of this error model include:
1608
+ # - Partial errors. If a service needs to return partial errors to the client,
1609
+ # it may embed the `Status` in the normal response to indicate the partial
1610
+ # errors.
1611
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
1612
+ # have a `Status` message for error reporting.
1613
+ # - Batch operations. If a client uses batch request and batch response, the
1614
+ # `Status` message should be used directly inside batch response, one for
1615
+ # each error sub-response.
1616
+ # - Asynchronous operations. If an API call embeds asynchronous operation
1617
+ # results in its response, the status of those operations should be
1618
+ # represented directly using the `Status` message.
1619
+ # - Logging. If some API errors are stored in logs, the message `Status` could
1620
+ # be used directly after any stripping needed for security/privacy reasons.
1621
+ class GoogleRpcStatus
1622
+ include Google::Apis::Core::Hashable
1623
+
1624
+ # The status code, which should be an enum value of google.rpc.Code.
1625
+ # Corresponds to the JSON property `code`
1626
+ # @return [Fixnum]
1627
+ attr_accessor :code
1628
+
1629
+ # A list of messages that carry the error details. There is a common set of
1630
+ # message types for APIs to use.
1631
+ # Corresponds to the JSON property `details`
1632
+ # @return [Array<Hash<String,Object>>]
1633
+ attr_accessor :details
1634
+
1635
+ # A developer-facing error message, which should be in English. Any
1636
+ # user-facing error message should be localized and sent in the
1637
+ # google.rpc.Status.details field, or localized by the client.
1638
+ # Corresponds to the JSON property `message`
1639
+ # @return [String]
1640
+ attr_accessor :message
1641
+
1642
+ def initialize(**args)
1643
+ update!(**args)
1644
+ end
1645
+
1646
+ # Update properties of this object
1647
+ def update!(**args)
1648
+ @code = args[:code] if args.key?(:code)
1649
+ @details = args[:details] if args.key?(:details)
1650
+ @message = args[:message] if args.key?(:message)
1651
+ end
1652
+ end
1653
+
1654
+ # Represents a whole calendar date, e.g. date of birth. The time of day and
1655
+ # time zone are either specified elsewhere or are not significant. The date
1656
+ # is relative to the Proleptic Gregorian Calendar. The day may be 0 to
1657
+ # represent a year and month where the day is not significant, e.g. credit card
1658
+ # expiration date. The year may be 0 to represent a month and day independent
1659
+ # of year, e.g. anniversary date. Related types are google.type.TimeOfDay
1660
+ # and `google.protobuf.Timestamp`.
1661
+ class GoogleTypeDate
1662
+ include Google::Apis::Core::Hashable
1663
+
1664
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
1665
+ # if specifying a year/month where the day is not significant.
1666
+ # Corresponds to the JSON property `day`
1667
+ # @return [Fixnum]
1668
+ attr_accessor :day
1669
+
1670
+ # Month of year. Must be from 1 to 12.
1671
+ # Corresponds to the JSON property `month`
1672
+ # @return [Fixnum]
1673
+ attr_accessor :month
1674
+
1675
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
1676
+ # a year.
1677
+ # Corresponds to the JSON property `year`
1678
+ # @return [Fixnum]
1679
+ attr_accessor :year
1680
+
1681
+ def initialize(**args)
1682
+ update!(**args)
1683
+ end
1684
+
1685
+ # Update properties of this object
1686
+ def update!(**args)
1687
+ @day = args[:day] if args.key?(:day)
1688
+ @month = args[:month] if args.key?(:month)
1689
+ @year = args[:year] if args.key?(:year)
1690
+ end
1691
+ end
1692
+
1693
+ # Represents a time of day. The date and time zone are either not significant
1694
+ # or are specified elsewhere. An API may choose to allow leap seconds. Related
1695
+ # types are google.type.Date and `google.protobuf.Timestamp`.
1696
+ class GoogleTypeTimeOfDay
1697
+ include Google::Apis::Core::Hashable
1698
+
1699
+ # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
1700
+ # to allow the value "24:00:00" for scenarios like business closing time.
1701
+ # Corresponds to the JSON property `hours`
1702
+ # @return [Fixnum]
1703
+ attr_accessor :hours
1704
+
1705
+ # Minutes of hour of day. Must be from 0 to 59.
1706
+ # Corresponds to the JSON property `minutes`
1707
+ # @return [Fixnum]
1708
+ attr_accessor :minutes
1709
+
1710
+ # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
1711
+ # Corresponds to the JSON property `nanos`
1712
+ # @return [Fixnum]
1713
+ attr_accessor :nanos
1714
+
1715
+ # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
1716
+ # allow the value 60 if it allows leap-seconds.
1717
+ # Corresponds to the JSON property `seconds`
1718
+ # @return [Fixnum]
1719
+ attr_accessor :seconds
1720
+
1721
+ def initialize(**args)
1722
+ update!(**args)
1723
+ end
1724
+
1725
+ # Update properties of this object
1726
+ def update!(**args)
1727
+ @hours = args[:hours] if args.key?(:hours)
1728
+ @minutes = args[:minutes] if args.key?(:minutes)
1729
+ @nanos = args[:nanos] if args.key?(:nanos)
1730
+ @seconds = args[:seconds] if args.key?(:seconds)
1731
+ end
1732
+ end
1733
+ end
1734
+ end
1735
+ end