Google Cloud Talent Solution V4 Client - Class UpdateCompanyRequest (1.2.2)

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

Request for updating a specified company.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ company Google\Cloud\Talent\V4\Company

Required. The company resource to replace the current resource in the system.

↳ update_mask Google\Protobuf\FieldMask

Strongly recommended for the best service experience. If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

getCompany

Required. The company resource to replace the current resource in the system.

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

hasCompany

clearCompany

setCompany

Required. The company resource to replace the current resource in the system.

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

getUpdateMask

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated. A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
company Google\Cloud\Talent\V4\Company

Required. The company resource to replace the current resource in the system.

updateMask Google\Protobuf\FieldMask

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

Returns
TypeDescription
Google\Cloud\Talent\V4\UpdateCompanyRequest