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
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class Operation
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class PatchServiceAccountRequest
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -256,6 +262,12 @@ module Google
256
262
  include Google::Apis::Core::JsonObjectSupport
257
263
  end
258
264
 
265
+ class Status
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
259
271
  class TestIamPermissionsRequest
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
@@ -462,6 +474,18 @@ module Google
462
474
  end
463
475
  end
464
476
 
477
+ class Operation
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :done, as: 'done'
481
+ property :error, as: 'error', class: Google::Apis::IamV1::Status, decorator: Google::Apis::IamV1::Status::Representation
482
+
483
+ hash :metadata, as: 'metadata'
484
+ property :name, as: 'name'
485
+ hash :response, as: 'response'
486
+ end
487
+ end
488
+
465
489
  class PatchServiceAccountRequest
466
490
  # @private
467
491
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -647,6 +671,15 @@ module Google
647
671
  end
648
672
  end
649
673
 
674
+ class Status
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ property :code, as: 'code'
678
+ collection :details, as: 'details'
679
+ property :message, as: 'message'
680
+ end
681
+ end
682
+
650
683
  class TestIamPermissionsRequest
651
684
  # @private
652
685
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -452,6 +452,68 @@ module Google
452
452
  execute_or_queue_command(command, &block)
453
453
  end
454
454
 
455
+ # Gets the latest state of a long-running operation. Clients can use this method
456
+ # to poll the operation result at intervals as recommended by the API service.
457
+ # @param [String] name
458
+ # The name of the operation resource.
459
+ # @param [String] fields
460
+ # Selector specifying which fields to include in a partial response.
461
+ # @param [String] quota_user
462
+ # Available to use for quota purposes for server-side applications. Can be any
463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
464
+ # @param [Google::Apis::RequestOptions] options
465
+ # Request-specific options
466
+ #
467
+ # @yield [result, err] Result & error if block supplied
468
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
469
+ # @yieldparam err [StandardError] error object if request failed
470
+ #
471
+ # @return [Google::Apis::IamV1::Operation]
472
+ #
473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
476
+ def get_project_location_workload_identity_pool_operation(name, fields: nil, quota_user: nil, options: nil, &block)
477
+ command = make_simple_command(:get, 'v1/{+name}', options)
478
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
479
+ command.response_class = Google::Apis::IamV1::Operation
480
+ command.params['name'] = name unless name.nil?
481
+ command.query['fields'] = fields unless fields.nil?
482
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
483
+ execute_or_queue_command(command, &block)
484
+ end
485
+
486
+ # Gets the latest state of a long-running operation. Clients can use this method
487
+ # to poll the operation result at intervals as recommended by the API service.
488
+ # @param [String] name
489
+ # The name of the operation resource.
490
+ # @param [String] fields
491
+ # Selector specifying which fields to include in a partial response.
492
+ # @param [String] quota_user
493
+ # Available to use for quota purposes for server-side applications. Can be any
494
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
495
+ # @param [Google::Apis::RequestOptions] options
496
+ # Request-specific options
497
+ #
498
+ # @yield [result, err] Result & error if block supplied
499
+ # @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
500
+ # @yieldparam err [StandardError] error object if request failed
501
+ #
502
+ # @return [Google::Apis::IamV1::Operation]
503
+ #
504
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
505
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
506
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
507
+ def get_project_location_workload_identity_pool_provider_operation(name, fields: nil, quota_user: nil, options: nil, &block)
508
+ command = make_simple_command(:get, 'v1/{+name}', options)
509
+ command.response_representation = Google::Apis::IamV1::Operation::Representation
510
+ command.response_class = Google::Apis::IamV1::Operation
511
+ command.params['name'] = name unless name.nil?
512
+ command.query['fields'] = fields unless fields.nil?
513
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
514
+ execute_or_queue_command(command, &block)
515
+ end
516
+
455
517
  # Creates a new custom Role.
456
518
  # @param [String] parent
457
519
  # The `parent` parameter's value depends on the target resource for the request,
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/talent-solution/job-search/docs/
27
27
  module JobsV3
28
28
  VERSION = 'V3'
29
- REVISION = '20200929'
29
+ REVISION = '20201124'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -232,8 +232,8 @@ module Google
232
232
  # @return [String]
233
233
  attr_accessor :road_traffic
234
234
 
235
- # An object representing a latitude/longitude pair. This is expressed as a pair
236
- # of doubles representing degrees latitude and degrees longitude. Unless
235
+ # An object that represents a latitude/longitude pair. This is expressed as a
236
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
237
237
  # specified otherwise, this must conform to the WGS84 standard. Values must be
238
238
  # within normalized ranges.
239
239
  # Corresponds to the JSON property `startCoordinates`
@@ -914,765 +914,6 @@ module Google
914
914
  end
915
915
  end
916
916
 
