# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::UpdateCompanyRequest (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::UpdateCompanyRequest.

Request for updating a specified company.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #company

    def company() -> ::Google::Cloud::Talent::V4::Company

**Returns**

- ([::Google::Cloud::Talent::V4::Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company)) --- Required. The company resource to replace the current resource in the system.

### #company=

    def company=(value) -> ::Google::Cloud::Talent::V4::Company

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company)) --- Required. The company resource to replace the current resource in the system.
**Returns**

- ([::Google::Cloud::Talent::V4::Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company)) --- Required. The company resource to replace the current resource in the system.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Protobuf-FieldMask)) --- Strongly recommended for the best service experience.


  If [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_update_mask_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask (method)")
  is provided, only the specified fields in
  [company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_company_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#company (method)") are updated.
  Otherwise all the fields are updated.

  A field mask to specify the company fields to be updated. Only
  top level fields of [Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company "Google::Cloud::Talent::V4::Company (class)") are
  supported.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Protobuf-FieldMask)) --- Strongly recommended for the best service experience.


  If [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_update_mask_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask (method)")
  is provided, only the specified fields in
  [company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_company_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#company (method)") are updated.
  Otherwise all the fields are updated.

  A field mask to specify the company fields to be updated. Only
  top level fields of [Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company "Google::Cloud::Talent::V4::Company (class)") are
  supported.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Protobuf-FieldMask)) --- Strongly recommended for the best service experience.


  If [update_mask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_update_mask_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask (method)")
  is provided, only the specified fields in
  [company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-UpdateCompanyRequest#Google__Cloud__Talent__V4__UpdateCompanyRequest_company_instance_ "Google::Cloud::Talent::V4::UpdateCompanyRequest#company (method)") are updated.
  Otherwise all the fields are updated.

  A field mask to specify the company fields to be updated. Only
  top level fields of [Company](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-Company "Google::Cloud::Talent::V4::Company (class)") are
  supported.