1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.talent.v4; 18 19import "google/api/field_behavior.proto"; 20import "google/api/resource.proto"; 21import "google/cloud/talent/v4/common.proto"; 22 23option go_package = "cloud.google.com/go/talent/apiv4/talentpb;talentpb"; 24option java_multiple_files = true; 25option java_outer_classname = "CompanyProto"; 26option java_package = "com.google.cloud.talent.v4"; 27option objc_class_prefix = "CTS"; 28 29// A Company resource represents a company in the service. A company is the 30// entity that owns job postings, that is, the hiring entity responsible for 31// employing applicants for the job position. 32message Company { 33 option (google.api.resource) = { 34 type: "jobs.googleapis.com/Company" 35 pattern: "projects/{project}/tenants/{tenant}/companies/{company}" 36 }; 37 38 // Derived details about the company. 39 message DerivedInfo { 40 // A structured headquarters location of the company, resolved from 41 // [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] 42 // if provided. 43 Location headquarters_location = 1; 44 } 45 46 // Required during company update. 47 // 48 // The resource name for a company. This is generated by the service when a 49 // company is created. 50 // 51 // The format is 52 // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for 53 // example, "projects/foo/tenants/bar/companies/baz". 54 string name = 1; 55 56 // Required. The display name of the company, for example, "Google LLC". 57 string display_name = 2 [(google.api.field_behavior) = REQUIRED]; 58 59 // Required. Client side company identifier, used to uniquely identify the 60 // company. 61 // 62 // The maximum number of allowed characters is 255. 63 string external_id = 3 [(google.api.field_behavior) = REQUIRED]; 64 65 // The employer's company size. 66 CompanySize size = 4; 67 68 // The street address of the company's main headquarters, which may be 69 // different from the job location. The service attempts 70 // to geolocate the provided address, and populates a more specific 71 // location wherever possible in 72 // [DerivedInfo.headquarters_location][google.cloud.talent.v4.Company.DerivedInfo.headquarters_location]. 73 string headquarters_address = 5; 74 75 // Set to true if it is the hiring agency that post jobs for other 76 // employers. 77 // 78 // Defaults to false if not provided. 79 bool hiring_agency = 6; 80 81 // Equal Employment Opportunity legal disclaimer text to be 82 // associated with all jobs, and typically to be displayed in all 83 // roles. 84 // 85 // The maximum number of allowed characters is 500. 86 string eeo_text = 7; 87 88 // The URI representing the company's primary web site or home page, 89 // for example, "https://www.google.com". 90 // 91 // The maximum number of allowed characters is 255. 92 string website_uri = 8; 93 94 // The URI to employer's career site or careers page on the employer's web 95 // site, for example, "https://careers.google.com". 96 string career_site_uri = 9; 97 98 // A URI that hosts the employer's company logo. 99 string image_uri = 10; 100 101 // This field is deprecated. Please set the searchability of the custom 102 // attribute in the 103 // [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going 104 // forward. 105 // 106 // A list of keys of filterable 107 // [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], 108 // whose corresponding `string_values` are used in keyword searches. Jobs with 109 // `string_values` under these specified field keys are returned if any 110 // of the values match the search keyword. Custom field values with 111 // parenthesis, brackets and special symbols are not searchable as-is, 112 // and those keyword queries must be surrounded by quotes. 113 repeated string keyword_searchable_job_custom_attributes = 11 114 [deprecated = true]; 115 116 // Output only. Derived details about the company. 117 DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; 118 119 // Output only. Indicates whether a company is flagged to be suspended from 120 // public availability by the service when job content appears suspicious, 121 // abusive, or spammy. 122 bool suspended = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; 123} 124