google-api-client 0.51.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -14
  3. data/CHANGELOG.md +106 -0
  4. data/OVERVIEW.md +36 -27
  5. data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
  6. data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  9. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  10. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  11. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  12. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  13. data/generated/google/apis/admin_directory_v1/service.rb +325 -185
  14. data/generated/google/apis/admin_directory_v1.rb +2 -2
  15. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  16. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  17. data/generated/google/apis/admin_reports_v1.rb +2 -2
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/analytics_v3/service.rb +1 -1
  20. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
  21. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +17 -13
  23. data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  25. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  26. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  27. data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
  28. data/generated/google/apis/apigateway_v1/representations.rb +442 -0
  29. data/generated/google/apis/apigateway_v1/service.rb +1172 -0
  30. data/{lib/google/apis/generator/templates/classes.rb.tmpl → generated/google/apis/apigateway_v1.rb} +14 -9
  31. data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
  32. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
  33. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  34. data/generated/google/apis/apigee_v1/classes.rb +95 -22
  35. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  36. data/generated/google/apis/apigee_v1/service.rb +256 -48
  37. data/generated/google/apis/apigee_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  39. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
  42. data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
  43. data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
  44. data/generated/google/apis/artifactregistry_v1.rb +38 -0
  45. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
  46. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
  47. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  48. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
  50. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
  51. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  52. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  53. data/generated/google/apis/chat_v1/service.rb +132 -0
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
  56. data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
  57. data/generated/google/apis/cloudasset_v1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
  60. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
  62. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
  63. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  64. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
  67. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
  69. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  70. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  71. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  74. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  75. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  76. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  77. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  79. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  81. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
  84. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
  90. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
  93. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
  94. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  96. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  97. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  98. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  100. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  103. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  105. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  106. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  107. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  108. data/generated/google/apis/composer_v1beta1.rb +1 -1
  109. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  110. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  111. data/generated/google/apis/compute_alpha/service.rb +291 -15
  112. data/generated/google/apis/compute_alpha.rb +1 -1
  113. data/generated/google/apis/compute_beta/classes.rb +926 -283
  114. data/generated/google/apis/compute_beta/representations.rb +221 -18
  115. data/generated/google/apis/compute_beta/service.rb +24 -15
  116. data/generated/google/apis/compute_beta.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +419 -158
  118. data/generated/google/apis/compute_v1/representations.rb +55 -0
  119. data/generated/google/apis/compute_v1/service.rb +9 -7
  120. data/generated/google/apis/compute_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +55 -16
  122. data/generated/google/apis/container_v1/representations.rb +17 -0
  123. data/generated/google/apis/container_v1/service.rb +4 -2
  124. data/generated/google/apis/container_v1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +31 -20
  126. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  128. data/generated/google/apis/container_v1beta1.rb +1 -1
  129. data/generated/google/apis/content_v2_1/classes.rb +450 -7
  130. data/generated/google/apis/content_v2_1/representations.rb +188 -0
  131. data/generated/google/apis/content_v2_1/service.rb +116 -0
  132. data/generated/google/apis/content_v2_1.rb +1 -1
  133. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
  134. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  135. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  136. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  137. data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
  138. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  139. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  140. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  141. data/generated/google/apis/dataproc_v1/classes.rb +29 -1
  142. data/generated/google/apis/dataproc_v1/representations.rb +14 -0
  143. data/generated/google/apis/dataproc_v1/service.rb +42 -0
  144. data/generated/google/apis/dataproc_v1.rb +1 -1
  145. data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
  146. data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
  147. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
  148. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  149. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  150. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  151. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  152. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  153. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  156. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  157. data/generated/google/apis/dialogflow_v2/classes.rb +4339 -284
  158. data/generated/google/apis/dialogflow_v2/representations.rb +2090 -211
  159. data/generated/google/apis/dialogflow_v2.rb +1 -1
  160. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4341 -286
  161. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2097 -218
  162. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  163. data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
  164. data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
  165. data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
  166. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  167. data/generated/google/apis/dialogflow_v3beta1/classes.rb +5147 -1554
  168. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1966 -221
  169. data/generated/google/apis/dialogflow_v3beta1/service.rb +581 -0
  170. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  171. data/generated/google/apis/dlp_v2/service.rb +297 -10
  172. data/generated/google/apis/dlp_v2.rb +1 -1
  173. data/generated/google/apis/dns_v1/classes.rb +65 -0
  174. data/generated/google/apis/dns_v1/representations.rb +32 -0
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
  177. data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
  178. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  179. data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
  180. data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
  181. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  182. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  183. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  184. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  185. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  186. data/generated/google/apis/file_v1/classes.rb +61 -0
  187. data/generated/google/apis/file_v1/representations.rb +19 -0
  188. data/generated/google/apis/file_v1.rb +1 -1
  189. data/generated/google/apis/gameservices_v1/service.rb +14 -14
  190. data/generated/google/apis/gameservices_v1.rb +1 -1
  191. data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
  192. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  194. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  195. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  196. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  197. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  198. data/generated/google/apis/healthcare_v1.rb +1 -1
  199. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  200. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  201. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  202. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  203. data/generated/google/apis/iap_v1/classes.rb +0 -6
  204. data/generated/google/apis/iap_v1/representations.rb +0 -1
  205. data/generated/google/apis/iap_v1.rb +1 -1
  206. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  207. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  208. data/generated/google/apis/iap_v1beta1.rb +1 -1
  209. data/generated/google/apis/localservices_v1.rb +4 -1
  210. data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
  211. data/generated/google/apis/manufacturers_v1.rb +1 -1
  212. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  213. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  214. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  215. data/{lib/google/apis/core/logging.rb → generated/google/apis/metastore_v1beta.rb} +15 -10
  216. data/generated/google/apis/ml_v1/classes.rb +51 -18
  217. data/generated/google/apis/ml_v1/representations.rb +16 -0
  218. data/generated/google/apis/ml_v1.rb +1 -1
  219. data/generated/google/apis/monitoring_v3/classes.rb +10 -6
  220. data/generated/google/apis/monitoring_v3.rb +1 -1
  221. data/generated/google/apis/notebooks_v1/classes.rb +13 -0
  222. data/generated/google/apis/notebooks_v1/representations.rb +12 -0
  223. data/generated/google/apis/notebooks_v1/service.rb +34 -0
  224. data/generated/google/apis/notebooks_v1.rb +1 -1
  225. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  226. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  227. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  228. data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
  229. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  230. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  231. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  232. data/generated/google/apis/redis_v1/classes.rb +2 -2
  233. data/generated/google/apis/redis_v1.rb +1 -1
  234. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  235. data/generated/google/apis/redis_v1beta1.rb +1 -1
  236. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  237. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  238. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  239. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  240. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  241. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  242. data/generated/google/apis/searchconsole_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
  244. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  245. data/generated/google/apis/securitycenter_v1/service.rb +30 -30
  246. data/generated/google/apis/securitycenter_v1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  249. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  250. data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
  251. data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
  252. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  253. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  254. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  255. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  257. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  258. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  259. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  260. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  261. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  262. data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/servicedirectory_v1.rb} +15 -12
  263. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  272. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  273. data/generated/google/apis/slides_v1/classes.rb +9 -3
  274. data/generated/google/apis/slides_v1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  276. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  277. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  278. data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
  280. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
  282. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  283. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  284. data/generated/google/apis/testing_v1/classes.rb +1 -1
  285. data/generated/google/apis/testing_v1.rb +1 -1
  286. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  287. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  288. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  289. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  290. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  291. data/generated/google/apis/translate_v3/classes.rb +1 -1
  292. data/generated/google/apis/translate_v3.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  294. data/generated/google/apis/translate_v3beta1.rb +1 -1
  295. data/generated/google/apis/webmasters_v3/classes.rb +8 -0
  296. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  297. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  298. data/generated/google/apis/workflows_v1beta.rb +1 -1
  299. data/generated/google/apis/youtube_v3/classes.rb +18 -143
  300. data/generated/google/apis/youtube_v3/representations.rb +0 -57
  301. data/generated/google/apis/youtube_v3/service.rb +0 -43
  302. data/generated/google/apis/youtube_v3.rb +1 -1
  303. data/lib/google/apis/version.rb +1 -23
  304. metadata +39 -267
  305. data/.github/CONTRIBUTING.md +0 -31
  306. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  307. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  308. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  309. data/.github/workflows/autoapprove.yml +0 -49
  310. data/.github/workflows/release-please.yml +0 -79
  311. data/.gitignore +0 -23
  312. data/.kokoro/build.bat +0 -11
  313. data/.kokoro/build.sh +0 -4
  314. data/.kokoro/continuous/common.cfg +0 -25
  315. data/.kokoro/continuous/linux.cfg +0 -25
  316. data/.kokoro/continuous/osx.cfg +0 -8
  317. data/.kokoro/continuous/post.cfg +0 -30
  318. data/.kokoro/continuous/windows.cfg +0 -29
  319. data/.kokoro/osx.sh +0 -4
  320. data/.kokoro/presubmit/common.cfg +0 -24
  321. data/.kokoro/presubmit/linux.cfg +0 -24
  322. data/.kokoro/presubmit/osx.cfg +0 -8
  323. data/.kokoro/presubmit/windows.cfg +0 -29
  324. data/.kokoro/release.cfg +0 -94
  325. data/.kokoro/trampoline.bat +0 -10
  326. data/.kokoro/trampoline.sh +0 -4
  327. data/.repo-metadata.json +0 -5
  328. data/.rspec +0 -2
  329. data/.rubocop.yml +0 -12
  330. data/.rubocop_todo.yml +0 -63
  331. data/CODE_OF_CONDUCT.md +0 -43
  332. data/Gemfile +0 -55
  333. data/MIGRATING.md +0 -215
  334. data/README.md +0 -402
  335. data/Rakefile +0 -131
  336. data/api_list_config.yaml +0 -9
  337. data/api_names.yaml +0 -1082
  338. data/bin/generate-api +0 -194
  339. data/docs/api-keys.md +0 -20
  340. data/docs/auth.md +0 -53
  341. data/docs/client-secrets.md +0 -69
  342. data/docs/getting-started.md +0 -340
  343. data/docs/installation.md +0 -0
  344. data/docs/logging.md +0 -34
  345. data/docs/media-upload.md +0 -25
  346. data/docs/oauth-installed.md +0 -191
  347. data/docs/oauth-server.md +0 -133
  348. data/docs/oauth-web.md +0 -280
  349. data/docs/oauth.md +0 -268
  350. data/docs/pagination.md +0 -29
  351. data/docs/performance.md +0 -25
  352. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  353. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  354. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  355. data/google-api-client.gemspec +0 -36
  356. data/lib/google/api_client/auth/installed_app.rb +0 -143
  357. data/lib/google/api_client/auth/key_utils.rb +0 -94
  358. data/lib/google/api_client/auth/storage.rb +0 -104
  359. data/lib/google/api_client/auth/storages/file_store.rb +0 -57
  360. data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
  361. data/lib/google/api_client/client_secrets.rb +0 -176
  362. data/lib/google/apis/core/api_command.rb +0 -209
  363. data/lib/google/apis/core/base_service.rb +0 -447
  364. data/lib/google/apis/core/batch.rb +0 -236
  365. data/lib/google/apis/core/composite_io.rb +0 -97
  366. data/lib/google/apis/core/download.rb +0 -118
  367. data/lib/google/apis/core/hashable.rb +0 -44
  368. data/lib/google/apis/core/http_command.rb +0 -447
  369. data/lib/google/apis/core/json_representation.rb +0 -153
  370. data/lib/google/apis/core/multipart.rb +0 -135
  371. data/lib/google/apis/core/upload.rb +0 -273
  372. data/lib/google/apis/errors.rb +0 -89
  373. data/lib/google/apis/generator/annotator.rb +0 -339
  374. data/lib/google/apis/generator/helpers.rb +0 -76
  375. data/lib/google/apis/generator/model.rb +0 -187
  376. data/lib/google/apis/generator/template.rb +0 -124
  377. data/lib/google/apis/generator/templates/_class.tmpl +0 -43
  378. data/lib/google/apis/generator/templates/_method.tmpl +0 -92
  379. data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
  380. data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
  381. data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
  382. data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
  383. data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
  384. data/lib/google/apis/generator.rb +0 -71
  385. data/lib/google/apis/options.rb +0 -116
  386. data/lib/google/apis.rb +0 -58
  387. data/rakelib/devsite/devsite_builder.rb +0 -126
  388. data/rakelib/devsite/link_checker.rb +0 -64
  389. data/rakelib/devsite/repo_metadata.rb +0 -56
  390. data/rakelib/metrics.rake +0 -22
  391. data/rakelib/rubocop.rake +0 -10
  392. data/rakelib/spec.rake +0 -11
  393. data/rakelib/yard.rake +0 -11
  394. data/samples/cli/.env +0 -4
  395. data/samples/cli/Gemfile +0 -7
  396. data/samples/cli/README.md +0 -51
  397. data/samples/cli/google-api-samples +0 -32
  398. data/samples/cli/lib/base_cli.rb +0 -95
  399. data/samples/cli/lib/samples/adsense.rb +0 -99
  400. data/samples/cli/lib/samples/analytics.rb +0 -80
  401. data/samples/cli/lib/samples/androidpublisher.rb +0 -47
  402. data/samples/cli/lib/samples/bigquery.rb +0 -101
  403. data/samples/cli/lib/samples/calendar.rb +0 -83
  404. data/samples/cli/lib/samples/drive.rb +0 -82
  405. data/samples/cli/lib/samples/gmail.rb +0 -157
  406. data/samples/cli/lib/samples/pubsub.rb +0 -114
  407. data/samples/cli/lib/samples/sheets.rb +0 -61
  408. data/samples/cli/lib/samples/translate.rb +0 -44
  409. data/samples/cli/lib/samples/vision.rb +0 -69
  410. data/samples/cli/lib/samples/you_tube.rb +0 -47
  411. data/samples/web/Gemfile +0 -9
  412. data/samples/web/README.md +0 -44
  413. data/samples/web/app.rb +0 -120
  414. data/samples/web/views/calendar.erb +0 -34
  415. data/samples/web/views/drive.erb +0 -33
  416. data/samples/web/views/home.erb +0 -34
  417. data/samples/web/views/layout.erb +0 -40
  418. data/synth.py +0 -40
