Skip to content

Commit e613eee

Browse files
docs: marking keyword_searchable_job_custom_attributes on the company object as deprecated (#452)
- [ ] Regenerate this pull request now. --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780805 Source-Link: https://togithub.com/googleapis/googleapis/commit/dbfdaa98937785ae4027631592b0755ced7c4aac Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f72d409eabb57581b49d6b930fb5e684e1602258 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjcyZDQwOWVhYmI1NzU4MWI0OWQ2YjkzMGZiNWU2ODRlMTYwMjI1OCJ9 BEGIN_NESTED_COMMIT docs: marking keyword_searchable_job_custom_attributes on the company object as deprecated --- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780715 Source-Link: https://togithub.com/googleapis/googleapis/commit/737555f00997fb0e60336c452a6922c5cb8c060a Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/d4bac364a85a02e78b91d57ed0de17aaab1bc621 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDRiYWMzNjRhODVhMDJlNzhiOTFkNTdlZDBkZTE3YWFhYjFiYzYyMSJ9 END_NESTED_COMMIT
1 parent fffdb88 commit e613eee

File tree

11 files changed

+36
-24
lines changed

11 files changed

+36
-24
lines changed

packages/google-cloud-talent/protos/google/cloud/talent/v4/company.proto

+4-1
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ message Company {
9696
// A URI that hosts the employer's company logo.
9797
string image_uri = 10;
9898

99+
// This field is deprecated. Please set the searchability of the custom
100+
// attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
101+
//
99102
// A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
100103
// corresponding `string_values` are used in keyword searches. Jobs with
101104
// `string_values` under these specified field keys are returned if any
102105
// of the values match the search keyword. Custom field values with
103106
// parenthesis, brackets and special symbols are not searchable as-is,
104107
// and those keyword queries must be surrounded by quotes.
105-
repeated string keyword_searchable_job_custom_attributes = 11;
108+
repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];
106109

107110
// Output only. Derived details about the company.
108111
DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY];

packages/google-cloud-talent/protos/google/cloud/talent/v4/job_service.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ message SearchJobsRequest {
556556
// * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name].
557557
// * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example,
558558
// "FULL_TIME", "PART_TIME".
559-
// * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL",
560-
// "MEDIUM", "BIG".
559+
// * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example,
560+
// "SMALL", "MEDIUM", "BIG".
561561
// * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time]
562562
// in days.
563563
// Must specify list of numeric buckets in spec.

packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/company.proto

+4-1
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,16 @@ message Company {
100100
// A URI that hosts the employer's company logo.
101101
string image_uri = 10;
102102

103+
// This field is deprecated. Please set the searchability of the custom
104+
// attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward.
105+
//
103106
// A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose
104107
// corresponding `string_values` are used in keyword searches. Jobs with
105108
// `string_values` under these specified field keys are returned if any
106109
// of the values match the search keyword. Custom field values with
107110
// parenthesis, brackets and special symbols are not searchable as-is,
108111
// and those keyword queries must be surrounded by quotes.
109-
repeated string keyword_searchable_job_custom_attributes = 11;
112+
repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];
110113

111114
// Output only. Derived details about the company.
112115
DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY];

packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/job_service.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ message SearchJobsRequest {
611611
// * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name].
612612
// * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example,
613613
// "FULL_TIME", "PART_TIME".
614-
// * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL",
615-
// "MEDIUM", "BIG".
614+
// * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example,
615+
// "SMALL", "MEDIUM", "BIG".
616616
// * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time]
617617
// in days.
618618
// Must specify list of numeric buckets in spec.

packages/google-cloud-talent/protos/protos.json

+8-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ function main(parent, requestMetadata) {
8383
* * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4.Job.company_display_name.
8484
* * employment_type: histogram by Job.employment_types google.cloud.talent.v4.Job.employment_types, for example,
8585
* "FULL_TIME", "PART_TIME".
86-
* * company_size: histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, "SMALL",
87-
* "MEDIUM", "BIG".
86+
* * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4.CompanySize, for example,
87+
* "SMALL", "MEDIUM", "BIG".
8888
* * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4.Job.posting_publish_time
8989
* in days.
9090
* Must specify list of numeric buckets in spec.

packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs_for_alert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ function main(parent, requestMetadata) {
8383
* * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4.Job.company_display_name.
8484
* * employment_type: histogram by Job.employment_types google.cloud.talent.v4.Job.employment_types, for example,
8585
* "FULL_TIME", "PART_TIME".
86-
* * company_size: histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, "SMALL",
87-
* "MEDIUM", "BIG".
86+
* * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4.CompanySize, for example,
87+
* "SMALL", "MEDIUM", "BIG".
8888
* * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4.Job.posting_publish_time
8989
* in days.
9090
* Must specify list of numeric buckets in spec.

packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ function main(parent, requestMetadata) {
8888
* * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4beta1.Job.company_display_name.
8989
* * employment_type: histogram by Job.employment_types google.cloud.talent.v4beta1.Job.employment_types, for example,
9090
* "FULL_TIME", "PART_TIME".
91-
* * company_size: histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, "SMALL",
92-
* "MEDIUM", "BIG".
91+
* * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example,
92+
* "SMALL", "MEDIUM", "BIG".
9393
* * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4beta1.Job.posting_publish_time
9494
* in days.
9595
* Must specify list of numeric buckets in spec.

packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs_for_alert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ function main(parent, requestMetadata) {
8888
* * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4beta1.Job.company_display_name.
8989
* * employment_type: histogram by Job.employment_types google.cloud.talent.v4beta1.Job.employment_types, for example,
9090
* "FULL_TIME", "PART_TIME".
91-
* * company_size: histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, "SMALL",
92-
* "MEDIUM", "BIG".
91+
* * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example,
92+
* "SMALL", "MEDIUM", "BIG".
9393
* * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4beta1.Job.posting_publish_time
9494
* in days.
9595
* Must specify list of numeric buckets in spec.

packages/google-cloud-talent/src/v4/job_service_client.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -840,8 +840,8 @@ export class JobServiceClient {
840840
* * company_display_name: histogram by {@link google.cloud.talent.v4.Job.company_display_name|Job.company_display_name}.
841841
* * employment_type: histogram by {@link google.cloud.talent.v4.Job.employment_types|Job.employment_types}, for example,
842842
* "FULL_TIME", "PART_TIME".
843-
* * company_size: histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, "SMALL",
844-
* "MEDIUM", "BIG".
843+
* * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example,
844+
* "SMALL", "MEDIUM", "BIG".
845845
* * publish_time_in_day: histogram by the {@link google.cloud.talent.v4.Job.posting_publish_time|Job.posting_publish_time}
846846
* in days.
847847
* Must specify list of numeric buckets in spec.
@@ -1168,8 +1168,8 @@ export class JobServiceClient {
11681168
* * company_display_name: histogram by {@link google.cloud.talent.v4.Job.company_display_name|Job.company_display_name}.
11691169
* * employment_type: histogram by {@link google.cloud.talent.v4.Job.employment_types|Job.employment_types}, for example,
11701170
* "FULL_TIME", "PART_TIME".
1171-
* * company_size: histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, "SMALL",
1172-
* "MEDIUM", "BIG".
1171+
* * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example,
1172+
* "SMALL", "MEDIUM", "BIG".
11731173
* * publish_time_in_day: histogram by the {@link google.cloud.talent.v4.Job.posting_publish_time|Job.posting_publish_time}
11741174
* in days.
11751175
* Must specify list of numeric buckets in spec.

packages/google-cloud-talent/src/v4beta1/job_service_client.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -958,8 +958,8 @@ export class JobServiceClient {
958958
* * company_display_name: histogram by {@link google.cloud.talent.v4beta1.Job.company_display_name|Job.company_display_name}.
959959
* * employment_type: histogram by {@link google.cloud.talent.v4beta1.Job.employment_types|Job.employment_types}, for example,
960960
* "FULL_TIME", "PART_TIME".
961-
* * company_size: histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, "SMALL",
962-
* "MEDIUM", "BIG".
961+
* * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example,
962+
* "SMALL", "MEDIUM", "BIG".
963963
* * publish_time_in_day: histogram by the {@link google.cloud.talent.v4beta1.Job.posting_publish_time|Job.posting_publish_time}
964964
* in days.
965965
* Must specify list of numeric buckets in spec.
@@ -1290,8 +1290,8 @@ export class JobServiceClient {
12901290
* * company_display_name: histogram by {@link google.cloud.talent.v4beta1.Job.company_display_name|Job.company_display_name}.
12911291
* * employment_type: histogram by {@link google.cloud.talent.v4beta1.Job.employment_types|Job.employment_types}, for example,
12921292
* "FULL_TIME", "PART_TIME".
1293-
* * company_size: histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, "SMALL",
1294-
* "MEDIUM", "BIG".
1293+
* * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example,
1294+
* "SMALL", "MEDIUM", "BIG".
12951295
* * publish_time_in_day: histogram by the {@link google.cloud.talent.v4beta1.Job.posting_publish_time|Job.posting_publish_time}
12961296
* in days.
12971297
* Must specify list of numeric buckets in spec.

0 commit comments

Comments
 (0)