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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ company 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
Type Description
Company|null

hasCompany

clearCompany

setCompany

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

Parameter
Name Description
var Company
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
company 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
Type Description
UpdateCompanyRequest