feat: Automated regeneration of jobs v3 client (#1622)

This PR was generated using Autosynth. 🌈


<details><summary>Log from Synthtool</summary>

```
2020-12-03 02:40:00,377 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py.
On branch autosynth-jobs-v3
nothing to commit, working tree clean
2020-12-03 02:40:00,406 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth jobs v3
DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth jobs v3
bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 11.3.0
Installing rake 11.3.0
Fetching concurrent-ruby 1.1.7
Installing concurrent-ruby 1.1.7
Fetching i18n 1.8.5
Installing i18n 1.8.5
Fetching minitest 5.14.2
Installing minitest 5.14.2
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching tzinfo 1.2.8
Installing tzinfo 1.2.8
Fetching activesupport 5.0.7.2
Installing activesupport 5.0.7.2
Fetching public_suffix 4.0.6
Installing public_suffix 4.0.6
Fetching addressable 2.7.0
Installing addressable 2.7.0
Fetching ast 2.4.1
Installing ast 2.4.1
Using bundler 2.1.4
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
Fetching coderay 1.1.3
Installing coderay 1.1.3
Fetching json 2.3.1
Installing json 2.3.1 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.16.1
Installing simplecov 0.16.1
Using sync 0.5.0
Fetching tins 1.26.0
Installing tins 1.26.0
Fetching term-ansicolor 1.7.1
Installing term-ansicolor 1.7.1
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching coveralls 0.8.23
Installing coveralls 0.8.23
Fetching crack 0.4.4
Installing crack 0.4.4
Fetching declarative 0.0.20
Installing declarative 0.0.20
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Fetching diff-lcs 1.4.4
Installing diff-lcs 1.4.4
Fetching dotenv 2.7.6
Installing dotenv 2.7.6
Fetching fakefs 0.20.1
Installing fakefs 0.20.1
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.2
Installing ruby2_keywords 0.0.2
Fetching faraday 1.1.0
Installing faraday 1.1.0
Fetching gems 1.2.0
Installing gems 1.2.0
Fetching github-markup 1.7.0
Installing github-markup 1.7.0
Fetching jwt 2.2.2
Installing jwt 2.2.2
Fetching memoist 0.16.2
Installing memoist 0.16.2
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching os 0.9.6
Installing os 0.9.6
Fetching signet 0.14.0
Installing signet 0.14.0
Fetching googleauth 0.14.0
Installing googleauth 0.14.0
Fetching httpclient 2.8.3
Installing httpclient 2.8.3
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching uber 0.1.0
Installing uber 0.1.0
Fetching representable 3.0.4
Installing representable 3.0.4
Fetching retriable 3.1.2
Installing retriable 3.1.2
Fetching rexml 3.2.4
Installing rexml 3.2.4
Using google-api-client 0.50.0 from source at `.`
Fetching google-id-token 1.4.2
Installing google-id-token 1.4.2
Fetching hashdiff 1.0.1
Installing hashdiff 1.0.1
Fetching mime-types-data 3.2020.1104
Installing mime-types-data 3.2020.1104
Fetching mime-types 3.3.1
Installing mime-types 3.3.1
Fetching multi_xml 0.6.0
Installing multi_xml 0.6.0
Fetching httparty 0.18.1
Installing httparty 0.18.1
Fetching rspec-support 3.10.0
Installing rspec-support 3.10.0
Fetching rspec-core 3.10.0
Installing rspec-core 3.10.0
Fetching rspec-expectations 3.10.0
Installing rspec-expectations 3.10.0
Fetching rspec-mocks 3.10.0
Installing rspec-mocks 3.10.0
Fetching rspec 3.10.0
Installing rspec 3.10.0
Fetching json_spec 1.1.5
Installing json_spec 1.1.5
Fetching launchy 2.5.0
Installing launchy 2.5.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching logging 2.3.0
Installing logging 2.3.0
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching opencensus 0.5.0
Installing opencensus 0.5.0
Fetching parallel 1.20.1
Installing parallel 1.20.1
Fetching parser 2.7.2.0
Installing parser 2.7.2.0
Fetching powerpack 0.1.3
Installing powerpack 0.1.3
Fetching pry 0.13.1
Installing pry 0.13.1
Fetching pry-byebug 3.9.0
Installing pry-byebug 3.9.0
Fetching yard 0.9.25
Installing yard 0.9.25
Fetching pry-doc 0.13.5
Installing pry-doc 0.13.5
Fetching rainbow 2.2.2
Installing rainbow 2.2.2 with native extensions
Fetching redcarpet 3.5.0
Installing redcarpet 3.5.0 with native extensions
Fetching redis 3.3.5
Installing redis 3.3.5
Fetching rmail 1.1.4
Installing rmail 1.1.4
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.7.0
Installing unicode-display_width 1.7.0
Fetching rubocop 0.49.1
Installing rubocop 0.49.1
Fetching webmock 2.3.2
Installing webmock 2.3.2
Bundle complete! 31 Gemfile dependencies, 78 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from i18n:

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.

If you are upgrading your Rails application from an older version of Rails:

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

If you are starting a NEW Rails application, you can ignore this notice.

For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

Post-install message from httparty:
When you HTTParty, you must party hard!
echo a | bundle exec bin/generate-api gen generated --api=jobs.v3 --names-out=/workspace/api_names_out.yaml
Loading jobs, version v3 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/jobs.v3.json
    conflict  google/apis/jobs_v3.rb
<le/apis/jobs_v3.rb? (enter "h" for help) [Ynaqdhm] a
       force  google/apis/jobs_v3.rb
   identical  google/apis/jobs_v3/service.rb
    conflict  google/apis/jobs_v3/classes.rb
       force  google/apis/jobs_v3/classes.rb
    conflict  google/apis/jobs_v3/representations.rb
       force  google/apis/jobs_v3/representations.rb
   identical  /workspace/api_names_out.yaml
2020-12-03 02:40:24,747 synthtool [DEBUG] > Wrote metadata to generated/google/apis/jobs_v3/synth.metadata.
DEBUG:synthtool:Wrote metadata to generated/google/apis/jobs_v3/synth.metadata.

```
</details>

Full log will be available here:
https://source.cloud.google.com/results/invocations/7b006b37-fae5-4e1c-9d57-231db3ac031c/targets

- [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
Yoshi Automation Bot 2020-12-03 02:56:08 -08:00 committed by GitHub
parent 7c08c028e5
commit 0940da26fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1081 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20200929'
REVISION = '20201124'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -232,8 +232,8 @@ module Google
# @return [String]
attr_accessor :road_traffic
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
# Corresponds to the JSON property `startCoordinates`
@ -914,765 +914,6 @@ module Google
end
end
# The result of JobService.BatchCreateJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchCreateJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch create operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# The result of JobService.BatchDeleteJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchDeleteJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch delete operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# Metadata used for long running operations returned by CTS batch APIs. It's
# used to replace google.longrunning.Operation.metadata.
class GoogleCloudTalentV4BatchOperationMetadata
include Google::Apis::Core::Hashable
# The time when the batch operation is created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The time when the batch operation is finished and google.longrunning.Operation.
# done is set to `true`.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# Count of failed item(s) inside an operation.
# Corresponds to the JSON property `failureCount`
# @return [Fixnum]
attr_accessor :failure_count
# The state of a long running operation.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# More detailed information about operation state.
# Corresponds to the JSON property `stateDescription`
# @return [String]
attr_accessor :state_description
# Count of successful item(s) inside an operation.
# Corresponds to the JSON property `successCount`
# @return [Fixnum]
attr_accessor :success_count
# Count of total item(s) inside an operation.
# Corresponds to the JSON property `totalCount`
# @return [Fixnum]
attr_accessor :total_count
# The time when the batch operation status is updated. The metadata and the
# update_time is refreshed every minute otherwise cached data is returned.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time)
@end_time = args[:end_time] if args.key?(:end_time)
@failure_count = args[:failure_count] if args.key?(:failure_count)
@state = args[:state] if args.key?(:state)
@state_description = args[:state_description] if args.key?(:state_description)
@success_count = args[:success_count] if args.key?(:success_count)
@total_count = args[:total_count] if args.key?(:total_count)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
# The result of JobService.BatchUpdateJobs. It's used to replace google.
# longrunning.Operation.response in case of success.
class GoogleCloudTalentV4BatchUpdateJobsResponse
include Google::Apis::Core::Hashable
# List of job mutation results from a batch update operation. It can change
# until operation status is FINISHED, FAILED or CANCELLED.
# Corresponds to the JSON property `jobResults`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4JobResult>]
attr_accessor :job_results
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_results = args[:job_results] if args.key?(:job_results)
end
end
# Job compensation details.
class GoogleCloudTalentV4CompensationInfo
include Google::Apis::Core::Hashable
# Compensation range.
# Corresponds to the JSON property `annualizedBaseCompensationRange`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :annualized_base_compensation_range
# Compensation range.
# Corresponds to the JSON property `annualizedTotalCompensationRange`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :annualized_total_compensation_range
# Job compensation information. At most one entry can be of type
# CompensationInfo.CompensationType.BASE, which is referred as **base
# compensation entry** for the job.
# Corresponds to the JSON property `entries`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry>]
attr_accessor :entries
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
@annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
@entries = args[:entries] if args.key?(:entries)
end
end
# A compensation entry that represents one component of compensation, such as
# base pay, bonus, or other compensation type. Annualization: One compensation
# entry can be annualized if - it contains valid amount or range. - and its
# expected_units_per_year is set or can be derived. Its annualized range is
# determined as (amount or range) times expected_units_per_year.
class GoogleCloudTalentV4CompensationInfoCompensationEntry
include Google::Apis::Core::Hashable
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `amount`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :amount
# Compensation description. For example, could indicate equity terms or provide
# additional context to an estimated bonus.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Expected number of units paid each year. If not specified, when Job.
# employment_types is FULLTIME, a default value is inferred based on unit.
# Default values: - HOURLY: 2080 - DAILY: 260 - WEEKLY: 52 - MONTHLY: 12 -
# ANNUAL: 1
# Corresponds to the JSON property `expectedUnitsPerYear`
# @return [Float]
attr_accessor :expected_units_per_year
# Compensation range.
# Corresponds to the JSON property `range`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange]
attr_accessor :range
# Compensation type. Default is CompensationType.COMPENSATION_TYPE_UNSPECIFIED.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
# Frequency of the specified amount. Default is CompensationUnit.
# COMPENSATION_UNIT_UNSPECIFIED.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@amount = args[:amount] if args.key?(:amount)
@description = args[:description] if args.key?(:description)
@expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year)
@range = args[:range] if args.key?(:range)
@type = args[:type] if args.key?(:type)
@unit = args[:unit] if args.key?(:unit)
end
end
# Compensation range.
class GoogleCloudTalentV4CompensationInfoCompensationRange
include Google::Apis::Core::Hashable
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `maxCompensation`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :max_compensation
# Represents an amount of money with its currency type.
# Corresponds to the JSON property `minCompensation`
# @return [Google::Apis::JobsV3::Money]
attr_accessor :min_compensation
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@max_compensation = args[:max_compensation] if args.key?(:max_compensation)
@min_compensation = args[:min_compensation] if args.key?(:min_compensation)
end
end
# Custom attribute values that are either filterable or non-filterable.
class GoogleCloudTalentV4CustomAttribute
include Google::Apis::Core::Hashable
# If the `filterable` flag is true, the custom field values may be used for
# custom attribute filters JobQuery.custom_attribute_filter. If false, these
# values may not be used for custom attribute filters. Default is false.
# Corresponds to the JSON property `filterable`
# @return [Boolean]
attr_accessor :filterable
alias_method :filterable?, :filterable
# If the `keyword_searchable` flag is true, the keywords in custom fields are
# searchable by keyword match. If false, the values are not searchable by
# keyword match. Default is false.
# Corresponds to the JSON property `keywordSearchable`
# @return [Boolean]
attr_accessor :keyword_searchable
alias_method :keyword_searchable?, :keyword_searchable
# Exactly one of string_values or long_values must be specified. This field is
# used to perform number range search. (`EQ`, `GT`, `GE`, `LE`, `LT`) over
# filterable `long_value`. Currently at most 1 long_values is supported.
# Corresponds to the JSON property `longValues`
# @return [Array<Fixnum>]
attr_accessor :long_values
# Exactly one of string_values or long_values must be specified. This field is
# used to perform a string match (`CASE_SENSITIVE_MATCH` or `
# CASE_INSENSITIVE_MATCH`) search. For filterable `string_value`s, a maximum
# total number of 200 values is allowed, with each `string_value` has a byte
# size of no more than 500B. For unfilterable `string_values`, the maximum total
# byte size of unfilterable `string_values` is 50KB. Empty string isn't allowed.
# Corresponds to the JSON property `stringValues`
# @return [Array<String>]
attr_accessor :string_values
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@filterable = args[:filterable] if args.key?(:filterable)
@keyword_searchable = args[:keyword_searchable] if args.key?(:keyword_searchable)
@long_values = args[:long_values] if args.key?(:long_values)
@string_values = args[:string_values] if args.key?(:string_values)
end
end
# A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring entity
# responsible for the job.
class GoogleCloudTalentV4Job
include Google::Apis::Core::Hashable
# Strongly recommended for the best service experience. Location(s) where the
# employer is looking to hire for this job posting. Specifying the full street
# address(es) of the hiring location enables better API results, especially job
# searches by commute time. At most 50 locations are allowed for best search
# performance. If a job has more locations, it is suggested to split it into
# multiple jobs with unique requisition_ids (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-
# 2', and so on.) as multiple jobs with the same company, language_code and
# requisition_id are not allowed. If the original requisition_id must be
# preserved, a custom field should be used for storage. It is also suggested to
# group the locations that close to each other in the same job for better search
# experience. The maximum number of allowed characters is 500.
# Corresponds to the JSON property `addresses`
# @return [Array<String>]
attr_accessor :addresses
# Application related details of a job posting.
# Corresponds to the JSON property `applicationInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo]
attr_accessor :application_info
# Required. The resource name of the company listing the job. The format is "
# projects/`project_id`/tenants/`tenant_id`/companies/`company_id`". For example,
# "projects/foo/tenants/bar/companies/baz".
# Corresponds to the JSON property `company`
# @return [String]
attr_accessor :company
# Output only. Display name of the company listing the job.
# Corresponds to the JSON property `companyDisplayName`
# @return [String]
attr_accessor :company_display_name
# Job compensation details.
# Corresponds to the JSON property `compensationInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo]
attr_accessor :compensation_info
# A map of fields to hold both filterable and non-filterable custom job
# attributes that are not covered by the provided structured fields. The keys of
# the map are strings up to 64 bytes and must match the pattern: a-zA-Z*. For
# example, key0LikeThis or KEY_1_LIKE_THIS. At most 100 filterable and at most
# 100 unfilterable keys are supported. For filterable `string_values`, across
# all keys at most 200 values are allowed, with each string no more than 255
# characters. For unfilterable `string_values`, the maximum total size of `
# string_values` across all keys is 50KB.
# Corresponds to the JSON property `customAttributes`
# @return [Hash<String,Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute>]
attr_accessor :custom_attributes
# The desired education degrees for the job, such as Bachelors, Masters.
# Corresponds to the JSON property `degreeTypes`
# @return [Array<String>]
attr_accessor :degree_types
# The department or functional area within the company with the open position.
# The maximum number of allowed characters is 255.
# Corresponds to the JSON property `department`
# @return [String]
attr_accessor :department
# Derived details about the job posting.
# Corresponds to the JSON property `derivedInfo`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo]
attr_accessor :derived_info
# Required. The description of the job, which typically includes a multi-
# paragraph description of the company and related information. Separate fields
# are provided on the job object for responsibilities, qualifications, and other
# job characteristics. Use of these separate job fields is recommended. This
# field accepts and sanitizes HTML input, and also accepts bold, italic, ordered
# list, and unordered list markup tags. The maximum number of allowed characters
# is 100,000.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# The employment type(s) of a job, for example, full time or part time.
# Corresponds to the JSON property `employmentTypes`
# @return [Array<String>]
attr_accessor :employment_types
# A description of bonus, commission, and other compensation incentives
# associated with the job not including salary or pay. The maximum number of
# allowed characters is 10,000.
# Corresponds to the JSON property `incentives`
# @return [String]
attr_accessor :incentives
# The benefits included with the job.
# Corresponds to the JSON property `jobBenefits`
# @return [Array<String>]
attr_accessor :job_benefits
# The end timestamp of the job. Typically this field is used for contracting
# engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobEndTime`
# @return [String]
attr_accessor :job_end_time
# The experience level associated with the job, such as "Entry Level".
# Corresponds to the JSON property `jobLevel`
# @return [String]
attr_accessor :job_level
# The start timestamp of the job in UTC time zone. Typically this field is used
# for contracting engagements. Invalid timestamps are ignored.
# Corresponds to the JSON property `jobStartTime`
# @return [String]
attr_accessor :job_start_time
# The language of the posting. This field is distinct from any requirements for
# fluency that are associated with the job. Language codes must be in BCP-47
# format, such as "en-US" or "sr-Latn". For more information, see [Tags for
# Identifying Languages](https://tools.ietf.org/html/bcp47)`: class="external"
# target="_blank" `. If this field is unspecified and Job.description is present,
# detected language code based on Job.description is assigned, otherwise
# defaults to 'en_US'.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code
# Required during job update. The resource name for the job. This is generated
# by the service when a job is created. The format is "projects/`project_id`/
# tenants/`tenant_id`/jobs/`job_id`". For example, "projects/foo/tenants/bar/
# jobs/baz". Use of this field in job queries and API calls is preferred over
# the use of requisition_id since this value is unique.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The timestamp when this job posting was created.
# Corresponds to the JSON property `postingCreateTime`
# @return [String]
attr_accessor :posting_create_time
# Strongly recommended for the best service experience. The expiration timestamp
# of the job. After this timestamp, the job is marked as expired, and it no
# longer appears in search results. The expired job can't be listed by the
# ListJobs API, but it can be retrieved with the GetJob API or updated with the
# UpdateJob API or deleted with the DeleteJob API. An expired job can be updated
# and opened again by using a future expiration timestamp. Updating an expired
# job fails if there is another existing open job with same company,
# language_code and requisition_id. The expired jobs are retained in our system
# for 90 days. However, the overall expired job count cannot exceed 3 times the
# maximum number of open jobs over previous 7 days. If this threshold is
# exceeded, expired jobs are cleaned out in order of earliest expire time.
# Expired jobs are no longer accessible after they are cleaned out. Invalid
# timestamps are ignored, and treated as expire time not provided. If the
# timestamp is before the instant request is made, the job is treated as expired
# immediately on creation. This kind of job can not be updated. And when
# creating a job with past timestamp, the posting_publish_time must be set
# before posting_expire_time. The purpose of this feature is to allow other
# objects, such as Application, to refer a job that didn't exist in the system
# prior to becoming expired. If you want to modify a job that was expired on
# creation, delete it and create a new one. If this value isn't provided at the
# time of job creation or is invalid, the job posting expires after 30 days from
# the job's creation time. For example, if the job was created on 2017/01/01 13:
# 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
# 13:00AM UTC. If this value isn't provided on job update, it depends on the
# field masks set by UpdateJobRequest.update_mask. If the field masks include
# job_end_time, or the masks are empty meaning that every field is updated, the
# job posting expires after 30 days from the job's last update time. Otherwise
# the expiration date isn't updated.
# Corresponds to the JSON property `postingExpireTime`
# @return [String]
attr_accessor :posting_expire_time
# The timestamp this job posting was most recently published. The default value
# is the time the request arrives at the server. Invalid timestamps are ignored.
# Corresponds to the JSON property `postingPublishTime`
# @return [String]
attr_accessor :posting_publish_time
# The job PostingRegion (for example, state, country) throughout which the job
# is available. If this field is set, a LocationFilter in a search query within
# the job region finds this job posting if an exact location match isn't
# specified. If this field is set to PostingRegion.NATION or PostingRegion.
# ADMINISTRATIVE_AREA, setting job Job.addresses to the same location level as
# this field is strongly recommended.
# Corresponds to the JSON property `postingRegion`
# @return [String]
attr_accessor :posting_region
# Output only. The timestamp when this job posting was last updated.
# Corresponds to the JSON property `postingUpdateTime`
# @return [String]
attr_accessor :posting_update_time
# Options for job processing.
# Corresponds to the JSON property `processingOptions`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions]
attr_accessor :processing_options
# A promotion value of the job, as determined by the client. The value
# determines the sort order of the jobs returned when searching for jobs using
# the featured jobs search call, with higher promotional values being returned
# first and ties being resolved by relevance sort. Only the jobs with a
# promotionValue >0 are returned in a FEATURED_JOB_SEARCH. Default value is 0,
# and negative values are treated as 0.
# Corresponds to the JSON property `promotionValue`
# @return [Fixnum]
attr_accessor :promotion_value
# A description of the qualifications required to perform the job. The use of
# this field is recommended as an alternative to using the more general
# description field. This field accepts and sanitizes HTML input, and also
# accepts bold, italic, ordered list, and unordered list markup tags. The
# maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `qualifications`
# @return [String]
attr_accessor :qualifications
# Required. The requisition ID, also referred to as the posting ID, is assigned
# by the client to identify a job. This field is intended to be used by clients
# for client identification and tracking of postings. A job isn't allowed to be
# created if there is another job with the same company, language_code and
# requisition_id. The maximum number of allowed characters is 255.
# Corresponds to the JSON property `requisitionId`
# @return [String]
attr_accessor :requisition_id
# A description of job responsibilities. The use of this field is recommended as
# an alternative to using the more general description field. This field accepts
# and sanitizes HTML input, and also accepts bold, italic, ordered list, and
# unordered list markup tags. The maximum number of allowed characters is 10,000.
# Corresponds to the JSON property `responsibilities`
# @return [String]
attr_accessor :responsibilities
# Required. The title of the job, such as "Software Engineer" The maximum number
# of allowed characters is 500.
# Corresponds to the JSON property `title`
# @return [String]
attr_accessor :title
# Deprecated. The job is only visible to the owner. The visibility of the job.
# Defaults to Visibility.ACCOUNT_ONLY if not specified.
# Corresponds to the JSON property `visibility`
# @return [String]
attr_accessor :visibility
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@addresses = args[:addresses] if args.key?(:addresses)
@application_info = args[:application_info] if args.key?(:application_info)
@company = args[:company] if args.key?(:company)
@company_display_name = args[:company_display_name] if args.key?(:company_display_name)
@compensation_info = args[:compensation_info] if args.key?(:compensation_info)
@custom_attributes = args[:custom_attributes] if args.key?(:custom_attributes)
@degree_types = args[:degree_types] if args.key?(:degree_types)
@department = args[:department] if args.key?(:department)
@derived_info = args[:derived_info] if args.key?(:derived_info)
@description = args[:description] if args.key?(:description)
@employment_types = args[:employment_types] if args.key?(:employment_types)
@incentives = args[:incentives] if args.key?(:incentives)
@job_benefits = args[:job_benefits] if args.key?(:job_benefits)
@job_end_time = args[:job_end_time] if args.key?(:job_end_time)
@job_level = args[:job_level] if args.key?(:job_level)
@job_start_time = args[:job_start_time] if args.key?(:job_start_time)
@language_code = args[:language_code] if args.key?(:language_code)
@name = args[:name] if args.key?(:name)
@posting_create_time = args[:posting_create_time] if args.key?(:posting_create_time)
@posting_expire_time = args[:posting_expire_time] if args.key?(:posting_expire_time)
@posting_publish_time = args[:posting_publish_time] if args.key?(:posting_publish_time)
@posting_region = args[:posting_region] if args.key?(:posting_region)
@posting_update_time = args[:posting_update_time] if args.key?(:posting_update_time)
@processing_options = args[:processing_options] if args.key?(:processing_options)
@promotion_value = args[:promotion_value] if args.key?(:promotion_value)
@qualifications = args[:qualifications] if args.key?(:qualifications)
@requisition_id = args[:requisition_id] if args.key?(:requisition_id)
@responsibilities = args[:responsibilities] if args.key?(:responsibilities)
@title = args[:title] if args.key?(:title)
@visibility = args[:visibility] if args.key?(:visibility)
end
end
# Application related details of a job posting.
class GoogleCloudTalentV4JobApplicationInfo
include Google::Apis::Core::Hashable
# Use this field to specify email address(es) to which resumes or applications
# can be sent. The maximum number of allowed characters for each entry is 255.
# Corresponds to the JSON property `emails`
# @return [Array<String>]
attr_accessor :emails
# Use this field to provide instructions, such as "Mail your application to ...",
# that a candidate can follow to apply for the job. This field accepts and
# sanitizes HTML input, and also accepts bold, italic, ordered list, and
# unordered list markup tags. The maximum number of allowed characters is 3,000.
# Corresponds to the JSON property `instruction`
# @return [String]
attr_accessor :instruction
# Use this URI field to direct an applicant to a website, for example to link to
# an online application form. The maximum number of allowed characters for each
# entry is 2,000.
# Corresponds to the JSON property `uris`
# @return [Array<String>]
attr_accessor :uris
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@emails = args[:emails] if args.key?(:emails)
@instruction = args[:instruction] if args.key?(:instruction)
@uris = args[:uris] if args.key?(:uris)
end
end
# Derived details about the job posting.
class GoogleCloudTalentV4JobDerivedInfo
include Google::Apis::Core::Hashable
# Job categories derived from Job.title and Job.description.
# Corresponds to the JSON property `jobCategories`
# @return [Array<String>]
attr_accessor :job_categories
# Structured locations of the job, resolved from Job.addresses. locations are
# exactly matched to Job.addresses in the same order.
# Corresponds to the JSON property `locations`
# @return [Array<Google::Apis::JobsV3::GoogleCloudTalentV4Location>]
attr_accessor :locations
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job_categories = args[:job_categories] if args.key?(:job_categories)
@locations = args[:locations] if args.key?(:locations)
end
end
# Options for job processing.
class GoogleCloudTalentV4JobProcessingOptions
include Google::Apis::Core::Hashable
# If set to `true`, the service does not attempt to resolve a more precise
# address for the job.
# Corresponds to the JSON property `disableStreetAddressResolution`
# @return [Boolean]
attr_accessor :disable_street_address_resolution
alias_method :disable_street_address_resolution?, :disable_street_address_resolution
# Option for job HTML content sanitization. Applied fields are: * description *
# applicationInfo.instruction * incentives * qualifications * responsibilities
# HTML tags in these fields may be stripped if sanitiazation isn't disabled.
# Defaults to HtmlSanitization.SIMPLE_FORMATTING_ONLY.
# Corresponds to the JSON property `htmlSanitization`
# @return [String]
attr_accessor :html_sanitization
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@disable_street_address_resolution = args[:disable_street_address_resolution] if args.key?(:disable_street_address_resolution)
@html_sanitization = args[:html_sanitization] if args.key?(:html_sanitization)
end
end
# Mutation result of a job from a batch operation.
class GoogleCloudTalentV4JobResult
include Google::Apis::Core::Hashable
# A Job resource represents a job posting (also referred to as a "job listing"
# or "job requisition"). A job belongs to a Company, which is the hiring entity
# responsible for the job.
# Corresponds to the JSON property `job`
# @return [Google::Apis::JobsV3::GoogleCloudTalentV4Job]
attr_accessor :job
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `status`
# @return [Google::Apis::JobsV3::Status]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@job = args[:job] if args.key?(:job)
@status = args[:status] if args.key?(:status)
end
end
# A resource that represents a location with full geographic information.
class GoogleCloudTalentV4Location
include Google::Apis::Core::Hashable
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
# Corresponds to the JSON property `latLng`
# @return [Google::Apis::JobsV3::LatLng]
attr_accessor :lat_lng
# The type of a location, which corresponds to the address lines field of google.
# type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of
# LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of
# LocationType.LOCALITY.
# Corresponds to the JSON property `locationType`
# @return [String]
attr_accessor :location_type
# Represents a postal address, e.g. for postal delivery or payments addresses.
# Given a postal address, a postal service can deliver items to a premise, P.O.
# Box or similar. It is not intended to model geographical locations (roads,
# towns, mountains). In typical usage an address would be created via user input
# or from importing existing data, depending on the type of process. Advice on
# address input / editing: - Use an i18n-ready address widget such as https://
# github.com/google/libaddressinput) - Users should not be presented with UI
# elements for input or editing of fields outside countries where that field is
# used. For more guidance on how to use this schema, please see: https://support.
# google.com/business/answer/6397478
# Corresponds to the JSON property `postalAddress`
# @return [Google::Apis::JobsV3::PostalAddress]
attr_accessor :postal_address
# Radius in miles of the job location. This value is derived from the location
# bounding box in which a circle with the specified radius centered from google.
# type.LatLng covers the area associated with the job location. For example,
# currently, "Mountain View, CA, USA" has a radius of 6.17 miles.
# Corresponds to the JSON property `radiusMiles`
# @return [Float]
attr_accessor :radius_miles
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
@location_type = args[:location_type] if args.key?(:location_type)
@postal_address = args[:postal_address] if args.key?(:postal_address)
@radius_miles = args[:radius_miles] if args.key?(:radius_miles)
end
end
# Input only. Histogram facets to be specified in SearchJobsRequest.
class HistogramFacets
include Google::Apis::Core::Hashable
@ -2245,8 +1486,8 @@ module Google
end
end
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
class LatLng
@ -2343,8 +1584,8 @@ module Google
class Location
include Google::Apis::Core::Hashable
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
# Corresponds to the JSON property `latLng`
@ -2410,8 +1651,8 @@ module Google
# @return [Float]
attr_accessor :distance_in_miles
# An object representing a latitude/longitude pair. This is expressed as a pair
# of doubles representing degrees latitude and degrees longitude. Unless
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
# specified otherwise, this must conform to the WGS84 standard. Values must be
# within normalized ranges.
# Corresponds to the JSON property `latLng`
@ -2540,7 +1781,7 @@ module Google
class Money
include Google::Apis::Core::Hashable
# The 3-letter currency code defined in ISO 4217.
# The three-letter currency code defined in ISO 4217.
# Corresponds to the JSON property `currencyCode`
# @return [String]
attr_accessor :currency_code
@ -3264,45 +2505,6 @@ module Google
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by [
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
# data: error code, error message, and error details. You can find out more
# about this error model and how to work with it in the [API Design Guide](https:
# //cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable
# The status code, which should be an enum value of google.rpc.Code.
# Corresponds to the JSON property `code`
# @return [Fixnum]
attr_accessor :code
# A list of messages that carry the error details. There is a common set of
# message types for APIs to use.
# Corresponds to the JSON property `details`
# @return [Array<Hash<String,Object>>]
attr_accessor :details
# A developer-facing error message, which should be in English. Any user-facing
# error message should be localized and sent in the google.rpc.Status.details
# field, or localized by the client.
# Corresponds to the JSON property `message`
# @return [String]
attr_accessor :message
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@code = args[:code] if args.key?(:code)
@details = args[:details] if args.key?(:details)
@message = args[:message] if args.key?(:message)
end
end
# Represents a time of day. The date and time zone are either not significant or
# are specified elsewhere. An API may choose to allow leap seconds. Related
# types are google.type.Date and `google.protobuf.Timestamp`.

View File

@ -172,90 +172,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchCreateJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchDeleteJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchOperationMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4BatchUpdateJobsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfoCompensationEntry
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CompensationInfoCompensationRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4CustomAttribute
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4Job
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobApplicationInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobDerivedInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobProcessingOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4JobResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudTalentV4Location
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class HistogramFacets
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -406,12 +322,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TimeOfDay
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -684,179 +594,6 @@ module Google
end
end
class GoogleCloudTalentV4BatchCreateJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4BatchDeleteJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4BatchOperationMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime'
property :end_time, as: 'endTime'
property :failure_count, as: 'failureCount'
property :state, as: 'state'
property :state_description, as: 'stateDescription'
property :success_count, as: 'successCount'
property :total_count, as: 'totalCount'
property :update_time, as: 'updateTime'
end
end
class GoogleCloudTalentV4BatchUpdateJobsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_results, as: 'jobResults', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobResult::Representation
end
end
class GoogleCloudTalentV4CompensationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :annualized_base_compensation_range, as: 'annualizedBaseCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
property :annualized_total_compensation_range, as: 'annualizedTotalCompensationRange', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
collection :entries, as: 'entries', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationEntry::Representation
end
end
class GoogleCloudTalentV4CompensationInfoCompensationEntry
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :description, as: 'description'
property :expected_units_per_year, as: 'expectedUnitsPerYear'
property :range, as: 'range', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfoCompensationRange::Representation
property :type, as: 'type'
property :unit, as: 'unit'
end
end
class GoogleCloudTalentV4CompensationInfoCompensationRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_compensation, as: 'maxCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
property :min_compensation, as: 'minCompensation', class: Google::Apis::JobsV3::Money, decorator: Google::Apis::JobsV3::Money::Representation
end
end
class GoogleCloudTalentV4CustomAttribute
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :filterable, as: 'filterable'
property :keyword_searchable, as: 'keywordSearchable'
collection :long_values, as: 'longValues'
collection :string_values, as: 'stringValues'
end
end
class GoogleCloudTalentV4Job
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :addresses, as: 'addresses'
property :application_info, as: 'applicationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobApplicationInfo::Representation
property :company, as: 'company'
property :company_display_name, as: 'companyDisplayName'
property :compensation_info, as: 'compensationInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CompensationInfo::Representation
hash :custom_attributes, as: 'customAttributes', class: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4CustomAttribute::Representation
collection :degree_types, as: 'degreeTypes'
property :department, as: 'department'
property :derived_info, as: 'derivedInfo', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobDerivedInfo::Representation
property :description, as: 'description'
collection :employment_types, as: 'employmentTypes'
property :incentives, as: 'incentives'
collection :job_benefits, as: 'jobBenefits'
property :job_end_time, as: 'jobEndTime'
property :job_level, as: 'jobLevel'
property :job_start_time, as: 'jobStartTime'
property :language_code, as: 'languageCode'
property :name, as: 'name'
property :posting_create_time, as: 'postingCreateTime'
property :posting_expire_time, as: 'postingExpireTime'
property :posting_publish_time, as: 'postingPublishTime'
property :posting_region, as: 'postingRegion'
property :posting_update_time, as: 'postingUpdateTime'
property :processing_options, as: 'processingOptions', class: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4JobProcessingOptions::Representation
property :promotion_value, as: 'promotionValue'
property :qualifications, as: 'qualifications'
property :requisition_id, as: 'requisitionId'
property :responsibilities, as: 'responsibilities'
property :title, as: 'title'
property :visibility, as: 'visibility'
end
end
class GoogleCloudTalentV4JobApplicationInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :emails, as: 'emails'
property :instruction, as: 'instruction'
collection :uris, as: 'uris'
end
end
class GoogleCloudTalentV4JobDerivedInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :job_categories, as: 'jobCategories'
collection :locations, as: 'locations', class: Google::Apis::JobsV3::GoogleCloudTalentV4Location, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Location::Representation
end
end
class GoogleCloudTalentV4JobProcessingOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_street_address_resolution, as: 'disableStreetAddressResolution'
property :html_sanitization, as: 'htmlSanitization'
end
end
class GoogleCloudTalentV4JobResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :job, as: 'job', class: Google::Apis::JobsV3::GoogleCloudTalentV4Job, decorator: Google::Apis::JobsV3::GoogleCloudTalentV4Job::Representation
property :status, as: 'status', class: Google::Apis::JobsV3::Status, decorator: Google::Apis::JobsV3::Status::Representation
end
end
class GoogleCloudTalentV4Location
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :lat_lng, as: 'latLng', class: Google::Apis::JobsV3::LatLng, decorator: Google::Apis::JobsV3::LatLng::Representation
property :location_type, as: 'locationType'
property :postal_address, as: 'postalAddress', class: Google::Apis::JobsV3::PostalAddress, decorator: Google::Apis::JobsV3::PostalAddress::Representation
property :radius_miles, as: 'radiusMiles'
end
end
class HistogramFacets
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1184,15 +921,6 @@ module Google
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
end
end
class TimeOfDay
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "259053bff16218c7aecd922559ad5dd923bd2e01"
}
}
]