@@ -22,8 +22,25 @@ module Google
22
22
  module Apis
23
23
  module SafebrowsingV4
24
24
 
25
+ # A generic empty message that you can re-use to avoid defining duplicated empty
26
+ # messages in your APIs. A typical example is to use it as the request or the
27
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
28
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
29
+ # `Empty` is empty JSON object ````.
30
+ class GoogleProtobufEmpty
31
+ include Google::Apis::Core::Hashable
32
+
33
+ def initialize(**args)
34
+ update!(**args)
35
+ end
36
+
37
+ # Update properties of this object
38
+ def update!(**args)
39
+ end
40
+ end
41
+
25
42
  # The expected state of a client's local database.
26
- class Checksum
43
+ class GoogleSecuritySafebrowsingV4Checksum
27
44
  include Google::Apis::Core::Hashable
28
45
 
29
46
  # The SHA256 hash of the client state; that is, of the sorted list of all hashes
@@ -44,7 +61,7 @@ module Google
44
61
  end
45
62
 
46
63
  # The client metadata associated with Safe Browsing API requests.
47
- class ClientInfo
64
+ class GoogleSecuritySafebrowsingV4ClientInfo
48
65
  include Google::Apis::Core::Hashable
49
66
 
50
67
  # A client ID that (hopefully) uniquely identifies the client implementation of