917
- # The result of JobService.BatchCreateJobs. It's used to replace google.
918
- # longrunning.Operation.response in case of success.
919
- class GoogleCloudTalentV4BatchCreateJobsResponse
920
- include Google::Apis::Core::Hashable
921
-
922
- # List of job mutation results from a batch create operation. It can change
923
- # until operation status is FINISHED, FAILED or CANCELLED.
924
- # Corresponds to the JSON property `jobResults`
925
- # @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
926
- attr_accessor :job_results
927
-
928
- def initialize(**args)
929
- update!(**args)
930
- end
931
-
932
- # Update properties of this object
933
- def update!(**args)
934
- @job_results = args[:job_results] if args.key?(:job_results)
935
- end
936
- end
937
-
938
- # The result of JobService.BatchDeleteJobs. It's used to replace google.
939
- # longrunning.Operation.response in case of success.
940
- class GoogleCloudTalentV4BatchDeleteJobsResponse
941
- include Google::Apis::Core::Hashable
942
-
943
- # List of job mutation results from a batch delete operation. It can change
944
- # until operation status is FINISHED, FAILED or CANCELLED.
945
- # Corresponds to the JSON property `jobResults`
946
- # @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
947
- attr_accessor :job_results
948
-
949
- def initialize(**args)
950
- update!(**args)
951
- end
952
-
953
- # Update properties of this object
954
- def update!(**args)
955
- @job_results = args[:job_results] if args.key?(:job_results)
956
- end
957
- end
958
-
959
- # Metadata used for long running operations returned by CTS batch APIs. It's
960
- # used to replace google.longrunning.Operation.metadata.
961
- class GoogleCloudTalentV4BatchOperationMetadata
962
- include Google::Apis::Core::Hashable
963
-
964
- # The time when the batch operation is created.
965
- # Corresponds to the JSON property `createTime`
966
- # @return [String]
967
- attr_accessor :create_time
968
-
969
- # The time when the batch operation is finished and google.longrunning.Operation.
970
- # done is set to `true`.
971
- # Corresponds to the JSON property `endTime`
972
- # @return [String]
973
- attr_accessor :end_time
974
-
975
- # Count of failed item(s) inside an operation.
976
- # Corresponds to the JSON property `failureCount`
977
- # @return [Fixnum]
978
- attr_accessor :failure_count
979
-
980
- # The state of a long running operation.
981
- # Corresponds to the JSON property `state`
982
- # @return [String]
983
- attr_accessor :state
984
-
985
- # More detailed information about operation state.
986
- # Corresponds to the JSON property `stateDescription`
987
- # @return [String]
988
- attr_accessor :state_description
989
-
990
- # Count of successful item(s) inside an operation.
991
- # Corresponds to the JSON property `successCount`
992
- # @return [Fixnum]
993
- attr_accessor :success_count
994
-
995
- # Count of total item(s) inside an operation.
996
- # Corresponds to the JSON property `totalCount`
997
- # @return [Fixnum]
998
- attr_accessor :total_count
999
-
1000
- # The time when the batch operation status is updated. The metadata and the
1001
- # update_time is refreshed every minute otherwise cached data is returned.
1002
- # Corresponds to the JSON property `updateTime`
1003
- # @return [String]
1004
- attr_accessor :update_time
1005
-
1006
- def initialize(**args)
1007
- update!(**args)
1008
- end
1009
-
1010
- # Update properties of this object
1011
- def update!(**args)
1012
- @create_time = args[:create_time] if args.key?(:create_time)
1013
- @end_time = args[:end_time] if args.key?(:end_time)
1014
- @failure_count = args[:failure_count] if args.key?(:failure_count)
1015
- @state = args[:state] if args.key?(:state)
1016
- @state_description = args[:state_description] if args.key?(:state_description)
1017
- @success_count = args[:success_count] if args.key?(:success_count)
1018
- @total_count = args[:total_count] if args.key?(:total_count)
1019
- @update_time = args[:update_time] if args.key?(:update_time)
1020
- end
1021
- end
1022
-
1023
- # The result of JobService.BatchUpdateJobs. It's used to replace google.
1024
- # longrunning.Operation.response in case of success.
1025
- class GoogleCloudTalentV4BatchUpdateJobsResponse
1026
- include Google::Apis::Core::Hashable
1027
-
1028
- # List of job mutation results from a batch update operation. It can change
1029
- # until operation status is FINISHED, FAILED or CANCELLED.
1030
- # Corresponds to the JSON property `jobResults`
1031
- # @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
1032
- attr_accessor :job_results
1033
-
1034
- def initialize(**args)
1035
- update!(**args)
1036
- end
1037
-
1038
- # Update properties of this object
1039
- def update!(**args)
1040
- @job_results = args[:job_results] if args.key?(:job_results)
1041
- end
1042
- end
1043
-
1044
- # Job compensation details.
1045
- class GoogleCloudTalentV4CompensationInfo
1046
- include Google::Apis::Core::Hashable
1047
-
1048
- # Compensation range.
1049
- # Corresponds to the JSON property `annualizedBaseCompensationRange`
1050
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
1051
- attr_accessor :annualized_base_compensation_range
1052
-
1053
- # Compensation range.
1054
- # Corresponds to the JSON property `annualizedTotalCompensationRange`
1055
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
1056
- attr_accessor :annualized_total_compensation_range
1057
-
1058
- # Job compensation information. At most one entry can be of type
1059
- # CompensationInfo.CompensationType.BASE, which is referred as **base
1060
- # compensation entry** for the job.
1061
- # Corresponds to the JSON property `entries`
1062
- # @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry>]
1063
- attr_accessor :entries
1064
-
1065
- def initialize(**args)
1066
- update!(**args)
1067
- end
1068
-
1069
- # Update properties of this object
1070
- def update!(**args)
1071
- @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
1072
- @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
1073
- @entries = args[:entries] if args.key?(:entries)
1074
- end
1075
- end
1076
-
1077
- # A compensation entry that represents one component of compensation, such as
1078
- # base pay, bonus, or other compensation type. Annualization: One compensation
1079
- # entry can be annualized if - it contains valid amount or range. - and its
1080
- # expected_units_per_year is set or can be derived. Its annualized range is
1081
- # determined as (amount or range) times expected_units_per_year.
1082
- class GoogleCloudTalentV4CompensationInfoCompensationEntry
1083
- include Google::Apis::Core::Hashable
1084
-
1085
- # Represents an amount of money with its currency type.
1086
- # Corresponds to the JSON property `amount`
1087
- # @return [Google::Apis::JobsV3::Money]
1088
- attr_accessor :amount
1089
-
1090
- # Compensation description. For example, could indicate equity terms or provide
1091
- # additional context to an estimated bonus.
1092
- # Corresponds to the JSON property `description`
1093
- # @return [String]
1094
- attr_accessor :description
1095
-
1096
- # Expected number of units paid each year. If not specified, when Job.
1097
- # employment_types is FULLTIME, a default value is inferred based on unit.
1098
- # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
1099
- # ANNUAL: 1
1100
- # Corresponds to the JSON property `expectedUnitsPerYear`
1101
- # @return [Float]
1102
- attr_accessor :expected_units_per_year
1103
-
1104
- # Compensation range.
1105
- # Corresponds to the JSON property `range`
1106
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
1107
- attr_accessor :range
1108
-
1109
- # Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
1110
- # Corresponds to the JSON property `type`
1111
- # @return [String]
1112
- attr_accessor :type
1113
-
1114
- # Frequency of the specified amount. Default is CompensationUnit.
1115
- # COMPENSATION_UNIT_UNSPECIFIED.
1116
- # Corresponds to the JSON property `unit`
1117
- # @return [String]
1118
- attr_accessor :unit
1119
-
1120
- def initialize(**args)
1121
- update!(**args)
1122
- end
1123
-
1124
- # Update properties of this object
1125
- def update!(**args)
1126
- @amount = args[:amount] if args.key?(:amount)
1127
- @description = args[:description] if args.key?(:description)
1128
- @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
1129
- @range = args[:range] if args.key?(:range)
1130
- @type = args[:type] if args.key?(:type)
1131
- @unit = args[:unit] if args.key?(:unit)
1132
- end
1133
- end
1134
-
1135
- # Compensation range.
1136
- class GoogleCloudTalentV4CompensationInfoCompensationRange
1137
- include Google::Apis::Core::Hashable
1138
-
1139
- # Represents an amount of money with its currency type.
1140
- # Corresponds to the JSON property `maxCompensation`
1141
- # @return [Google::Apis::JobsV3::Money]
1142
- attr_accessor :max_compensation
1143
-
1144
- # Represents an amount of money with its currency type.
1145
- # Corresponds to the JSON property `minCompensation`
1146
- # @return [Google::Apis::JobsV3::Money]
1147
- attr_accessor :min_compensation
1148
-
1149
- def initialize(**args)
1150
- update!(**args)
1151
- end
1152
-
1153
- # Update properties of this object
1154
- def update!(**args)
1155
- @max_compensation = args[:max_compensation] if args.key?(:max_compensation)
1156
- @min_compensation = args[:min_compensation] if args.key?(:min_compensation)
1157
- end
1158
- end
1159
-
1160
- # Custom attribute values that are either filterable or non-filterable.
1161
- class GoogleCloudTalentV4CustomAttribute
1162
- include Google::Apis::Core::Hashable
1163
-
1164
- # If the `filterable` flag is true, the custom field values may be used for
1165
- # custom attribute filters JobQuery.custom_attribute_filter. If false, these
1166
- # values may not be used for custom attribute filters. Default is false.
1167
- # Corresponds to the JSON property `filterable`
1168
- # @return [Boolean]
1169
- attr_accessor :filterable
1170
- alias_method :filterable?, :filterable
1171
-
1172
- # If the `keyword_searchable` flag is true, the keywords in custom fields are
1173
- # searchable by keyword match. If false, the values are not searchable by
1174
- # keyword match. Default is false.
1175
- # Corresponds to the JSON property `keywordSearchable`
1176
- # @return [Boolean]
1177
- attr_accessor :keyword_searchable
1178
- alias_method :keyword_searchable?, :keyword_searchable
1179
-
1180
- # Exactly one of string_values or long_values must be specified. This field is
1181
- # used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over
1182
- # filterable `long_value`. Currently at most 1 long_values is supported.
1183
- # Corresponds to the JSON property `longValues`
1184
- # @return [Array<Fixnum>]
1185
- attr_accessor :long_values
1186
-
1187
- # Exactly one of string_values or long_values must be specified. This field is
1188
- # used to perform a string match (`CASE_SENSITIVE_MATCH` or `
1189
- # CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum
1190
- # total number of 200 values is allowed, with each `string_value` has a byte
1191
- # size of no more than 500B. For unfilterable `string_values`, the maximum total
1192
- # byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
1193
- # Corresponds to the JSON property `stringValues`
1194
- # @return [Array<String>]
1195
- attr_accessor :string_values
1196
-
1197
- def initialize(**args)
1198
- update!(**args)
1199
- end
1200
-
1201
- # Update properties of this object
1202
- def update!(**args)
1203
- @filterable = args[:filterable] if args.key?(:filterable)
1204
- @keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable)
1205
- @long_values = args[:long_values] if args.key?(:long_values)
1206
- @string_values = args[:string_values] if args.key?(:string_values)
1207
- end
1208
- end
1209
-
1210
- # A Job resource represents a job posting (also referred to as a "job listing"
1211
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
1212
- # responsible for the job.
1213
- class GoogleCloudTalentV4Job
1214
- include Google::Apis::Core::Hashable
1215
-
1216
- # Strongly recommended for the best service experience. Location(s) where the
1217
- # employer is looking to hire for this job posting. Specifying the full street
1218
- # address(es) of the hiring location enables better API results, especially job
1219
- # searches by commute time. At most 50 locations are allowed for best search
1220
- # performance. If a job has more locations, it is suggested to split it into
1221
- # multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-
1222
- # 2', and so on.) as multiple jobs with the same company, language_code and
1223
- # requisition_id are not allowed. If the original requisition_id must be
1224
- # preserved, a custom field should be used for storage. It is also suggested to
1225
- # group the locations that close to each other in the same job for better search
1226
- # experience. The maximum number of allowed characters is 500.
1227
- # Corresponds to the JSON property `addresses`
1228
- # @return [Array<String>]
1229
- attr_accessor :addresses
1230
-
1231
- # Application related details of a job posting.
1232
- # Corresponds to the JSON property `applicationInfo`
1233
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo]
1234
- attr_accessor :application_info
1235
-
1236
- # Required. The resource name of the company listing the job. The format is "
1237
- # projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example,
1238
- # "projects/foo/tenants/bar/companies/baz".
1239
- # Corresponds to the JSON property `company`
1240
- # @return [String]
1241
- attr_accessor :company
1242
-
1243
- # Output only. Display name of the company listing the job.
1244
- # Corresponds to the JSON property `companyDisplayName`
1245
- # @return [String]
1246
- attr_accessor :company_display_name
1247
-
1248
- # Job compensation details.
1249
- # Corresponds to the JSON property `compensationInfo`
1250
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo]
1251
- attr_accessor :compensation_info
1252
-
1253
- # A map of fields to hold both filterable and non-filterable custom job
1254
- # attributes that are not covered by the provided structured fields. The keys of
1255
- # the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For
1256
- # example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most
1257
- # 100 unfilterable keys are supported. For filterable `string_values`, across
1258
- # all keys at most 200 values are allowed, with each string no more than 255
1259
- # characters. For unfilterable `string_values`, the maximum total size of `
1260
- # string_values` across all keys is 50KB.
1261
- # Corresponds to the JSON property `customAttributes`
1262
- # @return [Hash<String,Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute>]
1263
- attr_accessor :custom_attributes
1264
-
1265
- # The desired education degrees for the job, such as Bachelors, Masters.
1266
- # Corresponds to the JSON property `degreeTypes`
1267
- # @return [Array<String>]
1268
- attr_accessor :degree_types
1269
-
1270
- # The department or functional area within the company with the open position.
1271
- # The maximum number of allowed characters is 255.
1272
- # Corresponds to the JSON property `department`
1273
- # @return [String]
1274
- attr_accessor :department
1275
-
1276
- # Derived details about the job posting.
1277
- # Corresponds to the JSON property `derivedInfo`
1278
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo]
1279
- attr_accessor :derived_info
1280
-
1281
- # Required. The description of the job, which typically includes a multi-
1282
- # paragraph description of the company and related information. Separate fields
1283
- # are provided on the job object for responsibilities, qualifications, and other
1284
- # job characteristics. Use of these separate job fields is recommended. This
1285
- # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
1286
- # list, and unordered list markup tags. The maximum number of allowed characters
1287
- # is 100,000.
1288
- # Corresponds to the JSON property `description`
1289
- # @return [String]
1290
- attr_accessor :description
1291
-
1292
- # The employment type(s) of a job, for example, full time or part time.
1293
- # Corresponds to the JSON property `employmentTypes`
1294
- # @return [Array<String>]
1295
- attr_accessor :employment_types
1296
-
1297
- # A description of bonus, commission, and other compensation incentives
1298
- # associated with the job not including salary or pay. The maximum number of
1299
- # allowed characters is 10,000.
1300
- # Corresponds to the JSON property `incentives`
1301
- # @return [String]
1302
- attr_accessor :incentives
1303
-
1304
- # The benefits included with the job.
1305
- # Corresponds to the JSON property `jobBenefits`
1306
- # @return [Array<String>]
1307
- attr_accessor :job_benefits
1308
-
1309
- # The end timestamp of the job. Typically this field is used for contracting
1310
- # engagements. Invalid timestamps are ignored.
1311
- # Corresponds to the JSON property `jobEndTime`
1312
- # @return [String]
1313
- attr_accessor :job_end_time
1314
-
1315
- # The experience level associated with the job, such as "Entry Level".
1316
- # Corresponds to the JSON property `jobLevel`
1317
- # @return [String]
1318
- attr_accessor :job_level
1319
-
1320
- # The start timestamp of the job in UTC time zone. Typically this field is used
1321
- # for contracting engagements. Invalid timestamps are ignored.
1322
- # Corresponds to the JSON property `jobStartTime`
1323
- # @return [String]
1324
- attr_accessor :job_start_time
1325
-
1326
- # The language of the posting. This field is distinct from any requirements for
1327
- # fluency that are associated with the job. Language codes must be in BCP-47
1328
- # format, such as "en-US" or "sr-Latn". For more information, see [Tags for
1329
- # Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external"
1330
- # target="_blank" `. If this field is unspecified and Job.description is present,
1331
- # detected language code based on Job.description is assigned, otherwise
1332
- # defaults to 'en_US'.
1333
- # Corresponds to the JSON property `languageCode`
1334
- # @return [String]
1335
- attr_accessor :language_code
1336
-
1337
- # Required during job update. The resource name for the job. This is generated
1338
- # by the service when a job is created. The format is "projects/`project_id`/
1339
- # tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
1340
- # jobs/baz". Use of this field in job queries and API calls is preferred over
1341
- # the use of requisition_id since this value is unique.
1342
- # Corresponds to the JSON property `name`
1343
- # @return [String]
1344
- attr_accessor :name
1345
-
1346
- # Output only. The timestamp when this job posting was created.
1347
- # Corresponds to the JSON property `postingCreateTime`
1348
- # @return [String]
1349
- attr_accessor :posting_create_time
1350
-
1351
- # Strongly recommended for the best service experience. The expiration timestamp
1352
- # of the job. After this timestamp, the job is marked as expired, and it no
1353
- # longer appears in search results. The expired job can't be listed by the
1354
- # ListJobs API, but it can be retrieved with the GetJob API or updated with the
1355
- # UpdateJob API or deleted with the DeleteJob API. An expired job can be updated
1356
- # and opened again by using a future expiration timestamp. Updating an expired
1357
- # job fails if there is another existing open job with same company,
1358
- # language_code and requisition_id. The expired jobs are retained in our system
1359
- # for 90 days. However, the overall expired job count cannot exceed 3 times the
1360
- # maximum number of open jobs over previous 7 days. If this threshold is
1361
- # exceeded, expired jobs are cleaned out in order of earliest expire time.
1362
- # Expired jobs are no longer accessible after they are cleaned out. Invalid
1363
- # timestamps are ignored, and treated as expire time not provided. If the
1364
- # timestamp is before the instant request is made, the job is treated as expired
1365
- # immediately on creation. This kind of job can not be updated. And when
1366
- # creating a job with past timestamp, the posting_publish_time must be set
1367
- # before posting_expire_time. The purpose of this feature is to allow other
1368
- # objects, such as Application, to refer a job that didn't exist in the system
1369
- # prior to becoming expired. If you want to modify a job that was expired on
1370
- # creation, delete it and create a new one. If this value isn't provided at the
1371
- # time of job creation or is invalid, the job posting expires after 30 days from
1372
- # the job's creation time. For example, if the job was created on 2017/01/01 13:
1373
- # 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
1374
- # 13:00AM UTC. If this value isn't provided on job update, it depends on the
1375
- # field masks set by UpdateJobRequest.update_mask. If the field masks include
1376
- # job_end_time, or the masks are empty meaning that every field is updated, the
1377
- # job posting expires after 30 days from the job's last update time. Otherwise
1378
- # the expiration date isn't updated.
1379
- # Corresponds to the JSON property `postingExpireTime`
1380
- # @return [String]
1381
- attr_accessor :posting_expire_time
1382
-
1383
- # The timestamp this job posting was most recently published. The default value
1384
- # is the time the request arrives at the server. Invalid timestamps are ignored.
1385
- # Corresponds to the JSON property `postingPublishTime`
1386
- # @return [String]
1387
- attr_accessor :posting_publish_time
1388
-
1389
- # The job PostingRegion (for example, state, country) throughout which the job
1390
- # is available. If this field is set, a LocationFilter in a search query within
1391
- # the job region finds this job posting if an exact location match isn't
1392
- # specified. If this field is set to PostingRegion.NATION or PostingRegion.
1393
- # ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as
1394
- # this field is strongly recommended.
1395
- # Corresponds to the JSON property `postingRegion`
1396
- # @return [String]
1397
- attr_accessor :posting_region
1398
-
1399
- # Output only. The timestamp when this job posting was last updated.
1400
- # Corresponds to the JSON property `postingUpdateTime`
1401
- # @return [String]
1402
- attr_accessor :posting_update_time
1403
-
1404
- # Options for job processing.
1405
- # Corresponds to the JSON property `processingOptions`
1406
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions]
1407
- attr_accessor :processing_options
1408
-
1409
- # A promotion value of the job, as determined by the client. The value
1410
- # determines the sort order of the jobs returned when searching for jobs using
1411
- # the featured jobs search call, with higher promotional values being returned
1412
- # first and ties being resolved by relevance sort. Only the jobs with a
1413
- # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
1414
- # and negative values are treated as 0.
1415
- # Corresponds to the JSON property `promotionValue`
1416
- # @return [Fixnum]
1417
- attr_accessor :promotion_value
1418
-
1419
- # A description of the qualifications required to perform the job. The use of
1420
- # this field is recommended as an alternative to using the more general
1421
- # description field. This field accepts and sanitizes HTML input, and also
1422
- # accepts bold, italic, ordered list, and unordered list markup tags. The
1423
- # maximum number of allowed characters is 10,000.
1424
- # Corresponds to the JSON property `qualifications`
1425
- # @return [String]
1426
- attr_accessor :qualifications
1427
-
1428
- # Required. The requisition ID, also referred to as the posting ID, is assigned
1429
- # by the client to identify a job. This field is intended to be used by clients
1430
- # for client identification and tracking of postings. A job isn't allowed to be
1431
- # created if there is another job with the same company, language_code and
1432
- # requisition_id. The maximum number of allowed characters is 255.
1433
- # Corresponds to the JSON property `requisitionId`
1434
- # @return [String]
1435
- attr_accessor :requisition_id
1436
-
1437
- # A description of job responsibilities. The use of this field is recommended as
1438
- # an alternative to using the more general description field. This field accepts
1439
- # and sanitizes HTML input, and also accepts bold, italic, ordered list, and
1440
- # unordered list markup tags. The maximum number of allowed characters is 10,000.
1441
- # Corresponds to the JSON property `responsibilities`
1442
- # @return [String]
1443
- attr_accessor :responsibilities
1444
-
1445
- # Required. The title of the job, such as "Software Engineer" The maximum number
1446
- # of allowed characters is 500.
1447
- # Corresponds to the JSON property `title`
1448
- # @return [String]
1449
- attr_accessor :title
1450
-
1451
- # Deprecated. The job is only visible to the owner. The visibility of the job.
1452
- # Defaults to Visibility.ACCOUNT_ONLY if not specified.
1453
- # Corresponds to the JSON property `visibility`
1454
- # @return [String]
1455
- attr_accessor :visibility
1456
-
1457
- def initialize(**args)
1458
- update!(**args)
1459
- end
1460
-
1461
- # Update properties of this object
1462
- def update!(**args)
1463
- @addresses = args[:addresses] if args.key?(:addresses)
1464
- @application_info = args[:application_info] if args.key?(:application_info)
1465
- @company = args[:company] if args.key?(:company)
1466
- @company_display_name = args[:company_display_name] if args.key?(:company_display_name)
1467
- @compensation_info = args[:compensation_info] if args.key?(:compensation_info)
1468
- @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
1469
- @degree_types = args[:degree_types] if args.key?(:degree_types)
1470
- @department = args[:department] if args.key?(:department)
1471
- @derived_info = args[:derived_info] if args.key?(:derived_info)
1472
- @description = args[:description] if args.key?(:description)
1473
- @employment_types = args[:employment_types] if args.key?(:employment_types)
1474
- @incentives = args[:incentives] if args.key?(:incentives)
1475
- @job_benefits = args[:job_benefits] if args.key?(:job_benefits)
1476
- @job_end_time = args[:job_end_time] if args.key?(:job_end_time)
1477
- @job_level = args[:job_level] if args.key?(:job_level)
1478
- @job_start_time = args[:job_start_time] if args.key?(:job_start_time)
1479
- @language_code = args[:language_code] if args.key?(:language_code)
1480
- @name = args[:name] if args.key?(:name)
1481
- @posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time)
1482
- @posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time)
1483
- @posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time)
1484
- @posting_region = args[:posting_region] if args.key?(:posting_region)
1485
- @posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time)
1486
- @processing_options = args[:processing_options] if args.key?(:processing_options)
1487
- @promotion_value = args[:promotion_value] if args.key?(:promotion_value)
1488
- @qualifications = args[:qualifications] if args.key?(:qualifications)
1489
- @requisition_id = args[:requisition_id] if args.key?(:requisition_id)
1490
- @responsibilities = args[:responsibilities] if args.key?(:responsibilities)
1491
- @title = args[:title] if args.key?(:title)
1492
- @visibility = args[:visibility] if args.key?(:visibility)
1493
- end
1494
- end
1495
-
1496
- # Application related details of a job posting.
1497
- class GoogleCloudTalentV4JobApplicationInfo
1498
- include Google::Apis::Core::Hashable
1499
-
1500
- # Use this field to specify email address(es) to which resumes or applications
1501
- # can be sent. The maximum number of allowed characters for each entry is 255.
1502
- # Corresponds to the JSON property `emails`
1503
- # @return [Array<String>]
1504
- attr_accessor :emails
1505
-
1506
- # Use this field to provide instructions, such as "Mail your application to ...",
1507
- # that a candidate can follow to apply for the job. This field accepts and
1508
- # sanitizes HTML input, and also accepts bold, italic, ordered list, and
1509
- # unordered list markup tags. The maximum number of allowed characters is 3,000.
1510
- # Corresponds to the JSON property `instruction`
1511
- # @return [String]
1512
- attr_accessor :instruction
1513
-
1514
- # Use this URI field to direct an applicant to a website, for example to link to
1515
- # an online application form. The maximum number of allowed characters for each
1516
- # entry is 2,000.
1517
- # Corresponds to the JSON property `uris`
1518
- # @return [Array<String>]
1519
- attr_accessor :uris
1520
-
1521
- def initialize(**args)
1522
- update!(**args)
1523
- end
1524
-
1525
- # Update properties of this object
1526
- def update!(**args)
1527
- @emails = args[:emails] if args.key?(:emails)
1528
- @instruction = args[:instruction] if args.key?(:instruction)
1529
- @uris = args[:uris] if args.key?(:uris)
1530
- end
1531
- end
1532
-
1533
- # Derived details about the job posting.
1534
- class GoogleCloudTalentV4JobDerivedInfo
1535
- include Google::Apis::Core::Hashable
1536
-
1537
- # Job categories derived from Job.title and Job.description.
1538
- # Corresponds to the JSON property `jobCategories`
1539
- # @return [Array<String>]
1540
- attr_accessor :job_categories
1541
-
1542
- # Structured locations of the job, resolved from Job.addresses. locations are
1543
- # exactly matched to Job.addresses in the same order.
1544
- # Corresponds to the JSON property `locations`
1545
- # @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4Location>]
1546
- attr_accessor :locations
1547
-
1548
- def initialize(**args)
1549
- update!(**args)
1550
- end
1551
-
1552
- # Update properties of this object
1553
- def update!(**args)
1554
- @job_categories = args[:job_categories] if args.key?(:job_categories)
1555
- @locations = args[:locations] if args.key?(:locations)
1556
- end
1557
- end
1558
-
1559
- # Options for job processing.
1560
- class GoogleCloudTalentV4JobProcessingOptions
1561
- include Google::Apis::Core::Hashable
1562
-
1563
- # If set to `true`, the service does not attempt to resolve a more precise
1564
- # address for the job.
1565
- # Corresponds to the JSON property `disableStreetAddressResolution`
1566
- # @return [Boolean]
1567
- attr_accessor :disable_street_address_resolution
1568
- alias_method :disable_street_address_resolution?, :disable_street_address_resolution
1569
-
1570
- # Option for job HTML content sanitization. Applied fields are: * description *
1571
- # applicationInfo.instruction * incentives * qualifications * responsibilities
1572
- # HTML tags in these fields may be stripped if sanitiazation isn't disabled.
1573
- # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
1574
- # Corresponds to the JSON property `htmlSanitization`
1575
- # @return [String]
1576
- attr_accessor :html_sanitization
1577
-
1578
- def initialize(**args)
1579
- update!(**args)
1580
- end
1581
-
1582
- # Update properties of this object
1583
- def update!(**args)
1584
- @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
1585
- @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
1586
- end
1587
- end
1588
-
1589
- # Mutation result of a job from a batch operation.
1590
- class GoogleCloudTalentV4JobResult
1591
- include Google::Apis::Core::Hashable
1592
-
1593
- # A Job resource represents a job posting (also referred to as a "job listing"
1594
- # or "job requisition"). A job belongs to a Company, which is the hiring entity
1595
- # responsible for the job.
1596
- # Corresponds to the JSON property `job`
1597
- # @return [Google::Apis::JobsV3::GoogleCloudTalentV4Job]
1598
- attr_accessor :job
1599
-
1600
- # The `Status` type defines a logical error model that is suitable for different
1601
- # programming environments, including REST APIs and RPC APIs. It is used by [
1602
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1603
- # data: error code, error message, and error details. You can find out more
1604
- # about this error model and how to work with it in the [API Design Guide](https:
1605
- # //cloud.google.com/apis/design/errors).
1606
- # Corresponds to the JSON property `status`
1607
- # @return [Google::Apis::JobsV3::Status]
1608
- attr_accessor :status
1609
-
1610
- def initialize(**args)
1611
- update!(**args)
1612
- end
1613
-
1614
- # Update properties of this object
1615
- def update!(**args)
1616
- @job = args[:job] if args.key?(:job)
1617
- @status = args[:status] if args.key?(:status)
1618
- end
1619
- end
1620
-
1621
- # A resource that represents a location with full geographic information.
1622
- class GoogleCloudTalentV4Location
1623
- include Google::Apis::Core::Hashable
1624
-
1625
- # An object representing a latitude/longitude pair. This is expressed as a pair
1626
- # of doubles representing degrees latitude and degrees longitude. Unless
1627
- # specified otherwise, this must conform to the WGS84 standard. Values must be
1628
- # within normalized ranges.
1629
- # Corresponds to the JSON property `latLng`
1630
- # @return [Google::Apis::JobsV3::LatLng]
1631
- attr_accessor :lat_lng
1632
-
1633
- # The type of a location, which corresponds to the address lines field of google.
1634
- # type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
1635
- # LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
1636
- # LocationType.LOCALITY.
1637
- # Corresponds to the JSON property `locationType`
1638
- # @return [String]
1639
- attr_accessor :location_type
1640
-
1641
- # Represents a postal address, e.g. for postal delivery or payments addresses.
1642
- # Given a postal address, a postal service can deliver items to a premise, P.O.
1643
- # Box or similar. It is not intended to model geographical locations (roads,
1644
- # towns, mountains). In typical usage an address would be created via user input
1645
- # or from importing existing data, depending on the type of process. Advice on
1646
- # address input / editing: - Use an i18n-ready address widget such as https://
1647
- # github.com/google/libaddressinput) - Users should not be presented with UI
1648
- # elements for input or editing of fields outside countries where that field is
1649
- # used. For more guidance on how to use this schema, please see: https://support.
1650
- # google.com/business/answer/6397478
1651
- # Corresponds to the JSON property `postalAddress`
1652
- # @return [Google::Apis::JobsV3::PostalAddress]
1653
- attr_accessor :postal_address
1654
-
1655
- # Radius in miles of the job location. This value is derived from the location
1656
- # bounding box in which a circle with the specified radius centered from google.
1657
- # type.LatLng covers the area associated with the job location. For example,
1658
- # currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
1659
- # Corresponds to the JSON property `radiusMiles`
1660
- # @return [Float]
1661
- attr_accessor :radius_miles
1662
-
1663
- def initialize(**args)
1664
- update!(**args)
1665
- end
1666
-
1667
- # Update properties of this object
1668
- def update!(**args)
1669
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
1670
- @location_type = args[:location_type] if args.key?(:location_type)
1671
- @postal_address = args[:postal_address] if args.key?(:postal_address)
1672
- @radius_miles = args[:radius_miles] if args.key?(:radius_miles)
1673
- end
1674
- end
1675
-
1676
917
  # Input only. Histogram facets to be specified in SearchJobsRequest.
