diff --git a/packages/google-cloud-talent/protos/google/cloud/talent/v4/company.proto b/packages/google-cloud-talent/protos/google/cloud/talent/v4/company.proto index 9845aa9683e..075e7bcfbb2 100644 --- a/packages/google-cloud-talent/protos/google/cloud/talent/v4/company.proto +++ b/packages/google-cloud-talent/protos/google/cloud/talent/v4/company.proto @@ -96,13 +96,16 @@ message Company { // A URI that hosts the employer's company logo. string image_uri = 10; + // This field is deprecated. Please set the searchability of the custom + // attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward. + // // A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose // corresponding `string_values` are used in keyword searches. Jobs with // `string_values` under these specified field keys are returned if any // of the values match the search keyword. Custom field values with // parenthesis, brackets and special symbols are not searchable as-is, // and those keyword queries must be surrounded by quotes. - repeated string keyword_searchable_job_custom_attributes = 11; + repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; // Output only. Derived details about the company. DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/packages/google-cloud-talent/protos/google/cloud/talent/v4/job_service.proto b/packages/google-cloud-talent/protos/google/cloud/talent/v4/job_service.proto index b17751dcb37..3e93164c9f8 100644 --- a/packages/google-cloud-talent/protos/google/cloud/talent/v4/job_service.proto +++ b/packages/google-cloud-talent/protos/google/cloud/talent/v4/job_service.proto @@ -556,8 +556,8 @@ message SearchJobsRequest { // * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4.Job.company_display_name]. // * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4.Job.employment_types], for example, // "FULL_TIME", "PART_TIME". - // * company_size: histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, "SMALL", - // "MEDIUM", "BIG". + // * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4.CompanySize], for example, + // "SMALL", "MEDIUM", "BIG". // * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4.Job.posting_publish_time] // in days. // Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/company.proto b/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/company.proto index e04f0133452..7c1e2ea56df 100644 --- a/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/company.proto +++ b/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/company.proto @@ -100,13 +100,16 @@ message Company { // A URI that hosts the employer's company logo. string image_uri = 10; + // This field is deprecated. Please set the searchability of the custom + // attribute in the [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes] going forward. + // // A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4beta1.Job.custom_attributes], whose // corresponding `string_values` are used in keyword searches. Jobs with // `string_values` under these specified field keys are returned if any // of the values match the search keyword. Custom field values with // parenthesis, brackets and special symbols are not searchable as-is, // and those keyword queries must be surrounded by quotes. - repeated string keyword_searchable_job_custom_attributes = 11; + repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true]; // Output only. Derived details about the company. DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/job_service.proto b/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/job_service.proto index c8e420d609c..87dc47d91f5 100644 --- a/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/job_service.proto +++ b/packages/google-cloud-talent/protos/google/cloud/talent/v4beta1/job_service.proto @@ -611,8 +611,8 @@ message SearchJobsRequest { // * company_display_name: histogram by [Job.company_display_name][google.cloud.talent.v4beta1.Job.company_display_name]. // * employment_type: histogram by [Job.employment_types][google.cloud.talent.v4beta1.Job.employment_types], for example, // "FULL_TIME", "PART_TIME". - // * company_size: histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, "SMALL", - // "MEDIUM", "BIG". + // * company_size (DEPRECATED): histogram by [CompanySize][google.cloud.talent.v4beta1.CompanySize], for example, + // "SMALL", "MEDIUM", "BIG". // * publish_time_in_day: histogram by the [Job.posting_publish_time][google.cloud.talent.v4beta1.Job.posting_publish_time] // in days. // Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/protos/protos.json b/packages/google-cloud-talent/protos/protos.json index 7232fa38e3c..7ad045b1b31 100644 --- a/packages/google-cloud-talent/protos/protos.json +++ b/packages/google-cloud-talent/protos/protos.json @@ -498,7 +498,10 @@ "keywordSearchableJobCustomAttributes": { "rule": "repeated", "type": "string", - "id": 11 + "id": 11, + "options": { + "deprecated": true + } }, "derivedInfo": { "type": "DerivedInfo", @@ -2749,7 +2752,10 @@ "keywordSearchableJobCustomAttributes": { "rule": "repeated", "type": "string", - "id": 11 + "id": 11, + "options": { + "deprecated": true + } }, "derivedInfo": { "type": "DerivedInfo", diff --git a/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs.js b/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs.js index 41db5b6febb..0c33fbf1f50 100644 --- a/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs.js +++ b/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs.js @@ -83,8 +83,8 @@ function main(parent, requestMetadata) { * * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4.Job.company_display_name. * * employment_type: histogram by Job.employment_types google.cloud.talent.v4.Job.employment_types, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4.Job.posting_publish_time * in days. * Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs_for_alert.js b/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs_for_alert.js index 346845ffdb0..035b48d0691 100644 --- a/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs_for_alert.js +++ b/packages/google-cloud-talent/samples/generated/v4/job_service.search_jobs_for_alert.js @@ -83,8 +83,8 @@ function main(parent, requestMetadata) { * * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4.Job.company_display_name. * * employment_type: histogram by Job.employment_types google.cloud.talent.v4.Job.employment_types, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4.CompanySize, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4.Job.posting_publish_time * in days. * Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs.js b/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs.js index 7bda4c5f1b2..40408d5be23 100644 --- a/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs.js +++ b/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs.js @@ -88,8 +88,8 @@ function main(parent, requestMetadata) { * * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4beta1.Job.company_display_name. * * employment_type: histogram by Job.employment_types google.cloud.talent.v4beta1.Job.employment_types, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4beta1.Job.posting_publish_time * in days. * Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs_for_alert.js b/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs_for_alert.js index 93f51f24748..7b6a43cf041 100644 --- a/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs_for_alert.js +++ b/packages/google-cloud-talent/samples/generated/v4beta1/job_service.search_jobs_for_alert.js @@ -88,8 +88,8 @@ function main(parent, requestMetadata) { * * company_display_name: histogram by Job.company_display_name google.cloud.talent.v4beta1.Job.company_display_name. * * employment_type: histogram by Job.employment_types google.cloud.talent.v4beta1.Job.employment_types, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by CompanySize google.cloud.talent.v4beta1.CompanySize, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the Job.posting_publish_time google.cloud.talent.v4beta1.Job.posting_publish_time * in days. * Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/src/v4/job_service_client.ts b/packages/google-cloud-talent/src/v4/job_service_client.ts index a0929fb1348..e57e541435a 100644 --- a/packages/google-cloud-talent/src/v4/job_service_client.ts +++ b/packages/google-cloud-talent/src/v4/job_service_client.ts @@ -840,8 +840,8 @@ export class JobServiceClient { * * company_display_name: histogram by {@link google.cloud.talent.v4.Job.company_display_name|Job.company_display_name}. * * employment_type: histogram by {@link google.cloud.talent.v4.Job.employment_types|Job.employment_types}, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the {@link google.cloud.talent.v4.Job.posting_publish_time|Job.posting_publish_time} * in days. * Must specify list of numeric buckets in spec. @@ -1168,8 +1168,8 @@ export class JobServiceClient { * * company_display_name: histogram by {@link google.cloud.talent.v4.Job.company_display_name|Job.company_display_name}. * * employment_type: histogram by {@link google.cloud.talent.v4.Job.employment_types|Job.employment_types}, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4.CompanySize|CompanySize}, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the {@link google.cloud.talent.v4.Job.posting_publish_time|Job.posting_publish_time} * in days. * Must specify list of numeric buckets in spec. diff --git a/packages/google-cloud-talent/src/v4beta1/job_service_client.ts b/packages/google-cloud-talent/src/v4beta1/job_service_client.ts index 21aa4b43d4f..0e59269730b 100644 --- a/packages/google-cloud-talent/src/v4beta1/job_service_client.ts +++ b/packages/google-cloud-talent/src/v4beta1/job_service_client.ts @@ -958,8 +958,8 @@ export class JobServiceClient { * * company_display_name: histogram by {@link google.cloud.talent.v4beta1.Job.company_display_name|Job.company_display_name}. * * employment_type: histogram by {@link google.cloud.talent.v4beta1.Job.employment_types|Job.employment_types}, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the {@link google.cloud.talent.v4beta1.Job.posting_publish_time|Job.posting_publish_time} * in days. * Must specify list of numeric buckets in spec. @@ -1290,8 +1290,8 @@ export class JobServiceClient { * * company_display_name: histogram by {@link google.cloud.talent.v4beta1.Job.company_display_name|Job.company_display_name}. * * employment_type: histogram by {@link google.cloud.talent.v4beta1.Job.employment_types|Job.employment_types}, for example, * "FULL_TIME", "PART_TIME". - * * company_size: histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, "SMALL", - * "MEDIUM", "BIG". + * * company_size (DEPRECATED): histogram by {@link google.cloud.talent.v4beta1.CompanySize|CompanySize}, for example, + * "SMALL", "MEDIUM", "BIG". * * publish_time_in_day: histogram by the {@link google.cloud.talent.v4beta1.Job.posting_publish_time|Job.posting_publish_time} * in days. * Must specify list of numeric buckets in spec.