google-api-client 0.45.1 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  5. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  6. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  10. data/generated/google/apis/apigee_v1.rb +1 -1
  11. data/generated/google/apis/apigee_v1/classes.rb +5 -5
  12. data/generated/google/apis/apigee_v1/service.rb +21 -19
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  15. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  16. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +38 -18
  19. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  20. data/generated/google/apis/books_v1.rb +1 -1
  21. data/generated/google/apis/books_v1/service.rb +2 -2
  22. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  23. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
  24. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  25. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
  27. data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
  28. data/generated/google/apis/composer_v1beta1.rb +1 -1
  29. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  32. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  33. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  34. data/generated/google/apis/compute_beta.rb +1 -1
  35. data/generated/google/apis/compute_beta/classes.rb +491 -83
  36. data/generated/google/apis/compute_beta/representations.rb +96 -1
  37. data/generated/google/apis/compute_beta/service.rb +802 -133
  38. data/generated/google/apis/compute_v1.rb +1 -1
  39. data/generated/google/apis/compute_v1/classes.rb +308 -45
  40. data/generated/google/apis/compute_v1/representations.rb +54 -1
  41. data/generated/google/apis/compute_v1/service.rb +736 -130
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +2 -1
  44. data/generated/google/apis/content_v2_1.rb +1 -1
  45. data/generated/google/apis/content_v2_1/classes.rb +2 -1
  46. data/generated/google/apis/datafusion_v1.rb +1 -1
  47. data/generated/google/apis/dataproc_v1.rb +1 -1
  48. data/generated/google/apis/dataproc_v1/classes.rb +28 -2
  49. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  50. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  51. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  52. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
  55. data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
  56. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
  58. data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
  59. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
  61. data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
  62. data/generated/google/apis/file_v1.rb +1 -1
  63. data/generated/google/apis/file_v1/classes.rb +1 -1
  64. data/generated/google/apis/file_v1beta1.rb +1 -1
  65. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  66. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  67. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  68. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  69. data/generated/google/apis/jobs_v2.rb +1 -1
  70. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  71. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  72. data/generated/google/apis/jobs_v3.rb +1 -1
  73. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  74. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  77. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  78. data/generated/google/apis/managedidentities_v1.rb +1 -1
  79. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  80. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  81. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  82. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
  83. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  84. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  85. data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
  86. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  87. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  88. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  89. data/generated/google/apis/monitoring_v3.rb +1 -1
  90. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  91. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  92. data/generated/google/apis/osconfig_v1.rb +3 -3
  93. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  94. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  95. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  96. data/generated/google/apis/pubsublite_v1.rb +1 -1
  97. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  98. data/generated/google/apis/recommender_v1.rb +1 -1
  99. data/generated/google/apis/recommender_v1/service.rb +4 -2
  100. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  101. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +5 -5
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  107. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  108. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  109. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  113. data/generated/google/apis/storage_v1.rb +1 -1
  114. data/generated/google/apis/storage_v1/classes.rb +2 -10
  115. data/generated/google/apis/storage_v1/representations.rb +0 -1
  116. data/generated/google/apis/storage_v1/service.rb +3 -2
  117. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  118. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  119. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  120. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  121. data/generated/google/apis/translate_v3.rb +1 -1
  122. data/generated/google/apis/translate_v3/classes.rb +2 -2
  123. data/generated/google/apis/videointelligence_v1.rb +1 -1
  124. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  125. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  126. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  127. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  128. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  129. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  130. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  131. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  132. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  133. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  134. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  135. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  136. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  137. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  138. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  139. data/generated/google/apis/youtube_v3.rb +1 -1
  140. data/generated/google/apis/youtube_v3/service.rb +2 -2
  141. data/lib/google/apis/version.rb +1 -1
  142. metadata +3 -15
  143. data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
  144. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  145. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  146. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  147. data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
  148. data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
  149. data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
  150. data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
  151. data/generated/google/apis/appsactivity_v1.rb +0 -34
  152. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  153. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  154. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -220,6 +220,90 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class GoogleCloudTalentV4BatchCreateJobsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudTalentV4BatchDeleteJobsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudTalentV4BatchOperationMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudTalentV4BatchUpdateJobsResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudTalentV4CompensationInfo
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudTalentV4CompensationInfoCompensationEntry
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudTalentV4CompensationInfoCompensationRange
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudTalentV4CustomAttribute
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudTalentV4Job
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudTalentV4JobApplicationInfo
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudTalentV4JobDerivedInfo
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudTalentV4JobProcessingOptions
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudTalentV4JobResult
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudTalentV4Location
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
223
307
  class HistogramFacets
