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

The Request of the CreateTenant method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Resource name of the project under which the tenant is created.

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

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Resource name of the project under which the tenant is created.


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

- (::String) --- Required. Resource name of the project under which the tenant is created.

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

### #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 to be created.

### #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 to be created.
**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 to be created.