company.proto 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.cloud.talent.v4;
  16. import "google/api/field_behavior.proto";
  17. import "google/api/resource.proto";
  18. import "google/cloud/talent/v4/common.proto";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/talent/v4;talent";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "CompanyProto";
  22. option java_package = "com.google.cloud.talent.v4";
  23. option objc_class_prefix = "CTS";
  24. // A Company resource represents a company in the service. A company is the
  25. // entity that owns job postings, that is, the hiring entity responsible for
  26. // employing applicants for the job position.
  27. message Company {
  28. option (google.api.resource) = {
  29. type: "jobs.googleapis.com/Company"
  30. pattern: "projects/{project}/tenants/{tenant}/companies/{company}"
  31. };
  32. // Derived details about the company.
  33. message DerivedInfo {
  34. // A structured headquarters location of the company, resolved from
  35. // [Company.headquarters_address][google.cloud.talent.v4.Company.headquarters_address] if provided.
  36. Location headquarters_location = 1;
  37. }
  38. // Required during company update.
  39. //
  40. // The resource name for a company. This is generated by the service when a
  41. // company is created.
  42. //
  43. // The format is
  44. // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
  45. // example, "projects/foo/tenants/bar/companies/baz".
  46. string name = 1;
  47. // Required. The display name of the company, for example, "Google LLC".
  48. string display_name = 2 [(google.api.field_behavior) = REQUIRED];
  49. // Required. Client side company identifier, used to uniquely identify the
  50. // company.
  51. //
  52. // The maximum number of allowed characters is 255.
  53. string external_id = 3 [(google.api.field_behavior) = REQUIRED];
  54. // The employer's company size.
  55. CompanySize size = 4;
  56. // The street address of the company's main headquarters, which may be
  57. // different from the job location. The service attempts
  58. // to geolocate the provided address, and populates a more specific
  59. // location wherever possible in [DerivedInfo.headquarters_location][google.cloud.talent.v4.Company.DerivedInfo.headquarters_location].
  60. string headquarters_address = 5;
  61. // Set to true if it is the hiring agency that post jobs for other
  62. // employers.
  63. //
  64. // Defaults to false if not provided.
  65. bool hiring_agency = 6;
  66. // Equal Employment Opportunity legal disclaimer text to be
  67. // associated with all jobs, and typically to be displayed in all
  68. // roles.
  69. //
  70. // The maximum number of allowed characters is 500.
  71. string eeo_text = 7;
  72. // The URI representing the company's primary web site or home page,
  73. // for example, "https://www.google.com".
  74. //
  75. // The maximum number of allowed characters is 255.
  76. string website_uri = 8;
  77. // The URI to employer's career site or careers page on the employer's web
  78. // site, for example, "https://careers.google.com".
  79. string career_site_uri = 9;
  80. // A URI that hosts the employer's company logo.
  81. string image_uri = 10;
  82. // This field is deprecated. Please set the searchability of the custom
  83. // attribute in the [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes] going forward.
  84. //
  85. // A list of keys of filterable [Job.custom_attributes][google.cloud.talent.v4.Job.custom_attributes], whose
  86. // corresponding `string_values` are used in keyword searches. Jobs with
  87. // `string_values` under these specified field keys are returned if any
  88. // of the values match the search keyword. Custom field values with
  89. // parenthesis, brackets and special symbols are not searchable as-is,
  90. // and those keyword queries must be surrounded by quotes.
  91. repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];
  92. // Output only. Derived details about the company.
  93. DerivedInfo derived_info = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
  94. // Output only. Indicates whether a company is flagged to be suspended from
  95. // public availability by the service when job content appears suspicious,
  96. // abusive, or spammy.
  97. bool suspended = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
  98. }