# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::Company (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.1 0.8.1 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::Company.

A Company resource represents a company in the service. A company is the
entity that owns job postings, that is, the hiring entity responsible for
employing applicants for the job position.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #career_site_uri

    def career_site_uri() -> ::String

**Returns**

- (::String) --- The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

### #career_site_uri=

    def career_site_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".
**Returns**

- (::String) --- The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

### #derived_info

    def derived_info() -> ::Google::Cloud::Talent::V4::Company::DerivedInfo

**Returns**

- ([::Google::Cloud::Talent::V4::Company::DerivedInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company-DerivedInfo)) --- Output only. Derived details about the company.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Required. The display name of the company, for example, "Google LLC".

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The display name of the company, for example, "Google LLC".
**Returns**

- (::String) --- Required. The display name of the company, for example, "Google LLC".

### #eeo_text

    def eeo_text() -> ::String

**Returns**

- (::String) --- Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

  The maximum number of allowed characters is 500.

### #eeo_text=

    def eeo_text=(value) -> ::String

**Parameter**

- **value** (::String) --- Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.


  The maximum number of allowed characters is 500.
**Returns**

- (::String) --- Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

  The maximum number of allowed characters is 500.

### #external_id

    def external_id() -> ::String

**Returns**

- (::String) --- Required. Client side company identifier, used to uniquely identify the company.

  The maximum number of allowed characters is 255.

### #external_id=

    def external_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Client side company identifier, used to uniquely identify the company.


  The maximum number of allowed characters is 255.
**Returns**

- (::String) --- Required. Client side company identifier, used to uniquely identify the company.

  The maximum number of allowed characters is 255.

### #headquarters_address

    def headquarters_address() -> ::String

**Returns**

- (::String) --- The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in [DerivedInfo.headquarters_location](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company-DerivedInfo#Google__Cloud__Talent__V4__Company__DerivedInfo_headquarters_location_instance_ "Google::Cloud::Talent::V4::Company::DerivedInfo#headquarters_location (method)").

### #headquarters_address=

    def headquarters_address=(value) -> ::String

**Parameter**

- **value** (::String) --- The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in [DerivedInfo.headquarters_location](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company-DerivedInfo#Google__Cloud__Talent__V4__Company__DerivedInfo_headquarters_location_instance_ "Google::Cloud::Talent::V4::Company::DerivedInfo#headquarters_location (method)").
**Returns**

- (::String) --- The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in [DerivedInfo.headquarters_location](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company-DerivedInfo#Google__Cloud__Talent__V4__Company__DerivedInfo_headquarters_location_instance_ "Google::Cloud::Talent::V4::Company::DerivedInfo#headquarters_location (method)").

### #hiring_agency

    def hiring_agency() -> ::Boolean

**Returns**

- (::Boolean) --- Set to true if it is the hiring agency that post jobs for other employers.

  Defaults to false if not provided.

### #hiring_agency=

    def hiring_agency=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Set to true if it is the hiring agency that post jobs for other employers.


  Defaults to false if not provided.
**Returns**

- (::Boolean) --- Set to true if it is the hiring agency that post jobs for other employers.

  Defaults to false if not provided.

### #image_uri

    def image_uri() -> ::String

**Returns**

- (::String) --- A URI that hosts the employer's company logo.

### #image_uri=

    def image_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- A URI that hosts the employer's company logo.
**Returns**

- (::String) --- A URI that hosts the employer's company logo.

### #keyword_searchable_job_custom_attributes

    def keyword_searchable_job_custom_attributes() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- This field is deprecated. Please set the searchability of the custom attribute in the [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)") going forward.


  A list of keys of filterable
  [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)"),
  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.

### #keyword_searchable_job_custom_attributes=

    def keyword_searchable_job_custom_attributes=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- This field is deprecated. Please set the searchability of the custom attribute in the [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)") going forward.


  A list of keys of filterable
  [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)"),
  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.
**Returns**

- (::Array\<::String\>) --- This field is deprecated. Please set the searchability of the custom attribute in the [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)") going forward.


  A list of keys of filterable
  [Job.custom_attributes](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Job#Google__Cloud__Talent__V4__Job_custom_attributes_instance_ "Google::Cloud::Talent::V4::Job#custom_attributes (method)"),
  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.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required during company update.

  The resource name for a company. This is generated by the service when a
  company is created.

  The format is
  "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
  example, "projects/foo/tenants/bar/companies/baz".

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required during company update.


  The resource name for a company. This is generated by the service when a
  company is created.

  The format is
  "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
  example, "projects/foo/tenants/bar/companies/baz".
**Returns**

- (::String) --- Required during company update.

  The resource name for a company. This is generated by the service when a
  company is created.

  The format is
  "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
  example, "projects/foo/tenants/bar/companies/baz".

### #size

    def size() -> ::Google::Cloud::Talent::V4::CompanySize

**Returns**

- ([::Google::Cloud::Talent::V4::CompanySize](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompanySize)) --- The employer's company size.

### #size=

    def size=(value) -> ::Google::Cloud::Talent::V4::CompanySize

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::CompanySize](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompanySize)) --- The employer's company size.
**Returns**

- ([::Google::Cloud::Talent::V4::CompanySize](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-CompanySize)) --- The employer's company size.

### #suspended

    def suspended() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.

### #website_uri

    def website_uri() -> ::String

**Returns**

- (::String) --- The URI representing the company's primary web site or home page, for example, "https://www.google.com".

  The maximum number of allowed characters is 255.

### #website_uri=

    def website_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI representing the company's primary web site or home page, for example, "https://www.google.com".


  The maximum number of allowed characters is 255.
**Returns**

- (::String) --- The URI representing the company's primary web site or home page, for example, "https://www.google.com".

  The maximum number of allowed characters is 255.