google-api-client 0.41.1 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (571) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +352 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  11. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  16. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  18. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  19. data/generated/google/apis/admob_v1.rb +1 -1
  20. data/generated/google/apis/admob_v1/classes.rb +139 -268
  21. data/generated/google/apis/admob_v1/service.rb +11 -13
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  27. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  28. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
  29. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  30. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  31. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  32. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  37. data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
  40. data/generated/google/apis/apigee_v1/representations.rb +542 -0
  41. data/generated/google/apis/apigee_v1/service.rb +1895 -1090
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/service.rb +6 -3
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  46. data/generated/google/apis/appsmarket_v2.rb +1 -1
  47. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  50. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  51. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  52. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  53. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  54. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  55. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  56. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  57. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  58. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  59. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  60. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  63. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  64. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  65. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  66. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  67. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  68. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  69. data/generated/google/apis/blogger_v2.rb +2 -3
  70. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  71. data/generated/google/apis/blogger_v2/service.rb +1 -2
  72. data/generated/google/apis/blogger_v3.rb +2 -3
  73. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  74. data/generated/google/apis/blogger_v3/service.rb +1 -2
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/classes.rb +140 -159
  77. data/generated/google/apis/books_v1/service.rb +47 -49
  78. data/generated/google/apis/chat_v1.rb +1 -1
  79. data/generated/google/apis/chat_v1/classes.rb +130 -0
  80. data/generated/google/apis/chat_v1/representations.rb +63 -0
  81. data/generated/google/apis/chat_v1/service.rb +71 -0
  82. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  83. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  84. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  85. data/generated/google/apis/civicinfo_v2.rb +1 -1
  86. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  87. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  88. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  89. data/generated/google/apis/classroom_v1.rb +1 -1
  90. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  91. data/generated/google/apis/classroom_v1/service.rb +645 -900
  92. data/generated/google/apis/cloudasset_v1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  94. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  95. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  97. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  98. data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
  99. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  100. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  101. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  102. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  105. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  106. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  107. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  108. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  109. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  110. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  111. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  112. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  113. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  114. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  115. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  116. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  117. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  118. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
  119. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  120. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  122. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  123. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  125. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  126. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  128. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  129. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  130. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  131. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  132. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  133. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  134. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  135. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  136. data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
  137. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  138. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
  140. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  141. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  142. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  143. data/generated/google/apis/cloudshell_v1.rb +1 -1
  144. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  145. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  146. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  147. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  148. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  149. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  150. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  151. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  152. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  153. data/generated/google/apis/compute_alpha.rb +1 -1
  154. data/generated/google/apis/compute_alpha/classes.rb +402 -48
  155. data/generated/google/apis/compute_alpha/representations.rb +103 -0
  156. data/generated/google/apis/compute_alpha/service.rb +38 -36
  157. data/generated/google/apis/compute_beta.rb +1 -1
  158. data/generated/google/apis/compute_beta/classes.rb +371 -41
  159. data/generated/google/apis/compute_beta/representations.rb +94 -0
  160. data/generated/google/apis/compute_beta/service.rb +347 -36
  161. data/generated/google/apis/compute_v1.rb +1 -1
  162. data/generated/google/apis/compute_v1/classes.rb +397 -40
  163. data/generated/google/apis/compute_v1/representations.rb +110 -0
  164. data/generated/google/apis/compute_v1/service.rb +341 -48
  165. data/generated/google/apis/container_v1.rb +1 -1
  166. data/generated/google/apis/container_v1/classes.rb +129 -2
  167. data/generated/google/apis/container_v1/representations.rb +51 -0
  168. data/generated/google/apis/container_v1beta1.rb +1 -1
  169. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  170. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  171. data/generated/google/apis/content_v2.rb +1 -1
  172. data/generated/google/apis/content_v2/classes.rb +17 -2
  173. data/generated/google/apis/content_v2/representations.rb +1 -0
  174. data/generated/google/apis/content_v2_1.rb +1 -1
  175. data/generated/google/apis/content_v2_1/classes.rb +19 -4
  176. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  177. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  178. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  179. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  180. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  181. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  182. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  183. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  184. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  185. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  186. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  187. data/generated/google/apis/datafusion_v1.rb +43 -0
  188. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  189. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
  190. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  191. data/generated/google/apis/dataproc_v1.rb +1 -1
  192. data/generated/google/apis/dataproc_v1/classes.rb +207 -330
  193. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  194. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  195. data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
  196. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  197. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  198. data/generated/google/apis/datastore_v1.rb +1 -1
  199. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  200. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  201. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  202. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  203. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  205. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  206. data/generated/google/apis/dialogflow_v2.rb +1 -1
  207. data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
  208. data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
  209. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  210. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  211. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
  212. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  213. data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
  214. data/generated/google/apis/displayvideo_v1.rb +7 -1
  215. data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
  216. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  217. data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
  218. data/generated/google/apis/dlp_v2.rb +1 -1
  219. data/generated/google/apis/dlp_v2/classes.rb +10 -6
  220. data/generated/google/apis/dns_v1.rb +4 -4
  221. data/generated/google/apis/dns_v1/classes.rb +313 -162
  222. data/generated/google/apis/dns_v1/service.rb +247 -180
  223. data/generated/google/apis/dns_v1beta2.rb +4 -4
  224. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  225. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  226. data/generated/google/apis/dns_v2beta1.rb +4 -4
  227. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  228. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  229. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  230. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  231. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  232. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  234. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  235. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  237. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  238. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  239. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  240. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  241. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  242. data/generated/google/apis/drive_v2.rb +1 -1
  243. data/generated/google/apis/drive_v2/classes.rb +77 -2
  244. data/generated/google/apis/drive_v2/representations.rb +23 -0
  245. data/generated/google/apis/drive_v2/service.rb +23 -10
  246. data/generated/google/apis/drive_v3.rb +1 -1
  247. data/generated/google/apis/drive_v3/classes.rb +82 -2
  248. data/generated/google/apis/drive_v3/representations.rb +24 -0
  249. data/generated/google/apis/drive_v3/service.rb +8 -5
  250. data/generated/google/apis/driveactivity_v2.rb +1 -1
  251. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  252. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  253. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  254. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  255. data/generated/google/apis/fcm_v1.rb +1 -1
  256. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  257. data/generated/google/apis/fcm_v1/service.rb +5 -6
  258. data/generated/google/apis/file_v1.rb +1 -1
  259. data/generated/google/apis/file_v1beta1.rb +1 -1
  260. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  264. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  265. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  266. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  267. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  268. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  269. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  270. data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
  271. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  272. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  273. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  274. data/generated/google/apis/firebaseml_v1.rb +1 -1
  275. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  276. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  277. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  278. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  279. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  280. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  281. data/generated/google/apis/firestore_v1.rb +1 -1
  282. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  283. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  284. data/generated/google/apis/firestore_v1/service.rb +78 -0
  285. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  286. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  287. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  288. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  289. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  290. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  291. data/generated/google/apis/games_management_v1management.rb +1 -1
  292. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  293. data/generated/google/apis/games_v1.rb +6 -4
  294. data/generated/google/apis/games_v1/classes.rb +354 -2112
  295. data/generated/google/apis/games_v1/representations.rb +12 -647
  296. data/generated/google/apis/games_v1/service.rb +213 -1155
  297. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  298. data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
  299. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  300. data/generated/google/apis/gameservices_v1/service.rb +1432 -0
  301. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  302. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  303. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  304. data/generated/google/apis/genomics_v1.rb +1 -1
  305. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  306. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  307. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  308. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  309. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  310. data/generated/google/apis/gmail_v1.rb +3 -3
  311. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  312. data/generated/google/apis/gmail_v1/service.rb +260 -288
  313. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  314. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
  315. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  316. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
  317. data/generated/google/apis/groupssettings_v1.rb +1 -1
  318. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  319. data/generated/google/apis/healthcare_v1.rb +1 -1
  320. data/generated/google/apis/healthcare_v1/service.rb +72 -13
  321. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  322. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  323. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  324. data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
  325. data/generated/google/apis/iam_v1.rb +1 -1
  326. data/generated/google/apis/iam_v1/classes.rb +22 -3
  327. data/generated/google/apis/iam_v1/service.rb +18 -6
  328. data/generated/google/apis/language_v1.rb +1 -1
  329. data/generated/google/apis/language_v1/classes.rb +93 -111
  330. data/generated/google/apis/language_v1/service.rb +4 -4
  331. data/generated/google/apis/language_v1beta1.rb +1 -1
  332. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  333. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  334. data/generated/google/apis/language_v1beta2.rb +1 -1
  335. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  336. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  337. data/generated/google/apis/libraryagent_v1.rb +1 -1
  338. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  339. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  340. data/generated/google/apis/logging_v2.rb +1 -1
  341. data/generated/google/apis/logging_v2/classes.rb +6 -6
  342. data/generated/google/apis/managedidentities_v1.rb +1 -1
  343. data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
  344. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  345. data/generated/google/apis/managedidentities_v1/service.rb +78 -96
  346. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  347. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
  348. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  349. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
  350. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  351. data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
  352. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  353. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
  354. data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
  355. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  356. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  357. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  358. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  359. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
  360. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  361. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  362. data/generated/google/apis/ml_v1.rb +1 -1
  363. data/generated/google/apis/ml_v1/classes.rb +23 -17
  364. data/generated/google/apis/monitoring_v1.rb +1 -1
  365. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  366. data/generated/google/apis/monitoring_v3.rb +1 -1
  367. data/generated/google/apis/monitoring_v3/classes.rb +97 -47
  368. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  369. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  370. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  371. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  372. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  373. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  374. data/generated/google/apis/osconfig_v1.rb +1 -1
  375. data/generated/google/apis/osconfig_v1/classes.rb +798 -2
  376. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  377. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  378. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  379. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  380. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  381. data/generated/google/apis/people_v1.rb +1 -1
  382. data/generated/google/apis/people_v1/classes.rb +382 -401
  383. data/generated/google/apis/people_v1/representations.rb +57 -0
  384. data/generated/google/apis/people_v1/service.rb +169 -385
  385. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  386. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  387. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  388. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  389. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  390. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  391. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  392. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  393. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  394. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  395. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  396. data/generated/google/apis/pubsub_v1.rb +1 -1
  397. data/generated/google/apis/pubsub_v1/classes.rb +45 -28
  398. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  399. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  400. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  401. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  402. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  403. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  404. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
  405. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  406. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  407. data/generated/google/apis/recommender_v1.rb +1 -1
  408. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  409. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  410. data/generated/google/apis/recommender_v1/service.rb +143 -35
  411. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  412. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  413. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  414. data/generated/google/apis/redis_v1.rb +1 -1
  415. data/generated/google/apis/redis_v1/classes.rb +397 -0
  416. data/generated/google/apis/redis_v1/representations.rb +139 -0
  417. data/generated/google/apis/redis_v1beta1.rb +1 -1
  418. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  419. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  420. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  421. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  422. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  423. data/generated/google/apis/reseller_v1.rb +4 -3
  424. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  425. data/generated/google/apis/reseller_v1/service.rb +247 -252
  426. data/generated/google/apis/run_v1.rb +1 -1
  427. data/generated/google/apis/run_v1/classes.rb +835 -1248
  428. data/generated/google/apis/run_v1/service.rb +233 -247
  429. data/generated/google/apis/run_v1alpha1.rb +1 -1
  430. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  431. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  432. data/generated/google/apis/run_v1beta1.rb +1 -1
  433. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  434. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  435. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  436. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  437. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  438. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  439. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  440. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  441. data/generated/google/apis/searchconsole_v1.rb +4 -3
  442. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  443. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  444. data/generated/google/apis/securitycenter_v1.rb +1 -1
  445. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  446. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  447. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  448. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  449. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  450. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  451. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  452. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  453. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  454. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  455. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  456. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  457. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  458. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  459. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  460. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  461. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  462. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  463. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  464. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  465. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  466. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  467. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  468. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  469. data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
  470. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  471. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  472. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  473. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  474. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  475. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  476. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  477. data/generated/google/apis/serviceusage_v1.rb +1 -1
  478. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  479. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  480. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  481. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  482. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  483. data/generated/google/apis/sheets_v4.rb +1 -1
  484. data/generated/google/apis/sheets_v4/classes.rb +28 -28
  485. data/generated/google/apis/spanner_v1.rb +1 -1
  486. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  487. data/generated/google/apis/spanner_v1/service.rb +5 -0
  488. data/generated/google/apis/sql_v1beta4.rb +1 -1
  489. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  490. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  491. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  492. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  493. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  494. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  495. data/generated/google/apis/tagmanager_v1.rb +2 -3
  496. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  497. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  498. data/generated/google/apis/tagmanager_v2.rb +2 -3
  499. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  500. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  501. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  502. data/generated/google/apis/testing_v1.rb +1 -1
  503. data/generated/google/apis/testing_v1/classes.rb +80 -6
  504. data/generated/google/apis/testing_v1/representations.rb +33 -0
  505. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  506. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  507. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  508. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  509. data/generated/google/apis/tpu_v1.rb +1 -1
  510. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  511. data/generated/google/apis/tpu_v1/service.rb +21 -25
  512. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  513. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  514. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  515. data/generated/google/apis/translate_v3.rb +1 -1
  516. data/generated/google/apis/translate_v3/service.rb +14 -1
  517. data/generated/google/apis/translate_v3beta1.rb +1 -1
  518. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  519. data/generated/google/apis/vision_v1.rb +1 -1
  520. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  521. data/generated/google/apis/vision_v1/service.rb +254 -340
  522. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  523. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  524. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  525. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  526. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  527. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  528. data/generated/google/apis/webfonts_v1.rb +1 -1
  529. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  530. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  531. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  532. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  533. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  534. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  535. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  536. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  537. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  538. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  539. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  540. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  541. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  542. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  543. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  544. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  545. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  546. data/generated/google/apis/youtube_v3.rb +1 -1
  547. data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
  548. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  549. data/generated/google/apis/youtube_v3/service.rb +1225 -1274
  550. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  551. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  552. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  553. data/lib/google/apis/core/base_service.rb +7 -1
  554. data/lib/google/apis/version.rb +1 -1
  555. metadata +39 -27
  556. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
  557. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  558. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  559. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  560. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  561. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  562. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  563. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  564. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  565. data/generated/google/apis/fitness_v1.rb +0 -85
  566. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  567. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  568. data/generated/google/apis/fitness_v1/service.rb +0 -647
  569. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  570. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  571. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -256,6 +256,12 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class LinuxNodeConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
