Google Cloud Talent Solution V4beta1 Client - Class CreateCompanyRequest (1.0.5)

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

The Request of the CreateCompany method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo".

↳ company Google\Cloud\Talent\V4beta1\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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo".

Returns
TypeDescription
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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCompany

Required. The company to be created.

Returns
TypeDescription
Google\Cloud\Talent\V4beta1\Company|null

hasCompany

clearCompany

setCompany

Required. The company to be created.

Parameter
NameDescription
var Google\Cloud\Talent\V4beta1\Company
Returns
TypeDescription
$this