@@ -69,8 +86,79 @@ module Google
69
86
  end
70
87
  end
71
88
 
89
+ # Describes a Safe Browsing API update request. Clients can request updates for
90
+ # multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 5
91
+ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequest
92
+ include Google::Apis::Core::Hashable
93
+
94
+ # The client metadata associated with Safe Browsing API requests.
95
+ # Corresponds to the JSON property `client`
96
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
97
+ attr_accessor :client
98
+
99
+ # The requested threat list updates.
100
+ # Corresponds to the JSON property `listUpdateRequests`
101
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest>]
102
+ attr_accessor :list_update_requests
103
+
104
+ def initialize(**args)
105
+ update!(**args)
106
+ end
107
+
108
+ # Update properties of this object
109
+ def update!(**args)
110
+ @client = args[:client] if args.key?(:client)
111
+ @list_update_requests = args[:list_update_requests] if args.key?(:list_update_requests)
112
+ end
113
+ end
114
+
115
+ # A single list update request.
116
+ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequest
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # The constraints for this update.
120
+ # Corresponds to the JSON property `constraints`
121
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints]
122
+ attr_accessor :constraints
123
+
124
+ # The type of platform at risk by entries present in the list.
125
+ # Corresponds to the JSON property `platformType`
126
+ # @return [String]
127
+ attr_accessor :platform_type
128
+
129
+ # The current state of the client for the requested list (the encrypted client
130
+ # state that was received from the last successful list update).
131
+ # Corresponds to the JSON property `state`
132
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
133
+ # @return [String]
134
+ attr_accessor :state
135
+
136
+ # The types of entries present in the list.
137
+ # Corresponds to the JSON property `threatEntryType`
138
+ # @return [String]
139
+ attr_accessor :threat_entry_type
140
+
141
+ # The type of threat posed by entries present in the list.
142
+ # Corresponds to the JSON property `threatType`
143
+ # @return [String]
144
+ attr_accessor :threat_type
145
+
146
+ def initialize(**args)
147
+ update!(**args)
148
+ end
149
+
150
+ # Update properties of this object
151
+ def update!(**args)
152
+ @constraints = args[:constraints] if args.key?(:constraints)
153
+ @platform_type = args[:platform_type] if args.key?(:platform_type)
154
+ @state = args[:state] if args.key?(:state)
155
+ @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
156
+ @threat_type = args[:threat_type] if args.key?(:threat_type)
157
+ end
158
+ end
159
+
72
160
  # The constraints for this update.
