Google Cloud Talent Solution V4 Client - Class CreateCompanyRequest (1.3.3)

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

The Request of the CreateCompany method.

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

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 tenant under which the company is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

↳ company Google\Cloud\Talent\V4\Company

Required. The company to be created.

getParent

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

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

Returns
Type Description
string

setParent

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCompany

Required. The company to be created.

Returns
Type Description
Google\Cloud\Talent\V4\Company|null

hasCompany

clearCompany

setCompany

Required. The company to be created.

Parameter
Name Description
var Google\Cloud\Talent\V4\Company
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar". Please see Google\Cloud\Talent\V4\CompanyServiceClient::tenantName() for help formatting this field.

company Google\Cloud\Talent\V4\Company

Required. The company to be created.

Returns
Type Description
Google\Cloud\Talent\V4\CreateCompanyRequest