Google Cloud Talent Solution V4 Client - Class CreateTenantRequest (2.0.2)

Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CreateTenantRequest.

The Request of the CreateTenant method.

Generated from protobuf message google.cloud.talent.v4.CreateTenantRequest

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the project under which the tenant is created. The format is "projects/{project_id}", for example, "projects/foo".

↳ tenant Tenant

Required. The tenant to be created.

getParent

Required. Resource name of the project under which the tenant is created.

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

Returns
Type Description
string

setParent

Required. Resource name of the project under which the tenant is created.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getTenant

Required. The tenant to be created.

Returns
Type Description
Tenant|null

hasTenant

clearTenant

setTenant

Required. The tenant to be created.

Parameter
Name Description
var Tenant
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Resource name of the project under which the tenant is created.

The format is "projects/{project_id}", for example, "projects/foo". Please see TenantServiceClient::projectName() for help formatting this field.

tenant Tenant

Required. The tenant to be created.

Returns
Type Description
CreateTenantRequest