1677
918
  class HistogramFacets
1678
919
  include Google::Apis::Core::Hashable
@@ -2245,8 +1486,8 @@ module Google
2245
1486
  end
2246
1487
  end
2247
1488
 
2248
- # An object representing a latitude/longitude pair. This is expressed as a pair
2249
- # of doubles representing degrees latitude and degrees longitude. Unless
1489
+ # An object that represents a latitude/longitude pair. This is expressed as a
1490
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2250
1491
  # specified otherwise, this must conform to the WGS84 standard. Values must be
2251
1492
  # within normalized ranges.
2252
1493
  class LatLng
@@ -2343,8 +1584,8 @@ module Google
2343
1584
  class Location
2344
1585
  include Google::Apis::Core::Hashable
2345
1586
 
2346
- # An object representing a latitude/longitude pair. This is expressed as a pair
2347
- # of doubles representing degrees latitude and degrees longitude. Unless
1587
+ # An object that represents a latitude/longitude pair. This is expressed as a
1588
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2348
1589
  # specified otherwise, this must conform to the WGS84 standard. Values must be
2349
1590
  # within normalized ranges.
2350
1591
  # Corresponds to the JSON property `latLng`
@@ -2410,8 +1651,8 @@ module Google
2410
1651
  # @return [Float]
