Skip to content

Commit 737555f

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: 486780715
1 parent db1fc8a commit 737555f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

google/cloud/talent/v4beta1/company.proto

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

google/cloud/talent/v4beta1/job_service.proto

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

0 commit comments

Comments
 (0)