73
- class Constraints
161
+ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesRequestListUpdateRequestConstraints
74
162
  include Google::Apis::Core::Hashable
75
163
 
76
164
  # A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.
@@ -124,63 +212,79 @@ module Google
124
212
  end
125
213
  end
126
214
 
127
- # A generic empty message that you can re-use to avoid defining duplicated empty
128
- # messages in your APIs. A typical example is to use it as the request or the
129
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
130
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
131
- # `Empty` is empty JSON object ````.
132
- class Empty
215
+ #
216
+ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponse
133
217
  include Google::Apis::Core::Hashable
134
218
 
219
+ # The list updates requested by the clients.
220
+ # Corresponds to the JSON property `listUpdateResponses`
221
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse>]
222
+ attr_accessor :list_update_responses
223
+
224
+ # The minimum duration the client must wait before issuing any update request.
225
+ # If this field is not set clients may update as soon as they want.
226
+ # Corresponds to the JSON property `minimumWaitDuration`
227
+ # @return [String]
228
+ attr_accessor :minimum_wait_duration
229
+
135
230
  def initialize(**args)
136
231
  update!(**args)
137
232
  end
138
233
 
139
234
  # Update properties of this object
140
235
  def update!(**args)
236
+ @list_update_responses = args[:list_update_responses] if args.key?(:list_update_responses)
237
+ @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration)
141
238
  end
142
239
  end
143
240
 
144
- # Describes a Safe Browsing API update request. Clients can request updates for
145
- # multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 5
146
- class FetchThreatListUpdatesRequest
241
+ # An update to an individual list.
242
+ class GoogleSecuritySafebrowsingV4FetchThreatListUpdatesResponseListUpdateResponse
147
243
  include Google::Apis::Core::Hashable
148
244
 
149
- # The client metadata associated with Safe Browsing API requests.
150
- # Corresponds to the JSON property `client`
151
- # @return [Google::Apis::SafebrowsingV4::ClientInfo]
152
- attr_accessor :client
245
+ # A set of entries to add to a local threat type's list. Repeated to allow for a
246
+ # combination of compressed and raw data to be sent in a single response.
247
+ # Corresponds to the JSON property `additions`
248
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet>]
249
+ attr_accessor :additions
153
250
 
154
- # The requested threat list updates.
155
- # Corresponds to the JSON property `listUpdateRequests`
156
- # @return [Array<Google::Apis::SafebrowsingV4::ListUpdateRequest>]
157
- attr_accessor :list_update_requests
251
+ # The expected state of a client's local database.
252
+ # Corresponds to the JSON property `checksum`
253
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4Checksum]
254
+ attr_accessor :checksum
158
255
 
159
- def initialize(**args)
160
- update!(**args)
161
- end
256
+ # The new client state, in encrypted format. Opaque to clients.
257
+ # Corresponds to the JSON property `newClientState`
258
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
259
+ # @return [String]
260
+ attr_accessor :new_client_state
162
261
 
163
- # Update properties of this object
164
- def update!(**args)
165
- @client = args[:client] if args.key?(:client)
166
- @list_update_requests = args[:list_update_requests] if args.key?(:list_update_requests)
167
- end
168
- end
262
+ # The platform type for which data is returned.
263
+ # Corresponds to the JSON property `platformType`
264
+ # @return [String]
265
+ attr_accessor :platform_type
169
266
 
170
- #
171
- class FetchThreatListUpdatesResponse
172
- include Google::Apis::Core::Hashable
267
+ # A set of entries to remove from a local threat type's list. In practice, this
268
+ # field is empty or contains exactly one ThreatEntrySet.
269
+ # Corresponds to the JSON property `removals`
270
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntrySet>]
271
+ attr_accessor :removals
173
272
 
174
- # The list updates requested by the clients.
175
- # Corresponds to the JSON property `listUpdateResponses`
176
- # @return [Array<Google::Apis::SafebrowsingV4::ListUpdateResponse>]
177
- attr_accessor :list_update_responses
273
+ # The type of response. This may indicate that an action is required by the
274
+ # client when the response is received.
275
+ # Corresponds to the JSON property `responseType`
276
+ # @return [String]
277
+ attr_accessor :response_type
178
278
 
179
- # The minimum duration the client must wait before issuing any update request.
180
- # If this field is not set clients may update as soon as they want.
181
- # Corresponds to the JSON property `minimumWaitDuration`
279
+ # The format of the threats.
280
+ # Corresponds to the JSON property `threatEntryType`
182
281
  # @return [String]
183
- attr_accessor :minimum_wait_duration
282
+ attr_accessor :threat_entry_type
283
+
284
+ # The threat type for which data is returned.
285
+ # Corresponds to the JSON property `threatType`
286
+ # @return [String]
287
+ attr_accessor :threat_type
184
288
 
