Google Cloud Talent Solution V4beta1 Client - Class CreateCompanyRequest (1.3.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

Namespace

Google \ Cloud \ Talent \ V4beta1

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCompany

Required. The company to be created.

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

hasCompany

clearCompany

setCompany

Required. The company to be created.

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