Skip to content

Commit 93f2a1c

Browse files
yoshi-automationtseaver
authored andcommitted
Add 'batch_create_jobs' and 'batch_update_jobs' (via synth). (googleapis#8189)
1 parent c81ef6f commit 93f2a1c

35 files changed

Lines changed: 2483 additions & 793 deletions

talent/google/cloud/talent_v4beta1/gapic/enums.py

Lines changed: 39 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -336,18 +336,17 @@ class JobLevel(enum.IntEnum):
336336
class JobView(enum.IntEnum):
337337
"""
338338
An enum that specifies the job attributes that are returned in the
339-
``MatchingJob.Job`` in ``SearchJobsResponse`` or ``Job`` objects in
340-
``ListJobsResponse``.
339+
``MatchingJob.job`` or ``ListJobsResponse.jobs`` fields.
341340
342341
Attributes:
343342
JOB_VIEW_UNSPECIFIED (int): Default value.
344343
JOB_VIEW_ID_ONLY (int): A ID only view of job, with following attributes: ``Job.name``,
345344
``Job.requisition_id``, ``Job.language_code``.
346345
JOB_VIEW_MINIMAL (int): A minimal view of the job, with the following attributes: ``Job.name``,
347-
``Job.requisition_id``, ``Job.job_title``, ``Job.company``,
346+
``Job.requisition_id``, ``Job.title``, ``Job.company``,
348347
``Job.DerivedInfo.locations``, ``Job.language_code``.
349348
JOB_VIEW_SMALL (int): A small view of the job, with the following attributes in the search
350-
results: ``Job.name``, ``Job.requisition_id``, ``Job.job_title``,
349+
results: ``Job.name``, ``Job.requisition_id``, ``Job.title``,
351350
``Job.company``, ``Job.DerivedInfo.locations``, ``Job.visibility``,
352351
``Job.language_code``, ``Job.description``.
353352
JOB_VIEW_FULL (int): All available attributes are included in the search results.
@@ -406,9 +405,9 @@ class PostingRegion(enum.IntEnum):
406405
``LocationFilter`` in search query is in the same country as this job.
407406
For example, if a ``NATION_WIDE`` job is posted in "USA", it's returned
408407
if ``LocationFilter`` has 'Mountain View'.
409-
TELECOMMUTE (int): Job allows employees to work remotely (telecommute). If ``locations``
410-
are provided with this value, the job is considered as having a
411-
location, but telecommuting is allowed.
408+
TELECOMMUTE (int): Job allows employees to work remotely (telecommute).
409+
If locations are provided with this value, the job is
410+
considered as having a location, but telecommuting is allowed.
412411
"""
413412

414413
POSTING_REGION_UNSPECIFIED = 0
@@ -423,6 +422,7 @@ class SkillProficiencyLevel(enum.IntEnum):
423422
424423
Attributes:
425424
SKILL_PROFICIENCY_LEVEL_UNSPECIFIED (int): Default value.
425+
UNSKILLED (int): Lacks any proficiency in this skill.
426426
FUNDAMENTAL_AWARENESS (int): Have a common knowledge or an understanding of basic techniques and
427427
concepts.
428428
NOVICE (int): Have the level of experience gained in a classroom and/or experimental
@@ -435,6 +435,7 @@ class SkillProficiencyLevel(enum.IntEnum):
435435
"""
436436

437437
SKILL_PROFICIENCY_LEVEL_UNSPECIFIED = 0
438+
UNSKILLED = 6
438439
FUNDAMENTAL_AWARENESS = 1
439440
NOVICE = 2
440441
INTERMEDIATE = 3
@@ -515,6 +516,32 @@ class ApplicationState(enum.IntEnum):
515516
CLOSED = 5
516517

517518

519+
class BatchOperationMetadata(object):
520+
class State(enum.IntEnum):
521+
"""
522+
Attributes:
523+
STATE_UNSPECIFIED (int): Default value.
524+
INITIALIZING (int): The batch operation is being prepared for processing.
525+
PROCESSING (int): The batch operation is actively being processed.
526+
SUCCEEDED (int): The batch operation is processed, and at least one item has been
527+
successfully processed.
528+
FAILED (int): The batch operation is done and no item has been successfully processed.
529+
CANCELLING (int): The batch operation is in the process of cancelling after
530+
[google.longrunning.Operation.CancelOperation] is called.
531+
CANCELLED (int): The batch operation is done after
532+
[google.longrunning.Operation.CancelOperation] is called. Any items
533+
processed before cancelling are returned in the response.
534+
"""
535+
536+
STATE_UNSPECIFIED = 0
537+
INITIALIZING = 1
538+
PROCESSING = 2
539+
SUCCEEDED = 3
540+
FAILED = 4
541+
CANCELLING = 5
542+
CANCELLED = 6
543+
544+
518545
class CommuteFilter(object):
519546
class RoadTraffic(enum.IntEnum):
520547
"""
@@ -547,8 +574,8 @@ class FilterType(enum.IntEnum):
547574
compensation entry.
548575
UNIT_AND_AMOUNT (int): Filter by ``base compensation entry's`` unit and amount / range. A job
549576
is a match if and only if the job contains a base CompensationEntry, and
550-
the base entry's unit matches provided ``compensation_units`` and amount
551-
or range overlaps with provided ``compensation_range``.
577+
the base entry's unit matches provided ``CompensationUnit`` and amount
578+
or range overlaps with provided ``CompensationRange``.
552579
553580
See ``CompensationInfo.CompensationEntry`` for definition of base
554581
compensation entry.
@@ -783,8 +810,6 @@ class JobEventType(enum.IntEnum):
783810
event should only be sent if the job seeker was granted an interview as
784811
part of an application that was initiated by a search conducted through /
785812
recommendation provided by the Cloud Talent Solution service.
786-
NOT_INTERESTED (int): The job seeker or other entity interacting with the service showed
787-
no interest in the job.
788813
"""
789814

790815
JOB_EVENT_TYPE_UNSPECIFIED = 0
@@ -803,7 +828,6 @@ class JobEventType(enum.IntEnum):
803828
HIRED = 13
804829
SENT_CV = 14
805830
INTERVIEW_GRANTED = 15
806-
NOT_INTERESTED = 16
807831

808832

809833
class Location(object):
@@ -874,9 +898,9 @@ class PhoneType(enum.IntEnum):
874898
VIRTUAL (int): A virtual telephone number is a number that can be routed to another
875899
number and managed by the user via Web, SMS, IVR, and so on. It is
876900
associated with a particular person, and may be routed to either a
877-
MOBILE or LANDLINE number. The phone usage (see ContactInfoUsage above)
878-
should be set to PERSONAL for these phone types. Some more information
879-
can be found here: http://en.wikipedia.org/wiki/Personal\_Numbers
901+
MOBILE or LANDLINE number. The ``phone usage`` should be set to PERSONAL
902+
for these phone types. Some more information can be found here:
903+
http://en.wikipedia.org/wiki/Personal\_Numbers
880904
VOIP (int): Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
881905
MOBILE_OR_LANDLINE (int): In some regions (e.g. the USA), it is impossible to distinguish between
882906
fixed-line and mobile numbers by looking at the phone number itself.

0 commit comments

Comments
 (0)