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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Talent\V4\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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getTenant

Required. The tenant to be created.

Returns
TypeDescription
Google\Cloud\Talent\V4\Tenant|null

hasTenant

clearTenant

setTenant

Required. The tenant to be created.

Parameter
NameDescription
var Google\Cloud\Talent\V4\Tenant
Returns
TypeDescription
$this