259
265
  class ListClustersResponse
260
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
267
 
@@ -358,6 +364,12 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class NodeKubeletConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
361
373
  class NodeManagement
362
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
375
 
@@ -1112,6 +1124,13 @@ module Google
1112
1124
  end
1113
1125
  end
1114
1126
 
1127
+ class LinuxNodeConfig
1128
+ # @private
1129
+ class Representation < Google::Apis::Core::JsonRepresentation
1130
+ hash :sysctls, as: 'sysctls'
1131
+ end
1132
+ end
1133
+
1115
1134
  class ListClustersResponse
1116
1135
  # @private
1117
1136
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1266,11 +1285,16 @@ module Google
1266
1285
  property :disk_size_gb, as: 'diskSizeGb'
1267
1286
  property :disk_type, as: 'diskType'
1268
1287
  property :image_type, as: 'imageType'
1288
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1beta1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1beta1::NodeKubeletConfig::Representation
1289
+
1269
1290
  hash :labels, as: 'labels'
1291
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
1292
+
1270
1293
  property :local_ssd_count, as: 'localSsdCount'
1271
1294
  property :machine_type, as: 'machineType'
1272
1295
  hash :metadata, as: 'metadata'
1273
1296
  property :min_cpu_platform, as: 'minCpuPlatform'
1297
+ property :node_group, as: 'nodeGroup'
1274
1298
  collection :oauth_scopes, as: 'oauthScopes'
1275
1299
  property :preemptible, as: 'preemptible'
1276
1300
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1beta1::ReservationAffinity, decorator: Google::Apis::ContainerV1beta1::ReservationAffinity::Representation
@@ -1288,6 +1312,15 @@ module Google
1288
1312
  end
1289
1313
  end
1290
1314
 
1315
+ class NodeKubeletConfig
1316
+ # @private
1317
+ class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :cpu_cfs_quota, as: 'cpuCfsQuota'
1319
+ property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
1320
+ property :cpu_manager_policy, as: 'cpuManagerPolicy'
1321
+ end
1322
+ end
1323
+
1291
1324
  class NodeManagement
1292
1325
  # @private
1293
1326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1430,6 +1463,7 @@ module Google
1430
1463
 
1431
1464
  property :channel, as: 'channel'
1432
1465
  property :default_version, as: 'defaultVersion'
1466
+ collection :valid_versions, as: 'validVersions'
1433
1467
  end
1434
1468
  end
1435
1469
 
@@ -1716,6 +1750,10 @@ module Google
1716
1750
  class Representation < Google::Apis::Core::JsonRepresentation
1717
1751
  property :cluster_id, as: 'clusterId'
1718
1752
  property :image_type, as: 'imageType'
1753
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1beta1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1beta1::NodeKubeletConfig::Representation
1754
+
1755
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1beta1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1beta1::LinuxNodeConfig::Representation
1756
+
1719
1757
  collection :locations, as: 'locations'
1720
1758
  property :name, as: 'name'
1721
1759
  property :node_pool_id, as: 'nodePoolId'
@@ -1769,6 +1807,7 @@ module Google
1769
1807
  # @private
1770
1808
  class Representation < Google::Apis::Core::JsonRepresentation
1771
1809
  property :identity_namespace, as: 'identityNamespace'
1810
+ property :identity_provider, as: 'identityProvider'
1772
1811
  property :workload_pool, as: 'workloadPool'
1773
1812
  end
1774
1813
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200615'
29
+ REVISION = '20200721'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -958,6 +958,11 @@ module Google
958
958
  attr_accessor :force
959
959
  alias_method :force?, :force
960
960
 
961
+ # Label IDs for the 'updatelabels' request.
962
+ # Corresponds to the JSON property `labelIds`
963
+ # @return [Array<Fixnum>]
964
+ attr_accessor :label_ids
965
+
961
966
  # Details about the `link` request.
962
967
  # Corresponds to the JSON property `linkRequest`
963
968
  # @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
@@ -997,6 +1002,7 @@ module Google
997
1002
  @account_id = args[:account_id] if args.key?(:account_id)
998
1003
  @batch_id = args[:batch_id] if args.key?(:batch_id)
999
1004
  @force = args[:force] if args.key?(:force)
1005
+ @label_ids = args[:label_ids] if args.key?(:label_ids)
1000
1006
  @link_request = args[:link_request] if args.key?(:link_request)
1001
1007
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
1002
1008
  @request_method = args[:request_method] if args.key?(:request_method)
@@ -5701,6 +5707,15 @@ module Google
5701
5707
  # - "`ptt`" (PTT Turkish Post)
5702
5708
  # - "`eub`" (ePacket)
5703
5709
  # - "`chukou1`" (Chukou1 Logistics)
5710
+ # - "`bestex`" (Best Express)
5711
+ # - "`canada post`" (Canada Post)
5712
+ # - "`purolator`" (Purolator)
5713
+ # - "`canpar`" (Canpar)
5714
+ # - "`india post`" (India Post)
5715
+ # - "`blue dart`" (Blue Dart)
5716
+ # - "`delhivery`" (Delhivery)
5717
+ # - "`dtdc`" (DTDC)
5718
+ # - "`tpc india`" (TPC India)
5704
5719
  # Supported carriers for FR are:
5705
5720
  # - "`la poste`" (La Poste) automatic status updates
5706
5721
  # - "`colissimo`" (Colissimo by La Poste) automatic status updates
@@ -9365,7 +9380,7 @@ module Google
9365
9380
  # @return [String]
9366
9381
  attr_accessor :brand
9367
9382
 
9368
- # Link to the canonical version of the landing page.
9383
+ # URL for the canonical version of your item's landing page.
9369
9384
  # Corresponds to the JSON property `canonicalLink`
9370
9385
  # @return [String]
9371
9386
  attr_accessor :canonical_link
@@ -9619,7 +9634,7 @@ module Google
9619
9634
  # @return [Fixnum]
9620
9635
  attr_accessor :min_handling_time
9621
9636
 
9622
- # Link to a mobile-optimized version of the landing page.
9637
+ # URL for the mobile-optimized version of your item's landing page.
9623
9638
  # Corresponds to the JSON property `mobileLink`
9624
9639
  # @return [String]
9625
9640
  attr_accessor :mobile_link
@@ -1886,6 +1886,7 @@ module Google
1886
1886
  property :account_id, :numeric_string => true, as: 'accountId'
1887
1887
  property :batch_id, as: 'batchId'
1888
1888
  property :force, as: 'force'
1889
+ collection :label_ids, as: 'labelIds'
1889
1890
  property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation
1890
1891
 
1891
1892
  property :merchant_id, :numeric_string => true, as: 'merchantId'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20200617'
29
+ REVISION = '20200721'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -828,6 +828,11 @@ module Google
828
828
  attr_accessor :force
829
829
  alias_method :force?, :force
830
830
 
831
+ # Label IDs for the 'updatelabels' request.
832
+ # Corresponds to the JSON property `labelIds`
833
+ # @return [Array<Fixnum>]
834
+ attr_accessor :label_ids
835
+
831
836
  # Details about the `link` request.
832
837
  # Corresponds to the JSON property `linkRequest`
