# Cloud Talent Solution V4beta1 API - Class Google::Cloud::Talent::V4beta1::UpdateTenantRequest (v0.19.0)

0.19.0 (latest) 0.18.1 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.0 0.4.6 Reference documentation and code samples for the Cloud Talent Solution V4beta1 API class Google::Cloud::Talent::V4beta1::UpdateTenantRequest.

Request for updating a specified tenant.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #tenant

    def tenant() -> ::Google::Cloud::Talent::V4beta1::Tenant

**Returns**

- ([::Google::Cloud::Talent::V4beta1::Tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Tenant)) --- Required. The tenant resource to replace the current resource in the system.

### #tenant=

    def tenant=(value) -> ::Google::Cloud::Talent::V4beta1::Tenant

**Parameter**

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

- ([::Google::Cloud::Talent::V4beta1::Tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Tenant)) --- Required. The tenant 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-v4beta1/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-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_update_mask_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask (method)")
  is provided, only the specified fields in
  [tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_tenant_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant (method)") are
  updated. Otherwise all the fields are updated.

  A field mask to specify the tenant fields to be updated. Only
  top level fields of [Tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-Tenant "Google::Cloud::Talent::V4beta1::Tenant (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-v4beta1/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-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_update_mask_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask (method)")
  is provided, only the specified fields in
  [tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_tenant_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant (method)") are
  updated. Otherwise all the fields are updated.

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

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/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-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_update_mask_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask (method)")
  is provided, only the specified fields in
  [tenant](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest/Google-Cloud-Talent-V4beta1-UpdateTenantRequest#Google__Cloud__Talent__V4beta1__UpdateTenantRequest_tenant_instance_ "Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant (method)") are
  updated. Otherwise all the fields are updated.

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