185
289
  def initialize(**args)
186
290
  update!(**args)
@@ -188,23 +292,29 @@ module Google
188
292
 
189
293
  # Update properties of this object
190
294
  def update!(**args)
191
- @list_update_responses = args[:list_update_responses] if args.key?(:list_update_responses)
192
- @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration)
295
+ @additions = args[:additions] if args.key?(:additions)
296
+ @checksum = args[:checksum] if args.key?(:checksum)
297
+ @new_client_state = args[:new_client_state] if args.key?(:new_client_state)
298
+ @platform_type = args[:platform_type] if args.key?(:platform_type)
299
+ @removals = args[:removals] if args.key?(:removals)
300
+ @response_type = args[:response_type] if args.key?(:response_type)
301
+ @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
302
+ @threat_type = args[:threat_type] if args.key?(:threat_type)
193
303
  end
194
304
  end
195
305
 
196
306
  # Request to return full hashes matched by the provided hash prefixes.
197
- class FindFullHashesRequest
307
+ class GoogleSecuritySafebrowsingV4FindFullHashesRequest
198
308
  include Google::Apis::Core::Hashable
199
309
 
200
310
  # The client metadata associated with Safe Browsing API requests.
201
311
  # Corresponds to the JSON property `apiClient`
202
- # @return [Google::Apis::SafebrowsingV4::ClientInfo]
312
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
203
313
  attr_accessor :api_client
204
314
 
205
315
  # The client metadata associated with Safe Browsing API requests.
206
316
  # Corresponds to the JSON property `client`
207
- # @return [Google::Apis::SafebrowsingV4::ClientInfo]
317
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
208
318
  attr_accessor :client
209
319
 
210
320
  # The current client states for each of the client's local threat lists.
@@ -215,7 +325,7 @@ module Google
215
325
  # The information regarding one or more threats that a client submits when
216
326
  # checking for matches in threat lists.
217
327
  # Corresponds to the JSON property `threatInfo`
218
- # @return [Google::Apis::SafebrowsingV4::ThreatInfo]
328
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo]
219
329
  attr_accessor :threat_info
220
330
 
221
331
  def initialize(**args)
@@ -232,12 +342,12 @@ module Google
232
342
  end
233
343
 
234
344
  #
235
- class FindFullHashesResponse
345
+ class GoogleSecuritySafebrowsingV4FindFullHashesResponse
236
346
  include Google::Apis::Core::Hashable
237
347
 
238
348
  # The full hashes that matched the requested prefixes.
239
349
  # Corresponds to the JSON property `matches`
240
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatMatch>]
350
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch>]
241
351
  attr_accessor :matches
242
352
 
243
353
  # The minimum duration the client must wait before issuing any find hashes
@@ -266,18 +376,18 @@ module Google
266
376
  end
267
377
 
268
378
  # Request to check entries against lists.
269
- class FindThreatMatchesRequest
379
+ class GoogleSecuritySafebrowsingV4FindThreatMatchesRequest
270
380
  include Google::Apis::Core::Hashable
271
381
 
272
382
  # The client metadata associated with Safe Browsing API requests.
273
383
  # Corresponds to the JSON property `client`
274
- # @return [Google::Apis::SafebrowsingV4::ClientInfo]
384
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
275
385
  attr_accessor :client
276
386
 
277
387
  # The information regarding one or more threats that a client submits when
278
388
  # checking for matches in threat lists.
279
389
  # Corresponds to the JSON property `threatInfo`
280
- # @return [Google::Apis::SafebrowsingV4::ThreatInfo]
390
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatInfo]
281
391
  attr_accessor :threat_info
282
392
 
283
393
  def initialize(**args)
@@ -292,12 +402,12 @@ module Google
292
402
  end
293
403
 
294
404
  #
295
- class FindThreatMatchesResponse
405
+ class GoogleSecuritySafebrowsingV4FindThreatMatchesResponse
296
406
  include Google::Apis::Core::Hashable
297
407
 
298
408
  # The threat list matches.
299
409
  # Corresponds to the JSON property `matches`
300
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatMatch>]
410
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch>]
301
411
  attr_accessor :matches
302
412
 
303
413
  def initialize(**args)
@@ -311,12 +421,12 @@ module Google
311
421
  end
312
422
 
313
423
  #
314
- class ListThreatListsResponse
424
+ class GoogleSecuritySafebrowsingV4ListThreatListsResponse
315
425
  include Google::Apis::Core::Hashable
316
426
 
317
427
  # The lists available for download by the client.
318
428
  # Corresponds to the JSON property `threatLists`
319
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatListDescriptor>]
429
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatListDescriptor>]
320
430
  attr_accessor :threat_lists
321
431
 
322
432
  def initialize(**args)
@@ -329,150 +439,13 @@ module Google
329
439
  end
330
440
  end
331
441
 