833
838
  # @return [Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest]
@@ -867,6 +872,7 @@ module Google
867
872
  @account_id = args[:account_id] if args.key?(:account_id)
868
873
  @batch_id = args[:batch_id] if args.key?(:batch_id)
869
874
  @force = args[:force] if args.key?(:force)
875
+ @label_ids = args[:label_ids] if args.key?(:label_ids)
870
876
  @link_request = args[:link_request] if args.key?(:link_request)
871
877
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
872
878
  @method_prop = args[:method_prop] if args.key?(:method_prop)
@@ -5491,6 +5497,15 @@ module Google
5491
5497
  # - "`ptt`" (PTT Turkish Post)
5492
5498
  # - "`eub`" (ePacket)
5493
5499
  # - "`chukou1`" (Chukou1 Logistics)
5500
+ # - "`bestex`" (Best Express)
5501
+ # - "`canada post`" (Canada Post)
5502
+ # - "`purolator`" (Purolator)
5503
+ # - "`canpar`" (Canpar)
5504
+ # - "`india post`" (India Post)
5505
+ # - "`blue dart`" (Blue Dart)
5506
+ # - "`delhivery`" (Delhivery)
5507
+ # - "`dtdc`" (DTDC)
5508
+ # - "`tpc india`" (TPC India)
5494
5509
  # Supported carriers for FR are:
5495
5510
  # - "`la poste`" (La Poste) automatic status updates
5496
5511
  # - "`colissimo`" (Colissimo by La Poste) automatic status updates
@@ -8577,7 +8592,7 @@ module Google
8577
8592
  # @return [String]
8578
8593
  attr_accessor :brand
8579
8594
 
8580
- # Link to the canonical version of the landing page.
8595
+ # URL for the canonical version of your item's landing page.
8581
8596
  # Corresponds to the JSON property `canonicalLink`
8582
8597
  # @return [String]
8583
8598
  attr_accessor :canonical_link
@@ -8794,7 +8809,7 @@ module Google
8794
8809
  # @return [Fixnum]
8795
8810
  attr_accessor :min_handling_time
8796
8811
 
8797
- # Link to a mobile-optimized version of the landing page.
8812
+ # URL for the mobile-optimized version of your item's landing page.
8798
8813
  # Corresponds to the JSON property `mobileLink`
8799
8814
  # @return [String]
8800
8815
  attr_accessor :mobile_link
@@ -8829,12 +8844,12 @@ module Google
8829
8844
  # @return [Google::Apis::ContentV2_1::Price]
8830
8845
  attr_accessor :price
8831
8846
 
8832
- # Technical specification or additional product details
8847
+ # Technical specification or additional product details.
8833
8848
  # Corresponds to the JSON property `productDetails`
8834
8849
  # @return [Array<Google::Apis::ContentV2_1::ProductProductDetail>]
8835
8850
  attr_accessor :product_details
8836
8851
 
8837
- # List of important bullet points describing the product
8852
+ # Bullet points describing the most relevant highlights of a product.
8838
8853
  # Corresponds to the JSON property `productHighlights`
8839
8854
  # @return [Array<String>]
8840
8855
  attr_accessor :product_highlights
@@ -2005,6 +2005,7 @@ module Google
2005
2005
  property :account_id, :numeric_string => true, as: 'accountId'
2006
2006
  property :batch_id, as: 'batchId'
2007
2007
  property :force, as: 'force'
2008
+ collection :label_ids, as: 'labelIds'
2008
2009
  property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest::Representation
2009
2010
 
2010
2011
  property :merchant_id, :numeric_string => true, as: 'merchantId'
@@ -12,20 +12,20 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/androidpublisher_v1/service.rb'
16
- require 'google/apis/androidpublisher_v1/classes.rb'
17
- require 'google/apis/androidpublisher_v1/representations.rb'
15
+ require 'google/apis/customsearch_v1/service.rb'
16
+ require 'google/apis/customsearch_v1/classes.rb'
17
+ require 'google/apis/customsearch_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Play Developer API
21
+ # Custom Search API
22
22
  #
23
- # Accesses Android application developers' Google Play accounts.
23
+ # Searches over a website or collection of websites
24
24
  #
25
- # @see https://developers.google.com/android-publisher
26
- module AndroidpublisherV1
25
+ # @see https://developers.google.com/custom-search/v1/introduction
26
+ module CustomsearchV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200428'
28
+ REVISION = '20200801'
29
29
  end
30
30
  end
31
31
  end
