Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
},
"methods": {
"CreateApplication": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"GetApplication": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"UpdateApplication": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"DeleteApplication": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"ListApplications": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
},
"methods": {
"CreateCompany": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"GetCompany": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"UpdateCompany": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"DeleteCompany": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"ListCompanies": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
Expand Down
6 changes: 3 additions & 3 deletions talent/google/cloud/talent_v4beta1/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,9 +527,9 @@ class State(enum.IntEnum):
successfully processed.
FAILED (int): The batch operation is done and no item has been successfully processed.
CANCELLING (int): The batch operation is in the process of cancelling after
[google.longrunning.Operation.CancelOperation] is called.
``google.longrunning.Operations.CancelOperation`` is called.
CANCELLED (int): The batch operation is done after
[google.longrunning.Operation.CancelOperation] is called. Any items
``google.longrunning.Operations.CancelOperation`` is called. Any items
processed before cancelling are returned in the response.
"""

Expand Down Expand Up @@ -980,7 +980,7 @@ class ProfileEventType(enum.IntEnum):

For a VIEW that happens as a result of seeing the profile in a CTS API
request's result set, the ``ClientEvent.request_id`` should be
populated. If the VIEW happens for some other reason, the [requestId]
populated. If the VIEW happens for some other reason, the ``request_id``
should not be populated.

This event requires a valid recruiter and one valid ID in profiles.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,42 @@
},
"methods": {
"CreateJob": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"GetJob": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"UpdateJob": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"DeleteJob": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"ListJobs": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"BatchDeleteJobs": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"SearchJobs": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"SearchJobsForAlert": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ def search_profiles(
case_sensitive_sort=None,
histogram_queries=None,
result_set_id=None,
strict_keywords_search=None,
retry=google.api_core.gapic_v1.method.DEFAULT,
timeout=google.api_core.gapic_v1.method.DEFAULT,
metadata=None,
Expand Down Expand Up @@ -878,11 +879,24 @@ def search_profiles(
If this field is set, the service will ignore the resource and
``profile_query`` values, and simply retrieve a page of results from the
corresponding result set. In this case, one and only one of
[page\_token] or [offset] must be set.
``page_token`` or ``offset`` must be set.

A typical use case is to invoke ``SearchProfilesRequest`` without this
field, then use the resulting ``result_set_id`` in
``SearchProfilesResponse`` to page through the results.
strict_keywords_search (bool): Optional. This flag is used to indicate whether the service will attempt to
understand synonyms and terms related to the search query or treat the
query "as is" when it generates a set of results. By default this flag is
set to false, thus allowing expanded results to also be returned. For
example a search for "software engineer" might also return candidates who
have experience in jobs similar to software engineer positions. By setting
this flag to true, the service will only attempt to deliver candidates has
software engineer in his/her global fields by treating "software engineer"
as a keyword.

It is recommended to provide a feature in the UI (such as a checkbox) to
allow recruiters to set this flag to true if they intend to search for
longer boolean strings.
retry (Optional[google.api_core.retry.Retry]): A retry object used
to retry requests. If ``None`` is specified, requests will not
be retried.
Expand Down Expand Up @@ -927,6 +941,7 @@ def search_profiles(
case_sensitive_sort=case_sensitive_sort,
histogram_queries=histogram_queries,
result_set_id=result_set_id,
strict_keywords_search=strict_keywords_search,
)
if metadata is None:
metadata = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@
},
"methods": {
"ListProfiles": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"CreateProfile": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"GetProfile": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"UpdateProfile": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"DeleteProfile": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"SearchProfiles": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
},
"methods": {
"CreateTenant": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"GetTenant": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"UpdateTenant": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default",
},
"DeleteTenant": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
"ListTenants": {
"timeout_millis": 30000,
"timeout_millis": 60000,
"retry_codes_name": "idempotent",
"retry_params_name": "default",
},
Expand Down
15 changes: 10 additions & 5 deletions talent/google/cloud/talent_v4beta1/proto/batch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ message BatchOperationMetadata {
FAILED = 4;

// The batch operation is in the process of cancelling after
// [google.longrunning.Operation.CancelOperation] is called.
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called.
CANCELLING = 5;

// The batch operation is done after
// [google.longrunning.Operation.CancelOperation] is called. Any items
// processed before cancelling are returned in the response.
// [google.longrunning.Operations.CancelOperation][google.longrunning.Operations.CancelOperation]
// is called. Any items processed before cancelling are returned in the
// response.
CANCELLED = 6;
}

Expand Down Expand Up @@ -92,8 +94,11 @@ message BatchOperationMetadata {

// Output only.
//
// The result of [BatchCreateJobs][] or [BatchUpdateJobs][] APIs. It's used to
// replace
// The result of
// [JobService.BatchCreateJobs][google.cloud.talent.v4beta1.JobService.BatchCreateJobs]
// or
// [JobService.BatchUpdateJobs][google.cloud.talent.v4beta1.JobService.BatchUpdateJobs]
// APIs. It's used to replace
// [google.longrunning.Operation.response][google.longrunning.Operation.response]
// in case of success.
message JobOperationResult {
Expand Down
7 changes: 5 additions & 2 deletions talent/google/cloud/talent_v4beta1/proto/batch_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion talent/google/cloud/talent_v4beta1/proto/company.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ message Company {
// example, "projects/api-test-project/companies/bar".
string name = 1;

// Required. The display name of the company, for example, "Google, LLC".
// Required. The display name of the company, for example, "Google LLC".
string display_name = 2;

// Required. Client side company identifier, used to uniquely identify the
Expand Down
2 changes: 1 addition & 1 deletion talent/google/cloud/talent_v4beta1/proto/company_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion talent/google/cloud/talent_v4beta1/proto/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@ message ProfileEvent {
// a CTS API request's result set, the
// [ClientEvent.request_id][google.cloud.talent.v4beta1.ClientEvent.request_id]
// should be populated. If the VIEW happens for some other reason, the
// [requestId] should not be populated.
// [request_id][google.cloud.talent.v4beta1.ClientEvent.request_id] should
// not be populated.
//
// This event requires a valid recruiter and one valid ID in profiles.
//
Expand Down
23 changes: 22 additions & 1 deletion talent/google/cloud/talent_v4beta1/proto/filters.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ message JobQuery {
// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
// nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
// comparisons or functions are allowed in the expression. The expression
// must be < 3000 bytes in length.
// must be < 6000 bytes in length.
//
// Sample Query:
// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
Expand Down Expand Up @@ -346,6 +346,14 @@ message ProfileQuery {
// indicate the candidate's potential qualification / interest / close ability
// for a specific job.
CandidateAvailabilityFilter candidate_availability_filter = 16;

// Optional. Person name filter specifies person name of profiles to match on.
//
// If multiple person name filters are specified, profiles that match any
// person name filters are retrieved.
//
// For example, search for profiles of candidates with name "John Smith".
repeated PersonNameFilter person_name_filters = 17;
}

// Input only.
Expand Down Expand Up @@ -738,3 +746,16 @@ message CandidateAvailabilityFilter {
// available profiles.
bool negated = 1;
}

// Input only.
//
// Filter on person name.
message PersonNameFilter {
// Required. The person name. For example, "John Smith".
//
// Can be any combination of [PersonName.structured_name.given_name][],
// [PersonName.structured_name.middle_initial][],
// [PersonName.structured_name.family_name][], and
// [PersonName.formatted_name][google.cloud.talent.v4beta1.PersonName.formatted_name].
string person_name = 1;
}
Loading