332
- # A single list update request.
333
- class ListUpdateRequest
334
- include Google::Apis::Core::Hashable
335
-
336
- # The constraints for this update.
337
- # Corresponds to the JSON property `constraints`
338
- # @return [Google::Apis::SafebrowsingV4::Constraints]
339
- attr_accessor :constraints
340
-
341
- # The type of platform at risk by entries present in the list.
342
- # Corresponds to the JSON property `platformType`
343
- # @return [String]
344
- attr_accessor :platform_type
345
-
346
- # The current state of the client for the requested list (the encrypted client
347
- # state that was received from the last successful list update).
348
- # Corresponds to the JSON property `state`
349
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
350
- # @return [String]
351
- attr_accessor :state
352
-
353
- # The types of entries present in the list.
354
- # Corresponds to the JSON property `threatEntryType`
355
- # @return [String]
356
- attr_accessor :threat_entry_type
357
-
358
- # The type of threat posed by entries present in the list.
359
- # Corresponds to the JSON property `threatType`
360
- # @return [String]
361
- attr_accessor :threat_type
362
-
363
- def initialize(**args)
364
- update!(**args)
365
- end
366
-
367
- # Update properties of this object
368
- def update!(**args)
369
- @constraints = args[:constraints] if args.key?(:constraints)
370
- @platform_type = args[:platform_type] if args.key?(:platform_type)
371
- @state = args[:state] if args.key?(:state)
372
- @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
373
- @threat_type = args[:threat_type] if args.key?(:threat_type)
374
- end
375
- end
376
-
377
- # An update to an individual list.
378
- class ListUpdateResponse
379
- include Google::Apis::Core::Hashable
380
-
381
- # A set of entries to add to a local threat type's list. Repeated to allow for a
382
- # combination of compressed and raw data to be sent in a single response.
383
- # Corresponds to the JSON property `additions`
384
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatEntrySet>]
385
- attr_accessor :additions
386
-
387
- # The expected state of a client's local database.
388
- # Corresponds to the JSON property `checksum`
389
- # @return [Google::Apis::SafebrowsingV4::Checksum]
390
- attr_accessor :checksum
391
-
392
- # The new client state, in encrypted format. Opaque to clients.
393
- # Corresponds to the JSON property `newClientState`
394
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
395
- # @return [String]
396
- attr_accessor :new_client_state
397
-
398
- # The platform type for which data is returned.
399
- # Corresponds to the JSON property `platformType`
400
- # @return [String]
401
- attr_accessor :platform_type
402
-
403
- # A set of entries to remove from a local threat type's list. In practice, this
404
- # field is empty or contains exactly one ThreatEntrySet.
405
- # Corresponds to the JSON property `removals`
406
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatEntrySet>]
407
- attr_accessor :removals
408
-
409
- # The type of response. This may indicate that an action is required by the
410
- # client when the response is received.
411
- # Corresponds to the JSON property `responseType`
412
- # @return [String]
413
- attr_accessor :response_type
414
-
415
- # The format of the threats.
416
- # Corresponds to the JSON property `threatEntryType`
417
- # @return [String]
418
- attr_accessor :threat_entry_type
419
-
420
- # The threat type for which data is returned.
421
- # Corresponds to the JSON property `threatType`
422
- # @return [String]
423
- attr_accessor :threat_type
424
-
425
- def initialize(**args)
426
- update!(**args)
427
- end
428
-
429
- # Update properties of this object
430
- def update!(**args)
431
- @additions = args[:additions] if args.key?(:additions)
432
- @checksum = args[:checksum] if args.key?(:checksum)
433
- @new_client_state = args[:new_client_state] if args.key?(:new_client_state)
434
- @platform_type = args[:platform_type] if args.key?(:platform_type)
435
- @removals = args[:removals] if args.key?(:removals)
436
- @response_type = args[:response_type] if args.key?(:response_type)
437
- @threat_entry_type = args[:threat_entry_type] if args.key?(:threat_entry_type)
438
- @threat_type = args[:threat_type] if args.key?(:threat_type)
439
- end
440
- end
441
-
442
- # A single metadata entry.
443
- class MetadataEntry
444
- include Google::Apis::Core::Hashable
445
-
446
- # The metadata entry key. For JSON requests, the key is base64-encoded.
447
- # Corresponds to the JSON property `key`
448
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
449
- # @return [String]
450
- attr_accessor :key
451
-
452
- # The metadata entry value. For JSON requests, the value is base64-encoded.
453
- # Corresponds to the JSON property `value`
454
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
455
- # @return [String]
456
- attr_accessor :value
457
-
458
- def initialize(**args)
459
- update!(**args)
460
- end
461
-
462
- # Update properties of this object
463
- def update!(**args)
464
- @key = args[:key] if args.key?(:key)
465
- @value = args[:value] if args.key?(:value)
466
- end
467
- end
468
-
469
442
  # The uncompressed threat entries in hash format of a particular prefix length.
470
443
  # Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4
471
444
  # bytes, but some hashes are lengthened if they collide with the hash of a
472
445
  # popular URL. Used for sending ThreatEntrySet to clients that do not support
473
446
  # compression, or when sending non-4-byte hashes to clients that do support
474
447
  # compression.
475
- class RawHashes
448
+ class GoogleSecuritySafebrowsingV4RawHashes
476
449
  include Google::Apis::Core::Hashable
477
450
 
478
451
  # The number of bytes for each prefix encoded below. This field can be anywhere
@@ -500,7 +473,7 @@ module Google
500
473
  end
501
474
 
502
475
  # A set of raw indices to remove from a local list.
503
- class RawIndices
476
+ class GoogleSecuritySafebrowsingV4RawIndices
504
477
  include Google::Apis::Core::Hashable
505
478
 
506
479
  # The indices to remove from a lexicographically-sorted local list.
@@ -520,7 +493,7 @@ module Google
520
493
 
521
494
  # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
522
495
  # compressed removal indices.
523
- class RiceDeltaEncoding
496
+ class GoogleSecuritySafebrowsingV4RiceDeltaEncoding
524
497
  include Google::Apis::Core::Hashable
525
498
 
526
499
  # The encoded deltas that are encoded using the Golomb-Rice coder.
@@ -564,7 +537,7 @@ module Google
564
537
 
565
538
  # An individual threat; for example, a malicious URL or its hash representation.
566
539
  # Only one of these fields should be set.
567
- class ThreatEntry
540
+ class GoogleSecuritySafebrowsingV4ThreatEntry
568
541
  include Google::Apis::Core::Hashable
569
542
 
570
543
  # The digest of an executable in SHA256 format. The API supports both binary and
@@ -600,12 +573,12 @@ module Google
600
573
 
601
574
  # The metadata associated with a specific threat entry. The client is expected
