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
@@ -172,6 +172,90 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleCloudTalentV4BatchCreateJobsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudTalentV4BatchDeleteJobsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudTalentV4BatchOperationMetadata
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudTalentV4BatchUpdateJobsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudTalentV4CompensationInfo
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudTalentV4CompensationInfoCompensationEntry
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudTalentV4CompensationInfoCompensationRange
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudTalentV4CustomAttribute
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudTalentV4Job
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudTalentV4JobApplicationInfo
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudTalentV4JobDerivedInfo
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudTalentV4JobProcessingOptions
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudTalentV4JobResult
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudTalentV4Location
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
175
259
  class HistogramFacets
176
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
261
 
@@ -322,6 +406,12 @@ module Google
322
406
  include Google::Apis::Core::JsonObjectSupport
323
407
  end
324
408
 
409
+ class Status
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
325
415
  class TimeOfDay
326
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
417
 
@@ -594,6 +684,179 @@ module Google
594
684
  end
595
685
  end
596
686
 
687
+ class GoogleCloudTalentV4BatchCreateJobsResponse
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
691
+
692
+ end
693
+ end
694
+
695
+ class GoogleCloudTalentV4BatchDeleteJobsResponse
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
699
+
700
+ end
701
+ end
702
+
703
+ class GoogleCloudTalentV4BatchOperationMetadata
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :create_time, as: 'createTime'
707
+ property :end_time, as: 'endTime'
708
+ property :failure_count, as: 'failureCount'
709
+ property :state, as: 'state'
710
+ property :state_description, as: 'stateDescription'
711
+ property :success_count, as: 'successCount'
712
+ property :total_count, as: 'totalCount'
713
+ property :update_time, as: 'updateTime'
714
+ end
715
+ end
716
+
717
+ class GoogleCloudTalentV4BatchUpdateJobsResponse
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
721
+
722
+ end
723
+ end
724
+
725
+ class GoogleCloudTalentV4CompensationInfo
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
729
+
730
+ property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
731
+
732
+ collection :entries, as: 'entries', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation
733
+
734
+ end
735
+ end
736
+
737
+ class GoogleCloudTalentV4CompensationInfoCompensationEntry
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ property :amount, as: 'amount', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
741
+
742
+ property :description, as: 'description'
743
+ property :expected_units_per_year, as: 'expectedUnitsPerYear'
744
+ property :range, as: 'range', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
745
+
746
+ property :type, as: 'type'
747
+ property :unit, as: 'unit'
748
+ end
749
+ end
750
+
751
+ class GoogleCloudTalentV4CompensationInfoCompensationRange
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
755
+
756
+ property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
757
+
758
+ end
759
+ end
760
+
761
+ class GoogleCloudTalentV4CustomAttribute
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ property :filterable, as: 'filterable'
765
+ property :keyword_searchable, as: 'keywordSearchable'
766
+ collection :long_values, as: 'longValues'
767
+ collection :string_values, as: 'stringValues'
768
+ end
769
+ end
770
+
771
+ class GoogleCloudTalentV4Job
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ collection :addresses, as: 'addresses'
775
+ property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo::Representation
776
+
777
+ property :company, as: 'company'
778
+ property :company_display_name, as: 'companyDisplayName'
779
+ property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo::Representation
780
+
781
+ hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute::Representation
782
+
783
+ collection :degree_types, as: 'degreeTypes'
784
+ property :department, as: 'department'
785
+ property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo::Representation
786
+
787
+ property :description, as: 'description'
788
+ collection :employment_types, as: 'employmentTypes'
789
+ property :incentives, as: 'incentives'
790
+ collection :job_benefits, as: 'jobBenefits'
791
+ property :job_end_time, as: 'jobEndTime'
792
+ property :job_level, as: 'jobLevel'
793
+ property :job_start_time, as: 'jobStartTime'
794
+ property :language_code, as: 'languageCode'
795
+ property :name, as: 'name'
796
+ property :posting_create_time, as: 'postingCreateTime'
797
+ property :posting_expire_time, as: 'postingExpireTime'
798
+ property :posting_publish_time, as: 'postingPublishTime'
799
+ property :posting_region, as: 'postingRegion'
800
+ property :posting_update_time, as: 'postingUpdateTime'
801
+ property :processing_options, as: 'processingOptions', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions::Representation
802
+
803
+ property :promotion_value, as: 'promotionValue'
804
+ property :qualifications, as: 'qualifications'
805
+ property :requisition_id, as: 'requisitionId'
806
+ property :responsibilities, as: 'responsibilities'
807
+ property :title, as: 'title'
808
+ property :visibility, as: 'visibility'
809
+ end
810
+ end
811
+
812
+ class GoogleCloudTalentV4JobApplicationInfo
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ collection :emails, as: 'emails'
816
+ property :instruction, as: 'instruction'
817
+ collection :uris, as: 'uris'
818
+ end
819
+ end
820
+
821
+ class GoogleCloudTalentV4JobDerivedInfo
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ collection :job_categories, as: 'jobCategories'
825
+ collection :locations, as: 'locations', class: Google::Apis::JobsV3::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Location::Representation
826
+
827
+ end
828
+ end
829
+
830
+ class GoogleCloudTalentV4JobProcessingOptions
831
+ # @private
832
+ class Representation < Google::Apis::Core::JsonRepresentation
833
+ property :disable_street_address_resolution, as: 'disableStreetAddressResolution'
834
+ property :html_sanitization, as: 'htmlSanitization'
835
+ end
836
+ end
837
+
838
+ class GoogleCloudTalentV4JobResult
839
+ # @private
840
+ class Representation < Google::Apis::Core::JsonRepresentation
841
+ property :job, as: 'job', class: Google::Apis::JobsV3::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Job::Representation
842
+
843
+ property :status, as: 'status', class: Google::Apis::JobsV3::Status, decorator: Google::Apis::JobsV3::Status::Representation
844
+
845
+ end
846
+ end
847
+
848
+ class GoogleCloudTalentV4Location
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
852
+
853
+ property :location_type, as: 'locationType'
854
+ property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV3::PostalAddress, decorator: Google::Apis::JobsV3::PostalAddress::Representation
855
+
856
+ property :radius_miles, as: 'radiusMiles'
857
+ end
858
+ end
859
+
597
860
  class HistogramFacets
