Skip to content

Commit dbfdaa9

Browse files
Google APIscopybara-github
authored andcommitted
docs: marking keyword_searchable_job_custom_attributes on the company object as deprecated
--- docs: marking company_size histogram facet as deprecated PiperOrigin-RevId: 486780805
1 parent 737555f commit dbfdaa9

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

google/cloud/talent/v4/company.proto

Lines changed: 4 additions & 1 deletion
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];

google/cloud/talent/v4/job_service.proto

Lines changed: 2 additions & 2 deletions
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.

0 commit comments

Comments
 (0)