google-api-client 0.50.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +3 -1
  3. data/CHANGELOG.md +127 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1beta.rb +1 -1
  10. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  11. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
  12. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  13. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
  14. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
  15. data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  18. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  19. data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
  20. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  21. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  22. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +7 -7
  25. data/generated/google/apis/apigee_v1/service.rb +8 -7
  26. data/generated/google/apis/appengine_v1beta.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  28. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  29. data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
  30. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  31. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  32. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  33. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  34. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  35. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
  36. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
  37. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  38. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  39. data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
  40. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  41. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
  43. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  44. data/generated/google/apis/chat_v1.rb +1 -1
  45. data/generated/google/apis/chat_v1/service.rb +176 -0
  46. data/generated/google/apis/cloudasset_v1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
  48. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  49. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  50. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  51. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  52. data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
  53. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  54. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
  55. data/generated/google/apis/cloudiot_v1.rb +1 -1
  56. data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
  57. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  58. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  59. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  60. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  61. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
  62. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  63. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
  65. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  66. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  67. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
  68. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  69. data/generated/google/apis/composer_v1.rb +1 -1
  70. data/generated/google/apis/composer_v1/classes.rb +123 -0
  71. data/generated/google/apis/composer_v1/representations.rb +49 -0
  72. data/generated/google/apis/composer_v1/service.rb +19 -15
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  75. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  76. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  77. data/generated/google/apis/compute_v1.rb +1 -1
  78. data/generated/google/apis/compute_v1/classes.rb +7 -2
  79. data/generated/google/apis/compute_v1/representations.rb +1 -0
  80. data/generated/google/apis/compute_v1/service.rb +691 -544
  81. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  82. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
  83. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  84. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  85. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
  86. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  87. data/generated/google/apis/content_v2.rb +1 -1
  88. data/generated/google/apis/content_v2/classes.rb +4 -4
  89. data/generated/google/apis/content_v2_1.rb +1 -1
  90. data/generated/google/apis/content_v2_1/classes.rb +175 -4
  91. data/generated/google/apis/content_v2_1/representations.rb +78 -0
  92. data/generated/google/apis/content_v2_1/service.rb +179 -0
  93. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  94. data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
  95. data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
  96. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  97. data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
  98. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  99. data/generated/google/apis/dataproc_v1.rb +1 -1
  100. data/generated/google/apis/dataproc_v1/classes.rb +78 -6
  101. data/generated/google/apis/dataproc_v1/representations.rb +22 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
  104. data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
  105. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  106. data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
  107. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
  108. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
  110. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
  111. data/generated/google/apis/dialogflow_v2.rb +1 -1
  112. data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
  113. data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
  114. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  115. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
  117. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
  118. data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
  119. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  120. data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
  121. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
  122. data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
  123. data/generated/google/apis/displayvideo_v1.rb +1 -1
  124. data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
  125. data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
  126. data/generated/google/apis/displayvideo_v1/service.rb +103 -39
  127. data/generated/google/apis/dns_v1.rb +1 -1
  128. data/generated/google/apis/dns_v1/classes.rb +6 -0
  129. data/generated/google/apis/dns_v1/representations.rb +1 -0
  130. data/generated/google/apis/dns_v1beta2.rb +1 -1
  131. data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
  132. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  134. data/generated/google/apis/drive_v2.rb +1 -1
  135. data/generated/google/apis/drive_v2/classes.rb +4 -1
  136. data/generated/google/apis/drive_v2/service.rb +24 -56
  137. data/generated/google/apis/drive_v3.rb +1 -1
  138. data/generated/google/apis/drive_v3/classes.rb +4 -1
  139. data/generated/google/apis/drive_v3/service.rb +14 -30
  140. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  141. data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
  142. data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
  143. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  144. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  145. data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
  146. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  147. data/generated/google/apis/games_v1.rb +1 -1
  148. data/generated/google/apis/games_v1/classes.rb +67 -14
  149. data/generated/google/apis/games_v1/representations.rb +31 -2
  150. data/generated/google/apis/games_v1/service.rb +33 -0
  151. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  152. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  153. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  154. data/generated/google/apis/healthcare_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1/classes.rb +18 -17
  156. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  157. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
  158. data/generated/google/apis/iam_v1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +101 -0
  160. data/generated/google/apis/iam_v1/representations.rb +33 -0
  161. data/generated/google/apis/iam_v1/service.rb +62 -0
  162. data/generated/google/apis/jobs_v3.rb +1 -1
  163. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  164. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  165. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  166. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  167. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  168. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  169. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  170. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  171. data/generated/google/apis/jobs_v4/service.rb +903 -0
  172. data/generated/google/apis/licensing_v1.rb +1 -1
  173. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  174. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  175. data/generated/google/apis/licensing_v1/service.rb +32 -29
  176. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  177. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  178. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  179. data/generated/google/apis/logging_v2.rb +1 -1
  180. data/generated/google/apis/logging_v2/classes.rb +5 -4
  181. data/generated/google/apis/managedidentities_v1.rb +1 -1
  182. data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
  183. data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
  184. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  185. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
  186. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
  187. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  188. data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
  189. data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
  190. data/generated/google/apis/ml_v1.rb +1 -1
  191. data/generated/google/apis/ml_v1/classes.rb +0 -6
  192. data/generated/google/apis/ml_v1/representations.rb +0 -1
  193. data/generated/google/apis/monitoring_v3.rb +1 -1
  194. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  195. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  196. data/generated/google/apis/notebooks_v1.rb +1 -1
  197. data/generated/google/apis/notebooks_v1/classes.rb +0 -6
  198. data/generated/google/apis/notebooks_v1/representations.rb +0 -1
  199. data/generated/google/apis/osconfig_v1.rb +1 -1
  200. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  201. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  202. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  203. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  204. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  205. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  206. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  207. data/generated/google/apis/people_v1.rb +1 -1
  208. data/generated/google/apis/people_v1/classes.rb +6 -2
  209. data/generated/google/apis/pubsub_v1.rb +1 -1
  210. data/generated/google/apis/pubsub_v1/classes.rb +0 -6
  211. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  212. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
  214. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  215. data/generated/google/apis/recommender_v1.rb +1 -1
  216. data/generated/google/apis/recommender_v1/classes.rb +2 -2
  217. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  218. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
  219. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  220. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  221. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  222. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  223. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  224. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  225. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  226. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  227. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  228. data/generated/google/apis/reseller_v1.rb +4 -4
  229. data/generated/google/apis/reseller_v1/service.rb +5 -5
  230. data/generated/google/apis/run_v1.rb +1 -1
  231. data/generated/google/apis/run_v1/classes.rb +2 -1
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  236. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  237. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  238. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  239. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  240. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  241. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  243. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  244. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  245. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
  246. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  247. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  248. data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
  249. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
  250. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  251. data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
  252. data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
  253. data/generated/google/apis/sheets_v4.rb +1 -1
  254. data/generated/google/apis/sheets_v4/classes.rb +309 -0
  255. data/generated/google/apis/sheets_v4/representations.rb +99 -0
  256. data/generated/google/apis/slides_v1.rb +1 -1
  257. data/generated/google/apis/spanner_v1.rb +1 -1
  258. data/generated/google/apis/spanner_v1/classes.rb +9 -6
  259. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  260. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  261. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  262. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  263. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  264. data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
  265. data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
  266. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  267. data/generated/google/apis/storage_v1.rb +1 -1
  268. data/generated/google/apis/storage_v1/classes.rb +7 -0
  269. data/generated/google/apis/storage_v1/representations.rb +1 -0
  270. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  271. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
  272. data/generated/google/apis/vault_v1.rb +1 -1
  273. data/generated/google/apis/vault_v1/classes.rb +76 -0
  274. data/generated/google/apis/vault_v1/representations.rb +45 -0
  275. data/generated/google/apis/vectortile_v1.rb +1 -1
  276. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  277. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  278. data/generated/google/apis/videointelligence_v1.rb +1 -1
  279. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  280. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  281. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  282. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  283. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  284. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  286. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  287. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  288. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  289. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  290. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  291. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  292. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  293. data/generated/google/apis/youtube_v3.rb +1 -1
  294. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  295. data/lib/google/apis/version.rb +1 -1
  296. metadata +19 -11
  297. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  298. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  299. data/generated/google/apis/jobs_v2/service.rb +0 -693
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-11-16 00:00:00.000000000 Z
14
+ date: 2020-12-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -380,10 +380,14 @@ files:
380
380
  - generated/google/apis/artifactregistry_v1beta1/classes.rb
381
381
  - generated/google/apis/artifactregistry_v1beta1/representations.rb
382
382
  - generated/google/apis/artifactregistry_v1beta1/service.rb
383
- - generated/google/apis/assuredworkloads_v1beta1.rb
384
- - generated/google/apis/assuredworkloads_v1beta1/classes.rb
385
- - generated/google/apis/assuredworkloads_v1beta1/representations.rb
386
- - generated/google/apis/assuredworkloads_v1beta1/service.rb
383
+ - generated/google/apis/artifactregistry_v1beta2.rb
384
+ - generated/google/apis/artifactregistry_v1beta2/classes.rb
385
+ - generated/google/apis/artifactregistry_v1beta2/representations.rb
386
+ - generated/google/apis/artifactregistry_v1beta2/service.rb
387
+ - generated/google/apis/assuredworkloads_v1.rb
388
+ - generated/google/apis/assuredworkloads_v1/classes.rb
389
+ - generated/google/apis/assuredworkloads_v1/representations.rb
390
+ - generated/google/apis/assuredworkloads_v1/service.rb
387
391
  - generated/google/apis/bigquery_v2.rb
388
392
  - generated/google/apis/bigquery_v2/classes.rb
389
393
  - generated/google/apis/bigquery_v2/representations.rb
@@ -812,6 +816,10 @@ files:
812
816
  - generated/google/apis/firebase_v1beta1/classes.rb
813
817
  - generated/google/apis/firebase_v1beta1/representations.rb
814
818
  - generated/google/apis/firebase_v1beta1/service.rb
819
+ - generated/google/apis/firebasedatabase_v1beta.rb
820
+ - generated/google/apis/firebasedatabase_v1beta/classes.rb
821
+ - generated/google/apis/firebasedatabase_v1beta/representations.rb
822
+ - generated/google/apis/firebasedatabase_v1beta/service.rb
815
823
  - generated/google/apis/firebasedynamiclinks_v1.rb
816
824
  - generated/google/apis/firebasedynamiclinks_v1/classes.rb
817
825
  - generated/google/apis/firebasedynamiclinks_v1/representations.rb
@@ -936,10 +944,6 @@ files:
936
944
  - generated/google/apis/indexing_v3/classes.rb
937
945
  - generated/google/apis/indexing_v3/representations.rb
938
946
  - generated/google/apis/indexing_v3/service.rb
939
- - generated/google/apis/jobs_v2.rb
940
- - generated/google/apis/jobs_v2/classes.rb
941
- - generated/google/apis/jobs_v2/representations.rb
942
- - generated/google/apis/jobs_v2/service.rb
943
947
  - generated/google/apis/jobs_v3.rb
944
948
  - generated/google/apis/jobs_v3/classes.rb
945
949
  - generated/google/apis/jobs_v3/representations.rb
@@ -948,6 +952,10 @@ files:
948
952
  - generated/google/apis/jobs_v3p1beta1/classes.rb
949
953
  - generated/google/apis/jobs_v3p1beta1/representations.rb
950
954
  - generated/google/apis/jobs_v3p1beta1/service.rb
955
+ - generated/google/apis/jobs_v4.rb
956
+ - generated/google/apis/jobs_v4/classes.rb
957
+ - generated/google/apis/jobs_v4/representations.rb
958
+ - generated/google/apis/jobs_v4/service.rb
951
959
  - generated/google/apis/kgsearch_v1.rb
952
960
  - generated/google/apis/kgsearch_v1/classes.rb
953
961
  - generated/google/apis/kgsearch_v1/representations.rb
@@ -1521,7 +1529,7 @@ homepage: https://github.com/google/google-api-ruby-client
1521
1529
  licenses:
1522
1530
  - Apache-2.0
1523
1531
  metadata:
1524
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.50.0
1532
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.51.0
1525
1533
  post_install_message:
1526
1534
  rdoc_options: []
1527
1535
  require_paths:
