google-apis-jobs_v4 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/lib/google/apis/jobs_v4.rb +1 -1
- data/lib/google/apis/jobs_v4/classes.rb +50 -41
- data/lib/google/apis/jobs_v4/gem_version.rb +3 -3
- data/lib/google/apis/jobs_v4/service.rb +31 -0
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec8cf2fcb55d18bfc12455dce8ab10f16df9e69e012719d90f21c60b119767bf
|
4
|
+
data.tar.gz: b0821242ef94c26b25f5ea5e0259c273841d759c3bfa09b3bfd26978b7cd7bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247215e272c0300de8ed1fb4b42a14546ebad0a5b57f349488c24293e89c961be93ee6088a31774d164b689455e8887d9c2eb8da2280bd7a37f2e630e494df3e
|
7
|
+
data.tar.gz: 58c9afdcbc01a53863d491904c122f770dea4ddd62ebaeffde8c2d10f6b50761efe44f9244721d3f93b8b89a6e1fcc3290d6773032cb1ea9faacac91966e3c7c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Release history for google-apis-jobs_v4
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.7.0 (2021-06-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210611
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.6.0 (2021-05-20)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210506
|
15
|
+
* Unspecified changes
|
16
|
+
|
17
|
+
### v0.5.0 (2021-04-16)
|
18
|
+
|
19
|
+
* Regenerated from discovery document revision 20210413
|
20
|
+
|
21
|
+
### v0.4.0 (2021-03-12)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210309
|
24
|
+
* Regenerated using generator version 0.2.0
|
25
|
+
|
3
26
|
### v0.3.0 (2021-03-04)
|
4
27
|
|
5
28
|
* Unspecified changes
|
data/lib/google/apis/jobs_v4.rb
CHANGED
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V4'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# Manage job postings
|
@@ -343,8 +343,8 @@ module Google
|
|
343
343
|
|
344
344
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
345
345
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
346
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
347
|
-
# within normalized ranges.
|
346
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
347
|
+
# must be within normalized ranges.
|
348
348
|
# Corresponds to the JSON property `startCoordinates`
|
349
349
|
# @return [Google::Apis::JobsV4::LatLng]
|
350
350
|
attr_accessor :start_coordinates
|
@@ -941,7 +941,14 @@ module Google
|
|
941
941
|
# requisition_id are not allowed. If the original requisition_id must be
|
942
942
|
# preserved, a custom field should be used for storage. It is also suggested to
|
943
943
|
# group the locations that close to each other in the same job for better search
|
944
|
-
# experience.
|
944
|
+
# experience. Jobs with multiple addresses must have their addresses with the
|
945
|
+
# same LocationType to allow location filtering to work properly. (For example,
|
946
|
+
# a Job with addresses "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "
|
947
|
+
# London, UK" may not have location filters applied correctly at search time
|
948
|
+
# since the first is a LocationType.STREET_ADDRESS and the second is a
|
949
|
+
# LocationType.LOCALITY.) If a job needs to have multiple addresses, it is
|
950
|
+
# suggested to split it into multiple jobs with same LocationTypes. The maximum
|
951
|
+
# number of allowed characters is 500.
|
945
952
|
# Corresponds to the JSON property `addresses`
|
946
953
|
# @return [Array<String>]
|
947
954
|
attr_accessor :addresses
|
@@ -1310,8 +1317,8 @@ module Google
|
|
1310
1317
|
# existence of a key. Boolean expressions (AND/OR/NOT) are supported up to 3
|
1311
1318
|
# levels of nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum
|
1312
1319
|
# of 100 comparisons or functions are allowed in the expression. The expression
|
1313
|
-
# must be <
|
1314
|
-
# "a\"" OR EMPTY(driving_license)) AND driving_years > 10`
|
1320
|
+
# must be < 10000 bytes in length. Sample Query: `(LOWER(driving_license)="class
|
1321
|
+
# \"a\"" OR EMPTY(driving_license)) AND driving_years > 10`
|
1315
1322
|
# Corresponds to the JSON property `customAttributeFilter`
|
1316
1323
|
# @return [String]
|
1317
1324
|
attr_accessor :custom_attribute_filter
|
@@ -1444,8 +1451,8 @@ module Google
|
|
1444
1451
|
|
1445
1452
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
1446
1453
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
1447
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
1448
|
-
# within normalized ranges.
|
1454
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
1455
|
+
# must be within normalized ranges.
|
1449
1456
|
class LatLng
|
1450
1457
|
include Google::Apis::Core::Hashable
|
1451
1458
|
|
@@ -1570,8 +1577,8 @@ module Google
|
|
1570
1577
|
|
1571
1578
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
1572
1579
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
1573
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
1574
|
-
# within normalized ranges.
|
1580
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
1581
|
+
# must be within normalized ranges.
|
1575
1582
|
# Corresponds to the JSON property `latLng`
|
1576
1583
|
# @return [Google::Apis::JobsV4::LatLng]
|
1577
1584
|
attr_accessor :lat_lng
|
@@ -1637,8 +1644,8 @@ module Google
|
|
1637
1644
|
|
1638
1645
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
1639
1646
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
1640
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
1641
|
-
# within normalized ranges.
|
1647
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
1648
|
+
# must be within normalized ranges.
|
1642
1649
|
# Corresponds to the JSON property `latLng`
|
1643
1650
|
# @return [Google::Apis::JobsV4::LatLng]
|
1644
1651
|
attr_accessor :lat_lng
|
@@ -2309,42 +2316,44 @@ module Google
|
|
2309
2316
|
# company_display_name: histogram by [Job.company_display_name. *
|
2310
2317
|
# employment_type: histogram by Job.employment_types, for example, "FULL_TIME", "
|
2311
2318
|
# PART_TIME". * company_size: histogram by CompanySize, for example, "SMALL", "
|
2312
|
-
# MEDIUM", "BIG". *
|
2313
|
-
# posting_publish_time in
|
2314
|
-
#
|
2315
|
-
# Must specify list of numeric buckets in spec. *
|
2316
|
-
# Job.
|
2317
|
-
#
|
2318
|
-
#
|
2319
|
-
#
|
2320
|
-
#
|
2321
|
-
#
|
2322
|
-
#
|
2323
|
-
#
|
2324
|
-
#
|
2325
|
-
# histogram by
|
2326
|
-
# example,
|
2327
|
-
#
|
2328
|
-
#
|
2329
|
-
#
|
2330
|
-
#
|
2331
|
-
#
|
2332
|
-
#
|
2333
|
-
#
|
2334
|
-
#
|
2335
|
-
# base
|
2336
|
-
#
|
2337
|
-
#
|
2338
|
-
#
|
2339
|
-
#
|
2340
|
-
#
|
2319
|
+
# MEDIUM", "BIG". * publish_time_in_day: histogram by the Job.
|
2320
|
+
# posting_publish_time in days. Must specify list of numeric buckets in spec. *
|
2321
|
+
# publish_time_in_month: histogram by the Job.posting_publish_time in months.
|
2322
|
+
# Must specify list of numeric buckets in spec. * publish_time_in_year:
|
2323
|
+
# histogram by the Job.posting_publish_time in years. Must specify list of
|
2324
|
+
# numeric buckets in spec. * degree_types: histogram by the Job.degree_types,
|
2325
|
+
# for example, "Bachelors", "Masters". * job_level: histogram by the Job.
|
2326
|
+
# job_level, for example, "Entry Level". * country: histogram by the country
|
2327
|
+
# code of jobs, for example, "US", "FR". * admin1: histogram by the admin1 code
|
2328
|
+
# of jobs, which is a global placeholder referring to the state, province, or
|
2329
|
+
# the particular term a country uses to define the geographic structure below
|
2330
|
+
# the country level, for example, "CA", "IL". * city: histogram by a combination
|
2331
|
+
# of the "city name, admin1 code". For example, "Mountain View, CA", "New York,
|
2332
|
+
# NY". * admin1_country: histogram by a combination of the "admin1 code, country"
|
2333
|
+
# , for example, "CA, US", "IL, US". * city_coordinate: histogram by the city
|
2334
|
+
# center's GPS coordinates (latitude and longitude), for example, 37.4038522,-
|
2335
|
+
# 122.0987765. Since the coordinates of a city center can change, customers may
|
2336
|
+
# need to refresh them periodically. * locale: histogram by the Job.
|
2337
|
+
# language_code, for example, "en-US", "fr-FR". * language: histogram by the
|
2338
|
+
# language subtag of the Job.language_code, for example, "en", "fr". * category:
|
2339
|
+
# histogram by the JobCategory, for example, "COMPUTER_AND_IT", "HEALTHCARE". *
|
2340
|
+
# base_compensation_unit: histogram by the CompensationInfo.CompensationUnit of
|
2341
|
+
# base salary, for example, "WEEKLY", "MONTHLY". * base_compensation: histogram
|
2342
|
+
# by the base salary. Must specify list of numeric buckets to group results by. *
|
2343
|
+
# annualized_base_compensation: histogram by the base annualized salary. Must
|
2344
|
+
# specify list of numeric buckets to group results by. *
|
2345
|
+
# annualized_total_compensation: histogram by the total annualized salary. Must
|
2346
|
+
# specify list of numeric buckets to group results by. * string_custom_attribute:
|
2347
|
+
# histogram by string Job.custom_attributes. Values can be accessed via square
|
2348
|
+
# bracket notations like string_custom_attribute["key1"]. *
|
2349
|
+
# numeric_custom_attribute: histogram by numeric Job.custom_attributes. Values
|
2341
2350
|
# can be accessed via square bracket notations like numeric_custom_attribute["
|
2342
2351
|
# key1"]. Must specify list of numeric buckets to group results by. Example
|
2343
2352
|
# expressions: * `count(admin1)` * `count(base_compensation, [bucket(1000, 10000)
|
2344
2353
|
# , bucket(10000, 100000), bucket(100000, MAX)])` * `count(
|
2345
2354
|
# string_custom_attribute["some-string-custom-attribute"])` * `count(
|
2346
2355
|
# numeric_custom_attribute["some-numeric-custom-attribute"], [bucket(MIN, 0, "
|
2347
|
-
# negative"), bucket(0, MAX, "non-negative"])`
|
2356
|
+
# negative"), bucket(0, MAX, "non-negative")])`
|
2348
2357
|
# Corresponds to the JSON property `histogramQueries`
|
2349
2358
|
# @return [Array<Google::Apis::JobsV4::HistogramQuery>]
|
2350
2359
|
attr_accessor :histogram_queries
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module JobsV4
|
18
18
|
# Version of the google-apis-jobs_v4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210611"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -50,6 +50,37 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
54
|
+
# to poll the operation result at intervals as recommended by the API service.
|
55
|
+
# @param [String] name
|
56
|
+
# The name of the operation resource.
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
59
|
+
# @param [String] quota_user
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
63
|
+
# Request-specific options
|
64
|
+
#
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
66
|
+
# @yieldparam result [Google::Apis::JobsV4::Operation] parsed result object
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
68
|
+
#
|
69
|
+
# @return [Google::Apis::JobsV4::Operation]
|
70
|
+
#
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
+
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:get, 'v4/{+name}', options)
|
76
|
+
command.response_representation = Google::Apis::JobsV4::Operation::Representation
|
77
|
+
command.response_class = Google::Apis::JobsV4::Operation
|
78
|
+
command.params['name'] = name unless name.nil?
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
53
84
|
# Completes the specified prefix with keyword suggestions. Intended for use by a
|
54
85
|
# job search auto-complete search box.
|
55
86
|
# @param [String] tenant
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-jobs_v4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Talent Solution API V4. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-jobs_v4/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-jobs_v4/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-jobs_v4/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-jobs_v4
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Talent Solution API V4
|