224
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
309
 
@@ -370,6 +454,12 @@ module Google
370
454
  include Google::Apis::Core::JsonObjectSupport
371
455
  end
372
456
 
457
+ class Status
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
373
463
  class StringValues
374
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
465
 
@@ -735,6 +825,179 @@ module Google
735
825
  end
736
826
  end
737
827
 
828
+ class GoogleCloudTalentV4BatchCreateJobsResponse
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation
832
+
833
+ end
834
+ end
835
+
836
+ class GoogleCloudTalentV4BatchDeleteJobsResponse
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation
840
+
841
+ end
842
+ end
843
+
844
+ class GoogleCloudTalentV4BatchOperationMetadata
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :create_time, as: 'createTime'
848
+ property :end_time, as: 'endTime'
849
+ property :failure_count, as: 'failureCount'
850
+ property :state, as: 'state'
851
+ property :state_description, as: 'stateDescription'
852
+ property :success_count, as: 'successCount'
853
+ property :total_count, as: 'totalCount'
854
+ property :update_time, as: 'updateTime'
855
+ end
856
+ end
857
+
858
+ class GoogleCloudTalentV4BatchUpdateJobsResponse
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobResult::Representation
862
+
863
+ end
864
+ end
865
+
866
+ class GoogleCloudTalentV4CompensationInfo
867
+ # @private
868
+ class Representation < Google::Apis::Core::JsonRepresentation
869
+ property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
870
+
871
+ property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
872
+
873
+ collection :entries, as: 'entries', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation
874
+
875
+ end
876
+ end
877
+
878
+ class GoogleCloudTalentV4CompensationInfoCompensationEntry
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :amount, as: 'amount', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation
882
+
883
+ property :description, as: 'description'
884
+ property :expected_units_per_year, as: 'expectedUnitsPerYear'
885
+ property :range, as: 'range', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
886
+
887
+ property :type, as: 'type'
888
+ property :unit, as: 'unit'
889
+ end
890
+ end
891
+
892
+ class GoogleCloudTalentV4CompensationInfoCompensationRange
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation
896
+
897
+ property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV2::Money, decorator: Google::Apis::JobsV2::Money::Representation
898
+
899
+ end
900
+ end
901
+
902
+ class GoogleCloudTalentV4CustomAttribute
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :filterable, as: 'filterable'
906
+ property :keyword_searchable, as: 'keywordSearchable'
907
+ collection :long_values, as: 'longValues'
908
+ collection :string_values, as: 'stringValues'
909
+ end
910
+ end
911
+
912
+ class GoogleCloudTalentV4Job
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ collection :addresses, as: 'addresses'
916
+ property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobApplicationInfo::Representation
917
+
918
+ property :company, as: 'company'
919
+ property :company_display_name, as: 'companyDisplayName'
920
+ property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CompensationInfo::Representation
921
+
922
+ hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV2::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4CustomAttribute::Representation
923
+
924
+ collection :degree_types, as: 'degreeTypes'
925
+ property :department, as: 'department'
926
+ property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobDerivedInfo::Representation
927
+
928
+ property :description, as: 'description'
929
+ collection :employment_types, as: 'employmentTypes'
930
+ property :incentives, as: 'incentives'
931
+ collection :job_benefits, as: 'jobBenefits'
932
+ property :job_end_time, as: 'jobEndTime'
933
+ property :job_level, as: 'jobLevel'
934
+ property :job_start_time, as: 'jobStartTime'
935
+ property :language_code, as: 'languageCode'
936
+ property :name, as: 'name'
937
+ property :posting_create_time, as: 'postingCreateTime'
938
+ property :posting_expire_time, as: 'postingExpireTime'
939
+ property :posting_publish_time, as: 'postingPublishTime'
940
+ property :posting_region, as: 'postingRegion'
941
+ property :posting_update_time, as: 'postingUpdateTime'
942
+ property :processing_options, as: 'processingOptions', class: Google::Apis::JobsV2::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4JobProcessingOptions::Representation
943
+
944
+ property :promotion_value, as: 'promotionValue'
945
+ property :qualifications, as: 'qualifications'
946
+ property :requisition_id, as: 'requisitionId'
947
+ property :responsibilities, as: 'responsibilities'
948
+ property :title, as: 'title'
949
+ property :visibility, as: 'visibility'
950
+ end
951
+ end
952
+
953
+ class GoogleCloudTalentV4JobApplicationInfo
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ collection :emails, as: 'emails'
957
+ property :instruction, as: 'instruction'
958
+ collection :uris, as: 'uris'
959
+ end
960
+ end
961
+
962
+ class GoogleCloudTalentV4JobDerivedInfo
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ collection :job_categories, as: 'jobCategories'
966
+ collection :locations, as: 'locations', class: Google::Apis::JobsV2::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4Location::Representation
967
+
968
+ end
969
+ end
970
+
971
+ class GoogleCloudTalentV4JobProcessingOptions
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ property :disable_street_address_resolution, as: 'disableStreetAddressResolution'
975
+ property :html_sanitization, as: 'htmlSanitization'
976
+ end
977
+ end
978
+
979
+ class GoogleCloudTalentV4JobResult
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :job, as: 'job', class: Google::Apis::JobsV2::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV2::GoogleCloudTalentV4Job::Representation
983
+
984
+ property :status, as: 'status', class: Google::Apis::JobsV2::Status, decorator: Google::Apis::JobsV2::Status::Representation
985
+
986
+ end
987
+ end
988
+
989
+ class GoogleCloudTalentV4Location
990
+ # @private
991
+ class Representation < Google::Apis::Core::JsonRepresentation
992
+ property :lat_lng, as: 'latLng', class: Google::Apis::JobsV2::LatLng, decorator: Google::Apis::JobsV2::LatLng::Representation
993
+
994
+ property :location_type, as: 'locationType'
995
+ property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV2::PostalAddress, decorator: Google::Apis::JobsV2::PostalAddress::Representation
996
+
997
+ property :radius_miles, as: 'radiusMiles'
998
+ end
999
+ end
1000
+
738
1001
  class HistogramFacets
739
1002
  # @private
740
1003
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1101,6 +1364,15 @@ module Google
1101
1364
  end
1102
1365
  end
1103
1366
 
1367
+ class Status
1368
+ # @private
1369
+ class Representation < Google::Apis::Core::JsonRepresentation
1370
+ property :code, as: 'code'
1371
+ collection :details, as: 'details'
1372
+ property :message, as: 'message'
1373
+ end
1374
+ end
1375
+
1104
1376
  class StringValues
1105
1377
  # @private
1106
1378
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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 = '20200828'
29
+ REVISION = '20200929'
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'
@@ -914,6 +914,765 @@ 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
+
917
1676
  # Input only. Histogram facets to be specified in SearchJobsRequest.
918
1677
  class HistogramFacets
919
1678
  include Google::Apis::Core::Hashable
@@ -2505,6 +3264,45 @@ module Google
2505
3264
  end
2506
3265
  end
2507
3266
 
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
+
2508
3306
  # Represents a time of day. The date and time zone are either not significant or
2509
3307
  # are specified elsewhere. An API may choose to allow leap seconds. Related
2510
3308
  # types are google.type.Date and `google.protobuf.Timestamp`.