@@ -1,4012 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module JobsV2
24
-
25
- # Input only. Batch delete jobs request.
26
- class BatchDeleteJobsRequest
27
- include Google::Apis::Core::Hashable
28
-
29
- # Required. The filter string specifies the jobs to be deleted. Supported
30
- # operator: =, AND The fields eligible for filtering are: * `companyName` (
31
- # Required) * `requisitionId` (Required) Sample Query: companyName = "companies/
32
- # 123" AND requisitionId = "req-1"
33
- # Corresponds to the JSON property `filter`
34
- # @return [String]
35
- attr_accessor :filter
36
-
37
- def initialize(**args)
38
- update!(**args)
39
- end
40
-
41
- # Update properties of this object
42
- def update!(**args)
43
- @filter = args[:filter] if args.key?(:filter)
44
- end
45
- end
46
-
47
- # Represents starting and ending value of a range in double.
48
- class BucketRange
49
- include Google::Apis::Core::Hashable
50
-
51
- # Starting value of the bucket range.
52
- # Corresponds to the JSON property `from`
53
- # @return [Float]
54
- attr_accessor :from
55
-
56
- # Ending value of the bucket range.
57
- # Corresponds to the JSON property `to`
58
- # @return [Float]
59
- attr_accessor :to
60
-
61
- def initialize(**args)
62
- update!(**args)
63
- end
64
-
65
- # Update properties of this object
66
- def update!(**args)
67
- @from = args[:from] if args.key?(:from)
68
- @to = args[:to] if args.key?(:to)
69
- end
70
- end
71
-
72
- # Represents count of jobs within one bucket.
73
- class BucketizedCount
74
- include Google::Apis::Core::Hashable
75
-
76
- # Number of jobs whose numeric field value fall into `range`.
77
- # Corresponds to the JSON property `count`
78
- # @return [Fixnum]
79
- attr_accessor :count
80
-
81
- # Represents starting and ending value of a range in double.
82
- # Corresponds to the JSON property `range`
83
- # @return [Google::Apis::JobsV2::BucketRange]
84
- attr_accessor :range
85
-
86
- def initialize(**args)
87
- update!(**args)
88
- end
89
-
90
- # Update properties of this object
91
- def update!(**args)
92
- @count = args[:count] if args.key?(:count)
93
- @range = args[:range] if args.key?(:range)
94
- end
95
- end
96
-
97
- # Output only. Commute details related to this job.
98
- class CommuteInfo
99
- include Google::Apis::Core::Hashable
100
-
101
- # Output only. A resource that represents a location with full geographic
102
- # information.
103
- # Corresponds to the JSON property `jobLocation`
104
- # @return [Google::Apis::JobsV2::JobLocation]
105
- attr_accessor :job_location
106
-
107
- # The number of seconds required to travel to the job location from the query
108
- # location. A duration of 0 seconds indicates that the job is not reachable
109
- # within the requested duration, but was returned as part of an expanded query.
110
- # Corresponds to the JSON property `travelDuration`
111
- # @return [String]
112
- attr_accessor :travel_duration
113
-
114
- def initialize(**args)
115
- update!(**args)
116
- end
117
-
118
- # Update properties of this object
119
- def update!(**args)
120
- @job_location = args[:job_location] if args.key?(:job_location)
121
- @travel_duration = args[:travel_duration] if args.key?(:travel_duration)
122
- end
123
- end
124
-
125
- # Input only. Parameters needed for commute search.
126
- class CommutePreference
127
- include Google::Apis::Core::Hashable
128
-
129
- # Optional. If `true`, jobs without street level addresses may also be returned.
130
- # For city level addresses, the city center is used. For state and coarser level
131
- # addresses, text matching is used. If this field is set to `false` or is not
132
- # specified, only jobs that include street level addresses will be returned by
133
- # commute search.
134
- # Corresponds to the JSON property `allowNonStreetLevelAddress`
135
- # @return [Boolean]
136
- attr_accessor :allow_non_street_level_address
137
- alias_method :allow_non_street_level_address?, :allow_non_street_level_address
138
-
139
- # Optional. The departure hour to use to calculate traffic impact. Accepts an
140
- # integer between 0 and 23, representing the hour in the time zone of the
141
- # start_location. Must not be present if road_traffic is specified.
142
- # Corresponds to the JSON property `departureHourLocal`
143
- # @return [Fixnum]
144
- attr_accessor :departure_hour_local
145
-
146
- # Required. The method of transportation for which to calculate the commute time.
147
- # Corresponds to the JSON property `method`
148
- # @return [String]
149
- attr_accessor :method_prop
150
-
151
- # Optional. Specifies the traffic density to use when calculating commute time.
152
- # Must not be present if departure_hour_local is specified.
153
- # Corresponds to the JSON property `roadTraffic`
154
- # @return [String]
155
- attr_accessor :road_traffic
156
-
157
- # An object representing a latitude/longitude pair. This is expressed as a pair
158
- # of doubles representing degrees latitude and degrees longitude. Unless
159
- # specified otherwise, this must conform to the WGS84 standard. Values must be
160
- # within normalized ranges.
161
- # Corresponds to the JSON property `startLocation`
162
- # @return [Google::Apis::JobsV2::LatLng]
163
- attr_accessor :start_location
164
-
165
- # Required. The maximum travel time in seconds. The maximum allowed value is `
166
- # 3600s` (one hour). Format is `123s`.
167
- # Corresponds to the JSON property `travelTime`
168
- # @return [String]
169
- attr_accessor :travel_time
170
-
171
- def initialize(**args)
172
- update!(**args)
173
- end
174
-
175
- # Update properties of this object
176
- def update!(**args)
177
- @allow_non_street_level_address = args[:allow_non_street_level_address] if args.key?(:allow_non_street_level_address)
178
- @departure_hour_local = args[:departure_hour_local] if args.key?(:departure_hour_local)
179
- @method_prop = args[:method_prop] if args.key?(:method_prop)
180
- @road_traffic = args[:road_traffic] if args.key?(:road_traffic)
181
- @start_location = args[:start_location] if args.key?(:start_location)
182
- @travel_time = args[:travel_time] if args.key?(:travel_time)
183
- end
184
- end
185
-
186
- # A Company resource represents a company in the service. A company is the
187
- # entity that owns job listings, that is, the hiring entity responsible for
188
- # employing applicants for the job position.
189
- class Company
190
- include Google::Apis::Core::Hashable
191
-
192
- # Optional. The URL to employer's career site or careers page on the employer's
193
- # web site.
194
- # Corresponds to the JSON property `careerPageLink`
195
- # @return [String]
196
- attr_accessor :career_page_link
197
-
198
- # Optional. Identifiers external to the application that help to further
199
- # identify the employer.
200
- # Corresponds to the JSON property `companyInfoSources`
201
- # @return [Array<Google::Apis::JobsV2::CompanyInfoSource>]
202
- attr_accessor :company_info_sources
203
-
204
- # Optional. The employer's company size.
205
- # Corresponds to the JSON property `companySize`
206
- # @return [String]
207
- attr_accessor :company_size
208
-
209
- # Deprecated. Do not use this field. Optional. This field is no longer used. Any
210
- # value set to it is ignored.
211
- # Corresponds to the JSON property `disableLocationOptimization`
212
- # @return [Boolean]
213
- attr_accessor :disable_location_optimization
214
- alias_method :disable_location_optimization?, :disable_location_optimization
215
-
216
- # Required. The name of the employer to be displayed with the job, for example, "
217
- # Google, LLC.".
218
- # Corresponds to the JSON property `displayName`
219
- # @return [String]
220
- attr_accessor :display_name
221
-
222
- # Optional. The unique company identifier provided by the client to identify an
223
- # employer for billing purposes. Recommended practice is to use the
224
- # distributor_company_id. Defaults to same value as distributor_company_id when
225
- # a value is not provided.
226
- # Corresponds to the JSON property `distributorBillingCompanyId`
227
- # @return [String]
228
- attr_accessor :distributor_billing_company_id
229
-
230
- # Required. A client's company identifier, used to uniquely identify the company.
231
- # If an employer has a subsidiary or sub-brand, such as "Alphabet" and "Google",
232
- # which the client wishes to use as the company displayed on the job. Best
233
- # practice is to create a distinct company identifier for each distinct brand
234
- # displayed. The maximum number of allowed characters is 255.
235
- # Corresponds to the JSON property `distributorCompanyId`
236
- # @return [String]
237
- attr_accessor :distributor_company_id
238
-
239
- # Optional. Equal Employment Opportunity legal disclaimer text to be associated
240
- # with all jobs, and typically to be displayed in all roles. The maximum number
241
- # of allowed characters is 500.
242
- # Corresponds to the JSON property `eeoText`
243
- # @return [String]
244
- attr_accessor :eeo_text
245
-
246
- # Optional. Set to true if it is the hiring agency that post jobs for other
247
- # employers. Defaults to false if not provided.
248
- # Corresponds to the JSON property `hiringAgency`
249
- # @return [Boolean]
250
- attr_accessor :hiring_agency
251
- alias_method :hiring_agency?, :hiring_agency
252
-
253
- # Optional. The street address of the company's main headquarters, which may be
254
- # different from the job location. The service attempts to geolocate the
255
- # provided address, and populates a more specific location wherever possible in
256
- # structured_company_hq_location.
257
- # Corresponds to the JSON property `hqLocation`
258
- # @return [String]
259
- attr_accessor :hq_location
260
-
261
- # Optional. A URL that hosts the employer's company logo. If provided, the logo
262
- # image should be squared at 80x80 pixels. The url must be a Google Photos or
263
- # Google Album url. Only images in these Google sub-domains are accepted.
264
- # Corresponds to the JSON property `imageUrl`
265
- # @return [String]
266
- attr_accessor :image_url
267
-
268
- # Optional. A list of keys of filterable Job.custom_attributes, whose
269
- # corresponding `string_values` are used in keyword search. Jobs with `
270
- # string_values` under these specified field keys are returned if any of the
271
- # values matches the search keyword. Custom field values with parenthesis,
272
- # brackets and special symbols might not be properly searchable, and those
273
- # keyword queries need to be surrounded by quotes.
274
- # Corresponds to the JSON property `keywordSearchableCustomAttributes`
275
- # @return [Array<String>]
276
- attr_accessor :keyword_searchable_custom_attributes
277
-
278
- # Deprecated. Use keyword_searchable_custom_attributes instead. Optional. A list
279
- # of filterable custom fields that should be used in keyword search. The jobs of
280
- # this company are returned if any of these custom fields matches the search
281
- # keyword. Custom field values with parenthesis, brackets and special symbols
282
- # might not be properly searchable, and those keyword queries need to be
283
- # surrounded by quotes.
284
- # Corresponds to the JSON property `keywordSearchableCustomFields`
285
- # @return [Array<Fixnum>]
286
- attr_accessor :keyword_searchable_custom_fields
287
-
288
- # Required during company update. The resource name for a company. This is
289
- # generated by the service when a company is created, for example, "companies/
290
- # 0000aaaa-1111-bbbb-2222-cccc3333dddd".
291
- # Corresponds to the JSON property `name`
292
- # @return [String]
293
- attr_accessor :name
294
-
295
- # Output only. A resource that represents a location with full geographic
296
- # information.
297
- # Corresponds to the JSON property `structuredCompanyHqLocation`
298
- # @return [Google::Apis::JobsV2::JobLocation]
299
- attr_accessor :structured_company_hq_location
300
-
301
- # Output only. Indicates whether a company is flagged to be suspended from
302
- # public availability by the service when job content appears suspicious,
303
- # abusive, or spammy.
304
- # Corresponds to the JSON property `suspended`
305
- # @return [Boolean]
306
- attr_accessor :suspended
307
- alias_method :suspended?, :suspended
308
-
309
- # Deprecated. Use display_name instead. Required. The name of the employer to be
310
- # displayed with the job, for example, "Google, LLC.".
311
- # Corresponds to the JSON property `title`
312
- # @return [String]
313
- attr_accessor :title
314
-
315
- # Optional. The URL representing the company's primary web site or home page,
316
- # such as, "www.google.com".
317
- # Corresponds to the JSON property `website`
318
- # @return [String]
319
- attr_accessor :website
320
-
321
- def initialize(**args)
322
- update!(**args)
323
- end
324
-
325
- # Update properties of this object
326
- def update!(**args)
327
- @career_page_link = args[:career_page_link] if args.key?(:career_page_link)
328
- @company_info_sources = args[:company_info_sources] if args.key?(:company_info_sources)
329
- @company_size = args[:company_size] if args.key?(:company_size)
330
- @disable_location_optimization = args[:disable_location_optimization] if args.key?(:disable_location_optimization)
331
- @display_name = args[:display_name] if args.key?(:display_name)
332
- @distributor_billing_company_id = args[:distributor_billing_company_id] if args.key?(:distributor_billing_company_id)
333
- @distributor_company_id = args[:distributor_company_id] if args.key?(:distributor_company_id)
334
- @eeo_text = args[:eeo_text] if args.key?(:eeo_text)
335
- @hiring_agency = args[:hiring_agency] if args.key?(:hiring_agency)
336
- @hq_location = args[:hq_location] if args.key?(:hq_location)
337
- @image_url = args[:image_url] if args.key?(:image_url)
338
- @keyword_searchable_custom_attributes = args[:keyword_searchable_custom_attributes] if args.key?(:keyword_searchable_custom_attributes)
339
- @keyword_searchable_custom_fields = args[:keyword_searchable_custom_fields] if args.key?(:keyword_searchable_custom_fields)
340
- @name = args[:name] if args.key?(:name)
341
- @structured_company_hq_location = args[:structured_company_hq_location] if args.key?(:structured_company_hq_location)
342
- @suspended = args[:suspended] if args.key?(:suspended)
343
- @title = args[:title] if args.key?(:title)
344
- @website = args[:website] if args.key?(:website)
345
- end
346
- end
347
-
348
- # A resource that represents an external Google identifier for a company, for
349
- # example, a Google+ business page or a Google Maps business page. For
350
- # unsupported types, use `unknown_type_id`.
351
- class CompanyInfoSource
352
- include Google::Apis::Core::Hashable
353
-
354
- # Optional. The Google's Knowledge Graph value for the employer's company.
355
- # Corresponds to the JSON property `freebaseMid`
356
- # @return [String]
357
- attr_accessor :freebase_mid
358
-
359
- # Optional. The numeric identifier for the employer's Google+ business page.
360
- # Corresponds to the JSON property `gplusId`
361
- # @return [String]
362
- attr_accessor :gplus_id
363
-
364
- # Optional. The numeric identifier for the employer's headquarters on Google
365
- # Maps, namely, the Google Maps CID (cell id).
366
- # Corresponds to the JSON property `mapsCid`
367
- # @return [String]
368
- attr_accessor :maps_cid
369
-
370
- # Optional. A Google identifier that does not match any of the other types.
371
- # Corresponds to the JSON property `unknownTypeId`
372
- # @return [String]
373
- attr_accessor :unknown_type_id
374
-
375
- def initialize(**args)
376
- update!(**args)
377
- end
378
-
379
- # Update properties of this object
380
- def update!(**args)
381
- @freebase_mid = args[:freebase_mid] if args.key?(:freebase_mid)
382
- @gplus_id = args[:gplus_id] if args.key?(:gplus_id)
383
- @maps_cid = args[:maps_cid] if args.key?(:maps_cid)
384
- @unknown_type_id = args[:unknown_type_id] if args.key?(:unknown_type_id)
385
- end
386
- end
387
-
388
- # A compensation entry that represents one component of compensation, such as
389
- # base pay, bonus, or other compensation type. Annualization: One compensation
390
- # entry can be annualized if - it contains valid amount or range. - and its
391
- # expected_units_per_year is set or can be derived. Its annualized range is
392
- # determined as (amount or range) times expected_units_per_year.
393
- class CompensationEntry
394
- include Google::Apis::Core::Hashable
395
-
396
- # Represents an amount of money with its currency type.
397
- # Corresponds to the JSON property `amount`
398
- # @return [Google::Apis::JobsV2::Money]
399
- attr_accessor :amount
400
-
401
- # Optional. Compensation description. For example, could indicate equity terms
402
- # or provide additional context to an estimated bonus.
403
- # Corresponds to the JSON property `description`
404
- # @return [String]
405
- attr_accessor :description
406
-
407
- # Optional. Expected number of units paid each year. If not specified, when Job.
408
- # employment_types is FULLTIME, a default value is inferred based on unit.
409
- # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
410
- # ANNUAL: 1
411
- # Corresponds to the JSON property `expectedUnitsPerYear`
412
- # @return [Float]
413
- attr_accessor :expected_units_per_year
414
-
415
- # Compensation range.
416
- # Corresponds to the JSON property `range`
417
- # @return [Google::Apis::JobsV2::CompensationRange]
418
- attr_accessor :range
419
-
420
- # Required. Compensation type.
421
- # Corresponds to the JSON property `type`
422
- # @return [String]
423
- attr_accessor :type
424
-
425
- # Optional. Frequency of the specified amount. Default is CompensationUnit.
426
- # COMPENSATION_UNIT_UNSPECIFIED.
427
- # Corresponds to the JSON property `unit`
428
- # @return [String]
429
- attr_accessor :unit
430
-
431
- def initialize(**args)
432
- update!(**args)
433
- end
434
-
435
- # Update properties of this object
436
- def update!(**args)
437
- @amount = args[:amount] if args.key?(:amount)
438
- @description = args[:description] if args.key?(:description)
439
- @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
440
- @range = args[:range] if args.key?(:range)
441
- @type = args[:type] if args.key?(:type)
442
- @unit = args[:unit] if args.key?(:unit)
443
- end
444
- end
445
-
446
- # Input only. Filter on job compensation type and amount.
447
- class CompensationFilter
448
- include Google::Apis::Core::Hashable
449
-
450
- # Optional. Whether to include jobs whose compensation range is unspecified.
451
- # Corresponds to the JSON property `includeJobsWithUnspecifiedCompensationRange`
452
- # @return [Boolean]
453
- attr_accessor :include_jobs_with_unspecified_compensation_range
454
- alias_method :include_jobs_with_unspecified_compensation_range?, :include_jobs_with_unspecified_compensation_range
455
-
456
- # Compensation range.
457
- # Corresponds to the JSON property `range`
458
- # @return [Google::Apis::JobsV2::CompensationRange]
459
- attr_accessor :range
460
-
461
- # Required. Type of filter.
462
- # Corresponds to the JSON property `type`
463
- # @return [String]
464
- attr_accessor :type
465
-
466
- # Required. Specify desired `base compensation entry's` CompensationInfo.
467
- # CompensationUnit.
468
- # Corresponds to the JSON property `units`
469
- # @return [Array<String>]
470
- attr_accessor :units
471
-
472
- def initialize(**args)
473
- update!(**args)
474
- end
475
-
476
- # Update properties of this object
477
- def update!(**args)
478
- @include_jobs_with_unspecified_compensation_range = args[:include_jobs_with_unspecified_compensation_range] if args.key?(:include_jobs_with_unspecified_compensation_range)
479
- @range = args[:range] if args.key?(:range)
480
- @type = args[:type] if args.key?(:type)
481
- @units = args[:units] if args.key?(:units)
482
- end
483
- end
484
-
485
- # Input only. Compensation based histogram request.
486
- class CompensationHistogramRequest
487
- include Google::Apis::Core::Hashable
488
-
489
- # Input only. Use this field to specify bucketing option for the histogram
490
- # search response.
491
- # Corresponds to the JSON property `bucketingOption`
492
- # @return [Google::Apis::JobsV2::NumericBucketingOption]
493
- attr_accessor :bucketing_option
494
-
495
- # Required. Type of the request, representing which field the histogramming
496
- # should be performed over. A single request can only specify one histogram of
497
- # each `CompensationHistogramRequestType`.
498
- # Corresponds to the JSON property `type`
499
- # @return [String]
500
- attr_accessor :type
501
-
502
- def initialize(**args)
503
- update!(**args)
504
- end
505
-
506
- # Update properties of this object
507
- def update!(**args)
508
- @bucketing_option = args[:bucketing_option] if args.key?(:bucketing_option)
509
- @type = args[:type] if args.key?(:type)
510
- end
511
- end
512
-
513
- # Output only. Compensation based histogram result.
514
- class CompensationHistogramResult
515
- include Google::Apis::Core::Hashable
516
-
517
- # Output only. Custom numeric bucketing result.
518
- # Corresponds to the JSON property `result`
519
- # @return [Google::Apis::JobsV2::NumericBucketingResult]
520
- attr_accessor :result
521
-
522
- # Type of the request, corresponding to CompensationHistogramRequest.type.
523
- # Corresponds to the JSON property `type`
524
- # @return [String]
525
- attr_accessor :type
526
-
527
- def initialize(**args)
528
- update!(**args)
529
- end
530
-
531
- # Update properties of this object
532
- def update!(**args)
533
- @result = args[:result] if args.key?(:result)
534
- @type = args[:type] if args.key?(:type)
535
- end
536
- end
537
-
538
- # Job compensation details.
539
- class CompensationInfo
540
- include Google::Apis::Core::Hashable
541
-
542
- # Represents an amount of money with its currency type.
543
- # Corresponds to the JSON property `amount`
544
- # @return [Google::Apis::JobsV2::Money]
545
- attr_accessor :amount
546
-
547
- # Compensation range.
548
- # Corresponds to the JSON property `annualizedBaseCompensationRange`
549
- # @return [Google::Apis::JobsV2::CompensationRange]
550
- attr_accessor :annualized_base_compensation_range
551
-
552
- # Compensation range.
553
- # Corresponds to the JSON property `annualizedTotalCompensationRange`
554
- # @return [Google::Apis::JobsV2::CompensationRange]
555
- attr_accessor :annualized_total_compensation_range
556
-
557
- # Optional. Job compensation information. At most one entry can be of type
558
- # CompensationInfo.CompensationType.BASE, which is referred as ** base
559
- # compensation entry ** for the job.
560
- # Corresponds to the JSON property `entries`
561
- # @return [Array<Google::Apis::JobsV2::CompensationEntry>]
562
- attr_accessor :entries
563
-
564
- # Represents an amount of money with its currency type.
565
- # Corresponds to the JSON property `max`
566
- # @return [Google::Apis::JobsV2::Money]
567
- attr_accessor :max
568
-
569
- # Represents an amount of money with its currency type.
570
- # Corresponds to the JSON property `min`
571
- # @return [Google::Apis::JobsV2::Money]
572
- attr_accessor :min
573
-
574
- # Deprecated. Use entries instead. Optional. Type of job compensation.
575
- # Corresponds to the JSON property `type`
576
- # @return [String]
577
- attr_accessor :type
578
-
579
- def initialize(**args)
580
- update!(**args)
581
- end
582
-
583
- # Update properties of this object
584
- def update!(**args)
585
- @amount = args[:amount] if args.key?(:amount)
586
- @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
587
- @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
588
- @entries = args[:entries] if args.key?(:entries)
589
- @max = args[:max] if args.key?(:max)
590
- @min = args[:min] if args.key?(:min)
591
- @type = args[:type] if args.key?(:type)
592
- end
593
- end
594
-
595
- # Compensation range.
596
- class CompensationRange
597
- include Google::Apis::Core::Hashable
598
-
599
- # Represents an amount of money with its currency type.
600
- # Corresponds to the JSON property `max`
601
- # @return [Google::Apis::JobsV2::Money]
602
- attr_accessor :max
603
-
604
- # Represents an amount of money with its currency type.
605
- # Corresponds to the JSON property `min`
606
- # @return [Google::Apis::JobsV2::Money]
607
- attr_accessor :min
608
-
609
- def initialize(**args)
610
- update!(**args)
611
- end
612
-
613
- # Update properties of this object
614
- def update!(**args)
615
- @max = args[:max] if args.key?(:max)
616
- @min = args[:min] if args.key?(:min)
617
- end
618
- end
619
-
620
- # Output only. Response of auto-complete query.
621
- class CompleteQueryResponse
622
- include Google::Apis::Core::Hashable
623
-
624
- # Results of the matching job/company candidates.
625
- # Corresponds to the JSON property `completionResults`
626
- # @return [Array<Google::Apis::JobsV2::CompletionResult>]
627
- attr_accessor :completion_results
628
-
629
- # Output only. Additional information returned to client, such as debugging
630
- # information.
631
- # Corresponds to the JSON property `metadata`
632
- # @return [Google::Apis::JobsV2::ResponseMetadata]
633
- attr_accessor :metadata
634
-
635
- def initialize(**args)
636
- update!(**args)
637
- end
638
-
639
- # Update properties of this object
640
- def update!(**args)
641
- @completion_results = args[:completion_results] if args.key?(:completion_results)
642
- @metadata = args[:metadata] if args.key?(:metadata)
643
- end
644
- end
645
-
646
- # Output only. Resource that represents completion results.
647
- class CompletionResult
648
- include Google::Apis::Core::Hashable
649
-
650
- # The URL for the company logo if `type=COMPANY_NAME`.
651
- # Corresponds to the JSON property `imageUrl`
652
- # @return [String]
653
- attr_accessor :image_url
654
-
655
- # The suggestion for the query.
656
- # Corresponds to the JSON property `suggestion`
657
- # @return [String]
658
- attr_accessor :suggestion
659
-
660
- # The completion topic.
661
- # Corresponds to the JSON property `type`
662
- # @return [String]
663
- attr_accessor :type
664
-
665
- def initialize(**args)
666
- update!(**args)
667
- end
668
-
669
- # Update properties of this object
670
- def update!(**args)
671
- @image_url = args[:image_url] if args.key?(:image_url)
672
- @suggestion = args[:suggestion] if args.key?(:suggestion)
673
- @type = args[:type] if args.key?(:type)
674
- end
675
- end
676
-
677
- # Input only. Create job request.
678
- class CreateJobRequest
679
- include Google::Apis::Core::Hashable
680
-
681
- # Deprecated. Please use processing_options. This flag is ignored if
682
- # processing_options is set. Optional. If set to `true`, the service does not
683
- # attempt to resolve a more precise address for the job.
684
- # Corresponds to the JSON property `disableStreetAddressResolution`
685
- # @return [Boolean]
686
- attr_accessor :disable_street_address_resolution
687
- alias_method :disable_street_address_resolution?, :disable_street_address_resolution
688
-
689
- # A Job resource represents a job posting (also referred to as a "job listing"
690
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
691
- # responsible for the job.
692
- # Corresponds to the JSON property `job`
693
- # @return [Google::Apis::JobsV2::Job]
694
- attr_accessor :job
695
-
696
- # Input only. Options for job processing.
697
- # Corresponds to the JSON property `processingOptions`
698
- # @return [Google::Apis::JobsV2::JobProcessingOptions]
699
- attr_accessor :processing_options
700
-
701
- def initialize(**args)
702
- update!(**args)
703
- end
704
-
705
- # Update properties of this object
706
- def update!(**args)
707
- @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
708
- @job = args[:job] if args.key?(:job)
709
- @processing_options = args[:processing_options] if args.key?(:processing_options)
710
- end
711
- end
712
-
713
- # Custom attribute values that are either filterable or non-filterable.
714
- class CustomAttribute
715
- include Google::Apis::Core::Hashable
716
-
717
- # Optional. If the `filterable` flag is true, custom field values are searchable.
718
- # If false, values are not searchable. Default is false.
719
- # Corresponds to the JSON property `filterable`
720
- # @return [Boolean]
721
- attr_accessor :filterable
722
- alias_method :filterable?, :filterable
723
-
724
- # Optional but at least one of string_values or long_value must be specified.
725
- # This field is used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `
726
- # LT`) over filterable `long_value`. For `long_value`, a value between Long.MIN
727
- # and Long.MAX is allowed.
728
- # Corresponds to the JSON property `longValue`
729
- # @return [Fixnum]
730
- attr_accessor :long_value
731
-
732
- # Represents array of string values.
733
- # Corresponds to the JSON property `stringValues`
734
- # @return [Google::Apis::JobsV2::StringValues]
735
- attr_accessor :string_values
736
-
737
- def initialize(**args)
738
- update!(**args)
739
- end
740
-
741
- # Update properties of this object
742
- def update!(**args)
743
- @filterable = args[:filterable] if args.key?(:filterable)
744
- @long_value = args[:long_value] if args.key?(:long_value)
745
- @string_values = args[:string_values] if args.key?(:string_values)
746
- end
747
- end
748
-
749
- # Custom attributes histogram request. An error will be thrown if neither
750
- # string_value_histogram or long_value_histogram_bucketing_option has been
751
- # defined.
752
- class CustomAttributeHistogramRequest
753
- include Google::Apis::Core::Hashable
754
-
755
- # Required. Specifies the custom field key to perform a histogram on. If
756
- # specified without `long_value_histogram_bucketing_option`, histogram on string
757
- # values of the given `key` is triggered, otherwise histogram is performed on
758
- # long values.
759
- # Corresponds to the JSON property `key`
760
- # @return [String]
761
- attr_accessor :key
762
-
763
- # Input only. Use this field to specify bucketing option for the histogram
764
- # search response.
765
- # Corresponds to the JSON property `longValueHistogramBucketingOption`
766
- # @return [Google::Apis::JobsV2::NumericBucketingOption]
767
- attr_accessor :long_value_histogram_bucketing_option
768
-
769
- # Optional. If set to true, the response will include the histogram value for
770
- # each key as a string.
771
- # Corresponds to the JSON property `stringValueHistogram`
772
- # @return [Boolean]
773
- attr_accessor :string_value_histogram
774
- alias_method :string_value_histogram?, :string_value_histogram
775
-
776
- def initialize(**args)
777
- update!(**args)
778
- end
779
-
780
- # Update properties of this object
781
- def update!(**args)
782
- @key = args[:key] if args.key?(:key)
783
- @long_value_histogram_bucketing_option = args[:long_value_histogram_bucketing_option] if args.key?(:long_value_histogram_bucketing_option)
784
- @string_value_histogram = args[:string_value_histogram] if args.key?(:string_value_histogram)
785
- end
786
- end
787
-
788
- # Output only. Custom attribute histogram result.
789
- class CustomAttributeHistogramResult
790
- include Google::Apis::Core::Hashable
791
-
792
- # Stores the key of custom attribute the histogram is performed on.
793
- # Corresponds to the JSON property `key`
794
- # @return [String]
795
- attr_accessor :key
796
-
797
- # Output only. Custom numeric bucketing result.
798
- # Corresponds to the JSON property `longValueHistogramResult`
799
- # @return [Google::Apis::JobsV2::NumericBucketingResult]
800
- attr_accessor :long_value_histogram_result
801
-
802
- # Stores a map from the values of string custom field associated with `key` to
803
- # the number of jobs with that value in this histogram result.
804
- # Corresponds to the JSON property `stringValueHistogramResult`
805
- # @return [Hash<String,Fixnum>]
806
- attr_accessor :string_value_histogram_result
807
-
808
- def initialize(**args)
809
- update!(**args)
810
- end
811
-
812
- # Update properties of this object
813
- def update!(**args)
814
- @key = args[:key] if args.key?(:key)
815
- @long_value_histogram_result = args[:long_value_histogram_result] if args.key?(:long_value_histogram_result)
816
- @string_value_histogram_result = args[:string_value_histogram_result] if args.key?(:string_value_histogram_result)
817
- end
818
- end
819
-
820
- # Resource that represents the custom data not captured by the standard fields.
821
- class CustomField
822
- include Google::Apis::Core::Hashable
823
-
824
- # Optional. The values of the custom data.
825
- # Corresponds to the JSON property `values`
826
- # @return [Array<String>]
827
- attr_accessor :values
828
-
829
- def initialize(**args)
830
- update!(**args)
831
- end
832
-
833
- # Update properties of this object
834
- def update!(**args)
835
- @values = args[:values] if args.key?(:values)
836
- end
837
- end
838
-
839
- # Input only. Custom field filter of the search.
840
- class CustomFieldFilter
841
- include Google::Apis::Core::Hashable
842
-
843
- # Required. The query strings for the filter.
844
- # Corresponds to the JSON property `queries`
845
- # @return [Array<String>]
846
- attr_accessor :queries
847
-
848
- # Optional. The type of filter. Defaults to FilterType.OR.
849
- # Corresponds to the JSON property `type`
850
- # @return [String]
851
- attr_accessor :type
852
-
853
- def initialize(**args)
854
- update!(**args)
855
- end
856
-
857
- # Update properties of this object
858
- def update!(**args)
859
- @queries = args[:queries] if args.key?(:queries)
860
- @type = args[:type] if args.key?(:type)
861
- end
862
- end
863
-
864
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
865
- # and time zone are either specified elsewhere or are not significant. The date
866
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
867
- # date, with non-zero year, month and day values * A month and day value, with a
868
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
869
- # values * A year and month value, with a zero day, e.g. a credit card
870
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
871
- # Timestamp`.
872
- class Date
873
- include Google::Apis::Core::Hashable
874
-
875
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
876
- # specifying a year by itself or a year and month where the day is not
877
- # significant.
878
- # Corresponds to the JSON property `day`
879
- # @return [Fixnum]
880
- attr_accessor :day
881
-
882
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
883
- # and day.
884
- # Corresponds to the JSON property `month`
885
- # @return [Fixnum]
886
- attr_accessor :month
887
-
888
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
889
- # Corresponds to the JSON property `year`
890
- # @return [Fixnum]
891
- attr_accessor :year
892
-
893
- def initialize(**args)
894
- update!(**args)
895
- end
896
-
897
- # Update properties of this object
898
- def update!(**args)
899
- @day = args[:day] if args.key?(:day)
900
- @month = args[:month] if args.key?(:month)
901
- @year = args[:year] if args.key?(:year)
902
- end
903
- end
904
-
905
- # Deprecated. Use BatchDeleteJobsRequest instead. Input only. Delete job by
906
- # filter request. The job typically becomes unsearchable within 10 seconds, but
907
- # it may take up to 5 minutes.
908
- class DeleteJobsByFilterRequest
909
- include Google::Apis::Core::Hashable
910
-
911
- # Optional. If set to true, this call waits for all processing steps to complete
912
- # before the job is cleaned up. Otherwise, the call returns while some steps are
913
- # still taking place asynchronously, hence faster.
914
- # Corresponds to the JSON property `disableFastProcess`
915
- # @return [Boolean]
916
- attr_accessor :disable_fast_process
917
- alias_method :disable_fast_process?, :disable_fast_process
918
-
919
- # Deprecated. Use BatchDeleteJobsRequest instead. Input only. Filter for jobs to
920
- # be deleted.
921
- # Corresponds to the JSON property `filter`
922
- # @return [Google::Apis::JobsV2::Filter]
923
- attr_accessor :filter
924
-
925
- def initialize(**args)
926
- update!(**args)
927
- end
928
-
929
- # Update properties of this object
930
- def update!(**args)
931
- @disable_fast_process = args[:disable_fast_process] if args.key?(:disable_fast_process)
932
- @filter = args[:filter] if args.key?(:filter)
933
- end
934
- end
935
-
936
- # Input only. Device information collected from the job seeker, candidate, or
937
- # other entity conducting the job search. Providing this information improves
938
- # the quality of the search results across devices.
939
- class DeviceInfo
940
- include Google::Apis::Core::Hashable
941
-
942
- # Optional. Type of the device.
943
- # Corresponds to the JSON property `deviceType`
944
- # @return [String]
945
- attr_accessor :device_type
946
-
947
- # Optional. A device-specific ID. The ID must be a unique identifier that
948
- # distinguishes the device from other devices.
949
- # Corresponds to the JSON property `id`
950
- # @return [String]
951
- attr_accessor :id
952
-
953
- def initialize(**args)
954
- update!(**args)
955
- end
956
-
957
- # Update properties of this object
958
- def update!(**args)
959
- @device_type = args[:device_type] if args.key?(:device_type)
960
- @id = args[:id] if args.key?(:id)
961
- end
962
- end
963
-
964
- # A generic empty message that you can re-use to avoid defining duplicated empty
965
- # messages in your APIs. A typical example is to use it as the request or the
966
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
967
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
968
- # `Empty` is empty JSON object ````.
969
- class Empty
970
- include Google::Apis::Core::Hashable
971
-
972
- def initialize(**args)
973
- update!(**args)
974
- end
975
-
976
- # Update properties of this object
977
- def update!(**args)
978
- end
979
- end
980
-
981
- # Deprecated. Always use CompensationFilter. Input only. Filter on job
982
- # compensation type and amount.
983
- class ExtendedCompensationFilter
984
- include Google::Apis::Core::Hashable
985
-
986
- # Deprecated. See CompensationInfo. Compensation range.
987
- # Corresponds to the JSON property `compensationRange`
988
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange]
989
- attr_accessor :compensation_range
990
-
991
- # Required. Specify desired `base compensation entry's` ExtendedCompensationInfo.
992
- # CompensationUnit.
993
- # Corresponds to the JSON property `compensationUnits`
994
- # @return [Array<String>]
995
- attr_accessor :compensation_units
996
-
997
- # Optional. Specify currency in 3-letter [ISO 4217](https://www.iso.org/iso-4217-
998
- # currency-codes.html) format. If unspecified, jobs are returned regardless of
999
- # currency.
1000
- # Corresponds to the JSON property `currency`
1001
- # @return [String]
1002
- attr_accessor :currency
1003
-
1004
- # Optional. Whether to include jobs whose compensation range is unspecified.
1005
- # Corresponds to the JSON property `includeJobWithUnspecifiedCompensationRange`
1006
- # @return [Boolean]
1007
- attr_accessor :include_job_with_unspecified_compensation_range
1008
- alias_method :include_job_with_unspecified_compensation_range?, :include_job_with_unspecified_compensation_range
1009
-
1010
- # Required. Type of filter.
1011
- # Corresponds to the JSON property `type`
1012
- # @return [String]
1013
- attr_accessor :type
1014
-
1015
- def initialize(**args)
1016
- update!(**args)
1017
- end
1018
-
1019
- # Update properties of this object
1020
- def update!(**args)
1021
- @compensation_range = args[:compensation_range] if args.key?(:compensation_range)
1022
- @compensation_units = args[:compensation_units] if args.key?(:compensation_units)
1023
- @currency = args[:currency] if args.key?(:currency)
1024
- @include_job_with_unspecified_compensation_range = args[:include_job_with_unspecified_compensation_range] if args.key?(:include_job_with_unspecified_compensation_range)
1025
- @type = args[:type] if args.key?(:type)
1026
- end
1027
- end
1028
-
1029
- # Deprecated. Use CompensationInfo. Describes job compensation.
1030
- class ExtendedCompensationInfo
1031
- include Google::Apis::Core::Hashable
1032
-
1033
- # Deprecated. See CompensationInfo. Compensation range.
1034
- # Corresponds to the JSON property `annualizedBaseCompensationRange`
1035
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange]
1036
- attr_accessor :annualized_base_compensation_range
1037
-
1038
- # Output only. Indicates annualized base compensation range cannot be derived,
1039
- # due to the job's base compensation entry cannot be annualized. See
1040
- # CompensationEntry for explanation on annualization and base compensation entry.
1041
- # Corresponds to the JSON property `annualizedBaseCompensationUnspecified`
1042
- # @return [Boolean]
1043
- attr_accessor :annualized_base_compensation_unspecified
1044
- alias_method :annualized_base_compensation_unspecified?, :annualized_base_compensation_unspecified
1045
-
1046
- # Deprecated. See CompensationInfo. Compensation range.
1047
- # Corresponds to the JSON property `annualizedTotalCompensationRange`
1048
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange]
1049
- attr_accessor :annualized_total_compensation_range
1050
-
1051
- # Output only. Indicates annualized total compensation range cannot be derived,
1052
- # due to the job's all CompensationEntry cannot be annualized. See
1053
- # CompensationEntry for explanation on annualization and base compensation entry.
1054
- # Corresponds to the JSON property `annualizedTotalCompensationUnspecified`
1055
- # @return [Boolean]
1056
- attr_accessor :annualized_total_compensation_unspecified
1057
- alias_method :annualized_total_compensation_unspecified?, :annualized_total_compensation_unspecified
1058
-
1059
- # Optional. A 3-letter [ISO 4217](https://www.iso.org/iso-4217-currency-codes.
1060
- # html) currency code.
1061
- # Corresponds to the JSON property `currency`
1062
- # @return [String]
1063
- attr_accessor :currency
1064
-
1065
- # Optional. Job compensation information. At most one entry can be of type
1066
- # ExtendedCompensationInfo.CompensationType.BASE, which is referred as ** base
1067
- # compensation entry ** for the job.
1068
- # Corresponds to the JSON property `entries`
1069
- # @return [Array<Google::Apis::JobsV2::ExtendedCompensationInfoCompensationEntry>]
1070
- attr_accessor :entries
1071
-
1072
- def initialize(**args)
1073
- update!(**args)
1074
- end
1075
-
1076
- # Update properties of this object
1077
- def update!(**args)
1078
- @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
1079
- @annualized_base_compensation_unspecified = args[:annualized_base_compensation_unspecified] if args.key?(:annualized_base_compensation_unspecified)
1080
- @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
1081
- @annualized_total_compensation_unspecified = args[:annualized_total_compensation_unspecified] if args.key?(:annualized_total_compensation_unspecified)
1082
- @currency = args[:currency] if args.key?(:currency)
1083
- @entries = args[:entries] if args.key?(:entries)
1084
- end
1085
- end
1086
-
1087
- # Deprecated. See CompensationInfo. A compensation entry that represents one
1088
- # component of compensation, such as base pay, bonus, or other compensation type.
1089
- # Annualization: One compensation entry can be annualized if - it contains
1090
- # valid amount or range. - and its expected_units_per_year is set or can be
1091
- # derived. Its annualized range is determined as (amount or range) times
1092
- # expected_units_per_year.
1093
- class ExtendedCompensationInfoCompensationEntry
1094
- include Google::Apis::Core::Hashable
1095
-
1096
- # Deprecated. See CompensationInfo. Decimal number.
1097
- # Corresponds to the JSON property `amount`
1098
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoDecimal]
1099
- attr_accessor :amount
1100
-
1101
- # Optional. Compensation description.
1102
- # Corresponds to the JSON property `description`
1103
- # @return [String]
1104
- attr_accessor :description
1105
-
1106
- # Deprecated. See CompensationInfo. Decimal number.
1107
- # Corresponds to the JSON property `expectedUnitsPerYear`
1108
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoDecimal]
1109
- attr_accessor :expected_units_per_year
1110
-
1111
- # Deprecated. See CompensationInfo. Compensation range.
1112
- # Corresponds to the JSON property `range`
1113
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange]
1114
- attr_accessor :range
1115
-
1116
- # Required. Compensation type.
1117
- # Corresponds to the JSON property `type`
1118
- # @return [String]
1119
- attr_accessor :type
1120
-
1121
- # Optional. Frequency of the specified amount. Default is CompensationUnit.
1122
- # COMPENSATION_UNIT_UNSPECIFIED.
1123
- # Corresponds to the JSON property `unit`
1124
- # @return [String]
1125
- attr_accessor :unit
1126
-
1127
- # Optional. Indicates compensation amount and range are unset.
1128
- # Corresponds to the JSON property `unspecified`
1129
- # @return [Boolean]
1130
- attr_accessor :unspecified
1131
- alias_method :unspecified?, :unspecified
1132
-
1133
- def initialize(**args)
1134
- update!(**args)
1135
- end
1136
-
1137
- # Update properties of this object
1138
- def update!(**args)
1139
- @amount = args[:amount] if args.key?(:amount)
1140
- @description = args[:description] if args.key?(:description)
1141
- @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
1142
- @range = args[:range] if args.key?(:range)
1143
- @type = args[:type] if args.key?(:type)
1144
- @unit = args[:unit] if args.key?(:unit)
1145
- @unspecified = args[:unspecified] if args.key?(:unspecified)
1146
- end
1147
- end
1148
-
1149
- # Deprecated. See CompensationInfo. Compensation range.
1150
- class ExtendedCompensationInfoCompensationRange
1151
- include Google::Apis::Core::Hashable
1152
-
1153
- # Deprecated. See CompensationInfo. Decimal number.
1154
- # Corresponds to the JSON property `max`
1155
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoDecimal]
1156
- attr_accessor :max
1157
-
1158
- # Deprecated. See CompensationInfo. Decimal number.
1159
- # Corresponds to the JSON property `min`
1160
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfoDecimal]
1161
- attr_accessor :min
1162
-
1163
- def initialize(**args)
1164
- update!(**args)
1165
- end
1166
-
1167
- # Update properties of this object
1168
- def update!(**args)
1169
- @max = args[:max] if args.key?(:max)
1170
- @min = args[:min] if args.key?(:min)
1171
- end
1172
- end
1173
-
1174
- # Deprecated. See CompensationInfo. Decimal number.
1175
- class ExtendedCompensationInfoDecimal
1176
- include Google::Apis::Core::Hashable
1177
-
1178
- # Micro (10^-6) units. The value must be between -999,999 and +999,999 inclusive.
1179
- # If `units` is positive, `micros` must be positive or zero. If `units` is zero,
1180
- # `micros` can be positive, zero, or negative. If `units` is negative, `micros`
1181
- # must be negative or zero. For example -1.75 is represented as `units`=-1 and `
1182
- # micros`=-750,000.
1183
- # Corresponds to the JSON property `micros`
1184
- # @return [Fixnum]
1185
- attr_accessor :micros
1186
-
1187
- # Whole units.
1188
- # Corresponds to the JSON property `units`
1189
- # @return [Fixnum]
1190
- attr_accessor :units
1191
-
1192
- def initialize(**args)
1193
- update!(**args)
1194
- end
1195
-
1196
- # Update properties of this object
1197
- def update!(**args)
1198
- @micros = args[:micros] if args.key?(:micros)
1199
- @units = args[:units] if args.key?(:units)
1200
- end
1201
- end
1202
-
1203
- # Deprecated. Use BatchDeleteJobsRequest instead. Input only. Filter for jobs to
1204
- # be deleted.
1205
- class Filter
1206
- include Google::Apis::Core::Hashable
1207
-
1208
- # Required. The requisition ID (or posting ID) assigned by the client to
1209
- # identify a job. This is intended for client identification and tracking of
1210
- # listings. name takes precedence over this field The maximum number of allowed
1211
- # characters is 225.
1212
- # Corresponds to the JSON property `requisitionId`
1213
- # @return [String]
1214
- attr_accessor :requisition_id
1215
-
1216
- def initialize(**args)
1217
- update!(**args)
1218
- end
1219
-
1220
- # Update properties of this object
1221
- def update!(**args)
1222
- @requisition_id = args[:requisition_id] if args.key?(:requisition_id)
1223
- end
1224
- end
1225
-
1226
- # Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single
1227
- # call with both search and histogram. Input only. A request for the `
1228
- # GetHistogram` method.
1229
- class GetHistogramRequest
1230
- include Google::Apis::Core::Hashable
1231
-
1232
- # Optional. Controls whether to broaden the search to avoid too few results for
1233
- # a given query in instances where a search has sparse results. Results from a
1234
- # broadened query is a superset of the results from the original query. Defaults
1235
- # to false.
1236
- # Corresponds to the JSON property `allowBroadening`
1237
- # @return [Boolean]
1238
- attr_accessor :allow_broadening
1239
- alias_method :allow_broadening?, :allow_broadening
1240
-
1241
- # Input only. Deprecated. Use JobQuery instead. The filters required to perform
1242
- # a search query or histogram.
1243
- # Corresponds to the JSON property `filters`
1244
- # @return [Google::Apis::JobsV2::JobFilters]
1245
- attr_accessor :filters
1246
-
1247
- # Input only. The query required to perform a search query or histogram.
1248
- # Corresponds to the JSON property `query`
1249
- # @return [Google::Apis::JobsV2::JobQuery]
1250
- attr_accessor :query
1251
-
1252
- # Input only. Meta information related to the job searcher or entity conducting
1253
- # the job search. This information is used to improve the performance of the
1254
- # service.
1255
- # Corresponds to the JSON property `requestMetadata`
1256
- # @return [Google::Apis::JobsV2::RequestMetadata]
1257
- attr_accessor :request_metadata
1258
-
1259
- # Required. A list of facets that specify the histogram data to be calculated
1260
- # against and returned. Histogram response times can be slow, and counts can be
1261
- # approximations. This call may be temporarily or permanently removed prior to
1262
- # the production release of Cloud Talent Solution.
1263
- # Corresponds to the JSON property `searchTypes`
1264
- # @return [Array<String>]
1265
- attr_accessor :search_types
1266
-
1267
- def initialize(**args)
1268
- update!(**args)
1269
- end
1270
-
1271
- # Update properties of this object
1272
- def update!(**args)
1273
- @allow_broadening = args[:allow_broadening] if args.key?(:allow_broadening)
1274
- @filters = args[:filters] if args.key?(:filters)
1275
- @query = args[:query] if args.key?(:query)
1276
- @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
1277
- @search_types = args[:search_types] if args.key?(:search_types)
1278
- end
1279
- end
1280
-
1281
- # Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single
1282
- # call with both search and histogram. Output only. The response of the
1283
- # GetHistogram method.
1284
- class GetHistogramResponse
1285
- include Google::Apis::Core::Hashable
1286
-
1287
- # Output only. Additional information returned to client, such as debugging
1288
- # information.
1289
- # Corresponds to the JSON property `metadata`
1290
- # @return [Google::Apis::JobsV2::ResponseMetadata]
1291
- attr_accessor :metadata
1292
-
1293
- # The Histogram results.
1294
- # Corresponds to the JSON property `results`
1295
- # @return [Array<Google::Apis::JobsV2::HistogramResult>]
1296
- attr_accessor :results
1297
-
1298
- def initialize(**args)
1299
- update!(**args)
1300
- end
1301
-
1302
- # Update properties of this object
1303
- def update!(**args)
1304
- @metadata = args[:metadata] if args.key?(:metadata)
1305
- @results = args[:results] if args.key?(:results)
1306
- end
1307
- end
1308
-
1309
- # The result of JobService.BatchCreateJobs. It's used to replace google.
1310
- # longrunning.Operation.response in case of success.
1311
- class GoogleCloudTalentV4BatchCreateJobsResponse
1312
- include Google::Apis::Core::Hashable
1313
-
1314
- # List of job mutation results from a batch create operation. It can change
1315
- # until operation status is FINISHED, FAILED or CANCELLED.
1316
- # Corresponds to the JSON property `jobResults`
1317
- # @return [Array<Google::Apis::JobsV2::GoogleCloudTalentV4JobResult>]
1318
- attr_accessor :job_results
1319
-
1320
- def initialize(**args)
1321
- update!(**args)
1322
- end
1323
-
1324
- # Update properties of this object
1325
- def update!(**args)
1326
- @job_results = args[:job_results] if args.key?(:job_results)
1327
- end
1328
- end
1329
-
1330
- # The result of JobService.BatchDeleteJobs. It's used to replace google.
1331
- # longrunning.Operation.response in case of success.
1332
- class GoogleCloudTalentV4BatchDeleteJobsResponse
1333
- include Google::Apis::Core::Hashable
1334
-
1335
- # List of job mutation results from a batch delete operation. It can change
1336
- # until operation status is FINISHED, FAILED or CANCELLED.
1337
- # Corresponds to the JSON property `jobResults`
1338
- # @return [Array<Google::Apis::JobsV2::GoogleCloudTalentV4JobResult>]
1339
- attr_accessor :job_results
1340
-
1341
- def initialize(**args)
1342
- update!(**args)
1343
- end
1344
-
1345
- # Update properties of this object
1346
- def update!(**args)
1347
- @job_results = args[:job_results] if args.key?(:job_results)
1348
- end
1349
- end
1350
-
1351
- # Metadata used for long running operations returned by CTS batch APIs. It's
1352
- # used to replace google.longrunning.Operation.metadata.
1353
- class GoogleCloudTalentV4BatchOperationMetadata
1354
- include Google::Apis::Core::Hashable
1355
-
1356
- # The time when the batch operation is created.
1357
- # Corresponds to the JSON property `createTime`
1358
- # @return [String]
1359
- attr_accessor :create_time
1360
-
1361
- # The time when the batch operation is finished and google.longrunning.Operation.
1362
- # done is set to `true`.
1363
- # Corresponds to the JSON property `endTime`
1364
- # @return [String]
1365
- attr_accessor :end_time
1366
-
1367
- # Count of failed item(s) inside an operation.
1368
- # Corresponds to the JSON property `failureCount`
1369
- # @return [Fixnum]
1370
- attr_accessor :failure_count
1371
-
1372
- # The state of a long running operation.
1373
- # Corresponds to the JSON property `state`
1374
- # @return [String]
1375
- attr_accessor :state
1376
-
1377
- # More detailed information about operation state.
1378
- # Corresponds to the JSON property `stateDescription`
1379
- # @return [String]
1380
- attr_accessor :state_description
1381
-
1382
- # Count of successful item(s) inside an operation.
1383
- # Corresponds to the JSON property `successCount`
1384
- # @return [Fixnum]
1385
- attr_accessor :success_count
1386
-
1387
- # Count of total item(s) inside an operation.
1388
- # Corresponds to the JSON property `totalCount`
1389
- # @return [Fixnum]
1390
- attr_accessor :total_count
1391
-
1392
- # The time when the batch operation status is updated. The metadata and the
1393
- # update_time is refreshed every minute otherwise cached data is returned.
1394
- # Corresponds to the JSON property `updateTime`
1395
- # @return [String]
1396
- attr_accessor :update_time
1397
-
1398
- def initialize(**args)
1399
- update!(**args)
1400
- end
1401
-
1402
- # Update properties of this object
1403
- def update!(**args)
1404
- @create_time = args[:create_time] if args.key?(:create_time)
1405
- @end_time = args[:end_time] if args.key?(:end_time)
1406
- @failure_count = args[:failure_count] if args.key?(:failure_count)
1407
- @state = args[:state] if args.key?(:state)
1408
- @state_description = args[:state_description] if args.key?(:state_description)
1409
- @success_count = args[:success_count] if args.key?(:success_count)
1410
- @total_count = args[:total_count] if args.key?(:total_count)
1411
- @update_time = args[:update_time] if args.key?(:update_time)
1412
- end
1413
- end
1414
-
1415
- # The result of JobService.BatchUpdateJobs. It's used to replace google.
1416
- # longrunning.Operation.response in case of success.
1417
- class GoogleCloudTalentV4BatchUpdateJobsResponse
1418
- include Google::Apis::Core::Hashable
1419
-
1420
- # List of job mutation results from a batch update operation. It can change
1421
- # until operation status is FINISHED, FAILED or CANCELLED.
1422
- # Corresponds to the JSON property `jobResults`
1423
- # @return [Array<Google::Apis::JobsV2::GoogleCloudTalentV4JobResult>]
1424
- attr_accessor :job_results
1425
-
1426
- def initialize(**args)
1427
- update!(**args)
1428
- end
1429
-
1430
- # Update properties of this object
1431
- def update!(**args)
1432
- @job_results = args[:job_results] if args.key?(:job_results)
1433
- end
1434
- end
1435
-
1436
- # Job compensation details.
1437
- class GoogleCloudTalentV4CompensationInfo
1438
- include Google::Apis::Core::Hashable
1439
-
1440
- # Compensation range.
1441
- # Corresponds to the JSON property `annualizedBaseCompensationRange`
1442
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange]
1443
- attr_accessor :annualized_base_compensation_range
1444
-
1445
- # Compensation range.
1446
- # Corresponds to the JSON property `annualizedTotalCompensationRange`
1447
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange]
1448
- attr_accessor :annualized_total_compensation_range
1449
-
1450
- # Job compensation information. At most one entry can be of type
1451
- # CompensationInfo.CompensationType.BASE, which is referred as **base
1452
- # compensation entry** for the job.
1453
- # Corresponds to the JSON property `entries`
1454
- # @return [Array<Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationEntry>]
1455
- attr_accessor :entries
1456
-
1457
- def initialize(**args)
1458
- update!(**args)
1459
- end
1460
-
1461
- # Update properties of this object
1462
- def update!(**args)
1463
- @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
1464
- @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
1465
- @entries = args[:entries] if args.key?(:entries)
1466
- end
1467
- end
1468
-
1469
- # A compensation entry that represents one component of compensation, such as
1470
- # base pay, bonus, or other compensation type. Annualization: One compensation
1471
- # entry can be annualized if - it contains valid amount or range. - and its
1472
- # expected_units_per_year is set or can be derived. Its annualized range is
1473
- # determined as (amount or range) times expected_units_per_year.
1474
- class GoogleCloudTalentV4CompensationInfoCompensationEntry
1475
- include Google::Apis::Core::Hashable
1476
-
1477
- # Represents an amount of money with its currency type.
1478
- # Corresponds to the JSON property `amount`
1479
- # @return [Google::Apis::JobsV2::Money]
1480
- attr_accessor :amount
1481
-
1482
- # Compensation description. For example, could indicate equity terms or provide
1483
- # additional context to an estimated bonus.
1484
- # Corresponds to the JSON property `description`
1485
- # @return [String]
1486
- attr_accessor :description
1487
-
1488
- # Expected number of units paid each year. If not specified, when Job.
1489
- # employment_types is FULLTIME, a default value is inferred based on unit.
1490
- # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
1491
- # ANNUAL: 1
1492
- # Corresponds to the JSON property `expectedUnitsPerYear`
1493
- # @return [Float]
1494
- attr_accessor :expected_units_per_year
1495
-
1496
- # Compensation range.
1497
- # Corresponds to the JSON property `range`
1498
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange]
1499
- attr_accessor :range
1500
-
1501
- # Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
1502
- # Corresponds to the JSON property `type`
1503
- # @return [String]
1504
- attr_accessor :type
1505
-
1506
- # Frequency of the specified amount. Default is CompensationUnit.
1507
- # COMPENSATION_UNIT_UNSPECIFIED.
1508
- # Corresponds to the JSON property `unit`
1509
- # @return [String]
1510
- attr_accessor :unit
1511
-
1512
- def initialize(**args)
1513
- update!(**args)
1514
- end
1515
-
1516
- # Update properties of this object
1517
- def update!(**args)
1518
- @amount = args[:amount] if args.key?(:amount)
1519
- @description = args[:description] if args.key?(:description)
1520
- @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
1521
- @range = args[:range] if args.key?(:range)
1522
- @type = args[:type] if args.key?(:type)
1523
- @unit = args[:unit] if args.key?(:unit)
1524
- end
1525
- end
1526
-
1527
- # Compensation range.
1528
- class GoogleCloudTalentV4CompensationInfoCompensationRange
1529
- include Google::Apis::Core::Hashable
1530
-
1531
- # Represents an amount of money with its currency type.
1532
- # Corresponds to the JSON property `maxCompensation`
1533
- # @return [Google::Apis::JobsV2::Money]
1534
- attr_accessor :max_compensation
1535
-
1536
- # Represents an amount of money with its currency type.
1537
- # Corresponds to the JSON property `minCompensation`
1538
- # @return [Google::Apis::JobsV2::Money]
1539
- attr_accessor :min_compensation
1540
-
1541
- def initialize(**args)
1542
- update!(**args)
1543
- end
1544
-
1545
- # Update properties of this object
1546
- def update!(**args)
1547
- @max_compensation = args[:max_compensation] if args.key?(:max_compensation)
1548
- @min_compensation = args[:min_compensation] if args.key?(:min_compensation)
1549
- end
1550
- end
1551
-
1552
- # Custom attribute values that are either filterable or non-filterable.
1553
- class GoogleCloudTalentV4CustomAttribute
1554
- include Google::Apis::Core::Hashable
1555
-
1556
- # If the `filterable` flag is true, the custom field values may be used for
1557
- # custom attribute filters JobQuery.custom_attribute_filter. If false, these
1558
- # values may not be used for custom attribute filters. Default is false.
1559
- # Corresponds to the JSON property `filterable`
1560
- # @return [Boolean]
1561
- attr_accessor :filterable
1562
- alias_method :filterable?, :filterable
1563
-
1564
- # If the `keyword_searchable` flag is true, the keywords in custom fields are
1565
- # searchable by keyword match. If false, the values are not searchable by
1566
- # keyword match. Default is false.
1567
- # Corresponds to the JSON property `keywordSearchable`
1568
- # @return [Boolean]
1569
- attr_accessor :keyword_searchable
1570
- alias_method :keyword_searchable?, :keyword_searchable
1571
-
1572
- # Exactly one of string_values or long_values must be specified. This field is
1573
- # used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over
1574
- # filterable `long_value`. Currently at most 1 long_values is supported.
1575
- # Corresponds to the JSON property `longValues`
1576
- # @return [Array<Fixnum>]
1577
- attr_accessor :long_values
1578
-
1579
- # Exactly one of string_values or long_values must be specified. This field is
1580
- # used to perform a string match (`CASE_SENSITIVE_MATCH` or `
1581
- # CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum
1582
- # total number of 200 values is allowed, with each `string_value` has a byte
1583
- # size of no more than 500B. For unfilterable `string_values`, the maximum total
1584
- # byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
1585
- # Corresponds to the JSON property `stringValues`
1586
- # @return [Array<String>]
1587
- attr_accessor :string_values
1588
-
1589
- def initialize(**args)
1590
- update!(**args)
1591
- end
1592
-
1593
- # Update properties of this object
1594
- def update!(**args)
1595
- @filterable = args[:filterable] if args.key?(:filterable)
1596
- @keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable)
1597
- @long_values = args[:long_values] if args.key?(:long_values)
1598
- @string_values = args[:string_values] if args.key?(:string_values)
1599
- end
1600
- end
1601
-
1602
- # A Job resource represents a job posting (also referred to as a "job listing"
1603
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
1604
- # responsible for the job.
1605
- class GoogleCloudTalentV4Job
1606
- include Google::Apis::Core::Hashable
1607
-
1608
- # Strongly recommended for the best service experience. Location(s) where the
1609
- # employer is looking to hire for this job posting. Specifying the full street
1610
- # address(es) of the hiring location enables better API results, especially job
1611
- # searches by commute time. At most 50 locations are allowed for best search
1612
- # performance. If a job has more locations, it is suggested to split it into
1613
- # multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-
1614
- # 2', and so on.) as multiple jobs with the same company, language_code and
1615
- # requisition_id are not allowed. If the original requisition_id must be
1616
- # preserved, a custom field should be used for storage. It is also suggested to
1617
- # group the locations that close to each other in the same job for better search
1618
- # experience. The maximum number of allowed characters is 500.
1619
- # Corresponds to the JSON property `addresses`
1620
- # @return [Array<String>]
1621
- attr_accessor :addresses
1622
-
1623
- # Application related details of a job posting.
1624
- # Corresponds to the JSON property `applicationInfo`
1625
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo]
1626
- attr_accessor :application_info
1627
-
1628
- # Required. The resource name of the company listing the job. The format is "
1629
- # projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example,
1630
- # "projects/foo/tenants/bar/companies/baz".
1631
- # Corresponds to the JSON property `company`
1632
- # @return [String]
1633
- attr_accessor :company
1634
-
1635
- # Output only. Display name of the company listing the job.
1636
- # Corresponds to the JSON property `companyDisplayName`
1637
- # @return [String]
1638
- attr_accessor :company_display_name
1639
-
1640
- # Job compensation details.
1641
- # Corresponds to the JSON property `compensationInfo`
1642
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo]
1643
- attr_accessor :compensation_info
1644
-
1645
- # A map of fields to hold both filterable and non-filterable custom job
1646
- # attributes that are not covered by the provided structured fields. The keys of
1647
- # the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For
1648
- # example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most
1649
- # 100 unfilterable keys are supported. For filterable `string_values`, across
1650
- # all keys at most 200 values are allowed, with each string no more than 255
1651
- # characters. For unfilterable `string_values`, the maximum total size of `
1652
- # string_values` across all keys is 50KB.
1653
- # Corresponds to the JSON property `customAttributes`
1654
- # @return [Hash<String,Google::Apis::JobsV2::GoogleCloudTalentV4CustomAttribute>]
1655
- attr_accessor :custom_attributes
1656
-
1657
- # The desired education degrees for the job, such as Bachelors, Masters.
1658
- # Corresponds to the JSON property `degreeTypes`
1659
- # @return [Array<String>]
1660
- attr_accessor :degree_types
1661
-
1662
- # The department or functional area within the company with the open position.
1663
- # The maximum number of allowed characters is 255.
1664
- # Corresponds to the JSON property `department`
1665
- # @return [String]
1666
- attr_accessor :department
1667
-
1668
- # Derived details about the job posting.
1669
- # Corresponds to the JSON property `derivedInfo`
1670
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo]
1671
- attr_accessor :derived_info
1672
-
1673
- # Required. The description of the job, which typically includes a multi-
1674
- # paragraph description of the company and related information. Separate fields
1675
- # are provided on the job object for responsibilities, qualifications, and other
1676
- # job characteristics. Use of these separate job fields is recommended. This
1677
- # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
1678
- # list, and unordered list markup tags. The maximum number of allowed characters
1679
- # is 100,000.
1680
- # Corresponds to the JSON property `description`
1681
- # @return [String]
1682
- attr_accessor :description
1683
-
1684
- # The employment type(s) of a job, for example, full time or part time.
1685
- # Corresponds to the JSON property `employmentTypes`
1686
- # @return [Array<String>]
1687
- attr_accessor :employment_types
1688
-
1689
- # A description of bonus, commission, and other compensation incentives
1690
- # associated with the job not including salary or pay. The maximum number of
1691
- # allowed characters is 10,000.
1692
- # Corresponds to the JSON property `incentives`
1693
- # @return [String]
1694
- attr_accessor :incentives
1695
-
1696
- # The benefits included with the job.
1697
- # Corresponds to the JSON property `jobBenefits`
1698
- # @return [Array<String>]
1699
- attr_accessor :job_benefits
1700
-
1701
- # The end timestamp of the job. Typically this field is used for contracting
1702
- # engagements. Invalid timestamps are ignored.
1703
- # Corresponds to the JSON property `jobEndTime`
1704
- # @return [String]
1705
- attr_accessor :job_end_time
1706
-
1707
- # The experience level associated with the job, such as "Entry Level".
1708
- # Corresponds to the JSON property `jobLevel`
1709
- # @return [String]
1710
- attr_accessor :job_level
1711
-
1712
- # The start timestamp of the job in UTC time zone. Typically this field is used
1713
- # for contracting engagements. Invalid timestamps are ignored.
1714
- # Corresponds to the JSON property `jobStartTime`
1715
- # @return [String]
1716
- attr_accessor :job_start_time
1717
-
1718
- # The language of the posting. This field is distinct from any requirements for
1719
- # fluency that are associated with the job. Language codes must be in BCP-47
1720
- # format, such as "en-US" or "sr-Latn". For more information, see [Tags for
1721
- # Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external"
1722
- # target="_blank" `. If this field is unspecified and Job.description is present,
1723
- # detected language code based on Job.description is assigned, otherwise
1724
- # defaults to 'en_US'.
1725
- # Corresponds to the JSON property `languageCode`
1726
- # @return [String]
1727
- attr_accessor :language_code
1728
-
1729
- # Required during job update. The resource name for the job. This is generated
1730
- # by the service when a job is created. The format is "projects/`project_id`/
1731
- # tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
1732
- # jobs/baz". Use of this field in job queries and API calls is preferred over
1733
- # the use of requisition_id since this value is unique.
1734
- # Corresponds to the JSON property `name`
1735
- # @return [String]
1736
- attr_accessor :name
1737
-
1738
- # Output only. The timestamp when this job posting was created.
1739
- # Corresponds to the JSON property `postingCreateTime`
1740
- # @return [String]
1741
- attr_accessor :posting_create_time
1742
-
1743
- # Strongly recommended for the best service experience. The expiration timestamp
1744
- # of the job. After this timestamp, the job is marked as expired, and it no
1745
- # longer appears in search results. The expired job can't be listed by the
1746
- # ListJobs API, but it can be retrieved with the GetJob API or updated with the
1747
- # UpdateJob API or deleted with the DeleteJob API. An expired job can be updated
1748
- # and opened again by using a future expiration timestamp. Updating an expired
1749
- # job fails if there is another existing open job with same company,
1750
- # language_code and requisition_id. The expired jobs are retained in our system
1751
- # for 90 days. However, the overall expired job count cannot exceed 3 times the
1752
- # maximum number of open jobs over previous 7 days. If this threshold is
1753
- # exceeded, expired jobs are cleaned out in order of earliest expire time.
1754
- # Expired jobs are no longer accessible after they are cleaned out. Invalid
1755
- # timestamps are ignored, and treated as expire time not provided. If the
1756
- # timestamp is before the instant request is made, the job is treated as expired
1757
- # immediately on creation. This kind of job can not be updated. And when
1758
- # creating a job with past timestamp, the posting_publish_time must be set
1759
- # before posting_expire_time. The purpose of this feature is to allow other
1760
- # objects, such as Application, to refer a job that didn't exist in the system
1761
- # prior to becoming expired. If you want to modify a job that was expired on
1762
- # creation, delete it and create a new one. If this value isn't provided at the
1763
- # time of job creation or is invalid, the job posting expires after 30 days from
1764
- # the job's creation time. For example, if the job was created on 2017/01/01 13:
1765
- # 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
1766
- # 13:00AM UTC. If this value isn't provided on job update, it depends on the
1767
- # field masks set by UpdateJobRequest.update_mask. If the field masks include
1768
- # job_end_time, or the masks are empty meaning that every field is updated, the
1769
- # job posting expires after 30 days from the job's last update time. Otherwise
1770
- # the expiration date isn't updated.
1771
- # Corresponds to the JSON property `postingExpireTime`
1772
- # @return [String]
1773
- attr_accessor :posting_expire_time
1774
-
1775
- # The timestamp this job posting was most recently published. The default value
1776
- # is the time the request arrives at the server. Invalid timestamps are ignored.
1777
- # Corresponds to the JSON property `postingPublishTime`
1778
- # @return [String]
1779
- attr_accessor :posting_publish_time
1780
-
1781
- # The job PostingRegion (for example, state, country) throughout which the job
1782
- # is available. If this field is set, a LocationFilter in a search query within
1783
- # the job region finds this job posting if an exact location match isn't
1784
- # specified. If this field is set to PostingRegion.NATION or PostingRegion.
1785
- # ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as
1786
- # this field is strongly recommended.
1787
- # Corresponds to the JSON property `postingRegion`
1788
- # @return [String]
1789
- attr_accessor :posting_region
1790
-
1791
- # Output only. The timestamp when this job posting was last updated.
1792
- # Corresponds to the JSON property `postingUpdateTime`
1793
- # @return [String]
1794
- attr_accessor :posting_update_time
1795
-
1796
- # Options for job processing.
1797
- # Corresponds to the JSON property `processingOptions`
1798
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4JobProcessingOptions]
1799
- attr_accessor :processing_options
1800
-
1801
- # A promotion value of the job, as determined by the client. The value
1802
- # determines the sort order of the jobs returned when searching for jobs using
1803
- # the featured jobs search call, with higher promotional values being returned
1804
- # first and ties being resolved by relevance sort. Only the jobs with a
1805
- # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
1806
- # and negative values are treated as 0.
1807
- # Corresponds to the JSON property `promotionValue`
1808
- # @return [Fixnum]
1809
- attr_accessor :promotion_value
1810
-
1811
- # A description of the qualifications required to perform the job. The use of
1812
- # this field is recommended as an alternative to using the more general
1813
- # description field. This field accepts and sanitizes HTML input, and also
1814
- # accepts bold, italic, ordered list, and unordered list markup tags. The
1815
- # maximum number of allowed characters is 10,000.
1816
- # Corresponds to the JSON property `qualifications`
1817
- # @return [String]
1818
- attr_accessor :qualifications
1819
-
1820
- # Required. The requisition ID, also referred to as the posting ID, is assigned
1821
- # by the client to identify a job. This field is intended to be used by clients
1822
- # for client identification and tracking of postings. A job isn't allowed to be
1823
- # created if there is another job with the same company, language_code and
1824
- # requisition_id. The maximum number of allowed characters is 255.
1825
- # Corresponds to the JSON property `requisitionId`
1826
- # @return [String]
1827
- attr_accessor :requisition_id
1828
-
1829
- # A description of job responsibilities. The use of this field is recommended as
1830
- # an alternative to using the more general description field. This field accepts
1831
- # and sanitizes HTML input, and also accepts bold, italic, ordered list, and
1832
- # unordered list markup tags. The maximum number of allowed characters is 10,000.
1833
- # Corresponds to the JSON property `responsibilities`
1834
- # @return [String]
1835
- attr_accessor :responsibilities
1836
-
1837
- # Required. The title of the job, such as "Software Engineer" The maximum number
1838
- # of allowed characters is 500.
1839
- # Corresponds to the JSON property `title`
1840
- # @return [String]
1841
- attr_accessor :title
1842
-
1843
- # Deprecated. The job is only visible to the owner. The visibility of the job.
1844
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
1845
- # Corresponds to the JSON property `visibility`
1846
- # @return [String]
1847
- attr_accessor :visibility
1848
-
1849
- def initialize(**args)
1850
- update!(**args)
1851
- end
1852
-
1853
- # Update properties of this object
1854
- def update!(**args)
1855
- @addresses = args[:addresses] if args.key?(:addresses)
1856
- @application_info = args[:application_info] if args.key?(:application_info)
1857
- @company = args[:company] if args.key?(:company)
1858
- @company_display_name = args[:company_display_name] if args.key?(:company_display_name)
1859
- @compensation_info = args[:compensation_info] if args.key?(:compensation_info)
1860
- @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
1861
- @degree_types = args[:degree_types] if args.key?(:degree_types)
1862
- @department = args[:department] if args.key?(:department)
1863
- @derived_info = args[:derived_info] if args.key?(:derived_info)
1864
- @description = args[:description] if args.key?(:description)
1865
- @employment_types = args[:employment_types] if args.key?(:employment_types)
1866
- @incentives = args[:incentives] if args.key?(:incentives)
1867
- @job_benefits = args[:job_benefits] if args.key?(:job_benefits)
1868
- @job_end_time = args[:job_end_time] if args.key?(:job_end_time)
1869
- @job_level = args[:job_level] if args.key?(:job_level)
1870
- @job_start_time = args[:job_start_time] if args.key?(:job_start_time)
1871
- @language_code = args[:language_code] if args.key?(:language_code)
1872
- @name = args[:name] if args.key?(:name)
1873
- @posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time)
1874
- @posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time)
1875
- @posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time)
1876
- @posting_region = args[:posting_region] if args.key?(:posting_region)
1877
- @posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time)
1878
- @processing_options = args[:processing_options] if args.key?(:processing_options)
1879
- @promotion_value = args[:promotion_value] if args.key?(:promotion_value)
1880
- @qualifications = args[:qualifications] if args.key?(:qualifications)
1881
- @requisition_id = args[:requisition_id] if args.key?(:requisition_id)
1882
- @responsibilities = args[:responsibilities] if args.key?(:responsibilities)
1883
- @title = args[:title] if args.key?(:title)
1884
- @visibility = args[:visibility] if args.key?(:visibility)
1885
- end
1886
- end
1887
-
1888
- # Application related details of a job posting.
1889
- class GoogleCloudTalentV4JobApplicationInfo
1890
- include Google::Apis::Core::Hashable
1891
-
1892
- # Use this field to specify email address(es) to which resumes or applications
1893
- # can be sent. The maximum number of allowed characters for each entry is 255.
1894
- # Corresponds to the JSON property `emails`
1895
- # @return [Array<String>]
1896
- attr_accessor :emails
1897
-
1898
- # Use this field to provide instructions, such as "Mail your application to ...",
1899
- # that a candidate can follow to apply for the job. This field accepts and
1900
- # sanitizes HTML input, and also accepts bold, italic, ordered list, and
1901
- # unordered list markup tags. The maximum number of allowed characters is 3,000.
1902
- # Corresponds to the JSON property `instruction`
1903
- # @return [String]
1904
- attr_accessor :instruction
1905
-
1906
- # Use this URI field to direct an applicant to a website, for example to link to
1907
- # an online application form. The maximum number of allowed characters for each
1908
- # entry is 2,000.
1909
- # Corresponds to the JSON property `uris`
1910
- # @return [Array<String>]
1911
- attr_accessor :uris
1912
-
1913
- def initialize(**args)
1914
- update!(**args)
1915
- end
1916
-
1917
- # Update properties of this object
1918
- def update!(**args)
1919
- @emails = args[:emails] if args.key?(:emails)
1920
- @instruction = args[:instruction] if args.key?(:instruction)
1921
- @uris = args[:uris] if args.key?(:uris)
1922
- end
1923
- end
1924
-
1925
- # Derived details about the job posting.
1926
- class GoogleCloudTalentV4JobDerivedInfo
1927
- include Google::Apis::Core::Hashable
1928
-
1929
- # Job categories derived from Job.title and Job.description.
1930
- # Corresponds to the JSON property `jobCategories`
1931
- # @return [Array<String>]
1932
- attr_accessor :job_categories
1933
-
1934
- # Structured locations of the job, resolved from Job.addresses. locations are
1935
- # exactly matched to Job.addresses in the same order.
1936
- # Corresponds to the JSON property `locations`
1937
- # @return [Array<Google::Apis::JobsV2::GoogleCloudTalentV4Location>]
1938
- attr_accessor :locations
1939
-
1940
- def initialize(**args)
1941
- update!(**args)
1942
- end
1943
-
1944
- # Update properties of this object
1945
- def update!(**args)
1946
- @job_categories = args[:job_categories] if args.key?(:job_categories)
1947
- @locations = args[:locations] if args.key?(:locations)
1948
- end
1949
- end
1950
-
1951
- # Options for job processing.
1952
- class GoogleCloudTalentV4JobProcessingOptions
1953
- include Google::Apis::Core::Hashable
1954
-
1955
- # If set to `true`, the service does not attempt to resolve a more precise
1956
- # address for the job.
1957
- # Corresponds to the JSON property `disableStreetAddressResolution`
1958
- # @return [Boolean]
1959
- attr_accessor :disable_street_address_resolution
1960
- alias_method :disable_street_address_resolution?, :disable_street_address_resolution
1961
-
1962
- # Option for job HTML content sanitization. Applied fields are: * description *
1963
- # applicationInfo.instruction * incentives * qualifications * responsibilities
1964
- # HTML tags in these fields may be stripped if sanitiazation isn't disabled.
1965
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
1966
- # Corresponds to the JSON property `htmlSanitization`
1967
- # @return [String]
1968
- attr_accessor :html_sanitization
1969
-
1970
- def initialize(**args)
1971
- update!(**args)
1972
- end
1973
-
1974
- # Update properties of this object
1975
- def update!(**args)
1976
- @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
1977
- @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
1978
- end
1979
- end
1980
-
1981
- # Mutation result of a job from a batch operation.
1982
- class GoogleCloudTalentV4JobResult
1983
- include Google::Apis::Core::Hashable
1984
-
1985
- # A Job resource represents a job posting (also referred to as a "job listing"
1986
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
1987
- # responsible for the job.
1988
- # Corresponds to the JSON property `job`
1989
- # @return [Google::Apis::JobsV2::GoogleCloudTalentV4Job]
1990
- attr_accessor :job
1991
-
1992
- # The `Status` type defines a logical error model that is suitable for different
1993
- # programming environments, including REST APIs and RPC APIs. It is used by [
1994
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1995
- # data: error code, error message, and error details. You can find out more
1996
- # about this error model and how to work with it in the [API Design Guide](https:
1997
- # //cloud.google.com/apis/design/errors).
1998
- # Corresponds to the JSON property `status`
1999
- # @return [Google::Apis::JobsV2::Status]
2000
- attr_accessor :status
2001
-
2002
- def initialize(**args)
2003
- update!(**args)
2004
- end
2005
-
2006
- # Update properties of this object
2007
- def update!(**args)
2008
- @job = args[:job] if args.key?(:job)
2009
- @status = args[:status] if args.key?(:status)
2010
- end
2011
- end
2012
-
2013
- # A resource that represents a location with full geographic information.
2014
- class GoogleCloudTalentV4Location
2015
- include Google::Apis::Core::Hashable
2016
-
2017
- # An object representing a latitude/longitude pair. This is expressed as a pair
2018
- # of doubles representing degrees latitude and degrees longitude. Unless
2019
- # specified otherwise, this must conform to the WGS84 standard. Values must be
2020
- # within normalized ranges.
2021
- # Corresponds to the JSON property `latLng`
2022
- # @return [Google::Apis::JobsV2::LatLng]
2023
- attr_accessor :lat_lng
2024
-
2025
- # The type of a location, which corresponds to the address lines field of google.
2026
- # type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
2027
- # LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
2028
- # LocationType.LOCALITY.
2029
- # Corresponds to the JSON property `locationType`
2030
- # @return [String]
2031
- attr_accessor :location_type
2032
-
2033
- # Represents a postal address, e.g. for postal delivery or payments addresses.
2034
- # Given a postal address, a postal service can deliver items to a premise, P.O.
2035
- # Box or similar. It is not intended to model geographical locations (roads,
2036
- # towns, mountains). In typical usage an address would be created via user input
2037
- # or from importing existing data, depending on the type of process. Advice on
2038
- # address input / editing: - Use an i18n-ready address widget such as https://
2039
- # github.com/google/libaddressinput) - Users should not be presented with UI
2040
- # elements for input or editing of fields outside countries where that field is
2041
- # used. For more guidance on how to use this schema, please see: https://support.
2042
- # google.com/business/answer/6397478
2043
- # Corresponds to the JSON property `postalAddress`
2044
- # @return [Google::Apis::JobsV2::PostalAddress]
2045
- attr_accessor :postal_address
2046
-
2047
- # Radius in miles of the job location. This value is derived from the location
2048
- # bounding box in which a circle with the specified radius centered from google.
2049
- # type.LatLng covers the area associated with the job location. For example,
2050
- # currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
2051
- # Corresponds to the JSON property `radiusMiles`
2052
- # @return [Float]
2053
- attr_accessor :radius_miles
2054
-
2055
- def initialize(**args)
2056
- update!(**args)
2057
- end
2058
-
2059
- # Update properties of this object
2060
- def update!(**args)
2061
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
2062
- @location_type = args[:location_type] if args.key?(:location_type)
2063
- @postal_address = args[:postal_address] if args.key?(:postal_address)
2064
- @radius_miles = args[:radius_miles] if args.key?(:radius_miles)
2065
- end
2066
- end
2067
-
2068
- # Input only. Histogram facets to be specified in SearchJobsRequest.
2069
- class HistogramFacets
2070
- include Google::Apis::Core::Hashable
2071
-
2072
- # Optional. Specifies compensation field-based histogram requests. Duplicate
2073
- # values of CompensationHistogramRequest.type are not allowed.
2074
- # Corresponds to the JSON property `compensationHistogramFacets`
2075
- # @return [Array<Google::Apis::JobsV2::CompensationHistogramRequest>]
2076
- attr_accessor :compensation_histogram_facets
2077
-
2078
- # Optional. Specifies the custom attributes histogram requests. Duplicate values
2079
- # of CustomAttributeHistogramRequest.key are not allowed.
2080
- # Corresponds to the JSON property `customAttributeHistogramFacets`
2081
- # @return [Array<Google::Apis::JobsV2::CustomAttributeHistogramRequest>]
2082
- attr_accessor :custom_attribute_histogram_facets
2083
-
2084
- # Optional. Specifies the simple type of histogram facets, for example, `
2085
- # COMPANY_SIZE`, `EMPLOYMENT_TYPE` etc. This field is equivalent to
2086
- # GetHistogramRequest.
2087
- # Corresponds to the JSON property `simpleHistogramFacets`
2088
- # @return [Array<String>]
2089
- attr_accessor :simple_histogram_facets
2090
-
2091
- def initialize(**args)
2092
- update!(**args)
2093
- end
2094
-
2095
- # Update properties of this object
2096
- def update!(**args)
2097
- @compensation_histogram_facets = args[:compensation_histogram_facets] if args.key?(:compensation_histogram_facets)
2098
- @custom_attribute_histogram_facets = args[:custom_attribute_histogram_facets] if args.key?(:custom_attribute_histogram_facets)
2099
- @simple_histogram_facets = args[:simple_histogram_facets] if args.key?(:simple_histogram_facets)
2100
- end
2101
- end
2102
-
2103
- # Output only. Result of a histogram call. The response contains the histogram
2104
- # map for the search type specified by HistogramResult.field. The response is a
2105
- # map of each filter value to the corresponding count of jobs for that filter.
2106
- class HistogramResult
2107
- include Google::Apis::Core::Hashable
2108
-
2109
- # The Histogram search filters.
2110
- # Corresponds to the JSON property `searchType`
2111
- # @return [String]
2112
- attr_accessor :search_type
2113
-
2114
- # A map from the values of field to the number of jobs with that value in this
2115
- # search result. Key: search type (filter names, such as the companyName).
2116
- # Values: the count of jobs that match the filter for this search.
2117
- # Corresponds to the JSON property `values`
2118
- # @return [Hash<String,Fixnum>]
2119
- attr_accessor :values
2120
-
2121
- def initialize(**args)
2122
- update!(**args)
2123
- end
2124
-
2125
- # Update properties of this object
2126
- def update!(**args)
2127
- @search_type = args[:search_type] if args.key?(:search_type)
2128
- @values = args[:values] if args.key?(:values)
2129
- end
2130
- end
2131
-
2132
- # Output only. Histogram results that matches HistogramFacets specified in
2133
- # SearchJobsRequest.
2134
- class HistogramResults
2135
- include Google::Apis::Core::Hashable
2136
-
2137
- # Specifies compensation field-based histogram results that matches
2138
- # HistogramFacets.compensation_histogram_requests.
2139
- # Corresponds to the JSON property `compensationHistogramResults`
2140
- # @return [Array<Google::Apis::JobsV2::CompensationHistogramResult>]
2141
- attr_accessor :compensation_histogram_results
2142
-
2143
- # Specifies histogram results for custom attributes that matches HistogramFacets.
2144
- # custom_attribute_histogram_facets.
2145
- # Corresponds to the JSON property `customAttributeHistogramResults`
2146
- # @return [Array<Google::Apis::JobsV2::CustomAttributeHistogramResult>]
2147
- attr_accessor :custom_attribute_histogram_results
2148
-
2149
- # Specifies histogram results that matches HistogramFacets.
2150
- # simple_histogram_facets.
2151
- # Corresponds to the JSON property `simpleHistogramResults`
2152
- # @return [Array<Google::Apis::JobsV2::HistogramResult>]
2153
- attr_accessor :simple_histogram_results
2154
-
2155
- def initialize(**args)
2156
- update!(**args)
2157
- end
2158
-
2159
- # Update properties of this object
2160
- def update!(**args)
2161
- @compensation_histogram_results = args[:compensation_histogram_results] if args.key?(:compensation_histogram_results)
2162
- @custom_attribute_histogram_results = args[:custom_attribute_histogram_results] if args.key?(:custom_attribute_histogram_results)
2163
- @simple_histogram_results = args[:simple_histogram_results] if args.key?(:simple_histogram_results)
2164
- end
2165
- end
2166
-
2167
- # A Job resource represents a job posting (also referred to as a "job listing"
2168
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
2169
- # responsible for the job.
2170
- class Job
2171
- include Google::Apis::Core::Hashable
2172
-
2173
- # Optional but at least one of application_urls, application_email_list or
2174
- # application_instruction must be specified. Use this field to specify email
2175
- # address(es) to which resumes or applications can be sent. The maximum number
2176
- # of allowed characters is 255.
2177
- # Corresponds to the JSON property `applicationEmailList`
2178
- # @return [Array<String>]
2179
- attr_accessor :application_email_list
2180
-
2181
- # Optional but at least one of application_urls, application_email_list or
2182
- # application_instruction must be specified. Use this field to provide
2183
- # instructions, such as "Mail your application to ...", that a candidate can
2184
- # follow to apply for the job. This field accepts and sanitizes HTML input, and
2185
- # also accepts bold, italic, ordered list, and unordered list markup tags. The
2186
- # maximum number of allowed characters is 3,000.
2187
- # Corresponds to the JSON property `applicationInstruction`
2188
- # @return [String]
2189
- attr_accessor :application_instruction
2190
-
2191
- # Optional but at least one of application_urls, application_email_list or
2192
- # application_instruction must be specified. Use this URL field to direct an
2193
- # applicant to a website, for example to link to an online application form. The
2194
- # maximum number of allowed characters is 2,000.
2195
- # Corresponds to the JSON property `applicationUrls`
2196
- # @return [Array<String>]
2197
- attr_accessor :application_urls
2198
-
2199
- # Optional. The benefits included with the job.
2200
- # Corresponds to the JSON property `benefits`
2201
- # @return [Array<String>]
2202
- attr_accessor :benefits
2203
-
2204
- # Output only. The name of the company listing the job.
2205
- # Corresponds to the JSON property `companyDisplayName`
2206
- # @return [String]
2207
- attr_accessor :company_display_name
2208
-
2209
- # Optional but one of company_name or distributor_company_id must be provided.
2210
- # The resource name of the company listing the job, such as /companies/foo. This
2211
- # field takes precedence over the distributor-assigned company identifier,
2212
- # distributor_company_id.
2213
- # Corresponds to the JSON property `companyName`
2214
- # @return [String]
2215
- attr_accessor :company_name
2216
-
2217
- # Deprecated. Use company_display_name instead. Output only. The name of the
2218
- # company listing the job.
2219
- # Corresponds to the JSON property `companyTitle`
2220
- # @return [String]
2221
- attr_accessor :company_title
2222
-
2223
- # Job compensation details.
2224
- # Corresponds to the JSON property `compensationInfo`
2225
- # @return [Google::Apis::JobsV2::CompensationInfo]
2226
- attr_accessor :compensation_info
2227
-
2228
- # Output only. The timestamp when this job was created.
2229
- # Corresponds to the JSON property `createTime`
2230
- # @return [String]
2231
- attr_accessor :create_time
2232
-
2233
- # Optional. A map of fields to hold both filterable and non-filterable custom
2234
- # job attributes that are not covered by the provided structured fields. This
2235
- # field is a more general combination of the deprecated id-based
2236
- # filterable_custom_fields and string-based non_filterable_custom_fields. The
2237
- # keys of the map are strings up to 64 bytes and must match the pattern: a-zA-Z*.
2238
- # At most 100 filterable and at most 100 unfilterable keys are supported. For
2239
- # filterable `string_values`, across all keys at most 200 values are allowed,
2240
- # with each string no more than 255 characters. For unfilterable `string_values`,
2241
- # the maximum total size of `string_values` across all keys is 50KB.
2242
- # Corresponds to the JSON property `customAttributes`
2243
- # @return [Hash<String,Google::Apis::JobsV2::CustomAttribute>]
2244
- attr_accessor :custom_attributes
2245
-
2246
- # Optional. The department or functional area within the company with the open
2247
- # position. The maximum number of allowed characters is 255.
2248
- # Corresponds to the JSON property `department`
2249
- # @return [String]
2250
- attr_accessor :department
2251
-
2252
- # Required. The description of the job, which typically includes a multi-
2253
- # paragraph description of the company and related information. Separate fields
2254
- # are provided on the job object for responsibilities, qualifications, and other
2255
- # job characteristics. Use of these separate job fields is recommended. This
2256
- # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
2257
- # list, and unordered list markup tags. The maximum number of allowed characters
2258
- # is 100,000.
2259
- # Corresponds to the JSON property `description`
2260
- # @return [String]
2261
- attr_accessor :description
2262
-
2263
- # Optional but one of company_name or distributor_company_id must be provided. A
2264
- # unique company identifier used by job distributors to identify an employer's
2265
- # company entity. company_name takes precedence over this field, and is the
2266
- # recommended field to use to identify companies. The maximum number of allowed
2267
- # characters is 255.
2268
- # Corresponds to the JSON property `distributorCompanyId`
2269
- # @return [String]
2270
- attr_accessor :distributor_company_id
2271
-
2272
- # Optional. The desired education level for the job, such as "Bachelors", "
2273
- # Masters", "Doctorate".
2274
- # Corresponds to the JSON property `educationLevels`
2275
- # @return [Array<String>]
2276
- attr_accessor :education_levels
2277
-
2278
- # Optional. The employment type(s) of a job, for example, full time or part time.
2279
- # Corresponds to the JSON property `employmentTypes`
2280
- # @return [Array<String>]
2281
- attr_accessor :employment_types
2282
-
2283
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
2284
- # and time zone are either specified elsewhere or are not significant. The date
2285
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
2286
- # date, with non-zero year, month and day values * A month and day value, with a
2287
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
2288
- # values * A year and month value, with a zero day, e.g. a credit card
2289
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
2290
- # Timestamp`.
2291
- # Corresponds to the JSON property `endDate`
2292
- # @return [Google::Apis::JobsV2::Date]
2293
- attr_accessor :end_date
2294
-
2295
- # Optional but strongly recommended for the best service experience. The
2296
- # expiration timestamp of the job. After this timestamp, the job is marked as
2297
- # expired, and it no longer appears in search results. The expired job can't be
2298
- # deleted or listed by the DeleteJob and ListJobs APIs, but it can be retrieved
2299
- # with the GetJob API or updated with the UpdateJob API. An expired job can be
2300
- # updated and opened again by using a future expiration timestamp. Updating an
2301
- # expired job fails if there is another existing open job with same
2302
- # requisition_id, company_name and language_code. The expired jobs are retained
2303
- # in our system for 90 days. However, the overall expired job count cannot
2304
- # exceed 3 times the maximum of open jobs count over the past week, otherwise
2305
- # jobs with earlier expire time are cleaned first. Expired jobs are no longer
2306
- # accessible after they are cleaned out. The format of this field is RFC 3339
2307
- # date strings. Example: 2000-01-01T00:00:00.999999999Z See [https://www.ietf.
2308
- # org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). A valid date range
2309
- # is between 1970-01-01T00:00:00.0Z and 2100-12-31T23:59:59.999Z. Invalid dates
2310
- # are ignored and treated as expire time not provided. If this value is not
2311
- # provided at the time of job creation or is invalid, the job posting expires
2312
- # after 30 days from the job's creation time. For example, if the job was
2313
- # created on 2017/01/01 13:00AM UTC with an unspecified expiration date, the job
2314
- # expires after 2017/01/31 13:00AM UTC. If this value is not provided but
2315
- # expiry_date is, expiry_date is used. If this value is not provided on job
2316
- # update, it depends on the field masks set by UpdateJobRequest.
2317
- # update_job_fields. If the field masks include expiry_time, or the masks are
2318
- # empty meaning that every field is updated, the job posting expires after 30
2319
- # days from the job's last update time. Otherwise the expiration date isn't
2320
- # updated.
2321
- # Corresponds to the JSON property `expireTime`
2322
- # @return [String]
2323
- attr_accessor :expire_time
2324
-
2325
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
2326
- # and time zone are either specified elsewhere or are not significant. The date
2327
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
2328
- # date, with non-zero year, month and day values * A month and day value, with a
2329
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
2330
- # values * A year and month value, with a zero day, e.g. a credit card
2331
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
2332
- # Timestamp`.
2333
- # Corresponds to the JSON property `expiryDate`
2334
- # @return [Google::Apis::JobsV2::Date]
2335
- attr_accessor :expiry_date
2336
-
2337
- # Deprecated. Use CompensationInfo. Describes job compensation.
2338
- # Corresponds to the JSON property `extendedCompensationInfo`
2339
- # @return [Google::Apis::JobsV2::ExtendedCompensationInfo]
2340
- attr_accessor :extended_compensation_info
2341
-
2342
- # Deprecated. Use custom_attributes instead. Optional. A map of fields to hold
2343
- # filterable custom job attributes not captured by the standard fields such as
2344
- # job_title, company_name, or level. These custom fields store arbitrary string
2345
- # values, and can be used for purposes not covered by the structured fields. For
2346
- # the best search experience, use of the structured rather than custom fields is
2347
- # recommended. Data stored in these custom fields fields are indexed and
2348
- # searched against by keyword searches (see SearchJobsRequest.
2349
- # custom_field_filters][]). The map key must be a number between 1-20. If an
2350
- # invalid key is provided on job create or update, an error is returned.
2351
- # Corresponds to the JSON property `filterableCustomFields`
2352
- # @return [Hash<String,Google::Apis::JobsV2::CustomField>]
2353
- attr_accessor :filterable_custom_fields
2354
-
2355
- # Optional. A description of bonus, commission, and other compensation
2356
- # incentives associated with the job not including salary or pay. The maximum
2357
- # number of allowed characters is 10,000.
2358
- # Corresponds to the JSON property `incentives`
2359
- # @return [String]
2360
- attr_accessor :incentives
2361
-
2362
- # Output only. Structured locations of the job, resolved from locations.
2363
- # Corresponds to the JSON property `jobLocations`
2364
- # @return [Array<Google::Apis::JobsV2::JobLocation>]
2365
- attr_accessor :job_locations
2366
-
2367
- # Required. The title of the job, such as "Software Engineer" The maximum number
2368
- # of allowed characters is 500.
2369
- # Corresponds to the JSON property `jobTitle`
2370
- # @return [String]
2371
- attr_accessor :job_title
2372
-
2373
- # Optional. The language of the posting. This field is distinct from any
2374
- # requirements for fluency that are associated with the job. Language codes must
2375
- # be in BCP-47 format, such as "en-US" or "sr-Latn". For more information, see [
2376
- # Tags for Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="
2377
- # external" target="_blank" `. If this field is unspecified and Job.description
2378
- # is present, detected language code based on Job.description is assigned,
2379
- # otherwise defaults to 'en_US'.
2380
- # Corresponds to the JSON property `languageCode`
2381
- # @return [String]
2382
- attr_accessor :language_code
2383
-
2384
- # Optional. The experience level associated with the job, such as "Entry Level".
2385
- # Corresponds to the JSON property `level`
2386
- # @return [String]
2387
- attr_accessor :level
2388
-
2389
- # Optional but strongly recommended for the best service experience. Location(s)
2390
- # where the emploeyer is looking to hire for this job posting. Specifying the
2391
- # full street address(es) of the hiring location enables better API results,
2392
- # especially job searches by commute time. At most 50 locations are allowed for
2393
- # best search performance. If a job has more locations, it is suggested to split
2394
- # it into multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1'
2395
- # , 'ReqA-2', etc.) as multiple jobs with the same requisition_id, company_name
2396
- # and language_code are not allowed. If the original requisition_id must be
2397
- # preserved, a custom field should be used for storage. It is also suggested to
2398
- # group the locations that close to each other in the same job for better search
2399
- # experience. The maximum number of allowed characters is 500.
2400
- # Corresponds to the JSON property `locations`
2401
- # @return [Array<String>]
2402
- attr_accessor :locations
2403
-
2404
- # Required during job update. Resource name assigned to a job by the API, for
2405
- # example, "/jobs/foo". Use of this field in job queries and API calls is
2406
- # preferred over the use of requisition_id since this value is unique.
2407
- # Corresponds to the JSON property `name`
2408
- # @return [String]
2409
- attr_accessor :name
2410
-
2411
- # Optional. A promotion value of the job, as determined by the client. The value
2412
- # determines the sort order of the jobs returned when searching for jobs using
2413
- # the featured jobs search call, with higher promotional values being returned
2414
- # first and ties being resolved by relevance sort. Only the jobs with a
2415
- # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
2416
- # and negative values are treated as 0.
2417
- # Corresponds to the JSON property `promotionValue`
2418
- # @return [Fixnum]
2419
- attr_accessor :promotion_value
2420
-
2421
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
2422
- # and time zone are either specified elsewhere or are not significant. The date
2423
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
2424
- # date, with non-zero year, month and day values * A month and day value, with a
2425
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
2426
- # values * A year and month value, with a zero day, e.g. a credit card
2427
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
2428
- # Timestamp`.
2429
- # Corresponds to the JSON property `publishDate`
2430
- # @return [Google::Apis::JobsV2::Date]
2431
- attr_accessor :publish_date
2432
-
2433
- # Optional. A description of the qualifications required to perform the job. The
2434
- # use of this field is recommended as an alternative to using the more general
2435
- # description field. This field accepts and sanitizes HTML input, and also
2436
- # accepts bold, italic, ordered list, and unordered list markup tags. The
2437
- # maximum number of allowed characters is 10,000.
2438
- # Corresponds to the JSON property `qualifications`
2439
- # @return [String]
2440
- attr_accessor :qualifications
2441
-
2442
- # Output only. The URL of a web page that displays job details.
2443
- # Corresponds to the JSON property `referenceUrl`
2444
- # @return [String]
2445
- attr_accessor :reference_url
2446
-
2447
- # Optional. The job Region (for example, state, country) throughout which the
2448
- # job is available. If this field is set, a LocationFilter in a search query
2449
- # within the job region finds this job if an exact location match is not
2450
- # specified. If this field is set, setting job locations to the same location
2451
- # level as this field is strongly recommended.
2452
- # Corresponds to the JSON property `region`
2453
- # @return [String]
2454
- attr_accessor :region
2455
-
2456
- # Required. The requisition ID, also referred to as the posting ID, assigned by
2457
- # the client to identify a job. This field is intended to be used by clients for
2458
- # client identification and tracking of listings. A job is not allowed to be
2459
- # created if there is another job with the same requisition_id, company_name and
2460
- # language_code. The maximum number of allowed characters is 255.
2461
- # Corresponds to the JSON property `requisitionId`
2462
- # @return [String]
2463
- attr_accessor :requisition_id
2464
-
2465
- # Optional. A description of job responsibilities. The use of this field is
2466
- # recommended as an alternative to using the more general description field.
2467
- # This field accepts and sanitizes HTML input, and also accepts bold, italic,
2468
- # ordered list, and unordered list markup tags. The maximum number of allowed
2469
- # characters is 10,000.
2470
- # Corresponds to the JSON property `responsibilities`
2471
- # @return [String]
2472
- attr_accessor :responsibilities
2473
-
2474
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
2475
- # and time zone are either specified elsewhere or are not significant. The date
2476
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
2477
- # date, with non-zero year, month and day values * A month and day value, with a
2478
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
2479
- # values * A year and month value, with a zero day, e.g. a credit card
2480
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
2481
- # Timestamp`.
2482
- # Corresponds to the JSON property `startDate`
2483
- # @return [Google::Apis::JobsV2::Date]
2484
- attr_accessor :start_date
2485
-
2486
- # Deprecated. Use custom_attributes instead. Optional. A map of fields to hold
2487
- # non-filterable custom job attributes, similar to filterable_custom_fields.
2488
- # These fields are distinct in that the data in these fields are not indexed.
2489
- # Therefore, the client cannot search against them, nor can the client use them
2490
- # to list jobs. The key of the map can be any valid string.
2491
- # Corresponds to the JSON property `unindexedCustomFields`
2492
- # @return [Hash<String,Google::Apis::JobsV2::CustomField>]
2493
- attr_accessor :unindexed_custom_fields
2494
-
2495
- # Output only. The timestamp when this job was last updated.
2496
- # Corresponds to the JSON property `updateTime`
2497
- # @return [String]
2498
- attr_accessor :update_time
2499
-
2500
- # Optional. The visibility of the job. Defaults to JobVisibility.PRIVATE if not
2501
- # specified. Currently only JobVisibility.PRIVATE is supported.
2502
- # Corresponds to the JSON property `visibility`
2503
- # @return [String]
2504
- attr_accessor :visibility
2505
-
2506
- def initialize(**args)
2507
- update!(**args)
2508
- end
2509
-
2510
- # Update properties of this object
2511
- def update!(**args)
2512
- @application_email_list = args[:application_email_list] if args.key?(:application_email_list)
2513
- @application_instruction = args[:application_instruction] if args.key?(:application_instruction)
2514
- @application_urls = args[:application_urls] if args.key?(:application_urls)
2515
- @benefits = args[:benefits] if args.key?(:benefits)
2516
- @company_display_name = args[:company_display_name] if args.key?(:company_display_name)
2517
- @company_name = args[:company_name] if args.key?(:company_name)
2518
- @company_title = args[:company_title] if args.key?(:company_title)
2519
- @compensation_info = args[:compensation_info] if args.key?(:compensation_info)
2520
- @create_time = args[:create_time] if args.key?(:create_time)
2521
- @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
2522
- @department = args[:department] if args.key?(:department)
2523
- @description = args[:description] if args.key?(:description)
2524
- @distributor_company_id = args[:distributor_company_id] if args.key?(:distributor_company_id)
2525
- @education_levels = args[:education_levels] if args.key?(:education_levels)
2526
- @employment_types = args[:employment_types] if args.key?(:employment_types)
2527
- @end_date = args[:end_date] if args.key?(:end_date)
2528
- @expire_time = args[:expire_time] if args.key?(:expire_time)
2529
- @expiry_date = args[:expiry_date] if args.key?(:expiry_date)
2530
- @extended_compensation_info = args[:extended_compensation_info] if args.key?(:extended_compensation_info)
2531
- @filterable_custom_fields = args[:filterable_custom_fields] if args.key?(:filterable_custom_fields)
2532
- @incentives = args[:incentives] if args.key?(:incentives)
2533
- @job_locations = args[:job_locations] if args.key?(:job_locations)
2534
- @job_title = args[:job_title] if args.key?(:job_title)
2535
- @language_code = args[:language_code] if args.key?(:language_code)
2536
- @level = args[:level] if args.key?(:level)
2537
- @locations = args[:locations] if args.key?(:locations)
2538
- @name = args[:name] if args.key?(:name)
2539
- @promotion_value = args[:promotion_value] if args.key?(:promotion_value)
2540
- @publish_date = args[:publish_date] if args.key?(:publish_date)
2541
- @qualifications = args[:qualifications] if args.key?(:qualifications)
2542
- @reference_url = args[:reference_url] if args.key?(:reference_url)
2543
- @region = args[:region] if args.key?(:region)
2544
- @requisition_id = args[:requisition_id] if args.key?(:requisition_id)
2545
- @responsibilities = args[:responsibilities] if args.key?(:responsibilities)
2546
- @start_date = args[:start_date] if args.key?(:start_date)
2547
- @unindexed_custom_fields = args[:unindexed_custom_fields] if args.key?(:unindexed_custom_fields)
2548
- @update_time = args[:update_time] if args.key?(:update_time)
2549
- @visibility = args[:visibility] if args.key?(:visibility)
2550
- end
2551
- end
2552
-
2553
- # Input only. Deprecated. Use JobQuery instead. The filters required to perform
2554
- # a search query or histogram.
2555
- class JobFilters
2556
- include Google::Apis::Core::Hashable
2557
-
2558
- # Optional. The category filter specifies the categories of jobs to search
2559
- # against. See Category for more information. If a value is not specified, jobs
2560
- # from any category are searched against. If multiple values are specified, jobs
2561
- # from any of the specified categories are searched against.
2562
- # Corresponds to the JSON property `categories`
2563
- # @return [Array<String>]
2564
- attr_accessor :categories
2565
-
2566
- # Input only. Parameters needed for commute search.
2567
- # Corresponds to the JSON property `commuteFilter`
2568
- # @return [Google::Apis::JobsV2::CommutePreference]
2569
- attr_accessor :commute_filter
2570
-
2571
- # Optional. The company names filter specifies the company entities to search
2572
- # against. If a value is not specified, jobs are searched for against all
2573
- # companies. If multiple values are specified, jobs are searched against the
2574
- # specified companies. At most 20 company filters are allowed.
2575
- # Corresponds to the JSON property `companyNames`
2576
- # @return [Array<String>]
2577
- attr_accessor :company_names
2578
-
2579
- # Optional. This filter specifies the exact company titles of jobs to search
2580
- # against. If a value is not specified, jobs within the search results can be
2581
- # associated with any company. If multiple values are specified, jobs within the
2582
- # search results may be associated with any of the specified companies. At most
2583
- # 20 company title filters are allowed.
2584
- # Corresponds to the JSON property `companyTitles`
2585
- # @return [Array<String>]
2586
- attr_accessor :company_titles
2587
-
2588
- # Input only. Filter on job compensation type and amount.
2589
- # Corresponds to the JSON property `compensationFilter`
2590
- # @return [Google::Apis::JobsV2::CompensationFilter]
2591
- attr_accessor :compensation_filter
2592
-
2593
- # Optional. This filter specifies a structured syntax to match against the Job.
2594
- # custom_attributes that are marked as `filterable`. The syntax for this
2595
- # expression is a subset of Google SQL syntax. Supported operators are: =, !=, <,
2596
- # <=, >, >= where the left of the operator is a custom field key and the right
2597
- # of the operator is a number or string (surrounded by quotes) value. Supported
2598
- # functions are LOWER() to perform case insensitive match and EMPTY() to filter
2599
- # on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up
2600
- # to 3 levels of nesting (For example, "((A AND B AND C) OR NOT D) AND E"), and
2601
- # there can be a maximum of 100 comparisons/functions in the expression. The
2602
- # expression must be < 3000 bytes in length. Sample Query: (key1 = "TEST" OR
2603
- # LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100
2604
- # Corresponds to the JSON property `customAttributeFilter`
2605
- # @return [String]
2606
- attr_accessor :custom_attribute_filter
2607
-
2608
- # Deprecated. Use custom_attribute_filter instead. Optional. This filter
2609
- # specifies searching against custom field values. See Job.
2610
- # filterable_custom_fields for information. The key value specifies a number
2611
- # between 1-20 (the service supports 20 custom fields) corresponding to the
2612
- # desired custom field map value. If an invalid key is provided or specified
2613
- # together with custom_attribute_filter, an error is thrown.
2614
- # Corresponds to the JSON property `customFieldFilters`
2615
- # @return [Hash<String,Google::Apis::JobsV2::CustomFieldFilter>]
2616
- attr_accessor :custom_field_filters
2617
-
2618
- # Optional. This flag controls the spell-check feature. If false, the service
2619
- # attempts to correct a misspelled query, for example, "enginee" is corrected to
2620
- # "engineer". Defaults to false: a spell check is performed.
2621
- # Corresponds to the JSON property `disableSpellCheck`
2622
- # @return [Boolean]
2623
- attr_accessor :disable_spell_check
2624
- alias_method :disable_spell_check?, :disable_spell_check
2625
-
2626
- # Optional. The employment type filter specifies the employment type of jobs to
2627
- # search against, such as EmploymentType.FULL_TIME. If a value is not specified,
2628
- # jobs in the search results include any employment type. If multiple values are
2629
- # specified, jobs in the search results include any of the specified employment
2630
- # types.
2631
- # Corresponds to the JSON property `employmentTypes`
2632
- # @return [Array<String>]
2633
- attr_accessor :employment_types
2634
-
2635
- # Deprecated. Always use CompensationFilter. Input only. Filter on job
2636
- # compensation type and amount.
2637
- # Corresponds to the JSON property `extendedCompensationFilter`
2638
- # @return [Google::Apis::JobsV2::ExtendedCompensationFilter]
2639
- attr_accessor :extended_compensation_filter
2640
-
2641
- # Optional. This filter specifies the locale of jobs to search against, for
2642
- # example, "en-US". If a value is not specified, the search results may contain
2643
- # jobs in any locale. Language codes should be in BCP-47 format, for example, "
2644
- # en-US" or "sr-Latn". For more information, see [Tags for Identifying Languages]
2645
- # (https://tools.ietf.org/html/bcp47). At most 10 language code filters are
2646
- # allowed.
2647
- # Corresponds to the JSON property `languageCodes`
2648
- # @return [Array<String>]
2649
- attr_accessor :language_codes
2650
-
2651
- # Optional. The location filter specifies geo-regions containing the jobs to
2652
- # search against. See LocationFilter for more information. If a location value
2653
- # is not specified, jobs are retrieved from all locations. If multiple values
2654
- # are specified, jobs are retrieved from any of the specified locations. If
2655
- # different values are specified for the LocationFilter.distance_in_miles
2656
- # parameter, the maximum provided distance is used for all locations. At most 5
2657
- # location filters are allowed.
2658
- # Corresponds to the JSON property `locationFilters`
2659
- # @return [Array<Google::Apis::JobsV2::LocationFilter>]
2660
- attr_accessor :location_filters
2661
-
2662
- # Optional. Jobs published within a range specified by this filter are searched
2663
- # against, for example, DateRange.PAST_MONTH. If a value is not specified, all
2664
- # open jobs are searched against regardless of the date they were published.
2665
- # Corresponds to the JSON property `publishDateRange`
2666
- # @return [String]
2667
- attr_accessor :publish_date_range
2668
-
2669
- # Optional. The query filter contains the keywords that match against the job
2670
- # title, description, and location fields. The maximum query size is 255 bytes/
2671
- # characters.
2672
- # Corresponds to the JSON property `query`
2673
- # @return [String]
2674
- attr_accessor :query
2675
-
2676
- # Deprecated. Do not use this field. This flag controls whether the job search
2677
- # should be restricted to jobs owned by the current user. Defaults to false
2678
- # where all jobs accessible to the user are searched against.
2679
- # Corresponds to the JSON property `tenantJobOnly`
2680
- # @return [Boolean]
2681
- attr_accessor :tenant_job_only
2682
- alias_method :tenant_job_only?, :tenant_job_only
2683
-
2684
- def initialize(**args)
2685
- update!(**args)
2686
- end
2687
-
2688
- # Update properties of this object
2689
- def update!(**args)
2690
- @categories = args[:categories] if args.key?(:categories)
2691
- @commute_filter = args[:commute_filter] if args.key?(:commute_filter)
2692
- @company_names = args[:company_names] if args.key?(:company_names)
2693
- @company_titles = args[:company_titles] if args.key?(:company_titles)
2694
- @compensation_filter = args[:compensation_filter] if args.key?(:compensation_filter)
2695
- @custom_attribute_filter = args[:custom_attribute_filter] if args.key?(:custom_attribute_filter)
2696
- @custom_field_filters = args[:custom_field_filters] if args.key?(:custom_field_filters)
2697
- @disable_spell_check = args[:disable_spell_check] if args.key?(:disable_spell_check)
2698
- @employment_types = args[:employment_types] if args.key?(:employment_types)
2699
- @extended_compensation_filter = args[:extended_compensation_filter] if args.key?(:extended_compensation_filter)
2700
- @language_codes = args[:language_codes] if args.key?(:language_codes)
2701
- @location_filters = args[:location_filters] if args.key?(:location_filters)
2702
- @publish_date_range = args[:publish_date_range] if args.key?(:publish_date_range)
2703
- @query = args[:query] if args.key?(:query)
2704
- @tenant_job_only = args[:tenant_job_only] if args.key?(:tenant_job_only)
2705
- end
2706
- end
2707
-
2708
- # Output only. A resource that represents a location with full geographic
2709
- # information.
2710
- class JobLocation
2711
- include Google::Apis::Core::Hashable
2712
-
2713
- # An object representing a latitude/longitude pair. This is expressed as a pair
2714
- # of doubles representing degrees latitude and degrees longitude. Unless
2715
- # specified otherwise, this must conform to the WGS84 standard. Values must be
2716
- # within normalized ranges.
2717
- # Corresponds to the JSON property `latLng`
2718
- # @return [Google::Apis::JobsV2::LatLng]
2719
- attr_accessor :lat_lng
2720
-
2721
- # The type of a location, which corresponds to the address lines field of
2722
- # PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
2723
- # LocationType#NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
2724
- # LocationType#LOCALITY.
2725
- # Corresponds to the JSON property `locationType`
2726
- # @return [String]
2727
- attr_accessor :location_type
2728
-
2729
- # Represents a postal address, e.g. for postal delivery or payments addresses.
2730
- # Given a postal address, a postal service can deliver items to a premise, P.O.
2731
- # Box or similar. It is not intended to model geographical locations (roads,
2732
- # towns, mountains). In typical usage an address would be created via user input
2733
- # or from importing existing data, depending on the type of process. Advice on
2734
- # address input / editing: - Use an i18n-ready address widget such as https://
2735
- # github.com/google/libaddressinput) - Users should not be presented with UI
2736
- # elements for input or editing of fields outside countries where that field is
2737
- # used. For more guidance on how to use this schema, please see: https://support.
2738
- # google.com/business/answer/6397478
2739
- # Corresponds to the JSON property `postalAddress`
2740
- # @return [Google::Apis::JobsV2::PostalAddress]
2741
- attr_accessor :postal_address
2742
-
2743
- # Radius in meters of the job location. This value is derived from the location
2744
- # bounding box in which a circle with the specified radius centered from LatLng
2745
- # coves the area associated with the job location. For example, currently, "
2746
- # Mountain View, CA, USA" has a radius of 7885.79 meters.
2747
- # Corresponds to the JSON property `radiusMeters`
2748
- # @return [Float]
2749
- attr_accessor :radius_meters
2750
-
2751
- def initialize(**args)
2752
- update!(**args)
2753
- end
2754
-
2755
- # Update properties of this object
2756
- def update!(**args)
2757
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
2758
- @location_type = args[:location_type] if args.key?(:location_type)
2759
- @postal_address = args[:postal_address] if args.key?(:postal_address)
2760
- @radius_meters = args[:radius_meters] if args.key?(:radius_meters)
2761
- end
2762
- end
2763
-
2764
- # Input only. Options for job processing.
2765
- class JobProcessingOptions
2766
- include Google::Apis::Core::Hashable
2767
-
2768
- # Optional. If set to `true`, the service does not attempt to resolve a more
2769
- # precise address for the job.
2770
- # Corresponds to the JSON property `disableStreetAddressResolution`
2771
- # @return [Boolean]
2772
- attr_accessor :disable_street_address_resolution
2773
- alias_method :disable_street_address_resolution?, :disable_street_address_resolution
2774
-
2775
- # Optional. Option for job HTML content sanitization. Applied fields are: *
2776
- # description * applicationInstruction * incentives * qualifications *
2777
- # responsibilities HTML tags in these fields may be stripped if sanitiazation is
2778
- # not disabled. Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
2779
- # Corresponds to the JSON property `htmlSanitization`
2780
- # @return [String]
2781
- attr_accessor :html_sanitization
2782
-
2783
- def initialize(**args)
2784
- update!(**args)
2785
- end
2786
-
2787
- # Update properties of this object
2788
- def update!(**args)
2789
- @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
2790
- @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
2791
- end
2792
- end
2793
-
2794
- # Input only. The query required to perform a search query or histogram.
2795
- class JobQuery
2796
- include Google::Apis::Core::Hashable
2797
-
2798
- # Optional. The category filter specifies the categories of jobs to search
2799
- # against. See Category for more information. If a value is not specified, jobs
2800
- # from any category are searched against. If multiple values are specified, jobs
2801
- # from any of the specified categories are searched against.
2802
- # Corresponds to the JSON property `categories`
2803
- # @return [Array<String>]
2804
- attr_accessor :categories
2805
-
2806
- # Input only. Parameters needed for commute search.
2807
- # Corresponds to the JSON property `commuteFilter`
2808
- # @return [Google::Apis::JobsV2::CommutePreference]
2809
- attr_accessor :commute_filter
2810
-
2811
- # Optional. This filter specifies the exact company display name of the jobs to
2812
- # search against. If a value isn't specified, jobs within the search results are
2813
- # associated with any company. If multiple values are specified, jobs within the
2814
- # search results may be associated with any of the specified companies. At most
2815
- # 20 company display name filters are allowed.
2816
- # Corresponds to the JSON property `companyDisplayNames`
2817
- # @return [Array<String>]
2818
- attr_accessor :company_display_names
2819
-
2820
- # Optional. This filter specifies the company entities to search against. If a
2821
- # value isn't specified, jobs are searched for against all companies. If
2822
- # multiple values are specified, jobs are searched against the companies
2823
- # specified. At most 20 company filters are allowed.
2824
- # Corresponds to the JSON property `companyNames`
2825
- # @return [Array<String>]
2826
- attr_accessor :company_names
2827
-
2828
- # Input only. Filter on job compensation type and amount.
2829
- # Corresponds to the JSON property `compensationFilter`
2830
- # @return [Google::Apis::JobsV2::CompensationFilter]
2831
- attr_accessor :compensation_filter
2832
-
2833
- # Optional. This filter specifies a structured syntax to match against the Job.
2834
- # custom_attributes marked as `filterable`. The syntax for this expression is a
2835
- # subset of Google SQL syntax. Supported operators are: =, !=, <, <=, >, >=
2836
- # where the left of the operator is a custom field key and the right of the
2837
- # operator is a number or string (surrounded by quotes) value. Supported
2838
- # functions are LOWER() to perform case insensitive match and EMPTY() to filter
2839
- # on the existence of a key. Boolean expressions (AND/OR/NOT) are supported up
2840
- # to 3 levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a
2841
- # maximum of 50 comparisons/functions are allowed in the expression. The
2842
- # expression must be < 2000 characters in length. Sample Query: (key1 = "TEST"
2843
- # OR LOWER(key1)="test" OR NOT EMPTY(key1)) AND key2 > 100
2844
- # Corresponds to the JSON property `customAttributeFilter`
2845
- # @return [String]
2846
- attr_accessor :custom_attribute_filter
2847
-
2848
- # Optional. This flag controls the spell-check feature. If false, the service
2849
- # attempts to correct a misspelled query, for example, "enginee" is corrected to
2850
- # "engineer". Defaults to false: a spell check is performed.
2851
- # Corresponds to the JSON property `disableSpellCheck`
2852
- # @return [Boolean]
2853
- attr_accessor :disable_spell_check
2854
- alias_method :disable_spell_check?, :disable_spell_check
2855
-
2856
- # Optional. The employment type filter specifies the employment type of jobs to
2857
- # search against, such as EmploymentType.FULL_TIME. If a value is not specified,
2858
- # jobs in the search results include any employment type. If multiple values are
2859
- # specified, jobs in the search results include any of the specified employment
2860
- # types.
2861
- # Corresponds to the JSON property `employmentTypes`
2862
- # @return [Array<String>]
2863
- attr_accessor :employment_types
2864
-
2865
- # Optional. This filter specifies the locale of jobs to search against, for
2866
- # example, "en-US". If a value isn't specified, the search results can contain
2867
- # jobs in any locale. Language codes should be in BCP-47 format, such as "en-US"
2868
- # or "sr-Latn". For more information, see [Tags for Identifying Languages](https:
2869
- # //tools.ietf.org/html/bcp47). At most 10 language code filters are allowed.
2870
- # Corresponds to the JSON property `languageCodes`
2871
- # @return [Array<String>]
2872
- attr_accessor :language_codes
2873
-
2874
- # Optional. The location filter specifies geo-regions containing the jobs to
2875
- # search against. See LocationFilter for more information. If a location value
2876
- # isn't specified, jobs fitting the other search criteria are retrieved
2877
- # regardless of where they're located. If multiple values are specified, jobs
2878
- # are retrieved from any of the specified locations. If different values are
2879
- # specified for the LocationFilter.distance_in_miles parameter, the maximum
2880
- # provided distance is used for all locations. At most 5 location filters are
2881
- # allowed.
2882
- # Corresponds to the JSON property `locationFilters`
2883
- # @return [Array<Google::Apis::JobsV2::LocationFilter>]
2884
- attr_accessor :location_filters
2885
-
2886
- # Optional. Jobs published within a range specified by this filter are searched
2887
- # against, for example, DateRange.PAST_MONTH. If a value isn't specified, all
2888
- # open jobs are searched against regardless of their published date.
2889
- # Corresponds to the JSON property `publishDateRange`
2890
- # @return [String]
2891
- attr_accessor :publish_date_range
2892
-
2893
- # Optional. The query string that matches against the job title, description,
2894
- # and location fields. The maximum query size is 255 bytes.
2895
- # Corresponds to the JSON property `query`
2896
- # @return [String]
2897
- attr_accessor :query
2898
-
2899
- def initialize(**args)
2900
- update!(**args)
2901
- end
2902
-
2903
- # Update properties of this object
2904
- def update!(**args)
2905
- @categories = args[:categories] if args.key?(:categories)
2906
- @commute_filter = args[:commute_filter] if args.key?(:commute_filter)
2907
- @company_display_names = args[:company_display_names] if args.key?(:company_display_names)
2908
- @company_names = args[:company_names] if args.key?(:company_names)
2909
- @compensation_filter = args[:compensation_filter] if args.key?(:compensation_filter)
2910
- @custom_attribute_filter = args[:custom_attribute_filter] if args.key?(:custom_attribute_filter)
2911
- @disable_spell_check = args[:disable_spell_check] if args.key?(:disable_spell_check)
2912
- @employment_types = args[:employment_types] if args.key?(:employment_types)
2913
- @language_codes = args[:language_codes] if args.key?(:language_codes)
2914
- @location_filters = args[:location_filters] if args.key?(:location_filters)
2915
- @publish_date_range = args[:publish_date_range] if args.key?(:publish_date_range)
2916
- @query = args[:query] if args.key?(:query)
2917
- end
2918
- end
2919
-
2920
- # An object representing a latitude/longitude pair. This is expressed as a pair
2921
- # of doubles representing degrees latitude and degrees longitude. Unless
2922
- # specified otherwise, this must conform to the WGS84 standard. Values must be
2923
- # within normalized ranges.
2924
- class LatLng
2925
- include Google::Apis::Core::Hashable
2926
-
2927
- # The latitude in degrees. It must be in the range [-90.0, +90.0].
2928
- # Corresponds to the JSON property `latitude`
2929
- # @return [Float]
2930
- attr_accessor :latitude
2931
-
2932
- # The longitude in degrees. It must be in the range [-180.0, +180.0].
2933
- # Corresponds to the JSON property `longitude`
2934
- # @return [Float]
2935
- attr_accessor :longitude
2936
-
2937
- def initialize(**args)
2938
- update!(**args)
2939
- end
2940
-
2941
- # Update properties of this object
2942
- def update!(**args)
2943
- @latitude = args[:latitude] if args.key?(:latitude)
2944
- @longitude = args[:longitude] if args.key?(:longitude)
2945
- end
2946
- end
2947
-
2948
- # Output only. The List companies response object.
2949
- class ListCompaniesResponse
2950
- include Google::Apis::Core::Hashable
2951
-
2952
- # Companies for the current client.
2953
- # Corresponds to the JSON property `companies`
2954
- # @return [Array<Google::Apis::JobsV2::Company>]
2955
- attr_accessor :companies
2956
-
2957
- # Output only. Additional information returned to client, such as debugging
2958
- # information.
2959
- # Corresponds to the JSON property `metadata`
2960
- # @return [Google::Apis::JobsV2::ResponseMetadata]
2961
- attr_accessor :metadata
2962
-
2963
- # A token to retrieve the next page of results.
2964
- # Corresponds to the JSON property `nextPageToken`
2965
- # @return [String]
2966
- attr_accessor :next_page_token
2967
-
2968
- def initialize(**args)
2969
- update!(**args)
2970
- end
2971
-
2972
- # Update properties of this object
2973
- def update!(**args)
2974
- @companies = args[:companies] if args.key?(:companies)
2975
- @metadata = args[:metadata] if args.key?(:metadata)
2976
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2977
- end
2978
- end
2979
-
2980
- # Deprecated. Use ListJobsResponse instead. Output only. The List jobs response
2981
- # object.
2982
- class ListCompanyJobsResponse
2983
- include Google::Apis::Core::Hashable
2984
-
2985
- # The Jobs for a given company. The maximum number of items returned is based on
2986
- # the limit field provided in the request.
2987
- # Corresponds to the JSON property `jobs`
2988
- # @return [Array<Google::Apis::JobsV2::Job>]
2989
- attr_accessor :jobs
2990
-
2991
- # Output only. Additional information returned to client, such as debugging
2992
- # information.
2993
- # Corresponds to the JSON property `metadata`
2994
- # @return [Google::Apis::JobsV2::ResponseMetadata]
2995
- attr_accessor :metadata
2996
-
2997
- # A token to retrieve the next page of results.
2998
- # Corresponds to the JSON property `nextPageToken`
2999
- # @return [String]
3000
- attr_accessor :next_page_token
3001
-
3002
- # The total number of open jobs. The result will be empty if
3003
- # ListCompanyJobsRequest.include_jobs_count is not enabled or if no open jobs
3004
- # are available.
3005
- # Corresponds to the JSON property `totalSize`
3006
- # @return [Fixnum]
3007
- attr_accessor :total_size
3008
-
3009
- def initialize(**args)
3010
- update!(**args)
3011
- end
3012
-
3013
- # Update properties of this object
3014
- def update!(**args)
3015
- @jobs = args[:jobs] if args.key?(:jobs)
3016
- @metadata = args[:metadata] if args.key?(:metadata)
3017
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3018
- @total_size = args[:total_size] if args.key?(:total_size)
3019
- end
3020
- end
3021
-
3022
- # Output only. List jobs response.
3023
- class ListJobsResponse
3024
- include Google::Apis::Core::Hashable
3025
-
3026
- # The Jobs for a given company. The maximum number of items returned is based on
3027
- # the limit field provided in the request.
3028
- # Corresponds to the JSON property `jobs`
3029
- # @return [Array<Google::Apis::JobsV2::Job>]
3030
- attr_accessor :jobs
3031
-
3032
- # Output only. Additional information returned to client, such as debugging
3033
- # information.
3034
- # Corresponds to the JSON property `metadata`
3035
- # @return [Google::Apis::JobsV2::ResponseMetadata]
3036
- attr_accessor :metadata
3037
-
3038
- # A token to retrieve the next page of results.
3039
- # Corresponds to the JSON property `nextPageToken`
3040
- # @return [String]
3041
- attr_accessor :next_page_token
3042
-
3043
- def initialize(**args)
3044
- update!(**args)
3045
- end
3046
-
3047
- # Update properties of this object
3048
- def update!(**args)
3049
- @jobs = args[:jobs] if args.key?(:jobs)
3050
- @metadata = args[:metadata] if args.key?(:metadata)
3051
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3052
- end
3053
- end
3054
-
3055
- # Input only. Geographic region of the search.
3056
- class LocationFilter
3057
- include Google::Apis::Core::Hashable
3058
-
3059
- # Optional. The distance_in_miles is applied when the location being searched
3060
- # for is identified as a city or smaller. When the location being searched for
3061
- # is a state or larger, this field is ignored.
3062
- # Corresponds to the JSON property `distanceInMiles`
3063
- # @return [Float]
3064
- attr_accessor :distance_in_miles
3065
-
3066
- # Optional. Allows the client to return jobs without a set location,
3067
- # specifically, telecommuting jobs (telecomuting is considered by the service as
3068
- # a special location. Job.allow_telecommute indicates if a job permits
3069
- # telecommuting. If this field is true, telecommuting jobs are searched, and
3070
- # name and lat_lng are ignored. This filter can be used by itself to search
3071
- # exclusively for telecommuting jobs, or it can be combined with another
3072
- # location filter to search for a combination of job locations, such as "
3073
- # Mountain View" or "telecommuting" jobs. However, when used in combination with
3074
- # other location filters, telecommuting jobs can be treated as less relevant
3075
- # than other jobs in the search response.
3076
- # Corresponds to the JSON property `isTelecommute`
3077
- # @return [Boolean]
3078
- attr_accessor :is_telecommute
3079
- alias_method :is_telecommute?, :is_telecommute
3080
-
3081
- # An object representing a latitude/longitude pair. This is expressed as a pair
3082
- # of doubles representing degrees latitude and degrees longitude. Unless
3083
- # specified otherwise, this must conform to the WGS84 standard. Values must be
3084
- # within normalized ranges.
3085
- # Corresponds to the JSON property `latLng`
3086
- # @return [Google::Apis::JobsV2::LatLng]
3087
- attr_accessor :lat_lng
3088
-
3089
- # Optional. The address name, such as "Mountain View" or "Bay Area".
3090
- # Corresponds to the JSON property `name`
3091
- # @return [String]
3092
- attr_accessor :name
3093
-
3094
- # Optional. CLDR region code of the country/region of the address. This will be
3095
- # used to address ambiguity of the user-input location, e.g. "Liverpool" against
3096
- # "Liverpool, NY, US" or "Liverpool, UK". Set this field if all the jobs to
3097
- # search against are from a same region, or jobs are world-wide but the job
3098
- # seeker is from a specific region. See http://cldr.unicode.org/ and http://www.
3099
- # unicode.org/cldr/charts/30/supplemental/territory_information.html for details.
3100
- # Example: "CH" for Switzerland.
3101
- # Corresponds to the JSON property `regionCode`
3102
- # @return [String]
3103
- attr_accessor :region_code
3104
-
3105
- def initialize(**args)
3106
- update!(**args)
3107
- end
3108
-
3109
- # Update properties of this object
3110
- def update!(**args)
3111
- @distance_in_miles = args[:distance_in_miles] if args.key?(:distance_in_miles)
3112
- @is_telecommute = args[:is_telecommute] if args.key?(:is_telecommute)
3113
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
3114
- @name = args[:name] if args.key?(:name)
3115
- @region_code = args[:region_code] if args.key?(:region_code)
3116
- end
3117
- end
3118
-
3119
- # Output only. Job entry with metadata inside SearchJobsResponse.
3120
- class MatchingJob
3121
- include Google::Apis::Core::Hashable
3122
-
3123
- # Output only. Commute details related to this job.
3124
- # Corresponds to the JSON property `commuteInfo`
3125
- # @return [Google::Apis::JobsV2::CommuteInfo]
3126
- attr_accessor :commute_info
3127
-
3128
- # A Job resource represents a job posting (also referred to as a "job listing"
3129
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
3130
- # responsible for the job.
3131
- # Corresponds to the JSON property `job`
3132
- # @return [Google::Apis::JobsV2::Job]
3133
- attr_accessor :job
3134
-
3135
- # A summary of the job with core information that's displayed on the search
3136
- # results listing page.
3137
- # Corresponds to the JSON property `jobSummary`
3138
- # @return [String]
3139
- attr_accessor :job_summary
3140
-
3141
- # Contains snippets of text from the Job.job_title field most closely matching a
3142
- # search query's keywords, if available. The matching query keywords are
3143
- # enclosed in HTML bold tags.
3144
- # Corresponds to the JSON property `jobTitleSnippet`
3145
- # @return [String]
3146
- attr_accessor :job_title_snippet
3147
-
3148
- # Contains snippets of text from the Job.description and similar fields that
3149
- # most closely match a search query's keywords, if available. All HTML tags in
3150
- # the original fields are stripped when returned in this field, and matching
3151
- # query keywords are enclosed in HTML bold tags.
3152
- # Corresponds to the JSON property `searchTextSnippet`
3153
- # @return [String]
3154
- attr_accessor :search_text_snippet
3155
-
3156
- def initialize(**args)
3157
- update!(**args)
3158
- end
3159
-
3160
- # Update properties of this object
3161
- def update!(**args)
3162
- @commute_info = args[:commute_info] if args.key?(:commute_info)
3163
- @job = args[:job] if args.key?(:job)
3164
- @job_summary = args[:job_summary] if args.key?(:job_summary)
3165
- @job_title_snippet = args[:job_title_snippet] if args.key?(:job_title_snippet)
3166
- @search_text_snippet = args[:search_text_snippet] if args.key?(:search_text_snippet)
3167
- end
3168
- end
3169
-
3170
- # Message representing input to a Mendel server for debug forcing. See go/mendel-
3171
- # debug-forcing for more details. Next ID: 2
3172
- class MendelDebugInput
3173
- include Google::Apis::Core::Hashable
3174
-
3175
- # When a request spans multiple servers, a MendelDebugInput may travel with the
3176
- # request and take effect in all the servers. This field is a map of namespaces
3177
- # to NamespacedMendelDebugInput protos. In a single server, up to two
3178
- # NamespacedMendelDebugInput protos are applied: 1. NamespacedMendelDebugInput
3179
- # with the global namespace (key == ""). 2. NamespacedMendelDebugInput with the
3180
- # server's namespace. When both NamespacedMendelDebugInput protos are present,
3181
- # they are merged. See go/mendel-debug-forcing for more details.
3182
- # Corresponds to the JSON property `namespacedDebugInput`
3183
- # @return [Hash<String,Google::Apis::JobsV2::NamespacedDebugInput>]
3184
- attr_accessor :namespaced_debug_input
3185
-
3186
- def initialize(**args)
3187
- update!(**args)
3188
- end
3189
-
3190
- # Update properties of this object
3191
- def update!(**args)
3192
- @namespaced_debug_input = args[:namespaced_debug_input] if args.key?(:namespaced_debug_input)
3193
- end
3194
- end
3195
-
3196
- # Represents an amount of money with its currency type.
3197
- class Money
3198
- include Google::Apis::Core::Hashable
3199
-
3200
- # The 3-letter currency code defined in ISO 4217.
3201
- # Corresponds to the JSON property `currencyCode`
3202
- # @return [String]
3203
- attr_accessor :currency_code
3204
-
3205
- # Number of nano (10^-9) units of the amount. The value must be between -999,999,
3206
- # 999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be
3207
- # positive or zero. If `units` is zero, `nanos` can be positive, zero, or
3208
- # negative. If `units` is negative, `nanos` must be negative or zero. For
3209
- # example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
3210
- # Corresponds to the JSON property `nanos`
3211
- # @return [Fixnum]
3212
- attr_accessor :nanos
3213
-
3214
- # The whole units of the amount. For example if `currencyCode` is `"USD"`, then
3215
- # 1 unit is one US dollar.
3216
- # Corresponds to the JSON property `units`
3217
- # @return [Fixnum]
3218
- attr_accessor :units
3219
-
3220
- def initialize(**args)
3221
- update!(**args)
3222
- end
3223
-
3224
- # Update properties of this object
3225
- def update!(**args)
3226
- @currency_code = args[:currency_code] if args.key?(:currency_code)
3227
- @nanos = args[:nanos] if args.key?(:nanos)
3228
- @units = args[:units] if args.key?(:units)
3229
- end
3230
- end
3231
-
3232
- # Next ID: 15
3233
- class NamespacedDebugInput
3234
- include Google::Apis::Core::Hashable
3235
-
3236
- # Set of experiment names to be absolutely forced. These experiments will be
3237
- # forced without evaluating the conditions.
3238
- # Corresponds to the JSON property `absolutelyForcedExpNames`
3239
- # @return [Array<String>]
3240
- attr_accessor :absolutely_forced_exp_names
3241
-
3242
- # Set of experiment tags to be absolutely forced. The experiments with these
3243
- # tags will be forced without evaluating the conditions.
3244
- # Corresponds to the JSON property `absolutelyForcedExpTags`
3245
- # @return [Array<String>]
3246
- attr_accessor :absolutely_forced_exp_tags
3247
-
3248
- # Set of experiment ids to be absolutely forced. These ids will be forced
3249
- # without evaluating the conditions.
3250
- # Corresponds to the JSON property `absolutelyForcedExps`
3251
- # @return [Array<Fixnum>]
3252
- attr_accessor :absolutely_forced_exps
3253
-
3254
- # Set of experiment names to be conditionally forced. These experiments will be
3255
- # forced only if their conditions and their parent domain's conditions are true.
3256
- # Corresponds to the JSON property `conditionallyForcedExpNames`
3257
- # @return [Array<String>]
3258
- attr_accessor :conditionally_forced_exp_names
3259
-
3260
- # Set of experiment tags to be conditionally forced. The experiments with these
3261
- # tags will be forced only if their conditions and their parent domain's
3262
- # conditions are true.
3263
- # Corresponds to the JSON property `conditionallyForcedExpTags`
3264
- # @return [Array<String>]
3265
- attr_accessor :conditionally_forced_exp_tags
3266
-
3267
- # Set of experiment ids to be conditionally forced. These ids will be forced
3268
- # only if their conditions and their parent domain's conditions are true.
3269
- # Corresponds to the JSON property `conditionallyForcedExps`
3270
- # @return [Array<Fixnum>]
3271
- attr_accessor :conditionally_forced_exps
3272
-
3273
- # If true, disable automatic enrollment selection (at all diversion points).
3274
- # Automatic enrollment selection means experiment selection process based on the
3275
- # experiment's automatic enrollment condition. This does not disable selection
3276
- # of forced experiments.
3277
- # Corresponds to the JSON property `disableAutomaticEnrollmentSelection`
3278
- # @return [Boolean]
3279
- attr_accessor :disable_automatic_enrollment_selection
3280
- alias_method :disable_automatic_enrollment_selection?, :disable_automatic_enrollment_selection
3281
-
3282
- # Set of experiment names to be disabled. If an experiment is disabled, it is
3283
- # never selected nor forced. If an aggregate experiment is disabled, its
3284
- # partitions are disabled together. If an experiment with an enrollment is
3285
- # disabled, the enrollment is disabled together. If a name corresponds to a
3286
- # domain, the domain itself and all descendant experiments and domains are
3287
- # disabled together.
3288
- # Corresponds to the JSON property `disableExpNames`
3289
- # @return [Array<String>]
3290
- attr_accessor :disable_exp_names
3291
-
3292
- # Set of experiment tags to be disabled. All experiments that are tagged with
3293
- # one or more of these tags are disabled. If an experiment is disabled, it is
3294
- # never selected nor forced. If an aggregate experiment is disabled, its
3295
- # partitions are disabled together. If an experiment with an enrollment is
3296
- # disabled, the enrollment is disabled together.
3297
- # Corresponds to the JSON property `disableExpTags`
3298
- # @return [Array<String>]
3299
- attr_accessor :disable_exp_tags
3300
-
3301
- # Set of experiment ids to be disabled. If an experiment is disabled, it is
3302
- # never selected nor forced. If an aggregate experiment is disabled, its
3303
- # partitions are disabled together. If an experiment with an enrollment is
3304
- # disabled, the enrollment is disabled together. If an ID corresponds to a
3305
- # domain, the domain itself and all descendant experiments and domains are
3306
- # disabled together.
3307
- # Corresponds to the JSON property `disableExps`
3308
- # @return [Array<Fixnum>]
3309
- attr_accessor :disable_exps
3310
-
3311
- # If true, disable manual enrollment selection (at all diversion points). Manual
3312
- # enrollment selection means experiment selection process based on the request's
3313
- # manual enrollment states (a.k.a. opt-in experiments). This does not disable
3314
- # selection of forced experiments.
3315
- # Corresponds to the JSON property `disableManualEnrollmentSelection`
3316
- # @return [Boolean]
3317
- attr_accessor :disable_manual_enrollment_selection
3318
- alias_method :disable_manual_enrollment_selection?, :disable_manual_enrollment_selection
3319
-
3320
- # If true, disable organic experiment selection (at all diversion points).
3321
- # Organic selection means experiment selection process based on traffic
3322
- # allocation and diversion condition evaluation. This does not disable selection
3323
- # of forced experiments. This is useful in cases when it is not known whether
3324
- # experiment selection behavior is responsible for a error or breakage.
3325
- # Disabling organic selection may help to isolate the cause of a given problem.
3326
- # Corresponds to the JSON property `disableOrganicSelection`
3327
- # @return [Boolean]
3328
- attr_accessor :disable_organic_selection
3329
- alias_method :disable_organic_selection?, :disable_organic_selection
3330
-
3331
- # Flags to force in a particular experiment state. Map from flag name to flag
3332
- # value.
3333
- # Corresponds to the JSON property `forcedFlags`
3334
- # @return [Hash<String,String>]
3335
- attr_accessor :forced_flags
3336
-
3337
- # Rollouts to force in a particular experiment state. Map from rollout name to
3338
- # rollout value.
3339
- # Corresponds to the JSON property `forcedRollouts`
3340
- # @return [Hash<String,Boolean>]
3341
- attr_accessor :forced_rollouts
3342
-
3343
- def initialize(**args)
3344
- update!(**args)
3345
- end
3346
-
3347
- # Update properties of this object
3348
- def update!(**args)
3349
- @absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names)
3350
- @absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags)
3351
- @absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps)
3352
- @conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names)
3353
- @conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags)
3354
- @conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps)
3355
- @disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection)
3356
- @disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names)
3357
- @disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags)
3358
- @disable_exps = args[:disable_exps] if args.key?(:disable_exps)
3359
- @disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection)
3360
- @disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection)
3361
- @forced_flags = args[:forced_flags] if args.key?(:forced_flags)
3362
- @forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts)
3363
- end
3364
- end
3365
-
3366
- # Input only. Use this field to specify bucketing option for the histogram
3367
- # search response.
3368
- class NumericBucketingOption
3369
- include Google::Apis::Core::Hashable
3370
-
3371
- # Required. Two adjacent values form a histogram bucket. Values should be in
3372
- # ascending order. For example, if [5, 10, 15] are provided, four buckets are
3373
- # created: (-inf, 5), 5, 10), [10, 15), [15, inf). At most 20 [buckets_bound is
3374
- # supported.
3375
- # Corresponds to the JSON property `bucketBounds`
3376
- # @return [Array<Float>]
3377
- attr_accessor :bucket_bounds
3378
-
3379
- # Optional. If set to true, the histogram result includes minimum/maximum value
3380
- # of the numeric field.
3381
- # Corresponds to the JSON property `requiresMinMax`
3382
- # @return [Boolean]
3383
- attr_accessor :requires_min_max
3384
- alias_method :requires_min_max?, :requires_min_max
3385
-
3386
- def initialize(**args)
3387
- update!(**args)
3388
- end
3389
-
3390
- # Update properties of this object
3391
- def update!(**args)
3392
- @bucket_bounds = args[:bucket_bounds] if args.key?(:bucket_bounds)
3393
- @requires_min_max = args[:requires_min_max] if args.key?(:requires_min_max)
3394
- end
3395
- end
3396
-
3397
- # Output only. Custom numeric bucketing result.
3398
- class NumericBucketingResult
3399
- include Google::Apis::Core::Hashable
3400
-
3401
- # Count within each bucket. Its size is the length of NumericBucketingOption.
3402
- # bucket_bounds plus 1.
3403
- # Corresponds to the JSON property `counts`
3404
- # @return [Array<Google::Apis::JobsV2::BucketizedCount>]
3405
- attr_accessor :counts
3406
-
3407
- # Stores the maximum value of the numeric field. Will be populated only if [
3408
- # NumericBucketingOption.requires_min_max] is set to true.
3409
- # Corresponds to the JSON property `maxValue`
3410
- # @return [Float]
3411
- attr_accessor :max_value
3412
-
3413
- # Stores the minimum value of the numeric field. Will be populated only if [
3414
- # NumericBucketingOption.requires_min_max] is set to true.
3415
- # Corresponds to the JSON property `minValue`
3416
- # @return [Float]
3417
- attr_accessor :min_value
3418
-
3419
- def initialize(**args)
3420
- update!(**args)
3421
- end
3422
-
3423
- # Update properties of this object
3424
- def update!(**args)
3425
- @counts = args[:counts] if args.key?(:counts)
3426
- @max_value = args[:max_value] if args.key?(:max_value)
3427
- @min_value = args[:min_value] if args.key?(:min_value)
3428
- end
3429
- end
3430
-
3431
- # Represents a postal address, e.g. for postal delivery or payments addresses.
3432
- # Given a postal address, a postal service can deliver items to a premise, P.O.
3433
- # Box or similar. It is not intended to model geographical locations (roads,
3434
- # towns, mountains). In typical usage an address would be created via user input
3435
- # or from importing existing data, depending on the type of process. Advice on
3436
- # address input / editing: - Use an i18n-ready address widget such as https://
3437
- # github.com/google/libaddressinput) - Users should not be presented with UI
3438
- # elements for input or editing of fields outside countries where that field is
3439
- # used. For more guidance on how to use this schema, please see: https://support.
3440
- # google.com/business/answer/6397478
3441
- class PostalAddress
3442
- include Google::Apis::Core::Hashable
3443
-
3444
- # Unstructured address lines describing the lower levels of an address. Because
3445
- # values in address_lines do not have type information and may sometimes contain
3446
- # multiple values in a single field (e.g. "Austin, TX"), it is important that
3447
- # the line order is clear. The order of address lines should be "envelope order"
3448
- # for the country/region of the address. In places where this can vary (e.g.
3449
- # Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
3450
- # small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
3451
- # specific line of an address can be selected based on the language. The minimum
3452
- # permitted structural representation of an address consists of a region_code
3453
- # with all remaining information placed in the address_lines. It would be
3454
- # possible to format such an address very approximately without geocoding, but
3455
- # no semantic reasoning could be made about any of the address components until
3456
- # it was at least partially resolved. Creating an address only containing a
3457
- # region_code and address_lines, and then geocoding is the recommended way to
3458
- # handle completely unstructured addresses (as opposed to guessing which parts
3459
- # of the address should be localities or administrative areas).
3460
- # Corresponds to the JSON property `addressLines`
3461
- # @return [Array<String>]
3462
- attr_accessor :address_lines
3463
-
3464
- # Optional. Highest administrative subdivision which is used for postal
3465
- # addresses of a country or region. For example, this can be a state, a province,
3466
- # an oblast, or a prefecture. Specifically, for Spain this is the province and
3467
- # not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
3468
- # countries don't use an administrative area in postal addresses. E.g. in
3469
- # Switzerland this should be left unpopulated.
3470
- # Corresponds to the JSON property `administrativeArea`
3471
- # @return [String]
3472
- attr_accessor :administrative_area
3473
-
3474
- # Optional. BCP-47 language code of the contents of this address (if known).
3475
- # This is often the UI language of the input form or is expected to match one of
3476
- # the languages used in the address' country/region, or their transliterated
3477
- # equivalents. This can affect formatting in certain countries, but is not
3478
- # critical to the correctness of the data and will never affect any validation
3479
- # or other non-formatting related operations. If this value is not known, it
3480
- # should be omitted (rather than specifying a possibly incorrect default).
3481
- # Examples: "zh-Hant", "ja", "ja-Latn", "en".
3482
- # Corresponds to the JSON property `languageCode`
3483
- # @return [String]
3484
- attr_accessor :language_code
3485
-
3486
- # Optional. Generally refers to the city/town portion of the address. Examples:
3487
- # US city, IT comune, UK post town. In regions of the world where localities are
3488
- # not well defined or do not fit into this structure well, leave locality empty
3489
- # and use address_lines.
3490
- # Corresponds to the JSON property `locality`
3491
- # @return [String]
3492
- attr_accessor :locality
3493
-
3494
- # Optional. The name of the organization at the address.
3495
- # Corresponds to the JSON property `organization`
3496
- # @return [String]
3497
- attr_accessor :organization
3498
-
3499
- # Optional. Postal code of the address. Not all countries use or require postal
3500
- # codes to be present, but where they are used, they may trigger additional
3501
- # validation with other parts of the address (e.g. state/zip validation in the U.
3502
- # S.A.).
3503
- # Corresponds to the JSON property `postalCode`
3504
- # @return [String]
3505
- attr_accessor :postal_code
3506
-
3507
- # Optional. The recipient at the address. This field may, under certain
3508
- # circumstances, contain multiline information. For example, it might contain "
3509
- # care of" information.
3510
- # Corresponds to the JSON property `recipients`
3511
- # @return [Array<String>]
3512
- attr_accessor :recipients
3513
-
3514
- # Required. CLDR region code of the country/region of the address. This is never
3515
- # inferred and it is up to the user to ensure the value is correct. See http://
3516
- # cldr.unicode.org/ and http://www.unicode.org/cldr/charts/30/supplemental/
3517
- # territory_information.html for details. Example: "CH" for Switzerland.
3518
- # Corresponds to the JSON property `regionCode`
3519
- # @return [String]
3520
- attr_accessor :region_code
3521
-
3522
- # The schema revision of the `PostalAddress`. This must be set to 0, which is
3523
- # the latest revision. All new revisions **must** be backward compatible with
3524
- # old revisions.
3525
- # Corresponds to the JSON property `revision`
3526
- # @return [Fixnum]
3527
- attr_accessor :revision
3528
-
3529
- # Optional. Additional, country-specific, sorting code. This is not used in most
3530
- # regions. Where it is used, the value is either a string like "CEDEX",
3531
- # optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
3532
- # representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
3533
- # or "post office indicator" (e.g. Côte d'Ivoire).
3534
- # Corresponds to the JSON property `sortingCode`
3535
- # @return [String]
3536
- attr_accessor :sorting_code
3537
-
3538
- # Optional. Sublocality of the address. For example, this can be neighborhoods,
3539
- # boroughs, districts.
3540
- # Corresponds to the JSON property `sublocality`
3541
- # @return [String]
3542
- attr_accessor :sublocality
3543
-
3544
- def initialize(**args)
3545
- update!(**args)
3546
- end
3547
-
3548
- # Update properties of this object
3549
- def update!(**args)
3550
- @address_lines = args[:address_lines] if args.key?(:address_lines)
3551
- @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
3552
- @language_code = args[:language_code] if args.key?(:language_code)
3553
- @locality = args[:locality] if args.key?(:locality)
3554
- @organization = args[:organization] if args.key?(:organization)
3555
- @postal_code = args[:postal_code] if args.key?(:postal_code)
3556
- @recipients = args[:recipients] if args.key?(:recipients)
3557
- @region_code = args[:region_code] if args.key?(:region_code)
3558
- @revision = args[:revision] if args.key?(:revision)
3559
- @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
3560
- @sublocality = args[:sublocality] if args.key?(:sublocality)
3561
- end
3562
- end
3563
-
3564
- # Input only. Meta information related to the job searcher or entity conducting
3565
- # the job search. This information is used to improve the performance of the
3566
- # service.
3567
- class RequestMetadata
3568
- include Google::Apis::Core::Hashable
3569
-
3570
- # Input only. Device information collected from the job seeker, candidate, or
3571
- # other entity conducting the job search. Providing this information improves
3572
- # the quality of the search results across devices.
3573
- # Corresponds to the JSON property `deviceInfo`
3574
- # @return [Google::Apis::JobsV2::DeviceInfo]
3575
- attr_accessor :device_info
3576
-
3577
- # Required. The client-defined scope or source of the service call, which
3578
- # typically is the domain on which the service has been implemented and is
3579
- # currently being run. For example, if the service is being run by client *Foo,
3580
- # Inc.*, on job board www.foo.com and career site www.bar.com, then this field
3581
- # is set to "foo.com" for use on the job board, and "bar.com" for use on the
3582
- # career site. If this field is not available for some reason, send "UNKNOWN".
3583
- # Note that any improvements to the service model for a particular tenant site
3584
- # rely on this field being set correctly to some domain.
3585
- # Corresponds to the JSON property `domain`
3586
- # @return [String]
3587
- attr_accessor :domain
3588
-
3589
- # Required. A unique session identification string. A session is defined as the
3590
- # duration of an end user's interaction with the service over a period.
3591
- # Obfuscate this field for privacy concerns before providing it to the API. If
3592
- # this field is not available for some reason, please send "UNKNOWN". Note that
3593
- # any improvements to the service model for a particular tenant site, rely on
3594
- # this field being set correctly to some unique session_id.
3595
- # Corresponds to the JSON property `sessionId`
3596
- # @return [String]
3597
- attr_accessor :session_id
3598
-
3599
- # Required. A unique user identification string, as determined by the client.
3600
- # The client is responsible for ensuring client-level uniqueness of this value
3601
- # in order to have the strongest positive impact on search quality. Obfuscate
3602
- # this field for privacy concerns before providing it to the service. If this
3603
- # field is not available for some reason, please send "UNKNOWN". Note that any
3604
- # improvements to the service model for a particular tenant site, rely on this
3605
- # field being set correctly to some unique user_id.
3606
- # Corresponds to the JSON property `userId`
3607
- # @return [String]
3608
- attr_accessor :user_id
3609
-
3610
- def initialize(**args)
3611
- update!(**args)
3612
- end
3613
-
3614
- # Update properties of this object
3615
- def update!(**args)
3616
- @device_info = args[:device_info] if args.key?(:device_info)
3617
- @domain = args[:domain] if args.key?(:domain)
3618
- @session_id = args[:session_id] if args.key?(:session_id)
3619
- @user_id = args[:user_id] if args.key?(:user_id)
3620
- end
3621
- end
3622
-
3623
- # Output only. Additional information returned to client, such as debugging
3624
- # information.
3625
- class ResponseMetadata
3626
- include Google::Apis::Core::Hashable
3627
-
3628
- # Identifiers for the versions of the search algorithm used during this API
3629
- # invocation if multiple algorithms are used. The default value is empty. For
3630
- # search response only.
3631
- # Corresponds to the JSON property `experimentIdList`
3632
- # @return [Array<Fixnum>]
3633
- attr_accessor :experiment_id_list
3634
-
3635
- # For search response only. Indicates the mode of a performed search.
3636
- # Corresponds to the JSON property `mode`
3637
- # @return [String]
3638
- attr_accessor :mode
3639
-
3640
- # A unique id associated with this call. This id is logged for tracking purposes.
3641
- # Corresponds to the JSON property `requestId`
3642
- # @return [String]
3643
- attr_accessor :request_id
3644
-
3645
- def initialize(**args)
3646
- update!(**args)
3647
- end
3648
-
3649
- # Update properties of this object
3650
- def update!(**args)
3651
- @experiment_id_list = args[:experiment_id_list] if args.key?(:experiment_id_list)
3652
- @mode = args[:mode] if args.key?(:mode)
3653
- @request_id = args[:request_id] if args.key?(:request_id)
3654
- end
3655
- end
3656
-
3657
- # Input only. The Request body of the `SearchJobs` call.
3658
- class SearchJobsRequest
3659
- include Google::Apis::Core::Hashable
3660
-
3661
- # Optional. Controls whether to disable relevance thresholding. Relevance
3662
- # thresholding removes jobs that have low relevance in search results, for
3663
- # example, removing "Assistant to the CEO" positions from the search results of
3664
- # a search for "CEO". Disabling relevance thresholding improves the accuracy of
3665
- # subsequent search requests. Defaults to false.
3666
- # Corresponds to the JSON property `disableRelevanceThresholding`
3667
- # @return [Boolean]
3668
- attr_accessor :disable_relevance_thresholding
3669
- alias_method :disable_relevance_thresholding?, :disable_relevance_thresholding
3670
-
3671
- # Optional. Controls whether to broaden the search when it produces sparse
3672
- # results. Broadened queries append results to the end of the matching results
3673
- # list. Defaults to false.
3674
- # Corresponds to the JSON property `enableBroadening`
3675
- # @return [Boolean]
3676
- attr_accessor :enable_broadening
3677
- alias_method :enable_broadening?, :enable_broadening
3678
-
3679
- # Optional. Controls if the search job request requires the return of a precise
3680
- # count of the first 300 results. Setting this to `true` ensures consistency in
3681
- # the number of results per page. Best practice is to set this value to true if
3682
- # a client allows users to jump directly to a non-sequential search results page.
3683
- # Enabling this flag may adversely impact performance. Defaults to false.
3684
- # Corresponds to the JSON property `enablePreciseResultSize`
3685
- # @return [Boolean]
3686
- attr_accessor :enable_precise_result_size
3687
- alias_method :enable_precise_result_size?, :enable_precise_result_size
3688
-
3689
- # Input only. Deprecated. Use JobQuery instead. The filters required to perform
3690
- # a search query or histogram.
3691
- # Corresponds to the JSON property `filters`
3692
- # @return [Google::Apis::JobsV2::JobFilters]
3693
- attr_accessor :filters
3694
-
3695
- # Input only. Histogram facets to be specified in SearchJobsRequest.
3696
- # Corresponds to the JSON property `histogramFacets`
3697
- # @return [Google::Apis::JobsV2::HistogramFacets]
3698
- attr_accessor :histogram_facets
3699
-
3700
- # Optional. The number of job attributes returned for jobs in the search
3701
- # response. Defaults to JobView.SMALL if no value is specified.
3702
- # Corresponds to the JSON property `jobView`
3703
- # @return [String]
3704
- attr_accessor :job_view
3705
-
3706
- # Required. Mode of a search.
3707
- # Corresponds to the JSON property `mode`
3708
- # @return [String]
3709
- attr_accessor :mode
3710
-
3711
- # Optional. An integer that specifies the current offset (that is, starting
3712
- # result location, amongst the jobs deemed by the API as relevant) in search
3713
- # results. This field is only considered if page_token is unset. For example, 0
3714
- # means to return results starting from the first matching job, and 10 means to
3715
- # return from the 11th job. This can be used for pagination, (for example,
3716
- # pageSize = 10 and offset = 10 means to return from the second page).
3717
- # Corresponds to the JSON property `offset`
3718
- # @return [Fixnum]
3719
- attr_accessor :offset
3720
-
3721
- # Deprecated. Use sort_by instead. Optional. The criteria determining how search
3722
- # results are sorted. Defaults to SortBy.RELEVANCE_DESC if no value is specified.
3723
- # Corresponds to the JSON property `orderBy`
3724
- # @return [String]
3725
- attr_accessor :order_by
3726
-
3727
- # Optional. A limit on the number of jobs returned in the search results.
3728
- # Increasing this value above the default value of 10 can increase search
3729
- # response time. The value can be between 1 and 100.
3730
- # Corresponds to the JSON property `pageSize`
3731
- # @return [Fixnum]
3732
- attr_accessor :page_size
3733
-
3734
- # Optional. The token specifying the current offset within search results. See
3735
- # SearchJobsResponse.next_page_token for an explanation of how to obtain the
3736
- # next set of query results.
3737
- # Corresponds to the JSON property `pageToken`
3738
- # @return [String]
3739
- attr_accessor :page_token
3740
-
3741
- # Input only. The query required to perform a search query or histogram.
3742
- # Corresponds to the JSON property `query`
3743
- # @return [Google::Apis::JobsV2::JobQuery]
3744
- attr_accessor :query
3745
-
3746
- # Input only. Meta information related to the job searcher or entity conducting
3747
- # the job search. This information is used to improve the performance of the
3748
- # service.
3749
- # Corresponds to the JSON property `requestMetadata`
3750
- # @return [Google::Apis::JobsV2::RequestMetadata]
3751
- attr_accessor :request_metadata
3752
-
3753
- # Optional. The criteria determining how search results are sorted. Defaults to
3754
- # SortBy.RELEVANCE_DESC if no value is specified.
3755
- # Corresponds to the JSON property `sortBy`
3756
- # @return [String]
3757
- attr_accessor :sort_by
3758
-
3759
- def initialize(**args)
3760
- update!(**args)
3761
- end
3762
-
3763
- # Update properties of this object
3764
- def update!(**args)
3765
- @disable_relevance_thresholding = args[:disable_relevance_thresholding] if args.key?(:disable_relevance_thresholding)
3766
- @enable_broadening = args[:enable_broadening] if args.key?(:enable_broadening)
3767
- @enable_precise_result_size = args[:enable_precise_result_size] if args.key?(:enable_precise_result_size)
3768
- @filters = args[:filters] if args.key?(:filters)
3769
- @histogram_facets = args[:histogram_facets] if args.key?(:histogram_facets)
3770
- @job_view = args[:job_view] if args.key?(:job_view)
3771
- @mode = args[:mode] if args.key?(:mode)
3772
- @offset = args[:offset] if args.key?(:offset)
3773
- @order_by = args[:order_by] if args.key?(:order_by)
3774
- @page_size = args[:page_size] if args.key?(:page_size)
3775
- @page_token = args[:page_token] if args.key?(:page_token)
3776
- @query = args[:query] if args.key?(:query)
3777
- @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
3778
- @sort_by = args[:sort_by] if args.key?(:sort_by)
3779
- end
3780
- end
3781
-
3782
- # Output only. Response for SearchJob method.
3783
- class SearchJobsResponse
3784
- include Google::Apis::Core::Hashable
3785
-
3786
- # Input only. Parameters needed for commute search.
3787
- # Corresponds to the JSON property `appliedCommuteFilter`
3788
- # @return [Google::Apis::JobsV2::CommutePreference]
3789
- attr_accessor :applied_commute_filter
3790
-
3791
- # The location filters that the service applied to the specified query. If any
3792
- # filters are lat-lng based, the JobLocation.location_type is JobLocation.
3793
- # LocationType#LOCATION_TYPE_UNSPECIFIED.
3794
- # Corresponds to the JSON property `appliedJobLocationFilters`
3795
- # @return [Array<Google::Apis::JobsV2::JobLocation>]
3796
- attr_accessor :applied_job_location_filters
3797
-
3798
- # An estimation of the number of jobs that match the specified query. This
3799
- # number is not guaranteed to be accurate. For accurate results,
3800
- # seenenable_precise_result_size.
3801
- # Corresponds to the JSON property `estimatedTotalSize`
3802
- # @return [Fixnum]
3803
- attr_accessor :estimated_total_size
3804
-
3805
- # Output only. Histogram results that matches HistogramFacets specified in
3806
- # SearchJobsRequest.
3807
- # Corresponds to the JSON property `histogramResults`
3808
- # @return [Google::Apis::JobsV2::HistogramResults]
3809
- attr_accessor :histogram_results
3810
-
3811
- # Corresponds to SearchJobsRequest.job_view.
3812
- # Corresponds to the JSON property `jobView`
3813
- # @return [String]
3814
- attr_accessor :job_view
3815
-
3816
- # The Job entities that match the specified SearchJobsRequest.
3817
- # Corresponds to the JSON property `matchingJobs`
3818
- # @return [Array<Google::Apis::JobsV2::MatchingJob>]
3819
- attr_accessor :matching_jobs
3820
-
3821
- # Output only. Additional information returned to client, such as debugging
3822
- # information.
3823
- # Corresponds to the JSON property `metadata`
3824
- # @return [Google::Apis::JobsV2::ResponseMetadata]
3825
- attr_accessor :metadata
3826
-
3827
- # The token that specifies the starting position of the next page of results.
3828
- # This field is empty if there are no more results.
3829
- # Corresponds to the JSON property `nextPageToken`
3830
- # @return [String]
3831
- attr_accessor :next_page_token
3832
-
3833
- # If query broadening is enabled, we may append additional results from the
3834
- # broadened query. This number indicates how many of the jobs returned in the
3835
- # jobs field are from the broadened query. These results are always at the end
3836
- # of the jobs list. In particular, a value of 0 means all the jobs in the jobs
3837
- # list are from the original (without broadening) query. If this field is non-
3838
- # zero, subsequent requests with offset after this result set should contain all
3839
- # broadened results.
3840
- # Corresponds to the JSON property `numJobsFromBroadenedQuery`
3841
- # @return [Fixnum]
3842
- attr_accessor :num_jobs_from_broadened_query
3843
-
3844
- # Output only. Spell check result.
3845
- # Corresponds to the JSON property `spellResult`
3846
- # @return [Google::Apis::JobsV2::SpellingCorrection]
3847
- attr_accessor :spell_result
3848
-
3849
- # The precise result count, which is available only if the client set
3850
- # enable_precise_result_size to `true` or if the response is the last page of
3851
- # results. Otherwise, the value will be `-1`.
3852
- # Corresponds to the JSON property `totalSize`
3853
- # @return [Fixnum]
3854
- attr_accessor :total_size
3855
-
3856
- def initialize(**args)
3857
- update!(**args)
3858
- end
3859
-
3860
- # Update properties of this object
3861
- def update!(**args)
3862
- @applied_commute_filter = args[:applied_commute_filter] if args.key?(:applied_commute_filter)
3863
- @applied_job_location_filters = args[:applied_job_location_filters] if args.key?(:applied_job_location_filters)
3864
- @estimated_total_size = args[:estimated_total_size] if args.key?(:estimated_total_size)
3865
- @histogram_results = args[:histogram_results] if args.key?(:histogram_results)
3866
- @job_view = args[:job_view] if args.key?(:job_view)
3867
- @matching_jobs = args[:matching_jobs] if args.key?(:matching_jobs)
3868
- @metadata = args[:metadata] if args.key?(:metadata)
3869
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3870
- @num_jobs_from_broadened_query = args[:num_jobs_from_broadened_query] if args.key?(:num_jobs_from_broadened_query)
3871
- @spell_result = args[:spell_result] if args.key?(:spell_result)
3872
- @total_size = args[:total_size] if args.key?(:total_size)
3873
- end
3874
- end
3875
-
3876
- # Output only. Spell check result.
3877
- class SpellingCorrection
3878
- include Google::Apis::Core::Hashable
3879
-
3880
- # Indicates if the query was corrected by the spell checker.
3881
- # Corresponds to the JSON property `corrected`
3882
- # @return [Boolean]
3883
- attr_accessor :corrected
3884
- alias_method :corrected?, :corrected
3885
-
3886
- # Correction output consisting of the corrected keyword string.
3887
- # Corresponds to the JSON property `correctedText`
3888
- # @return [String]
3889
- attr_accessor :corrected_text
3890
-
3891
- def initialize(**args)
3892
- update!(**args)
3893
- end
3894
-
3895
- # Update properties of this object
3896
- def update!(**args)
3897
- @corrected = args[:corrected] if args.key?(:corrected)
3898
- @corrected_text = args[:corrected_text] if args.key?(:corrected_text)
3899
- end
3900
- end
3901
-
3902
- # The `Status` type defines a logical error model that is suitable for different
3903
- # programming environments, including REST APIs and RPC APIs. It is used by [
3904
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3905
- # data: error code, error message, and error details. You can find out more
3906
- # about this error model and how to work with it in the [API Design Guide](https:
3907
- # //cloud.google.com/apis/design/errors).
3908
- class Status
3909
- include Google::Apis::Core::Hashable
3910
-
3911
- # The status code, which should be an enum value of google.rpc.Code.
3912
- # Corresponds to the JSON property `code`
3913
- # @return [Fixnum]
3914
- attr_accessor :code
3915
-
3916
- # A list of messages that carry the error details. There is a common set of
3917
- # message types for APIs to use.
3918
- # Corresponds to the JSON property `details`
3919
- # @return [Array<Hash<String,Object>>]
3920
- attr_accessor :details
3921
-
3922
- # A developer-facing error message, which should be in English. Any user-facing
3923
- # error message should be localized and sent in the google.rpc.Status.details
3924
- # field, or localized by the client.
3925
- # Corresponds to the JSON property `message`
3926
- # @return [String]
3927
- attr_accessor :message
3928
-
3929
- def initialize(**args)
3930
- update!(**args)
3931
- end
3932
-
3933
- # Update properties of this object
3934
- def update!(**args)
3935
- @code = args[:code] if args.key?(:code)
3936
- @details = args[:details] if args.key?(:details)
3937
- @message = args[:message] if args.key?(:message)
3938
- end
3939
- end
3940
-
3941
- # Represents array of string values.
3942
- class StringValues
3943
- include Google::Apis::Core::Hashable
3944
-
3945
- # Required. String values.
3946
- # Corresponds to the JSON property `values`
3947
- # @return [Array<String>]
3948
- attr_accessor :values
3949
-
3950
- def initialize(**args)
3951
- update!(**args)
3952
- end
3953
-
3954
- # Update properties of this object
3955
- def update!(**args)
3956
- @values = args[:values] if args.key?(:values)
3957
- end
3958
- end
3959
-
3960
- # Input only. Update job request.
3961
- class UpdateJobRequest
3962
- include Google::Apis::Core::Hashable
3963
-
3964
- # Deprecated. Please use processing_options. This flag is ignored if
3965
- # processing_options is set. Optional. If set to `true`, the service does not
3966
- # attempt resolve a more precise address for the job.
3967
- # Corresponds to the JSON property `disableStreetAddressResolution`
3968
- # @return [Boolean]
3969
- attr_accessor :disable_street_address_resolution
3970
- alias_method :disable_street_address_resolution?, :disable_street_address_resolution
3971
-
3972
- # A Job resource represents a job posting (also referred to as a "job listing"
3973
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
3974
- # responsible for the job.
3975
- # Corresponds to the JSON property `job`
3976
- # @return [Google::Apis::JobsV2::Job]
3977
- attr_accessor :job
3978
-
3979
- # Input only. Options for job processing.
3980
- # Corresponds to the JSON property `processingOptions`
3981
- # @return [Google::Apis::JobsV2::JobProcessingOptions]
3982
- attr_accessor :processing_options
3983
-
3984
- # Optional but strongly recommended to be provided for the best service
3985
- # experience. If update_job_fields is provided, only the specified fields in job
3986
- # are updated. Otherwise all the fields are updated. A field mask to restrict
3987
- # the fields that are updated. Valid values are: * jobTitle * employmentTypes *
3988
- # description * applicationUrls * applicationEmailList * applicationInstruction *
3989
- # responsibilities * qualifications * educationLevels * level * department *
3990
- # startDate * endDate * compensationInfo * incentives * languageCode * benefits *
3991
- # expireTime * customAttributes * visibility * publishDate * promotionValue *
3992
- # locations * region * expiryDate (deprecated) * filterableCustomFields (
3993
- # deprecated) * unindexedCustomFields (deprecated)
3994
- # Corresponds to the JSON property `updateJobFields`
3995
- # @return [String]
3996
- attr_accessor :update_job_fields
3997
-
3998
- def initialize(**args)
3999
- update!(**args)
4000
- end
4001
-
4002
- # Update properties of this object
4003
- def update!(**args)
4004
- @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
4005
- @job = args[:job] if args.key?(:job)
4006
- @processing_options = args[:processing_options] if args.key?(:processing_options)
4007
- @update_job_fields = args[:update_job_fields] if args.key?(:update_job_fields)
4008
- end
4009
- end
4010
- end
4011
- end
4012
- end