598
861
  # @private
599
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -921,6 +1184,15 @@ module Google
921
1184
  end
922
1185
  end
923
1186
 
1187
+ class Status
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ property :code, as: 'code'
1191
+ collection :details, as: 'details'
1192
+ property :message, as: 'message'
1193
+ end
1194
+ end
1195
+
924
1196
  class TimeOfDay
925
1197
  # @private
926
1198
  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 JobsV3p1beta1
28
28
  VERSION = 'V3p1beta1'
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'
@@ -953,6 +953,765 @@ module Google
953
953
  end
954
954
  end
955
955
 
956
+ # The result of JobService.BatchCreateJobs. It's used to replace google.
957
+ # longrunning.Operation.response in case of success.
958
+ class GoogleCloudTalentV4BatchCreateJobsResponse
959
+ include Google::Apis::Core::Hashable
960
+
961
+ # List of job mutation results from a batch create operation. It can change
962
+ # until operation status is FINISHED, FAILED or CANCELLED.
963
+ # Corresponds to the JSON property `jobResults`
964
+ # @return [Array<Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult>]
965
+ attr_accessor :job_results
966
+
967
+ def initialize(**args)
968
+ update!(**args)
969
+ end
970
+
971
+ # Update properties of this object
972
+ def update!(**args)
973
+ @job_results = args[:job_results] if args.key?(:job_results)
974
+ end
975
+ end
976
+
977
+ # The result of JobService.BatchDeleteJobs. It's used to replace google.
978
+ # longrunning.Operation.response in case of success.
979
+ class GoogleCloudTalentV4BatchDeleteJobsResponse
980
+ include Google::Apis::Core::Hashable
981
+
982
+ # List of job mutation results from a batch delete operation. It can change
983
+ # until operation status is FINISHED, FAILED or CANCELLED.
984
+ # Corresponds to the JSON property `jobResults`
985
+ # @return [Array<Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult>]
986
+ attr_accessor :job_results
987
+
988
+ def initialize(**args)
989
+ update!(**args)
990
+ end
991
+
992
+ # Update properties of this object
993
+ def update!(**args)
994
+ @job_results = args[:job_results] if args.key?(:job_results)
995
+ end
996
+ end
997
+
998
+ # Metadata used for long running operations returned by CTS batch APIs. It's
999
+ # used to replace google.longrunning.Operation.metadata.
1000
+ class GoogleCloudTalentV4BatchOperationMetadata
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # The time when the batch operation is created.
1004
+ # Corresponds to the JSON property `createTime`
1005
+ # @return [String]
1006
+ attr_accessor :create_time
1007
+
1008
+ # The time when the batch operation is finished and google.longrunning.Operation.
1009
+ # done is set to `true`.
1010
+ # Corresponds to the JSON property `endTime`
1011
+ # @return [String]
1012
+ attr_accessor :end_time
1013
+
1014
+ # Count of failed item(s) inside an operation.
1015
+ # Corresponds to the JSON property `failureCount`
1016
+ # @return [Fixnum]
1017
+ attr_accessor :failure_count
1018
+
1019
+ # The state of a long running operation.
1020
+ # Corresponds to the JSON property `state`
1021
+ # @return [String]
1022
+ attr_accessor :state
1023
+
1024
+ # More detailed information about operation state.
1025
+ # Corresponds to the JSON property `stateDescription`
1026
+ # @return [String]
1027
+ attr_accessor :state_description
1028
+
1029
+ # Count of successful item(s) inside an operation.
1030
+ # Corresponds to the JSON property `successCount`
1031
+ # @return [Fixnum]
1032
+ attr_accessor :success_count
1033
+
1034
+ # Count of total item(s) inside an operation.
1035
+ # Corresponds to the JSON property `totalCount`
1036
+ # @return [Fixnum]
1037
+ attr_accessor :total_count
1038
+
1039
+ # The time when the batch operation status is updated. The metadata and the
1040
+ # update_time is refreshed every minute otherwise cached data is returned.
1041
+ # Corresponds to the JSON property `updateTime`
1042
+ # @return [String]
1043
+ attr_accessor :update_time
1044
+
1045
+ def initialize(**args)
1046
+ update!(**args)
1047
+ end
1048
+
1049
+ # Update properties of this object
1050
+ def update!(**args)
1051
+ @create_time = args[:create_time] if args.key?(:create_time)
1052
+ @end_time = args[:end_time] if args.key?(:end_time)
1053
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
1054
+ @state = args[:state] if args.key?(:state)
1055
+ @state_description = args[:state_description] if args.key?(:state_description)
1056
+ @success_count = args[:success_count] if args.key?(:success_count)
1057
+ @total_count = args[:total_count] if args.key?(:total_count)
1058
+ @update_time = args[:update_time] if args.key?(:update_time)
1059
+ end
1060
+ end
1061
+
1062
+ # The result of JobService.BatchUpdateJobs. It's used to replace google.
1063
+ # longrunning.Operation.response in case of success.
1064
+ class GoogleCloudTalentV4BatchUpdateJobsResponse
1065
+ include Google::Apis::Core::Hashable
1066
+
1067
+ # List of job mutation results from a batch update operation. It can change
1068
+ # until operation status is FINISHED, FAILED or CANCELLED.
1069
+ # Corresponds to the JSON property `jobResults`
1070
+ # @return [Array<Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobResult>]
1071
+ attr_accessor :job_results
1072
+
1073
+ def initialize(**args)
1074
+ update!(**args)
1075
+ end
1076
+
1077
+ # Update properties of this object
1078
+ def update!(**args)
1079
+ @job_results = args[:job_results] if args.key?(:job_results)
1080
+ end
1081
+ end
1082
+
1083
+ # Job compensation details.
1084
+ class GoogleCloudTalentV4CompensationInfo
1085
+ include Google::Apis::Core::Hashable
1086
+
1087
+ # Compensation range.
1088
+ # Corresponds to the JSON property `annualizedBaseCompensationRange`
1089
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange]
1090
+ attr_accessor :annualized_base_compensation_range
1091
+
1092
+ # Compensation range.
1093
+ # Corresponds to the JSON property `annualizedTotalCompensationRange`
1094
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange]
1095
+ attr_accessor :annualized_total_compensation_range
1096
+
1097
+ # Job compensation information. At most one entry can be of type
1098
+ # CompensationInfo.CompensationType.BASE, which is referred as **base
1099
+ # compensation entry** for the job.
1100
+ # Corresponds to the JSON property `entries`
1101
+ # @return [Array<Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationEntry>]
1102
+ attr_accessor :entries
1103
+
1104
+ def initialize(**args)
1105
+ update!(**args)
1106
+ end
1107
+
1108
+ # Update properties of this object
1109
+ def update!(**args)
1110
+ @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
1111
+ @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
1112
+ @entries = args[:entries] if args.key?(:entries)
1113
+ end
1114
+ end
1115
+
1116
+ # A compensation entry that represents one component of compensation, such as
1117
+ # base pay, bonus, or other compensation type. Annualization: One compensation
1118
+ # entry can be annualized if - it contains valid amount or range. - and its
1119
+ # expected_units_per_year is set or can be derived. Its annualized range is
1120
+ # determined as (amount or range) times expected_units_per_year.
1121
+ class GoogleCloudTalentV4CompensationInfoCompensationEntry
1122
+ include Google::Apis::Core::Hashable
1123
+
1124
+ # Represents an amount of money with its currency type.
1125
+ # Corresponds to the JSON property `amount`
1126
+ # @return [Google::Apis::JobsV3p1beta1::Money]
1127
+ attr_accessor :amount
1128
+
1129
+ # Compensation description. For example, could indicate equity terms or provide
1130
+ # additional context to an estimated bonus.
1131
+ # Corresponds to the JSON property `description`
1132
+ # @return [String]
1133
+ attr_accessor :description
1134
+
1135
+ # Expected number of units paid each year. If not specified, when Job.
1136
+ # employment_types is FULLTIME, a default value is inferred based on unit.
1137
+ # Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
1138
+ # ANNUAL: 1
1139
+ # Corresponds to the JSON property `expectedUnitsPerYear`
1140
+ # @return [Float]
1141
+ attr_accessor :expected_units_per_year
1142
+
1143
+ # Compensation range.
1144
+ # Corresponds to the JSON property `range`
1145
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfoCompensationRange]
1146
+ attr_accessor :range
1147
+
1148
+ # Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
1149
+ # Corresponds to the JSON property `type`
1150
+ # @return [String]
1151
+ attr_accessor :type
1152
+
1153
+ # Frequency of the specified amount. Default is CompensationUnit.
1154
+ # COMPENSATION_UNIT_UNSPECIFIED.
1155
+ # Corresponds to the JSON property `unit`
1156
+ # @return [String]
1157
+ attr_accessor :unit
1158
+
1159
+ def initialize(**args)
1160
+ update!(**args)
1161
+ end
1162
+
1163
+ # Update properties of this object
1164
+ def update!(**args)
1165
+ @amount = args[:amount] if args.key?(:amount)
1166
+ @description = args[:description] if args.key?(:description)
1167
+ @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
1168
+ @range = args[:range] if args.key?(:range)
1169
+ @type = args[:type] if args.key?(:type)
1170
+ @unit = args[:unit] if args.key?(:unit)
1171
+ end
1172
+ end
1173
+
1174
+ # Compensation range.
1175
+ class GoogleCloudTalentV4CompensationInfoCompensationRange
1176
+ include Google::Apis::Core::Hashable
1177
+
1178
+ # Represents an amount of money with its currency type.
1179
+ # Corresponds to the JSON property `maxCompensation`
1180
+ # @return [Google::Apis::JobsV3p1beta1::Money]
1181
+ attr_accessor :max_compensation
1182
+
1183
+ # Represents an amount of money with its currency type.
1184
+ # Corresponds to the JSON property `minCompensation`
1185
+ # @return [Google::Apis::JobsV3p1beta1::Money]
1186
+ attr_accessor :min_compensation
1187
+
1188
+ def initialize(**args)
1189
+ update!(**args)
1190
+ end
1191
+
1192
+ # Update properties of this object
1193
+ def update!(**args)
1194
+ @max_compensation = args[:max_compensation] if args.key?(:max_compensation)
1195
+ @min_compensation = args[:min_compensation] if args.key?(:min_compensation)
1196
+ end
1197
+ end
1198
+
1199
+ # Custom attribute values that are either filterable or non-filterable.
1200
+ class GoogleCloudTalentV4CustomAttribute
1201
+ include Google::Apis::Core::Hashable
1202
+
1203
+ # If the `filterable` flag is true, the custom field values may be used for
1204
+ # custom attribute filters JobQuery.custom_attribute_filter. If false, these
1205
+ # values may not be used for custom attribute filters. Default is false.
1206
+ # Corresponds to the JSON property `filterable`
1207
+ # @return [Boolean]
1208
+ attr_accessor :filterable
1209
+ alias_method :filterable?, :filterable
1210
+
1211
+ # If the `keyword_searchable` flag is true, the keywords in custom fields are
1212
+ # searchable by keyword match. If false, the values are not searchable by
1213
+ # keyword match. Default is false.
1214
+ # Corresponds to the JSON property `keywordSearchable`
1215
+ # @return [Boolean]
1216
+ attr_accessor :keyword_searchable
1217
+ alias_method :keyword_searchable?, :keyword_searchable
1218
+
1219
+ # Exactly one of string_values or long_values must be specified. This field is
1220
+ # used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over
1221
+ # filterable `long_value`. Currently at most 1 long_values is supported.
1222
+ # Corresponds to the JSON property `longValues`
1223
+ # @return [Array<Fixnum>]
1224
+ attr_accessor :long_values
1225
+
1226
+ # Exactly one of string_values or long_values must be specified. This field is
1227
+ # used to perform a string match (`CASE_SENSITIVE_MATCH` or `
1228
+ # CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum
1229
+ # total number of 200 values is allowed, with each `string_value` has a byte
1230
+ # size of no more than 500B. For unfilterable `string_values`, the maximum total
1231
+ # byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
1232
+ # Corresponds to the JSON property `stringValues`
1233
+ # @return [Array<String>]
1234
+ attr_accessor :string_values
1235
+
1236
+ def initialize(**args)
1237
+ update!(**args)
1238
+ end
1239
+
1240
+ # Update properties of this object
1241
+ def update!(**args)
1242
+ @filterable = args[:filterable] if args.key?(:filterable)
1243
+ @keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable)
1244
+ @long_values = args[:long_values] if args.key?(:long_values)
1245
+ @string_values = args[:string_values] if args.key?(:string_values)
1246
+ end
1247
+ end
1248
+
1249
+ # A Job resource represents a job posting (also referred to as a "job listing"
1250
+ # or "job requisition"). A job belongs to a Company, which is the hiring entity
1251
+ # responsible for the job.
1252
+ class GoogleCloudTalentV4Job
1253
+ include Google::Apis::Core::Hashable
1254
+
1255
+ # Strongly recommended for the best service experience. Location(s) where the
1256
+ # employer is looking to hire for this job posting. Specifying the full street
1257
+ # address(es) of the hiring location enables better API results, especially job
1258
+ # searches by commute time. At most 50 locations are allowed for best search
1259
+ # performance. If a job has more locations, it is suggested to split it into
1260
+ # multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-
1261
+ # 2', and so on.) as multiple jobs with the same company, language_code and
1262
+ # requisition_id are not allowed. If the original requisition_id must be
1263
+ # preserved, a custom field should be used for storage. It is also suggested to
1264
+ # group the locations that close to each other in the same job for better search
1265
+ # experience. The maximum number of allowed characters is 500.
1266
+ # Corresponds to the JSON property `addresses`
1267
+ # @return [Array<String>]
1268
+ attr_accessor :addresses
1269
+
1270
+ # Application related details of a job posting.
1271
+ # Corresponds to the JSON property `applicationInfo`
1272
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobApplicationInfo]
1273
+ attr_accessor :application_info
1274
+
1275
+ # Required. The resource name of the company listing the job. The format is "
1276
+ # projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example,
1277
+ # "projects/foo/tenants/bar/companies/baz".
1278
+ # Corresponds to the JSON property `company`
1279
+ # @return [String]
1280
+ attr_accessor :company
1281
+
1282
+ # Output only. Display name of the company listing the job.
1283
+ # Corresponds to the JSON property `companyDisplayName`
1284
+ # @return [String]
1285
+ attr_accessor :company_display_name
1286
+
1287
+ # Job compensation details.
1288
+ # Corresponds to the JSON property `compensationInfo`
1289
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CompensationInfo]
1290
+ attr_accessor :compensation_info
1291
+
1292
+ # A map of fields to hold both filterable and non-filterable custom job
1293
+ # attributes that are not covered by the provided structured fields. The keys of
1294
+ # the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For
1295
+ # example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most
1296
+ # 100 unfilterable keys are supported. For filterable `string_values`, across
1297
+ # all keys at most 200 values are allowed, with each string no more than 255
1298
+ # characters. For unfilterable `string_values`, the maximum total size of `
1299
+ # string_values` across all keys is 50KB.
1300
+ # Corresponds to the JSON property `customAttributes`
1301
+ # @return [Hash<String,Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4CustomAttribute>]
1302
+ attr_accessor :custom_attributes
1303
+
1304
+ # The desired education degrees for the job, such as Bachelors, Masters.
1305
+ # Corresponds to the JSON property `degreeTypes`
1306
+ # @return [Array<String>]
1307
+ attr_accessor :degree_types
1308
+
1309
+ # The department or functional area within the company with the open position.
1310
+ # The maximum number of allowed characters is 255.
1311
+ # Corresponds to the JSON property `department`
1312
+ # @return [String]
1313
+ attr_accessor :department
1314
+
1315
+ # Derived details about the job posting.
1316
+ # Corresponds to the JSON property `derivedInfo`
1317
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobDerivedInfo]
1318
+ attr_accessor :derived_info
1319
+
1320
+ # Required. The description of the job, which typically includes a multi-
1321
+ # paragraph description of the company and related information. Separate fields
1322
+ # are provided on the job object for responsibilities, qualifications, and other
1323
+ # job characteristics. Use of these separate job fields is recommended. This
1324
+ # field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
1325
+ # list, and unordered list markup tags. The maximum number of allowed characters
1326
+ # is 100,000.
1327
+ # Corresponds to the JSON property `description`
1328
+ # @return [String]
1329
+ attr_accessor :description
1330
+
1331
+ # The employment type(s) of a job, for example, full time or part time.
1332
+ # Corresponds to the JSON property `employmentTypes`
1333
+ # @return [Array<String>]
1334
+ attr_accessor :employment_types
1335
+
1336
+ # A description of bonus, commission, and other compensation incentives
1337
+ # associated with the job not including salary or pay. The maximum number of
1338
+ # allowed characters is 10,000.
1339
+ # Corresponds to the JSON property `incentives`
1340
+ # @return [String]
1341
+ attr_accessor :incentives
1342
+
1343
+ # The benefits included with the job.
1344
+ # Corresponds to the JSON property `jobBenefits`
1345
+ # @return [Array<String>]
1346
+ attr_accessor :job_benefits
1347
+
1348
+ # The end timestamp of the job. Typically this field is used for contracting
1349
+ # engagements. Invalid timestamps are ignored.
1350
+ # Corresponds to the JSON property `jobEndTime`
1351
+ # @return [String]
1352
+ attr_accessor :job_end_time
1353
+
1354
+ # The experience level associated with the job, such as "Entry Level".
1355
+ # Corresponds to the JSON property `jobLevel`
1356
+ # @return [String]
1357
+ attr_accessor :job_level
1358
+
1359
+ # The start timestamp of the job in UTC time zone. Typically this field is used
1360
+ # for contracting engagements. Invalid timestamps are ignored.
1361
+ # Corresponds to the JSON property `jobStartTime`
1362
+ # @return [String]
1363
+ attr_accessor :job_start_time
1364
+
1365
+ # The language of the posting. This field is distinct from any requirements for
1366
+ # fluency that are associated with the job. Language codes must be in BCP-47
1367
+ # format, such as "en-US" or "sr-Latn". For more information, see [Tags for
1368
+ # Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external"
1369
+ # target="_blank" `. If this field is unspecified and Job.description is present,
1370
+ # detected language code based on Job.description is assigned, otherwise
1371
+ # defaults to 'en_US'.
1372
+ # Corresponds to the JSON property `languageCode`
1373
+ # @return [String]
1374
+ attr_accessor :language_code
1375
+
1376
+ # Required during job update. The resource name for the job. This is generated
1377
+ # by the service when a job is created. The format is "projects/`project_id`/
1378
+ # tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
1379
+ # jobs/baz". Use of this field in job queries and API calls is preferred over
1380
+ # the use of requisition_id since this value is unique.
1381
+ # Corresponds to the JSON property `name`
1382
+ # @return [String]
1383
+ attr_accessor :name
1384
+
1385
+ # Output only. The timestamp when this job posting was created.
1386
+ # Corresponds to the JSON property `postingCreateTime`
1387
+ # @return [String]
1388
+ attr_accessor :posting_create_time
1389
+
1390
+ # Strongly recommended for the best service experience. The expiration timestamp
1391
+ # of the job. After this timestamp, the job is marked as expired, and it no
1392
+ # longer appears in search results. The expired job can't be listed by the
1393
+ # ListJobs API, but it can be retrieved with the GetJob API or updated with the
1394
+ # UpdateJob API or deleted with the DeleteJob API. An expired job can be updated
1395
+ # and opened again by using a future expiration timestamp. Updating an expired
1396
+ # job fails if there is another existing open job with same company,
1397
+ # language_code and requisition_id. The expired jobs are retained in our system
1398
+ # for 90 days. However, the overall expired job count cannot exceed 3 times the
1399
+ # maximum number of open jobs over previous 7 days. If this threshold is
1400
+ # exceeded, expired jobs are cleaned out in order of earliest expire time.
1401
+ # Expired jobs are no longer accessible after they are cleaned out. Invalid
1402
+ # timestamps are ignored, and treated as expire time not provided. If the
1403
+ # timestamp is before the instant request is made, the job is treated as expired
1404
+ # immediately on creation. This kind of job can not be updated. And when
1405
+ # creating a job with past timestamp, the posting_publish_time must be set
1406
+ # before posting_expire_time. The purpose of this feature is to allow other
1407
+ # objects, such as Application, to refer a job that didn't exist in the system
1408
+ # prior to becoming expired. If you want to modify a job that was expired on
1409
+ # creation, delete it and create a new one. If this value isn't provided at the
1410
+ # time of job creation or is invalid, the job posting expires after 30 days from
1411
+ # the job's creation time. For example, if the job was created on 2017/01/01 13:
1412
+ # 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
1413
+ # 13:00AM UTC. If this value isn't provided on job update, it depends on the
1414
+ # field masks set by UpdateJobRequest.update_mask. If the field masks include
1415
+ # job_end_time, or the masks are empty meaning that every field is updated, the
1416
+ # job posting expires after 30 days from the job's last update time. Otherwise
1417
+ # the expiration date isn't updated.
1418
+ # Corresponds to the JSON property `postingExpireTime`
1419
+ # @return [String]
1420
+ attr_accessor :posting_expire_time
1421
+
1422
+ # The timestamp this job posting was most recently published. The default value
1423
+ # is the time the request arrives at the server. Invalid timestamps are ignored.
1424
+ # Corresponds to the JSON property `postingPublishTime`
1425
+ # @return [String]
1426
+ attr_accessor :posting_publish_time
1427
+
1428
+ # The job PostingRegion (for example, state, country) throughout which the job
1429
+ # is available. If this field is set, a LocationFilter in a search query within
1430
+ # the job region finds this job posting if an exact location match isn't
1431
+ # specified. If this field is set to PostingRegion.NATION or PostingRegion.
1432
+ # ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as
1433
+ # this field is strongly recommended.
1434
+ # Corresponds to the JSON property `postingRegion`
1435
+ # @return [String]
1436
+ attr_accessor :posting_region
1437
+
1438
+ # Output only. The timestamp when this job posting was last updated.
1439
+ # Corresponds to the JSON property `postingUpdateTime`
1440
+ # @return [String]
1441
+ attr_accessor :posting_update_time
1442
+
1443
+ # Options for job processing.
1444
+ # Corresponds to the JSON property `processingOptions`
1445
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4JobProcessingOptions]
1446
+ attr_accessor :processing_options
1447
+
1448
+ # A promotion value of the job, as determined by the client. The value
1449
+ # determines the sort order of the jobs returned when searching for jobs using
1450
+ # the featured jobs search call, with higher promotional values being returned
1451
+ # first and ties being resolved by relevance sort. Only the jobs with a
1452
+ # promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
1453
+ # and negative values are treated as 0.
1454
+ # Corresponds to the JSON property `promotionValue`
1455
+ # @return [Fixnum]
1456
+ attr_accessor :promotion_value
1457
+
1458
+ # A description of the qualifications required to perform the job. The use of
1459
+ # this field is recommended as an alternative to using the more general
1460
+ # description field. This field accepts and sanitizes HTML input, and also
1461
+ # accepts bold, italic, ordered list, and unordered list markup tags. The
1462
+ # maximum number of allowed characters is 10,000.
1463
+ # Corresponds to the JSON property `qualifications`
1464
+ # @return [String]
1465
+ attr_accessor :qualifications
1466
+
1467
+ # Required. The requisition ID, also referred to as the posting ID, is assigned
1468
+ # by the client to identify a job. This field is intended to be used by clients
1469
+ # for client identification and tracking of postings. A job isn't allowed to be
1470
+ # created if there is another job with the same company, language_code and
1471
+ # requisition_id. The maximum number of allowed characters is 255.
1472
+ # Corresponds to the JSON property `requisitionId`
1473
+ # @return [String]
1474
+ attr_accessor :requisition_id
1475
+
1476
+ # A description of job responsibilities. The use of this field is recommended as
1477
+ # an alternative to using the more general description field. This field accepts
1478
+ # and sanitizes HTML input, and also accepts bold, italic, ordered list, and
1479
+ # unordered list markup tags. The maximum number of allowed characters is 10,000.
1480
+ # Corresponds to the JSON property `responsibilities`
1481
+ # @return [String]
1482
+ attr_accessor :responsibilities
1483
+
1484
+ # Required. The title of the job, such as "Software Engineer" The maximum number
1485
+ # of allowed characters is 500.
1486
+ # Corresponds to the JSON property `title`
1487
+ # @return [String]
1488
+ attr_accessor :title
1489
+
1490
+ # Deprecated. The job is only visible to the owner. The visibility of the job.
1491
+ # Defaults to Visibility.ACCOUNT_ONLY if not specified.
1492
+ # Corresponds to the JSON property `visibility`
1493
+ # @return [String]
1494
+ attr_accessor :visibility
1495
+
1496
+ def initialize(**args)
1497
+ update!(**args)
1498
+ end
1499
+
1500
+ # Update properties of this object
1501
+ def update!(**args)
1502
+ @addresses = args[:addresses] if args.key?(:addresses)
1503
+ @application_info = args[:application_info] if args.key?(:application_info)
1504
+ @company = args[:company] if args.key?(:company)
1505
+ @company_display_name = args[:company_display_name] if args.key?(:company_display_name)
1506
+ @compensation_info = args[:compensation_info] if args.key?(:compensation_info)
1507
+ @custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
1508
+ @degree_types = args[:degree_types] if args.key?(:degree_types)
1509
+ @department = args[:department] if args.key?(:department)
1510
+ @derived_info = args[:derived_info] if args.key?(:derived_info)
1511
+ @description = args[:description] if args.key?(:description)
1512
+ @employment_types = args[:employment_types] if args.key?(:employment_types)
1513
+ @incentives = args[:incentives] if args.key?(:incentives)
1514
+ @job_benefits = args[:job_benefits] if args.key?(:job_benefits)
1515
+ @job_end_time = args[:job_end_time] if args.key?(:job_end_time)
1516
+ @job_level = args[:job_level] if args.key?(:job_level)
1517
+ @job_start_time = args[:job_start_time] if args.key?(:job_start_time)
1518
+ @language_code = args[:language_code] if args.key?(:language_code)
1519
+ @name = args[:name] if args.key?(:name)
1520
+ @posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time)
1521
+ @posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time)
1522
+ @posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time)
1523
+ @posting_region = args[:posting_region] if args.key?(:posting_region)
1524
+ @posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time)
1525
+ @processing_options = args[:processing_options] if args.key?(:processing_options)
1526
+ @promotion_value = args[:promotion_value] if args.key?(:promotion_value)
1527
+ @qualifications = args[:qualifications] if args.key?(:qualifications)
1528
+ @requisition_id = args[:requisition_id] if args.key?(:requisition_id)
1529
+ @responsibilities = args[:responsibilities] if args.key?(:responsibilities)
1530
+ @title = args[:title] if args.key?(:title)
1531
+ @visibility = args[:visibility] if args.key?(:visibility)
1532
+ end
1533
+ end
1534
+
1535
+ # Application related details of a job posting.
1536
+ class GoogleCloudTalentV4JobApplicationInfo
1537
+ include Google::Apis::Core::Hashable
1538
+
1539
+ # Use this field to specify email address(es) to which resumes or applications
1540
+ # can be sent. The maximum number of allowed characters for each entry is 255.
1541
+ # Corresponds to the JSON property `emails`
1542
+ # @return [Array<String>]
1543
+ attr_accessor :emails
1544
+
1545
+ # Use this field to provide instructions, such as "Mail your application to ...",
1546
+ # that a candidate can follow to apply for the job. This field accepts and
1547
+ # sanitizes HTML input, and also accepts bold, italic, ordered list, and
1548
+ # unordered list markup tags. The maximum number of allowed characters is 3,000.
1549
+ # Corresponds to the JSON property `instruction`
1550
+ # @return [String]
1551
+ attr_accessor :instruction
1552
+
1553
+ # Use this URI field to direct an applicant to a website, for example to link to
1554
+ # an online application form. The maximum number of allowed characters for each
1555
+ # entry is 2,000.
1556
+ # Corresponds to the JSON property `uris`
1557
+ # @return [Array<String>]
1558
+ attr_accessor :uris
1559
+
1560
+ def initialize(**args)
1561
+ update!(**args)
1562
+ end
1563
+
1564
+ # Update properties of this object
1565
+ def update!(**args)
1566
+ @emails = args[:emails] if args.key?(:emails)
1567
+ @instruction = args[:instruction] if args.key?(:instruction)
1568
+ @uris = args[:uris] if args.key?(:uris)
1569
+ end
1570
+ end
1571
+
1572
+ # Derived details about the job posting.
1573
+ class GoogleCloudTalentV4JobDerivedInfo
1574
+ include Google::Apis::Core::Hashable
1575
+
1576
+ # Job categories derived from Job.title and Job.description.
1577
+ # Corresponds to the JSON property `jobCategories`
1578
+ # @return [Array<String>]
1579
+ attr_accessor :job_categories
1580
+
1581
+ # Structured locations of the job, resolved from Job.addresses. locations are
1582
+ # exactly matched to Job.addresses in the same order.
1583
+ # Corresponds to the JSON property `locations`
1584
+ # @return [Array<Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Location>]
1585
+ attr_accessor :locations
1586
+
1587
+ def initialize(**args)
1588
+ update!(**args)
1589
+ end
1590
+
1591
+ # Update properties of this object
1592
+ def update!(**args)
1593
+ @job_categories = args[:job_categories] if args.key?(:job_categories)
1594
+ @locations = args[:locations] if args.key?(:locations)
1595
+ end
1596
+ end
1597
+
1598
+ # Options for job processing.
1599
+ class GoogleCloudTalentV4JobProcessingOptions
1600
+ include Google::Apis::Core::Hashable
1601
+
1602
+ # If set to `true`, the service does not attempt to resolve a more precise
1603
+ # address for the job.
1604
+ # Corresponds to the JSON property `disableStreetAddressResolution`
1605
+ # @return [Boolean]
1606
+ attr_accessor :disable_street_address_resolution
1607
+ alias_method :disable_street_address_resolution?, :disable_street_address_resolution
1608
+
1609
+ # Option for job HTML content sanitization. Applied fields are: * description *
1610
+ # applicationInfo.instruction * incentives * qualifications * responsibilities
1611
+ # HTML tags in these fields may be stripped if sanitiazation isn't disabled.
1612
+ # Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
1613
+ # Corresponds to the JSON property `htmlSanitization`
1614
+ # @return [String]
1615
+ attr_accessor :html_sanitization
1616
+
1617
+ def initialize(**args)
1618
+ update!(**args)
1619
+ end
1620
+
1621
+ # Update properties of this object
1622
+ def update!(**args)
1623
+ @disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
1624
+ @html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
1625
+ end
1626
+ end
1627
+
1628
+ # Mutation result of a job from a batch operation.
1629
+ class GoogleCloudTalentV4JobResult
1630
+ include Google::Apis::Core::Hashable
1631
+
1632
+ # A Job resource represents a job posting (also referred to as a "job listing"
1633
+ # or "job requisition"). A job belongs to a Company, which is the hiring entity
1634
+ # responsible for the job.
1635
+ # Corresponds to the JSON property `job`
1636
+ # @return [Google::Apis::JobsV3p1beta1::GoogleCloudTalentV4Job]
1637
+ attr_accessor :job
1638
+
1639
+ # The `Status` type defines a logical error model that is suitable for different
1640
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1641
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1642
+ # data: error code, error message, and error details. You can find out more
1643
+ # about this error model and how to work with it in the [API Design Guide](https:
1644
+ # //cloud.google.com/apis/design/errors).
1645
+ # Corresponds to the JSON property `status`
1646
+ # @return [Google::Apis::JobsV3p1beta1::Status]
1647
+ attr_accessor :status
1648
+
1649
+ def initialize(**args)
1650
+ update!(**args)
1651
+ end
1652
+
1653
+ # Update properties of this object
1654
+ def update!(**args)
1655
+ @job = args[:job] if args.key?(:job)
1656
+ @status = args[:status] if args.key?(:status)
1657
+ end
1658
+ end
1659
+
1660
+ # A resource that represents a location with full geographic information.
1661
+ class GoogleCloudTalentV4Location
1662
+ include Google::Apis::Core::Hashable
1663
+
1664
+ # An object representing a latitude/longitude pair. This is expressed as a pair
1665
+ # of doubles representing degrees latitude and degrees longitude. Unless
1666
+ # specified otherwise, this must conform to the WGS84 standard. Values must be
1667
+ # within normalized ranges.
1668
+ # Corresponds to the JSON property `latLng`
1669
+ # @return [Google::Apis::JobsV3p1beta1::LatLng]
1670
+ attr_accessor :lat_lng
1671
+
1672
+ # The type of a location, which corresponds to the address lines field of google.
1673
+ # type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
1674
+ # LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
1675
+ # LocationType.LOCALITY.
1676
+ # Corresponds to the JSON property `locationType`
1677
+ # @return [String]
1678
+ attr_accessor :location_type
1679
+
1680
+ # Represents a postal address, e.g. for postal delivery or payments addresses.
1681
+ # Given a postal address, a postal service can deliver items to a premise, P.O.
1682
+ # Box or similar. It is not intended to model geographical locations (roads,
1683
+ # towns, mountains). In typical usage an address would be created via user input
1684
+ # or from importing existing data, depending on the type of process. Advice on
1685
+ # address input / editing: - Use an i18n-ready address widget such as https://
1686
+ # github.com/google/libaddressinput) - Users should not be presented with UI
1687
+ # elements for input or editing of fields outside countries where that field is
1688
+ # used. For more guidance on how to use this schema, please see: https://support.
1689
+ # google.com/business/answer/6397478
1690
+ # Corresponds to the JSON property `postalAddress`
1691
+ # @return [Google::Apis::JobsV3p1beta1::PostalAddress]
1692
+ attr_accessor :postal_address
1693
+
1694
+ # Radius in miles of the job location. This value is derived from the location
1695
+ # bounding box in which a circle with the specified radius centered from google.
1696
+ # type.LatLng covers the area associated with the job location. For example,
1697
+ # currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
1698
+ # Corresponds to the JSON property `radiusMiles`
1699
+ # @return [Float]
1700
+ attr_accessor :radius_miles
1701
+
1702
+ def initialize(**args)
1703
+ update!(**args)
1704
+ end
1705
+
1706
+ # Update properties of this object
1707
+ def update!(**args)
1708
+ @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
1709
+ @location_type = args[:location_type] if args.key?(:location_type)
1710
+ @postal_address = args[:postal_address] if args.key?(:postal_address)
1711
+ @radius_miles = args[:radius_miles] if args.key?(:radius_miles)
1712
+ end
1713
+ end
1714
+
956
1715
  # Input only. Histogram facets to be specified in SearchJobsRequest.
957
1716
  class HistogramFacets
958
1717
  include Google::Apis::Core::Hashable