602
575
  # to know the metadata key/value pairs associated with each threat type.
603
- class ThreatEntryMetadata
576
+ class GoogleSecuritySafebrowsingV4ThreatEntryMetadata
604
577
  include Google::Apis::Core::Hashable
605
578
 
606
579
  # The metadata entries.
607
580
  # Corresponds to the JSON property `entries`
608
- # @return [Array<Google::Apis::SafebrowsingV4::MetadataEntry>]
581
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry>]
609
582
  attr_accessor :entries
610
583
 
611
584
  def initialize(**args)
@@ -618,9 +591,36 @@ module Google
618
591
  end
619
592
  end
620
593
 
594
+ # A single metadata entry.
595
+ class GoogleSecuritySafebrowsingV4ThreatEntryMetadataMetadataEntry
596
+ include Google::Apis::Core::Hashable
597
+
598
+ # The metadata entry key. For JSON requests, the key is base64-encoded.
599
+ # Corresponds to the JSON property `key`
600
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
601
+ # @return [String]
602
+ attr_accessor :key
603
+
604
+ # The metadata entry value. For JSON requests, the value is base64-encoded.
605
+ # Corresponds to the JSON property `value`
606
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
607
+ # @return [String]
608
+ attr_accessor :value
609
+
610
+ def initialize(**args)
611
+ update!(**args)
612
+ end
613
+
614
+ # Update properties of this object
615
+ def update!(**args)
616
+ @key = args[:key] if args.key?(:key)
617
+ @value = args[:value] if args.key?(:value)
618
+ end
619
+ end
620
+
621
621
  # A set of threats that should be added or removed from a client's local
622
622
  # database.
623
- class ThreatEntrySet
623
+ class GoogleSecuritySafebrowsingV4ThreatEntrySet
624
624
  include Google::Apis::Core::Hashable
625
625
 
626
626
  # The compression type for the entries in this set.
@@ -635,24 +635,24 @@ module Google
635
635
  # compression, or when sending non-4-byte hashes to clients that do support
636
636
  # compression.
637
637
  # Corresponds to the JSON property `rawHashes`
638
- # @return [Google::Apis::SafebrowsingV4::RawHashes]
638
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawHashes]
639
639
  attr_accessor :raw_hashes
640
640
 
641
641
  # A set of raw indices to remove from a local list.
642
642
  # Corresponds to the JSON property `rawIndices`
643
- # @return [Google::Apis::SafebrowsingV4::RawIndices]
643
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RawIndices]
644
644
  attr_accessor :raw_indices
645
645
 
646
646
  # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
647
647
  # compressed removal indices.
648
648
  # Corresponds to the JSON property `riceHashes`
649
- # @return [Google::Apis::SafebrowsingV4::RiceDeltaEncoding]
649
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding]
650
650
  attr_accessor :rice_hashes
651
651
 
652
652
  # The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or
653
653
  # compressed removal indices.
654
654
  # Corresponds to the JSON property `riceIndices`
655
- # @return [Google::Apis::SafebrowsingV4::RiceDeltaEncoding]
655
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4RiceDeltaEncoding]
656
656
  attr_accessor :rice_indices
657
657
 
658
658
  def initialize(**args)
@@ -670,18 +670,18 @@ module Google
670
670
  end
671
671
 
672
672
  #
673
- class ThreatHit
673
+ class GoogleSecuritySafebrowsingV4ThreatHit
674
674
  include Google::Apis::Core::Hashable
675
675
 
676
676
  # The client metadata associated with Safe Browsing API requests.
677
677
  # Corresponds to the JSON property `clientInfo`
678
- # @return [Google::Apis::SafebrowsingV4::ClientInfo]
678
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ClientInfo]
679
679
  attr_accessor :client_info
680
680
 
681
681
  # An individual threat; for example, a malicious URL or its hash representation.
682
682
  # Only one of these fields should be set.
683
683
  # Corresponds to the JSON property `entry`
684
- # @return [Google::Apis::SafebrowsingV4::ThreatEntry]
684
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry]
685
685
  attr_accessor :entry
686
686
 
687
687
  # The platform type reported.
@@ -691,7 +691,7 @@ module Google
691
691
 
692
692
  # The resources related to the threat hit.
693
693
  # Corresponds to the JSON property `resources`
694
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatSource>]
694
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitThreatSource>]
695
695
  attr_accessor :resources
696
696
 
697
697
  # The threat type reported.
@@ -701,7 +701,7 @@ module Google
701
701
 
702
702
  # Details about the user that encountered the threat.
703
703
  # Corresponds to the JSON property `userInfo`
704
- # @return [Google::Apis::SafebrowsingV4::UserInfo]
704
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatHitUserInfo]
705
705
  attr_accessor :user_info
706
706
 
707
707
  def initialize(**args)
@@ -719,9 +719,72 @@ module Google
719
719
  end
720
720
  end
721
721
 