@@ -0,0 +1,1421 @@
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 CustomsearchV1
24
+
25
+ # Promotion result.
26
+ class Promotion
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # An array of block objects for this promotion. See [Google WebSearch Protocol
30
+ # reference](https://developers.google.com/custom-search/docs/xml_results) for
31
+ # more information.
32
+ # Corresponds to the JSON property `bodyLines`
33
+ # @return [Array<Google::Apis::CustomsearchV1::Promotion::BodyLine>]
34
+ attr_accessor :body_lines
35
+
36
+ # An abridged version of this search's result URL, e.g. www.example.com.
37
+ # Corresponds to the JSON property `displayLink`
38
+ # @return [String]
39
+ attr_accessor :display_link
40
+
41
+ # The title of the promotion, in HTML.
42
+ # Corresponds to the JSON property `htmlTitle`
43
+ # @return [String]
44
+ attr_accessor :html_title
45
+
46
+ # Image belonging to a promotion.
47
+ # Corresponds to the JSON property `image`
48
+ # @return [Google::Apis::CustomsearchV1::Promotion::Image]
49
+ attr_accessor :image
50
+
51
+ # The URL of the promotion.
52
+ # Corresponds to the JSON property `link`
53
+ # @return [String]
54
+ attr_accessor :link
55
+
56
+ # The title of the promotion.
57
+ # Corresponds to the JSON property `title`
58
+ # @return [String]
59
+ attr_accessor :title
60
+
61
+ def initialize(**args)
62
+ update!(**args)
63
+ end
64
+
65
+ # Update properties of this object
66
+ def update!(**args)
67
+ @body_lines = args[:body_lines] if args.key?(:body_lines)
68
+ @display_link = args[:display_link] if args.key?(:display_link)
69
+ @html_title = args[:html_title] if args.key?(:html_title)
70
+ @image = args[:image] if args.key?(:image)
71
+ @link = args[:link] if args.key?(:link)
72
+ @title = args[:title] if args.key?(:title)
73
+ end
74
+
75
+ # Block object belonging to a promotion.
76
+ class BodyLine
77
+ include Google::Apis::Core::Hashable
78
+
79
+ # The block object's text in HTML, if it has text.
80
+ # Corresponds to the JSON property `htmlTitle`
81
+ # @return [String]
82
+ attr_accessor :html_title
83
+
84
+ # The anchor text of the block object's link, if it has a link.
85
+ # Corresponds to the JSON property `link`
86
+ # @return [String]
87
+ attr_accessor :link
88
+
89
+ # The block object's text, if it has text.
90
+ # Corresponds to the JSON property `title`
91
+ # @return [String]
92
+ attr_accessor :title
93
+
94
+ # The URL of the block object's link, if it has one.
95
+ # Corresponds to the JSON property `url`
96
+ # @return [String]
97
+ attr_accessor :url
98
+
99
+ def initialize(**args)
100
+ update!(**args)
101
+ end
102
+
103
+ # Update properties of this object
104
+ def update!(**args)
105
+ @html_title = args[:html_title] if args.key?(:html_title)
106
+ @link = args[:link] if args.key?(:link)
107
+ @title = args[:title] if args.key?(:title)
108
+ @url = args[:url] if args.key?(:url)
109
+ end
110
+ end
111
+
112
+ # Image belonging to a promotion.
113
+ class Image
114
+ include Google::Apis::Core::Hashable
115
+
116
+ # Image height in pixels.
117
+ # Corresponds to the JSON property `height`
118
+ # @return [Fixnum]
119
+ attr_accessor :height
120
+
121
+ # URL of the image for this promotion link.
122
+ # Corresponds to the JSON property `source`
123
+ # @return [String]
124
+ attr_accessor :source
125
+
126
+ # Image width in pixels.
127
+ # Corresponds to the JSON property `width`
128
+ # @return [Fixnum]
129
+ attr_accessor :width
130
+
131
+ def initialize(**args)
132
+ update!(**args)
133
+ end
134
+
135
+ # Update properties of this object
136
+ def update!(**args)
137
+ @height = args[:height] if args.key?(:height)
138
+ @source = args[:source] if args.key?(:source)
139
+ @width = args[:width] if args.key?(:width)
140
+ end
141
+ end
142
+ end
143
+
144
+ # A custom search result.
145
+ class Result
146
+ include Google::Apis::Core::Hashable
147
+
148
+ # Indicates the ID of Google's cached version of the search result.
149
+ # Corresponds to the JSON property `cacheId`
150
+ # @return [String]
151
+ attr_accessor :cache_id
152
+
153
+ # An abridged version of this search result’s URL, e.g. www.example.com.
154
+ # Corresponds to the JSON property `displayLink`
155
+ # @return [String]
156
+ attr_accessor :display_link
157
+
158
+ # The file format of the search result.
159
+ # Corresponds to the JSON property `fileFormat`
160
+ # @return [String]
161
+ attr_accessor :file_format
162
+
163
+ # The URL displayed after the snippet for each search result.
164
+ # Corresponds to the JSON property `formattedUrl`
165
+ # @return [String]
166
+ attr_accessor :formatted_url
167
+
168
+ # The HTML-formatted URL displayed after the snippet for each search result.
169
+ # Corresponds to the JSON property `htmlFormattedUrl`
170
+ # @return [String]
171
+ attr_accessor :html_formatted_url
172
+
173
+ # The snippet of the search result, in HTML.
174
+ # Corresponds to the JSON property `htmlSnippet`
175
+ # @return [String]
176
+ attr_accessor :html_snippet
177
+
178
+ # The title of the search result, in HTML.
179
+ # Corresponds to the JSON property `htmlTitle`
180
+ # @return [String]
181
+ attr_accessor :html_title
182
+
183
+ # Image belonging to a custom search result.
184
+ # Corresponds to the JSON property `image`
185
+ # @return [Google::Apis::CustomsearchV1::Result::Image]
186
+ attr_accessor :image
187
+
188
+ # A unique identifier for the type of current object. For this API, it is `
189
+ # customsearch#result.`
190
+ # Corresponds to the JSON property `kind`
191
+ # @return [String]
192
+ attr_accessor :kind
193
+
194
+ # Encapsulates all information about [refinement labels](https://developers.
195
+ # google.com/custom-search/docs/xml_results).
196
+ # Corresponds to the JSON property `labels`
197
+ # @return [Array<Google::Apis::CustomsearchV1::Result::Label>]
198
+ attr_accessor :labels
199
+
200
+ # The full URL to which the search result is pointing, e.g. http://www.example.
201
+ # com/foo/bar.
202
+ # Corresponds to the JSON property `link`
203
+ # @return [String]
204
+ attr_accessor :link
205
+
206
+ # The MIME type of the search result.
207
+ # Corresponds to the JSON property `mime`
208
+ # @return [String]
209
+ attr_accessor :mime
210
+
211
+ # Contains [PageMap](https://developers.google.com/custom-search/docs/
212
+ # structured_data#pagemaps) information for this search result.
213
+ # Corresponds to the JSON property `pagemap`
214
+ # @return [Hash<String,Object>]
215
+ attr_accessor :pagemap
216
+
217
+ # The snippet of the search result, in plain text.
218
+ # Corresponds to the JSON property `snippet`
219
+ # @return [String]
220
+ attr_accessor :snippet
221
+
222
+ # The title of the search result, in plain text.
223
+ # Corresponds to the JSON property `title`
224
+ # @return [String]
225
+ attr_accessor :title
226
+
227
+ def initialize(**args)
228
+ update!(**args)
229
+ end
230
+
231
+ # Update properties of this object
232
+ def update!(**args)
233
+ @cache_id = args[:cache_id] if args.key?(:cache_id)
234
+ @display_link = args[:display_link] if args.key?(:display_link)
235
+ @file_format = args[:file_format] if args.key?(:file_format)
236
+ @formatted_url = args[:formatted_url] if args.key?(:formatted_url)
237
+ @html_formatted_url = args[:html_formatted_url] if args.key?(:html_formatted_url)
238
+ @html_snippet = args[:html_snippet] if args.key?(:html_snippet)
239
+ @html_title = args[:html_title] if args.key?(:html_title)
240
+ @image = args[:image] if args.key?(:image)
241
+ @kind = args[:kind] if args.key?(:kind)
242
+ @labels = args[:labels] if args.key?(:labels)
243
+ @link = args[:link] if args.key?(:link)
244
+ @mime = args[:mime] if args.key?(:mime)
245
+ @pagemap = args[:pagemap] if args.key?(:pagemap)
246
+ @snippet = args[:snippet] if args.key?(:snippet)
247
+ @title = args[:title] if args.key?(:title)
248
+ end
249
+
250
+ # Image belonging to a custom search result.
251
+ class Image
252
+ include Google::Apis::Core::Hashable
253
+
254
+ # The size of the image, in pixels.
255
+ # Corresponds to the JSON property `byteSize`
256
+ # @return [Fixnum]
257
+ attr_accessor :byte_size
258
+
259
+ # A URL pointing to the webpage hosting the image.
260
+ # Corresponds to the JSON property `contextLink`
261
+ # @return [String]
262
+ attr_accessor :context_link
263
+
264
+ # The height of the image, in pixels.
265
+ # Corresponds to the JSON property `height`
266
+ # @return [Fixnum]
267
+ attr_accessor :height
268
+
269
+ # The height of the thumbnail image, in pixels.
270
+ # Corresponds to the JSON property `thumbnailHeight`
271
+ # @return [Fixnum]
272
+ attr_accessor :thumbnail_height
273
+
274
+ # A URL to the thumbnail image.
275
+ # Corresponds to the JSON property `thumbnailLink`
276
+ # @return [String]
277
+ attr_accessor :thumbnail_link
278
+
279
+ # The width of the thumbnail image, in pixels.
280
+ # Corresponds to the JSON property `thumbnailWidth`
281
+ # @return [Fixnum]
282
+ attr_accessor :thumbnail_width
283
+
284
+ # The width of the image, in pixels.
285
+ # Corresponds to the JSON property `width`
286
+ # @return [Fixnum]
287
+ attr_accessor :width
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @byte_size = args[:byte_size] if args.key?(:byte_size)
296
+ @context_link = args[:context_link] if args.key?(:context_link)
297
+ @height = args[:height] if args.key?(:height)
298
+ @thumbnail_height = args[:thumbnail_height] if args.key?(:thumbnail_height)
299
+ @thumbnail_link = args[:thumbnail_link] if args.key?(:thumbnail_link)
300
+ @thumbnail_width = args[:thumbnail_width] if args.key?(:thumbnail_width)
301
+ @width = args[:width] if args.key?(:width)
302
+ end
303
+ end
304
+
305
+ # Refinement label associated with a custom search result.
306
+ class Label
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # The display name of a refinement label. This is the name you should display in
310
+ # your user interface.
311
+ # Corresponds to the JSON property `displayName`
312
+ # @return [String]
313
+ attr_accessor :display_name
314
+
315
+ # Refinement label and the associated refinement operation.
316
+ # Corresponds to the JSON property `label_with_op`
317
+ # @return [String]
318
+ attr_accessor :label_with_op
319
+
320
+ # The name of a refinement label, which you can use to refine searches. Don't
321
+ # display this in your user interface; instead, use displayName.
322
+ # Corresponds to the JSON property `name`
323
+ # @return [String]
324
+ attr_accessor :name
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @display_name = args[:display_name] if args.key?(:display_name)
333
+ @label_with_op = args[:label_with_op] if args.key?(:label_with_op)
334
+ @name = args[:name] if args.key?(:name)
335
+ end
336
+ end
337
+ end
338
+
339
+ # Response to a custom search request.
340
+ class Search
341
+ include Google::Apis::Core::Hashable
342
+
343
+ # Metadata and refinements associated with the given search engine, including: *
344
+ # The name of the search engine that was used for the query. * A set of [facet
345
+ # objects](https://developers.google.com/custom-search/docs/refinements#create) (
346
+ # refinements) you can use for refining a search.
347
+ # Corresponds to the JSON property `context`
348
+ # @return [Hash<String,Object>]
349
+ attr_accessor :context
350
+
351
+ # The current set of custom search results.
352
+ # Corresponds to the JSON property `items`
353
+ # @return [Array<Google::Apis::CustomsearchV1::Result>]
354
+ attr_accessor :items
355
+
356
+ # Unique identifier for the type of current object. For this API, it is
357
+ # customsearch#search.
358
+ # Corresponds to the JSON property `kind`
359
+ # @return [String]
360
+ attr_accessor :kind
361
+
362
+ # The set of [promotions](https://developers.google.com/custom-search/docs/
363
+ # promotions). Present only if the custom search engine's configuration files
364
+ # define any promotions for the given query.
365
+ # Corresponds to the JSON property `promotions`
366
+ # @return [Array<Google::Apis::CustomsearchV1::Promotion>]
367
+ attr_accessor :promotions
368
+
369
+ # Query metadata for the previous, current, and next pages of results.
370
+ # Corresponds to the JSON property `queries`
371
+ # @return [Google::Apis::CustomsearchV1::Search::Queries]
372
+ attr_accessor :queries
373
+
374
+ # Metadata about a search operation.
375
+ # Corresponds to the JSON property `searchInformation`
376
+ # @return [Google::Apis::CustomsearchV1::Search::SearchInformation]
377
+ attr_accessor :search_information
378
+
379
+ # Spell correction information for a query.
380
+ # Corresponds to the JSON property `spelling`
381
+ # @return [Google::Apis::CustomsearchV1::Search::Spelling]
382
+ attr_accessor :spelling
383
+
384
+ # OpenSearch template and URL.
385
+ # Corresponds to the JSON property `url`
386
+ # @return [Google::Apis::CustomsearchV1::Search::Url]
387
+ attr_accessor :url
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @context = args[:context] if args.key?(:context)
396
+ @items = args[:items] if args.key?(:items)
397
+ @kind = args[:kind] if args.key?(:kind)
398
+ @promotions = args[:promotions] if args.key?(:promotions)
399
+ @queries = args[:queries] if args.key?(:queries)
400
+ @search_information = args[:search_information] if args.key?(:search_information)
401
+ @spelling = args[:spelling] if args.key?(:spelling)
402
+ @url = args[:url] if args.key?(:url)
403
+ end
404
+
405
+ # Query metadata for the previous, current, and next pages of results.
406
+ class Queries
407
+ include Google::Apis::Core::Hashable
408
+
409
+ # Metadata representing the next page of results, if applicable.
410
+ # Corresponds to the JSON property `nextPage`
411
+ # @return [Array<Google::Apis::CustomsearchV1::Search::Queries::NextPage>]
412
+ attr_accessor :next_page
413
+
414
+ # Metadata representing the previous page of results, if applicable.
415
+ # Corresponds to the JSON property `previousPage`
416
+ # @return [Array<Google::Apis::CustomsearchV1::Search::Queries::PreviousPage>]
417
+ attr_accessor :previous_page
418
+
419
+ # Metadata representing the current request.
420
+ # Corresponds to the JSON property `request`
421
+ # @return [Array<Google::Apis::CustomsearchV1::Search::Queries::Request>]
422
+ attr_accessor :request
423
+
424
+ def initialize(**args)
425
+ update!(**args)
426
+ end
427
+
428
+ # Update properties of this object
429
+ def update!(**args)
430
+ @next_page = args[:next_page] if args.key?(:next_page)
431
+ @previous_page = args[:previous_page] if args.key?(:previous_page)
432
+ @request = args[:request] if args.key?(:request)
433
+ end
434
+
435
+ # Custom search request metadata.
436
+ class NextPage
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # Number of search results returned in this set.
440
+ # Corresponds to the JSON property `count`
441
+ # @return [Fixnum]
442
+ attr_accessor :count
443
+
444
+ # Restricts search results to documents originating in a particular country. You
445
+ # may use [Boolean operators](https://developers.google.com/custom-search/docs/
446
+ # xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
447
+ # determines the country of a document by analyzing the following: * The top-
448
+ # level domain (TLD) of the document's URL. * The geographic location of the web
449
+ # server's IP address. See [Country (cr) Parameter Values](https://developers.
450
+ # google.com/custom-search/docs/xml_results#countryCollections) for a list of
451
+ # valid values for this parameter.
452
+ # Corresponds to the JSON property `cr`
453
+ # @return [String]
454
+ attr_accessor :cr
455
+
456
+ # The identifier of an engine created using the Programmable Search Engine [
457
+ # Control Panel](https://programmablesearchengine.google.com/). This is a custom
458
+ # property not defined in the OpenSearch spec. This parameter is **required**.
459
+ # Corresponds to the JSON property `cx`
460
+ # @return [String]
461
+ attr_accessor :cx
462
+
463
+ # Restricts results to URLs based on date. Supported values include: * `d[number]
464
+ # `: requests results from the specified number of past days. * `w[number]`:
465
+ # requests results from the specified number of past weeks. * `m[number]`:
466
+ # requests results from the specified number of past months. * `y[number]`:
467
+ # requests results from the specified number of past years.
468
+ # Corresponds to the JSON property `dateRestrict`
469
+ # @return [String]
470
+ attr_accessor :date_restrict
471
+
472
+ # Enables or disables the [Simplified and Traditional Chinese Search](https://
473
+ # developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
474
+ # Supported values are: * `0`: enabled (default) * `1`: disabled
475
+ # Corresponds to the JSON property `disableCnTwTranslation`
476
+ # @return [String]
477
+ attr_accessor :disable_cn_tw_translation
478
+
479
+ # Identifies a phrase that all documents in the search results must contain.
480
+ # Corresponds to the JSON property `exactTerms`
481
+ # @return [String]
482
+ attr_accessor :exact_terms
483
+
484
+ # Identifies a word or phrase that should not appear in any documents in the
485
+ # search results.
486
+ # Corresponds to the JSON property `excludeTerms`
487
+ # @return [String]
488
+ attr_accessor :exclude_terms
489
+
490
+ # Restricts results to files of a specified extension. Filetypes supported by
491
+ # Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
492
+ # ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
493
+ # Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
494
+ # PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
495
+ # wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
496
+ # swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
497
+ # An up-to-date list can always be found in Google's [file type FAQ](https://
498
+ # support.google.com/webmasters/answer/35287).
499
+ # Corresponds to the JSON property `fileType`
500
+ # @return [String]
501
+ attr_accessor :file_type
502
+
503
+ # Activates or deactivates the automatic filtering of Google search results. See
504
+ # [Automatic Filtering](https://developers.google.com/custom-search/docs/
505
+ # xml_results#automaticFiltering) for more information about Google's search
506
+ # results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
507
+ # Enabled (default) **Note**: By default, Google applies filtering to all search
508
+ # results to improve the quality of those results.
509
+ # Corresponds to the JSON property `filter`
510
+ # @return [String]
511
+ attr_accessor :filter
512
+
513
+ # Boosts search results whose country of origin matches the parameter value. See
514
+ # [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
515
+ # countryCodes) for a list of valid values. Specifying a `gl` parameter value in
516
+ # WebSearch requests should improve the relevance of results. This is
517
+ # particularly true for international customers and, even more specifically, for
518
+ # customers in English-speaking countries other than the United States.
519
+ # Corresponds to the JSON property `gl`
520
+ # @return [String]
521
+ attr_accessor :gl
522
+
523
+ # Specifies the Google domain (for example, google.com, google.de, or google.fr)
524
+ # to which the search should be limited.
525
+ # Corresponds to the JSON property `googleHost`
526
+ # @return [String]
527
+ attr_accessor :google_host
528
+
529
+ # Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
530
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
531
+ # the query.
532
+ # Corresponds to the JSON property `highRange`
533
+ # @return [String]
534
+ attr_accessor :high_range
535
+
536
+ # Specifies the interface language (host language) of your user interface.
537
+ # Explicitly setting this parameter improves the performance and the quality of
538
+ # your search results. See the [Interface Languages](https://developers.google.
539
+ # com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
540
+ # Internationalizing Queries and Results Presentation](https://developers.google.
541
+ # com/custom-search/docs/xml_results#wsInternationalizing) for more information,
542
+ # and [Supported Interface Languages](https://developers.google.com/custom-
543
+ # search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
544
+ # languages.
545
+ # Corresponds to the JSON property `hl`
546
+ # @return [String]
547
+ attr_accessor :hl
548
+
549
+ # Appends the specified query terms to the query, as if they were combined with
550
+ # a logical `AND` operator.
551
+ # Corresponds to the JSON property `hq`
552
+ # @return [String]
553
+ attr_accessor :hq
554
+
555
+ # Restricts results to images of a specified color type. Supported values are: *
556
+ # `mono` (black and white) * `gray` (grayscale) * `color` (color)
557
+ # Corresponds to the JSON property `imgColorType`
558
+ # @return [String]
559
+ attr_accessor :img_color_type
560
+
561
+ # Restricts results to images with a specific dominant color. Supported values
562
+ # are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
563
+ # pink` * `white` * `gray` * `black` * `brown`
564
+ # Corresponds to the JSON property `imgDominantColor`
565
+ # @return [String]
566
+ attr_accessor :img_dominant_color
567
+
568
+ # Restricts results to images of a specified size. Supported values are: * `icon`
569
+ # (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
570
+ # huge` (extra-large)
571
+ # Corresponds to the JSON property `imgSize`
572
+ # @return [String]
573
+ attr_accessor :img_size
574
+
575
+ # Restricts results to images of a specified type. Supported values are: * `
576
+ # clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
577
+ # Photo) * `animated` (Animated) * `stock` (Stock)
578
+ # Corresponds to the JSON property `imgType`
579
+ # @return [String]
580
+ attr_accessor :img_type
581
+
582
+ # The character encoding supported for search requests.
583
+ # Corresponds to the JSON property `inputEncoding`
584
+ # @return [String]
585
+ attr_accessor :input_encoding
586
+
587
+ # The language of the search results.
588
+ # Corresponds to the JSON property `language`
589
+ # @return [String]
590
+ attr_accessor :language
591
+
592
+ # Specifies that all results should contain a link to a specific URL.
593
+ # Corresponds to the JSON property `linkSite`
594
+ # @return [String]
595
+ attr_accessor :link_site
596
+
597
+ # Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
598
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
599
+ # the query.
600
+ # Corresponds to the JSON property `lowRange`
601
+ # @return [String]
602
+ attr_accessor :low_range
603
+
604
+ # Provides additional search terms to check for in a document, where each
605
+ # document in the search results must contain at least one of the additional
606
+ # search terms. You can also use the [Boolean OR](https://developers.google.com/
607
+ # custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
608
+ # Corresponds to the JSON property `orTerms`
609
+ # @return [String]
610
+ attr_accessor :or_terms
611
+
612
+ # The character encoding supported for search results.
613
+ # Corresponds to the JSON property `outputEncoding`
614
+ # @return [String]
615
+ attr_accessor :output_encoding
616
+
617
+ # Specifies that all search results should be pages that are related to the
618
+ # specified URL. The parameter value should be a URL.
619
+ # Corresponds to the JSON property `relatedSite`
620
+ # @return [String]
621
+ attr_accessor :related_site
622
+
623
+ # Filters based on licensing. Supported values include: * `cc_publicdomain` * `
624
+ # cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
625
+ # Corresponds to the JSON property `rights`
626
+ # @return [String]
627
+ attr_accessor :rights
628
+
629
+ # Specifies the [SafeSearch level](https://developers.google.com/custom-search/
630
+ # docs/xml_results#safeSearchLevels) used for filtering out adult results. This
631
+ # is a custom property not defined in the OpenSearch spec. Valid parameter
632
+ # values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
633
+ # Corresponds to the JSON property `safe`
634
+ # @return [String]
635
+ attr_accessor :safe
636
+
637
+ # The search terms entered by the user.
638
+ # Corresponds to the JSON property `searchTerms`
639
+ # @return [String]
640
+ attr_accessor :search_terms
641
+
642
+ # Allowed values are `web` or `image`. If unspecified, results are limited to
643
+ # webpages.
644
+ # Corresponds to the JSON property `searchType`
645
+ # @return [String]
646
+ attr_accessor :search_type
647
+
648
+ # Restricts results to URLs from a specified site.
649
+ # Corresponds to the JSON property `siteSearch`
650
+ # @return [String]
651
+ attr_accessor :site_search
652
+
653
+ # Specifies whether to include or exclude results from the site named in the `
654
+ # sitesearch` parameter. Supported values are: * `i`: include content from site *
655
+ # `e`: exclude content from site
656
+ # Corresponds to the JSON property `siteSearchFilter`
657
+ # @return [String]
658
+ attr_accessor :site_search_filter
659
+
660
+ # Specifies that results should be sorted according to the specified expression.
661
+ # For example, sort by date.
662
+ # Corresponds to the JSON property `sort`
663
+ # @return [String]
664
+ attr_accessor :sort
665
+
666
+ # The index of the current set of search results into the total set of results,
667
+ # where the index of the first result is 1.
668
+ # Corresponds to the JSON property `startIndex`
669
+ # @return [Fixnum]
670
+ attr_accessor :start_index
671
+
672
+ # The page number of this set of results, where the page length is set by the `
673
+ # count` property.
674
+ # Corresponds to the JSON property `startPage`
675
+ # @return [Fixnum]
676
+ attr_accessor :start_page
677
+
678
+ # A description of the query.
679
+ # Corresponds to the JSON property `title`
680
+ # @return [String]
681
+ attr_accessor :title
682
+
683
+ # Estimated number of total search results. May not be accurate.
684
+ # Corresponds to the JSON property `totalResults`
685
+ # @return [Fixnum]
686
+ attr_accessor :total_results
687
+
688
+ def initialize(**args)
689
+ update!(**args)
690
+ end
691
+
692
+ # Update properties of this object
693
+ def update!(**args)
694
+ @count = args[:count] if args.key?(:count)
695
+ @cr = args[:cr] if args.key?(:cr)
696
+ @cx = args[:cx] if args.key?(:cx)
697
+ @date_restrict = args[:date_restrict] if args.key?(:date_restrict)
698
+ @disable_cn_tw_translation = args[:disable_cn_tw_translation] if args.key?(:disable_cn_tw_translation)
699
+ @exact_terms = args[:exact_terms] if args.key?(:exact_terms)
700
+ @exclude_terms = args[:exclude_terms] if args.key?(:exclude_terms)
701
+ @file_type = args[:file_type] if args.key?(:file_type)
702
+ @filter = args[:filter] if args.key?(:filter)
703
+ @gl = args[:gl] if args.key?(:gl)
704
+ @google_host = args[:google_host] if args.key?(:google_host)
705
+ @high_range = args[:high_range] if args.key?(:high_range)
706
+ @hl = args[:hl] if args.key?(:hl)
707
+ @hq = args[:hq] if args.key?(:hq)
708
+ @img_color_type = args[:img_color_type] if args.key?(:img_color_type)
709
+ @img_dominant_color = args[:img_dominant_color] if args.key?(:img_dominant_color)
710
+ @img_size = args[:img_size] if args.key?(:img_size)
711
+ @img_type = args[:img_type] if args.key?(:img_type)
712
+ @input_encoding = args[:input_encoding] if args.key?(:input_encoding)
713
+ @language = args[:language] if args.key?(:language)
714
+ @link_site = args[:link_site] if args.key?(:link_site)
715
+ @low_range = args[:low_range] if args.key?(:low_range)
716
+ @or_terms = args[:or_terms] if args.key?(:or_terms)
717
+ @output_encoding = args[:output_encoding] if args.key?(:output_encoding)
718
+ @related_site = args[:related_site] if args.key?(:related_site)
719
+ @rights = args[:rights] if args.key?(:rights)
720
+ @safe = args[:safe] if args.key?(:safe)
721
+ @search_terms = args[:search_terms] if args.key?(:search_terms)
722
+ @search_type = args[:search_type] if args.key?(:search_type)
723
+ @site_search = args[:site_search] if args.key?(:site_search)
724
+ @site_search_filter = args[:site_search_filter] if args.key?(:site_search_filter)
725
+ @sort = args[:sort] if args.key?(:sort)
726
+ @start_index = args[:start_index] if args.key?(:start_index)
727
+ @start_page = args[:start_page] if args.key?(:start_page)
728
+ @title = args[:title] if args.key?(:title)
729
+ @total_results = args[:total_results] if args.key?(:total_results)
730
+ end
731
+ end
732
+
733
+ # Custom search request metadata.
734
+ class PreviousPage
735
+ include Google::Apis::Core::Hashable
736
+
737
+ # Number of search results returned in this set.
738
+ # Corresponds to the JSON property `count`
739
+ # @return [Fixnum]
740
+ attr_accessor :count
741
+
742
+ # Restricts search results to documents originating in a particular country. You
743
+ # may use [Boolean operators](https://developers.google.com/custom-search/docs/
744
+ # xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
745
+ # determines the country of a document by analyzing the following: * The top-
746
+ # level domain (TLD) of the document's URL. * The geographic location of the web
747
+ # server's IP address. See [Country (cr) Parameter Values](https://developers.
748
+ # google.com/custom-search/docs/xml_results#countryCollections) for a list of
749
+ # valid values for this parameter.
750
+ # Corresponds to the JSON property `cr`
751
+ # @return [String]
752
+ attr_accessor :cr
753
+
754
+ # The identifier of an engine created using the Programmable Search Engine [
755
+ # Control Panel](https://programmablesearchengine.google.com/). This is a custom
756
+ # property not defined in the OpenSearch spec. This parameter is **required**.
757
+ # Corresponds to the JSON property `cx`
758
+ # @return [String]
759
+ attr_accessor :cx
760
+
761
+ # Restricts results to URLs based on date. Supported values include: * `d[number]
762
+ # `: requests results from the specified number of past days. * `w[number]`:
763
+ # requests results from the specified number of past weeks. * `m[number]`:
764
+ # requests results from the specified number of past months. * `y[number]`:
765
+ # requests results from the specified number of past years.
766
+ # Corresponds to the JSON property `dateRestrict`
767
+ # @return [String]
768
+ attr_accessor :date_restrict
769
+
770
+ # Enables or disables the [Simplified and Traditional Chinese Search](https://
771
+ # developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
772
+ # Supported values are: * `0`: enabled (default) * `1`: disabled
773
+ # Corresponds to the JSON property `disableCnTwTranslation`
774
+ # @return [String]
775
+ attr_accessor :disable_cn_tw_translation
776
+
777
+ # Identifies a phrase that all documents in the search results must contain.
778
+ # Corresponds to the JSON property `exactTerms`
779
+ # @return [String]
780
+ attr_accessor :exact_terms
781
+
782
+ # Identifies a word or phrase that should not appear in any documents in the
783
+ # search results.
784
+ # Corresponds to the JSON property `excludeTerms`
785
+ # @return [String]
786
+ attr_accessor :exclude_terms
787
+
788
+ # Restricts results to files of a specified extension. Filetypes supported by
789
+ # Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
790
+ # ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
791
+ # Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
792
+ # PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
793
+ # wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
794
+ # swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
795
+ # An up-to-date list can always be found in Google's [file type FAQ](https://
796
+ # support.google.com/webmasters/answer/35287).
797
+ # Corresponds to the JSON property `fileType`
798
+ # @return [String]
799
+ attr_accessor :file_type
800
+
801
+ # Activates or deactivates the automatic filtering of Google search results. See
802
+ # [Automatic Filtering](https://developers.google.com/custom-search/docs/
803
+ # xml_results#automaticFiltering) for more information about Google's search
804
+ # results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
805
+ # Enabled (default) **Note**: By default, Google applies filtering to all search
806
+ # results to improve the quality of those results.
807
+ # Corresponds to the JSON property `filter`
808
+ # @return [String]
809
+ attr_accessor :filter
810
+
811
+ # Boosts search results whose country of origin matches the parameter value. See
812
+ # [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
813
+ # countryCodes) for a list of valid values. Specifying a `gl` parameter value in
814
+ # WebSearch requests should improve the relevance of results. This is
815
+ # particularly true for international customers and, even more specifically, for
816
+ # customers in English-speaking countries other than the United States.
817
+ # Corresponds to the JSON property `gl`
818
+ # @return [String]
819
+ attr_accessor :gl
820
+
821
+ # Specifies the Google domain (for example, google.com, google.de, or google.fr)
822
+ # to which the search should be limited.
823
+ # Corresponds to the JSON property `googleHost`
824
+ # @return [String]
825
+ attr_accessor :google_host
826
+
827
+ # Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
828
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
829
+ # the query.
830
+ # Corresponds to the JSON property `highRange`
831
+ # @return [String]
832
+ attr_accessor :high_range
833
+
834
+ # Specifies the interface language (host language) of your user interface.
835
+ # Explicitly setting this parameter improves the performance and the quality of
836
+ # your search results. See the [Interface Languages](https://developers.google.
837
+ # com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
838
+ # Internationalizing Queries and Results Presentation](https://developers.google.
839
+ # com/custom-search/docs/xml_results#wsInternationalizing) for more information,
840
+ # and [Supported Interface Languages](https://developers.google.com/custom-
841
+ # search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
842
+ # languages.
843
+ # Corresponds to the JSON property `hl`
844
+ # @return [String]
845
+ attr_accessor :hl
846
+
847
+ # Appends the specified query terms to the query, as if they were combined with
848
+ # a logical `AND` operator.
849
+ # Corresponds to the JSON property `hq`
850
+ # @return [String]
851
+ attr_accessor :hq
852
+
853
+ # Restricts results to images of a specified color type. Supported values are: *
854
+ # `mono` (black and white) * `gray` (grayscale) * `color` (color)
855
+ # Corresponds to the JSON property `imgColorType`
856
+ # @return [String]
857
+ attr_accessor :img_color_type
858
+
859
+ # Restricts results to images with a specific dominant color. Supported values
860
+ # are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
861
+ # pink` * `white` * `gray` * `black` * `brown`
862
+ # Corresponds to the JSON property `imgDominantColor`
863
+ # @return [String]
864
+ attr_accessor :img_dominant_color
865
+
866
+ # Restricts results to images of a specified size. Supported values are: * `icon`
867
+ # (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
868
+ # huge` (extra-large)
869
+ # Corresponds to the JSON property `imgSize`
870
+ # @return [String]
871
+ attr_accessor :img_size
872
+
873
+ # Restricts results to images of a specified type. Supported values are: * `
874
+ # clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
875
+ # Photo) * `animated` (Animated) * `stock` (Stock)
876
+ # Corresponds to the JSON property `imgType`
877
+ # @return [String]
878
+ attr_accessor :img_type
879
+
880
+ # The character encoding supported for search requests.
881
+ # Corresponds to the JSON property `inputEncoding`
882
+ # @return [String]
883
+ attr_accessor :input_encoding
884
+
885
+ # The language of the search results.
886
+ # Corresponds to the JSON property `language`
887
+ # @return [String]
888
+ attr_accessor :language
889
+
890
+ # Specifies that all results should contain a link to a specific URL.
891
+ # Corresponds to the JSON property `linkSite`
892
+ # @return [String]
893
+ attr_accessor :link_site
894
+
895
+ # Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
896
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
897
+ # the query.
898
+ # Corresponds to the JSON property `lowRange`
899
+ # @return [String]
900
+ attr_accessor :low_range
901
+
902
+ # Provides additional search terms to check for in a document, where each
903
+ # document in the search results must contain at least one of the additional
904
+ # search terms. You can also use the [Boolean OR](https://developers.google.com/
905
+ # custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
906
+ # Corresponds to the JSON property `orTerms`
907
+ # @return [String]
908
+ attr_accessor :or_terms
909
+
910
+ # The character encoding supported for search results.
911
+ # Corresponds to the JSON property `outputEncoding`
912
+ # @return [String]
913
+ attr_accessor :output_encoding
914
+
915
+ # Specifies that all search results should be pages that are related to the
916
+ # specified URL. The parameter value should be a URL.
917
+ # Corresponds to the JSON property `relatedSite`
918
+ # @return [String]
919
+ attr_accessor :related_site
920
+
921
+ # Filters based on licensing. Supported values include: * `cc_publicdomain` * `
922
+ # cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
923
+ # Corresponds to the JSON property `rights`
924
+ # @return [String]
925
+ attr_accessor :rights
926
+
927
+ # Specifies the [SafeSearch level](https://developers.google.com/custom-search/
928
+ # docs/xml_results#safeSearchLevels) used for filtering out adult results. This
929
+ # is a custom property not defined in the OpenSearch spec. Valid parameter
930
+ # values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
931
+ # Corresponds to the JSON property `safe`
932
+ # @return [String]
933
+ attr_accessor :safe
934
+
935
+ # The search terms entered by the user.
936
+ # Corresponds to the JSON property `searchTerms`
937
+ # @return [String]
938
+ attr_accessor :search_terms
939
+
940
+ # Allowed values are `web` or `image`. If unspecified, results are limited to
941
+ # webpages.
942
+ # Corresponds to the JSON property `searchType`
943
+ # @return [String]
944
+ attr_accessor :search_type
945
+
946
+ # Restricts results to URLs from a specified site.
947
+ # Corresponds to the JSON property `siteSearch`
948
+ # @return [String]
949
+ attr_accessor :site_search
950
+
951
+ # Specifies whether to include or exclude results from the site named in the `
952
+ # sitesearch` parameter. Supported values are: * `i`: include content from site *
953
+ # `e`: exclude content from site
954
+ # Corresponds to the JSON property `siteSearchFilter`
955
+ # @return [String]
956
+ attr_accessor :site_search_filter
957
+
958
+ # Specifies that results should be sorted according to the specified expression.
959
+ # For example, sort by date.
960
+ # Corresponds to the JSON property `sort`
961
+ # @return [String]
962
+ attr_accessor :sort
963
+
964
+ # The index of the current set of search results into the total set of results,
965
+ # where the index of the first result is 1.
966
+ # Corresponds to the JSON property `startIndex`
967
+ # @return [Fixnum]
968
+ attr_accessor :start_index
969
+
970
+ # The page number of this set of results, where the page length is set by the `
971
+ # count` property.
972
+ # Corresponds to the JSON property `startPage`
973
+ # @return [Fixnum]
974
+ attr_accessor :start_page
975
+
976
+ # A description of the query.
977
+ # Corresponds to the JSON property `title`
978
+ # @return [String]
979
+ attr_accessor :title
980
+
981
+ # Estimated number of total search results. May not be accurate.
982
+ # Corresponds to the JSON property `totalResults`
983
+ # @return [Fixnum]
984
+ attr_accessor :total_results
985
+
986
+ def initialize(**args)
987
+ update!(**args)
988
+ end
989
+
990
+ # Update properties of this object
991
+ def update!(**args)
992
+ @count = args[:count] if args.key?(:count)
993
+ @cr = args[:cr] if args.key?(:cr)
994
+ @cx = args[:cx] if args.key?(:cx)
995
+ @date_restrict = args[:date_restrict] if args.key?(:date_restrict)
996
+ @disable_cn_tw_translation = args[:disable_cn_tw_translation] if args.key?(:disable_cn_tw_translation)
997
+ @exact_terms = args[:exact_terms] if args.key?(:exact_terms)
998
+ @exclude_terms = args[:exclude_terms] if args.key?(:exclude_terms)
999
+ @file_type = args[:file_type] if args.key?(:file_type)
1000
+ @filter = args[:filter] if args.key?(:filter)
1001
+ @gl = args[:gl] if args.key?(:gl)
1002
+ @google_host = args[:google_host] if args.key?(:google_host)
1003
+ @high_range = args[:high_range] if args.key?(:high_range)
1004
+ @hl = args[:hl] if args.key?(:hl)
1005
+ @hq = args[:hq] if args.key?(:hq)
1006
+ @img_color_type = args[:img_color_type] if args.key?(:img_color_type)
1007
+ @img_dominant_color = args[:img_dominant_color] if args.key?(:img_dominant_color)
1008
+ @img_size = args[:img_size] if args.key?(:img_size)
1009
+ @img_type = args[:img_type] if args.key?(:img_type)
1010
+ @input_encoding = args[:input_encoding] if args.key?(:input_encoding)
1011
+ @language = args[:language] if args.key?(:language)
1012
+ @link_site = args[:link_site] if args.key?(:link_site)
1013
+ @low_range = args[:low_range] if args.key?(:low_range)
1014
+ @or_terms = args[:or_terms] if args.key?(:or_terms)
1015
+ @output_encoding = args[:output_encoding] if args.key?(:output_encoding)
1016
+ @related_site = args[:related_site] if args.key?(:related_site)
1017
+ @rights = args[:rights] if args.key?(:rights)
1018
+ @safe = args[:safe] if args.key?(:safe)
1019
+ @search_terms = args[:search_terms] if args.key?(:search_terms)
1020
+ @search_type = args[:search_type] if args.key?(:search_type)
1021
+ @site_search = args[:site_search] if args.key?(:site_search)
1022
+ @site_search_filter = args[:site_search_filter] if args.key?(:site_search_filter)
1023
+ @sort = args[:sort] if args.key?(:sort)
1024
+ @start_index = args[:start_index] if args.key?(:start_index)
1025
+ @start_page = args[:start_page] if args.key?(:start_page)
1026
+ @title = args[:title] if args.key?(:title)
1027
+ @total_results = args[:total_results] if args.key?(:total_results)
1028
+ end
1029
+ end
1030
+
1031
+ # Custom search request metadata.
1032
+ class Request
1033
+ include Google::Apis::Core::Hashable
1034
+
1035
+ # Number of search results returned in this set.
1036
+ # Corresponds to the JSON property `count`
1037
+ # @return [Fixnum]
1038
+ attr_accessor :count
1039
+
1040
+ # Restricts search results to documents originating in a particular country. You
1041
+ # may use [Boolean operators](https://developers.google.com/custom-search/docs/
1042
+ # xml_results#booleanOperators) in the `cr` parameter's value. Google WebSearch
1043
+ # determines the country of a document by analyzing the following: * The top-
1044
+ # level domain (TLD) of the document's URL. * The geographic location of the web
1045
+ # server's IP address. See [Country (cr) Parameter Values](https://developers.
1046
+ # google.com/custom-search/docs/xml_results#countryCollections) for a list of
1047
+ # valid values for this parameter.
1048
+ # Corresponds to the JSON property `cr`
1049
+ # @return [String]
1050
+ attr_accessor :cr
1051
+
1052
+ # The identifier of an engine created using the Programmable Search Engine [
1053
+ # Control Panel](https://programmablesearchengine.google.com/). This is a custom
1054
+ # property not defined in the OpenSearch spec. This parameter is **required**.
1055
+ # Corresponds to the JSON property `cx`
1056
+ # @return [String]
1057
+ attr_accessor :cx
1058
+
1059
+ # Restricts results to URLs based on date. Supported values include: * `d[number]
1060
+ # `: requests results from the specified number of past days. * `w[number]`:
1061
+ # requests results from the specified number of past weeks. * `m[number]`:
1062
+ # requests results from the specified number of past months. * `y[number]`:
1063
+ # requests results from the specified number of past years.
1064
+ # Corresponds to the JSON property `dateRestrict`
1065
+ # @return [String]
1066
+ attr_accessor :date_restrict
1067
+
1068
+ # Enables or disables the [Simplified and Traditional Chinese Search](https://
1069
+ # developers.google.com/custom-search/docs/xml_results#chineseSearch) feature.
1070
+ # Supported values are: * `0`: enabled (default) * `1`: disabled
1071
+ # Corresponds to the JSON property `disableCnTwTranslation`
1072
+ # @return [String]
1073
+ attr_accessor :disable_cn_tw_translation
1074
+
1075
+ # Identifies a phrase that all documents in the search results must contain.
1076
+ # Corresponds to the JSON property `exactTerms`
1077
+ # @return [String]
1078
+ attr_accessor :exact_terms
1079
+
1080
+ # Identifies a word or phrase that should not appear in any documents in the
1081
+ # search results.
1082
+ # Corresponds to the JSON property `excludeTerms`
1083
+ # @return [String]
1084
+ attr_accessor :exclude_terms
1085
+
1086
+ # Restricts results to files of a specified extension. Filetypes supported by
1087
+ # Google include: * Adobe Portable Document Format (`pdf`) * Adobe PostScript (`
1088
+ # ps`) * Lotus 1-2-3 (`wk1`, `wk2`, `wk3`, `wk4`, `wk5`, `wki`, `wks`, `wku`) *
1089
+ # Lotus WordPro (`lwp`) * Macwrite (`mw`) * Microsoft Excel (`xls`) * Microsoft
1090
+ # PowerPoint (`ppt`) * Microsoft Word (`doc`) * Microsoft Works (`wks`, `wps`, `
1091
+ # wdb`) * Microsoft Write (`wri`) * Rich Text Format (`rtf`) * Shockwave Flash (`
1092
+ # swf`) * Text (`ans`, `txt`). Additional filetypes may be added in the future.
1093
+ # An up-to-date list can always be found in Google's [file type FAQ](https://
1094
+ # support.google.com/webmasters/answer/35287).
1095
+ # Corresponds to the JSON property `fileType`
1096
+ # @return [String]
1097
+ attr_accessor :file_type
1098
+
1099
+ # Activates or deactivates the automatic filtering of Google search results. See
1100
+ # [Automatic Filtering](https://developers.google.com/custom-search/docs/
1101
+ # xml_results#automaticFiltering) for more information about Google's search
1102
+ # results filters. Valid values for this parameter are: * `0`: Disabled * `1`:
1103
+ # Enabled (default) **Note**: By default, Google applies filtering to all search
1104
+ # results to improve the quality of those results.
1105
+ # Corresponds to the JSON property `filter`
1106
+ # @return [String]
1107
+ attr_accessor :filter
1108
+
1109
+ # Boosts search results whose country of origin matches the parameter value. See
1110
+ # [Country Codes](https://developers.google.com/custom-search/docs/xml_results#
1111
+ # countryCodes) for a list of valid values. Specifying a `gl` parameter value in
1112
+ # WebSearch requests should improve the relevance of results. This is
1113
+ # particularly true for international customers and, even more specifically, for
1114
+ # customers in English-speaking countries other than the United States.
1115
+ # Corresponds to the JSON property `gl`
1116
+ # @return [String]
1117
+ attr_accessor :gl
1118
+
1119
+ # Specifies the Google domain (for example, google.com, google.de, or google.fr)
1120
+ # to which the search should be limited.
1121
+ # Corresponds to the JSON property `googleHost`
1122
+ # @return [String]
1123
+ attr_accessor :google_host
1124
+
1125
+ # Specifies the ending value for a search range. Use `cse:lowRange` and `cse:
1126
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
1127
+ # the query.
1128
+ # Corresponds to the JSON property `highRange`
1129
+ # @return [String]
1130
+ attr_accessor :high_range
1131
+
1132
+ # Specifies the interface language (host language) of your user interface.
1133
+ # Explicitly setting this parameter improves the performance and the quality of
1134
+ # your search results. See the [Interface Languages](https://developers.google.
1135
+ # com/custom-search/docs/xml_results#wsInterfaceLanguages) section of [
1136
+ # Internationalizing Queries and Results Presentation](https://developers.google.
1137
+ # com/custom-search/docs/xml_results#wsInternationalizing) for more information,
1138
+ # and [Supported Interface Languages](https://developers.google.com/custom-
1139
+ # search/docs/xml_results_appendices#interfaceLanguages) for a list of supported
1140
+ # languages.
1141
+ # Corresponds to the JSON property `hl`
1142
+ # @return [String]
1143
+ attr_accessor :hl
1144
+
1145
+ # Appends the specified query terms to the query, as if they were combined with
1146
+ # a logical `AND` operator.
1147
+ # Corresponds to the JSON property `hq`
1148
+ # @return [String]
1149
+ attr_accessor :hq
1150
+
1151
+ # Restricts results to images of a specified color type. Supported values are: *
1152
+ # `mono` (black and white) * `gray` (grayscale) * `color` (color)
1153
+ # Corresponds to the JSON property `imgColorType`
1154
+ # @return [String]
1155
+ attr_accessor :img_color_type
1156
+
1157
+ # Restricts results to images with a specific dominant color. Supported values
1158
+ # are: * `red` * `orange` * `yellow` * `green` * `teal` * `blue` * `purple` * `
1159
+ # pink` * `white` * `gray` * `black` * `brown`
1160
+ # Corresponds to the JSON property `imgDominantColor`
1161
+ # @return [String]
1162
+ attr_accessor :img_dominant_color
1163
+
1164
+ # Restricts results to images of a specified size. Supported values are: * `icon`
1165
+ # (small) * `small | medium | large | xlarge` (medium) * `xxlarge` (large) * `
1166
+ # huge` (extra-large)
1167
+ # Corresponds to the JSON property `imgSize`
1168
+ # @return [String]
1169
+ attr_accessor :img_size
1170
+
1171
+ # Restricts results to images of a specified type. Supported values are: * `
1172
+ # clipart` (Clip art) * `face` (Face) * `lineart` (Line drawing) * `photo` (
1173
+ # Photo) * `animated` (Animated) * `stock` (Stock)
1174
+ # Corresponds to the JSON property `imgType`
1175
+ # @return [String]
1176
+ attr_accessor :img_type
1177
+
1178
+ # The character encoding supported for search requests.
1179
+ # Corresponds to the JSON property `inputEncoding`
1180
+ # @return [String]
1181
+ attr_accessor :input_encoding
1182
+
1183
+ # The language of the search results.
1184
+ # Corresponds to the JSON property `language`
1185
+ # @return [String]
1186
+ attr_accessor :language
1187
+
1188
+ # Specifies that all results should contain a link to a specific URL.
1189
+ # Corresponds to the JSON property `linkSite`
1190
+ # @return [String]
1191
+ attr_accessor :link_site
1192
+
1193
+ # Specifies the starting value for a search range. Use `cse:lowRange` and `cse:
1194
+ # highrange` to append an inclusive search range of `lowRange...highRange` to
1195
+ # the query.
1196
+ # Corresponds to the JSON property `lowRange`
1197
+ # @return [String]
1198
+ attr_accessor :low_range
1199
+
1200
+ # Provides additional search terms to check for in a document, where each
1201
+ # document in the search results must contain at least one of the additional
1202
+ # search terms. You can also use the [Boolean OR](https://developers.google.com/
1203
+ # custom-search/docs/xml_results#BooleanOrqt) query term for this type of query.
1204
+ # Corresponds to the JSON property `orTerms`
1205
+ # @return [String]
1206
+ attr_accessor :or_terms
1207
+
1208
+ # The character encoding supported for search results.
1209
+ # Corresponds to the JSON property `outputEncoding`
1210
+ # @return [String]
1211
+ attr_accessor :output_encoding
1212
+
1213
+ # Specifies that all search results should be pages that are related to the
1214
+ # specified URL. The parameter value should be a URL.
1215
+ # Corresponds to the JSON property `relatedSite`
1216
+ # @return [String]
1217
+ attr_accessor :related_site
1218
+
1219
+ # Filters based on licensing. Supported values include: * `cc_publicdomain` * `
1220
+ # cc_attribute` * `cc_sharealike` * `cc_noncommercial` * `cc_nonderived`
1221
+ # Corresponds to the JSON property `rights`
1222
+ # @return [String]
1223
+ attr_accessor :rights
1224
+
1225
+ # Specifies the [SafeSearch level](https://developers.google.com/custom-search/
1226
+ # docs/xml_results#safeSearchLevels) used for filtering out adult results. This
1227
+ # is a custom property not defined in the OpenSearch spec. Valid parameter
1228
+ # values are: * `"off"`: Disable SafeSearch * `"active"`: Enable SafeSearch
1229
+ # Corresponds to the JSON property `safe`
1230
+ # @return [String]
1231
+ attr_accessor :safe
1232
+
1233
+ # The search terms entered by the user.
1234
+ # Corresponds to the JSON property `searchTerms`
1235
+ # @return [String]
1236
+ attr_accessor :search_terms
1237
+
1238
+ # Allowed values are `web` or `image`. If unspecified, results are limited to
1239
+ # webpages.
1240
+ # Corresponds to the JSON property `searchType`
1241
+ # @return [String]
1242
+ attr_accessor :search_type
1243
+
1244
+ # Restricts results to URLs from a specified site.
1245
+ # Corresponds to the JSON property `siteSearch`
1246
+ # @return [String]
1247
+ attr_accessor :site_search
1248
+
1249
+ # Specifies whether to include or exclude results from the site named in the `
1250
+ # sitesearch` parameter. Supported values are: * `i`: include content from site *
1251
+ # `e`: exclude content from site
1252
+ # Corresponds to the JSON property `siteSearchFilter`
1253
+ # @return [String]
1254
+ attr_accessor :site_search_filter
1255
+
1256
+ # Specifies that results should be sorted according to the specified expression.
1257
+ # For example, sort by date.
1258
+ # Corresponds to the JSON property `sort`
1259
+ # @return [String]
1260
+ attr_accessor :sort
1261
+
1262
+ # The index of the current set of search results into the total set of results,
1263
+ # where the index of the first result is 1.
1264
+ # Corresponds to the JSON property `startIndex`
1265
+ # @return [Fixnum]
1266
+ attr_accessor :start_index
1267
+
1268
+ # The page number of this set of results, where the page length is set by the `
1269
+ # count` property.
1270
+ # Corresponds to the JSON property `startPage`
1271
+ # @return [Fixnum]
1272
+ attr_accessor :start_page
1273
+
1274
+ # A description of the query.
1275
+ # Corresponds to the JSON property `title`
1276
+ # @return [String]
1277
+ attr_accessor :title
1278
+
1279
+ # Estimated number of total search results. May not be accurate.
1280
+ # Corresponds to the JSON property `totalResults`
1281
+ # @return [Fixnum]
1282
+ attr_accessor :total_results
1283
+
1284
+ def initialize(**args)
1285
+ update!(**args)
1286
+ end
1287
+
1288
+ # Update properties of this object
1289
+ def update!(**args)
1290
+ @count = args[:count] if args.key?(:count)
1291
+ @cr = args[:cr] if args.key?(:cr)
1292
+ @cx = args[:cx] if args.key?(:cx)
1293
+ @date_restrict = args[:date_restrict] if args.key?(:date_restrict)
1294
+ @disable_cn_tw_translation = args[:disable_cn_tw_translation] if args.key?(:disable_cn_tw_translation)
1295
+ @exact_terms = args[:exact_terms] if args.key?(:exact_terms)
1296
+ @exclude_terms = args[:exclude_terms] if args.key?(:exclude_terms)
1297
+ @file_type = args[:file_type] if args.key?(:file_type)
1298
+ @filter = args[:filter] if args.key?(:filter)
1299
+ @gl = args[:gl] if args.key?(:gl)
1300
+ @google_host = args[:google_host] if args.key?(:google_host)
1301
+ @high_range = args[:high_range] if args.key?(:high_range)
1302
+ @hl = args[:hl] if args.key?(:hl)
1303
+ @hq = args[:hq] if args.key?(:hq)
1304
+ @img_color_type = args[:img_color_type] if args.key?(:img_color_type)
1305
+ @img_dominant_color = args[:img_dominant_color] if args.key?(:img_dominant_color)
1306
+ @img_size = args[:img_size] if args.key?(:img_size)
1307
+ @img_type = args[:img_type] if args.key?(:img_type)
1308
+ @input_encoding = args[:input_encoding] if args.key?(:input_encoding)
1309
+ @language = args[:language] if args.key?(:language)
1310
+ @link_site = args[:link_site] if args.key?(:link_site)
1311
+ @low_range = args[:low_range] if args.key?(:low_range)
1312
+ @or_terms = args[:or_terms] if args.key?(:or_terms)
1313
+ @output_encoding = args[:output_encoding] if args.key?(:output_encoding)
1314
+ @related_site = args[:related_site] if args.key?(:related_site)
1315
+ @rights = args[:rights] if args.key?(:rights)
1316
+ @safe = args[:safe] if args.key?(:safe)
1317
+ @search_terms = args[:search_terms] if args.key?(:search_terms)
1318
+ @search_type = args[:search_type] if args.key?(:search_type)
1319
+ @site_search = args[:site_search] if args.key?(:site_search)
1320
+ @site_search_filter = args[:site_search_filter] if args.key?(:site_search_filter)
1321
+ @sort = args[:sort] if args.key?(:sort)
1322
+ @start_index = args[:start_index] if args.key?(:start_index)
1323
+ @start_page = args[:start_page] if args.key?(:start_page)
1324
+ @title = args[:title] if args.key?(:title)
1325
+ @total_results = args[:total_results] if args.key?(:total_results)
1326
+ end
1327
+ end
1328
+ end
1329
+
1330
+ # Metadata about a search operation.
1331
+ class SearchInformation
1332
+ include Google::Apis::Core::Hashable
1333
+
1334
+ # The time taken for the server to return search results, formatted according to
1335
+ # locale style.
1336
+ # Corresponds to the JSON property `formattedSearchTime`
1337
+ # @return [String]
1338
+ attr_accessor :formatted_search_time
1339
+
1340
+ # The total number of search results, formatted according to locale style.
1341
+ # Corresponds to the JSON property `formattedTotalResults`
1342
+ # @return [String]
1343
+ attr_accessor :formatted_total_results
1344
+
1345
+ # The time taken for the server to return search results.
1346
+ # Corresponds to the JSON property `searchTime`
1347
+ # @return [Float]
1348
+ attr_accessor :search_time
1349
+
1350
+ # The total number of search results returned by the query.
1351
+ # Corresponds to the JSON property `totalResults`
1352
+ # @return [String]
1353
+ attr_accessor :total_results
1354
+
1355
+ def initialize(**args)
1356
+ update!(**args)
1357
+ end
1358
+
1359
+ # Update properties of this object
1360
+ def update!(**args)
1361
+ @formatted_search_time = args[:formatted_search_time] if args.key?(:formatted_search_time)
1362
+ @formatted_total_results = args[:formatted_total_results] if args.key?(:formatted_total_results)
1363
+ @search_time = args[:search_time] if args.key?(:search_time)
1364
+ @total_results = args[:total_results] if args.key?(:total_results)
1365
+ end
1366
+ end
1367
+
1368
+ # Spell correction information for a query.
1369
+ class Spelling
1370
+ include Google::Apis::Core::Hashable
1371
+
1372
+ # The corrected query.
1373
+ # Corresponds to the JSON property `correctedQuery`
1374
+ # @return [String]
1375
+ attr_accessor :corrected_query
1376
+
1377
+ # The corrected query, formatted in HTML.
1378
+ # Corresponds to the JSON property `htmlCorrectedQuery`
1379
+ # @return [String]
1380
+ attr_accessor :html_corrected_query
1381
+
1382
+ def initialize(**args)
1383
+ update!(**args)
1384
+ end
1385
+
1386
+ # Update properties of this object
1387
+ def update!(**args)
1388
+ @corrected_query = args[:corrected_query] if args.key?(:corrected_query)
1389
+ @html_corrected_query = args[:html_corrected_query] if args.key?(:html_corrected_query)
1390
+ end
1391
+ end
1392
+
1393
+ # OpenSearch template and URL.
1394
+ class Url
1395
+ include Google::Apis::Core::Hashable
1396
+
1397
+ # The actual [OpenSearch template](http://www.opensearch.org/specifications/
1398
+ # opensearch/1.1#opensearch_url_template_syntax) for this API.
1399
+ # Corresponds to the JSON property `template`
1400
+ # @return [String]
1401
+ attr_accessor :template
1402
+
1403
+ # The MIME type of the OpenSearch URL template for the Custom Search JSON API.
1404
+ # Corresponds to the JSON property `type`
1405
+ # @return [String]
1406
+ attr_accessor :type
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @template = args[:template] if args.key?(:template)
1415
+ @type = args[:type] if args.key?(:type)
1416
+ end
1417
+ end
1418
+ end
1419
+ end
1420
+ end
1421
+ end