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

A Tenant resource represents a tenant in the service. A tenant is a group or
entity that shares common access with specific privileges for resources like
jobs. Customer may create multiple tenants to provide data isolation for
different groups.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #external_id

    def external_id() -> ::String

**Returns**

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

  The maximum number of allowed characters is 255.

### #external_id=

    def external_id=(value) -> ::String

**Parameter**

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


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

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

  The maximum number of allowed characters is 255.

### #name

    def name() -> ::String

**Returns**

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

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

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

### #name=

    def name=(value) -> ::String

**Parameter**

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


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

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

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

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

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