722
+ # A single resource related to a threat hit.
723
+ class GoogleSecuritySafebrowsingV4ThreatHitThreatSource
724
+ include Google::Apis::Core::Hashable
725
+
726
+ # Referrer of the resource. Only set if the referrer is available.
727
+ # Corresponds to the JSON property `referrer`
728
+ # @return [String]
729
+ attr_accessor :referrer
730
+
731
+ # The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
732
+ # Corresponds to the JSON property `remoteIp`
733
+ # @return [String]
734
+ attr_accessor :remote_ip
735
+
736
+ # The type of source reported.
737
+ # Corresponds to the JSON property `type`
738
+ # @return [String]
739
+ attr_accessor :type
740
+
741
+ # The URL of the resource.
742
+ # Corresponds to the JSON property `url`
743
+ # @return [String]
744
+ attr_accessor :url
745
+
746
+ def initialize(**args)
747
+ update!(**args)
748
+ end
749
+
750
+ # Update properties of this object
751
+ def update!(**args)
752
+ @referrer = args[:referrer] if args.key?(:referrer)
753
+ @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
754
+ @type = args[:type] if args.key?(:type)
755
+ @url = args[:url] if args.key?(:url)
756
+ end
757
+ end
758
+
759
+ # Details about the user that encountered the threat.
760
+ class GoogleSecuritySafebrowsingV4ThreatHitUserInfo
761
+ include Google::Apis::Core::Hashable
762
+
763
+ # The UN M.49 region code associated with the user's location.
764
+ # Corresponds to the JSON property `regionCode`
765
+ # @return [String]
766
+ attr_accessor :region_code
767
+
768
+ # Unique user identifier defined by the client.
769
+ # Corresponds to the JSON property `userId`
770
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
771
+ # @return [String]
772
+ attr_accessor :user_id
773
+
774
+ def initialize(**args)
775
+ update!(**args)
776
+ end
777
+
778
+ # Update properties of this object
779
+ def update!(**args)
780
+ @region_code = args[:region_code] if args.key?(:region_code)
781
+ @user_id = args[:user_id] if args.key?(:user_id)
782
+ end
783
+ end
784
+
722
785
  # The information regarding one or more threats that a client submits when
723
786
  # checking for matches in threat lists.
724
- class ThreatInfo
787
+ class GoogleSecuritySafebrowsingV4ThreatInfo
725
788
  include Google::Apis::Core::Hashable
726
789
 
727
790
  # The platform types to be checked.
@@ -731,7 +794,7 @@ module Google
731
794
 
732
795
  # The threat entries to be checked.
733
796
  # Corresponds to the JSON property `threatEntries`
734
- # @return [Array<Google::Apis::SafebrowsingV4::ThreatEntry>]
797
+ # @return [Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry>]
735
798
  attr_accessor :threat_entries
736
799
 
737
800
  # The entry types to be checked.
@@ -760,7 +823,7 @@ module Google
760
823
  # Describes an individual threat list. A list is defined by three parameters:
761
824
  # the type of threat posed, the type of platform targeted by the threat, and the
762
825
  # type of entries in the list.
763
- class ThreatListDescriptor
826
+ class GoogleSecuritySafebrowsingV4ThreatListDescriptor
764
827
  include Google::Apis::Core::Hashable
765
828
 
766
829
  # The platform type targeted by the list's entries.
@@ -791,7 +854,7 @@ module Google
791
854
  end
792
855
 
793
856
  # A match when checking a threat entry in the Safe Browsing threat lists.
794
- class ThreatMatch
857
+ class GoogleSecuritySafebrowsingV4ThreatMatch
795
858
  include Google::Apis::Core::Hashable
796
859
 
797
860
  # The cache lifetime for the returned match. Clients must not cache this
@@ -808,13 +871,13 @@ module Google
808
871
  # An individual threat; for example, a malicious URL or its hash representation.
809
872
  # Only one of these fields should be set.
810
873
  # Corresponds to the JSON property `threat`
811
- # @return [Google::Apis::SafebrowsingV4::ThreatEntry]
874
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntry]
812
875
  attr_accessor :threat
813
876
 
814
877
  # The metadata associated with a specific threat entry. The client is expected
815
878
  # to know the metadata key/value pairs associated with each threat type.
816
879
  # Corresponds to the JSON property `threatEntryMetadata`
817
- # @return [Google::Apis::SafebrowsingV4::ThreatEntryMetadata]
880
+ # @return [Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatEntryMetadata]
818
881
  attr_accessor :threat_entry_metadata
819
882
 
820
883
  # The threat entry type matching this threat.
@@ -841,69 +904,6 @@ module Google
841
904
  @threat_type = args[:threat_type] if args.key?(:threat_type)
842
905
  end
843
906
  end
844
-
845
- # A single resource related to a threat hit.
846
- class ThreatSource
847
- include Google::Apis::Core::Hashable
848
-
849
- # Referrer of the resource. Only set if the referrer is available.
850
- # Corresponds to the JSON property `referrer`
851
- # @return [String]
852
- attr_accessor :referrer
853
-
854
- # The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
855
- # Corresponds to the JSON property `remoteIp`
856
- # @return [String]
857
- attr_accessor :remote_ip
858
-
859
- # The type of source reported.
860
- # Corresponds to the JSON property `type`
861
- # @return [String]
862
- attr_accessor :type
863
-
864
- # The URL of the resource.
865
- # Corresponds to the JSON property `url`
866
- # @return [String]
867
- attr_accessor :url
868
-
869
- def initialize(**args)
870
- update!(**args)
871
- end
872
-
873
- # Update properties of this object
874
- def update!(**args)
875
- @referrer = args[:referrer] if args.key?(:referrer)
876
- @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
877
- @type = args[:type] if args.key?(:type)
878
- @url = args[:url] if args.key?(:url)
879
- end
880
- end
881
-
882
- # Details about the user that encountered the threat.
883
- class UserInfo
884
- include Google::Apis::Core::Hashable
885
-
886
- # The UN M.49 region code associated with the user's location.
887
- # Corresponds to the JSON property `regionCode`
888
- # @return [String]
889
- attr_accessor :region_code
890
-
891
- # Unique user identifier defined by the client.
892
- # Corresponds to the JSON property `userId`
893
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
894
- # @return [String]
895
- attr_accessor :user_id
896
-
897
- def initialize(**args)
898
- update!(**args)
899
- end
900
-
901
- # Update properties of this object
902
- def update!(**args)
903
- @region_code = args[:region_code] if args.key?(:region_code)
904
- @user_id = args[:user_id] if args.key?(:user_id)
905
- end
906
- end
907
907
  end
908
908
  end
909
909
  end