2411
1652
  attr_accessor :distance_in_miles
2412
1653
 
2413
- # An object representing a latitude/longitude pair. This is expressed as a pair
2414
- # of doubles representing degrees latitude and degrees longitude. Unless
1654
+ # An object that represents a latitude/longitude pair. This is expressed as a
1655
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2415
1656
  # specified otherwise, this must conform to the WGS84 standard. Values must be
2416
1657
  # within normalized ranges.
2417
1658
  # Corresponds to the JSON property `latLng`
@@ -2540,7 +1781,7 @@ module Google
2540
1781
  class Money
2541
1782
  include Google::Apis::Core::Hashable
2542
1783
 
2543
- # The 3-letter currency code defined in ISO 4217.
1784
+ # The three-letter currency code defined in ISO 4217.
2544
1785
  # Corresponds to the JSON property `currencyCode`
2545
1786
  # @return [String]
2546
1787
  attr_accessor :currency_code
@@ -3264,45 +2505,6 @@ module Google
3264
2505
  end
3265
2506
  end
3266
2507
 
3267
- # The `Status` type defines a logical error model that is suitable for different
3268
- # programming environments, including REST APIs and RPC APIs. It is used by [
3269
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3270
- # data: error code, error message, and error details. You can find out more
3271
- # about this error model and how to work with it in the [API Design Guide](https:
3272
- # //cloud.google.com/apis/design/errors).
3273
- class Status
3274
- include Google::Apis::Core::Hashable
3275
-
3276
- # The status code, which should be an enum value of google.rpc.Code.
3277
- # Corresponds to the JSON property `code`
3278
- # @return [Fixnum]
3279
- attr_accessor :code
3280
-
3281
- # A list of messages that carry the error details. There is a common set of
3282
- # message types for APIs to use.
3283
- # Corresponds to the JSON property `details`
3284
- # @return [Array<Hash<String,Object>>]
3285
- attr_accessor :details
3286
-
3287
- # A developer-facing error message, which should be in English. Any user-facing
3288
- # error message should be localized and sent in the google.rpc.Status.details
3289
- # field, or localized by the client.
3290
- # Corresponds to the JSON property `message`
3291
- # @return [String]
3292
- attr_accessor :message
3293
-
3294
- def initialize(**args)
3295
- update!(**args)
3296
- end
3297
-
3298
- # Update properties of this object
3299
- def update!(**args)
3300
- @code = args[:code] if args.key?(:code)
3301
- @details = args[:details] if args.key?(:details)
3302
- @message = args[:message] if args.key?(:message)
3303
- end
3304
- end
3305
-
3306
2508
  # Represents a time of day. The date and time zone are either not significant or
3307
2509
  # are specified elsewhere. An API may choose to allow leap seconds. Related
3308
2510
  # types are google.type.Date and `google.protobuf.Timestamp`.