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

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

Request for updating a specified tenant.

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

Namespace

Google \ Cloud \ Talent \ V4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tenant Google\Cloud\Talent\V4\Tenant

Required. The tenant 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 tenant are updated. Otherwise all the fields are updated. A field mask to specify the tenant fields to be updated. Only top level fields of Tenant are supported.

getTenant

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

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

hasTenant

clearTenant

setTenant

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

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

getUpdateMask

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in tenant are updated. Otherwise all the fields are updated. A field mask to specify the tenant fields to be updated. Only top level fields of Tenant 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 tenant are updated. Otherwise all the fields are updated. A field mask to specify the tenant fields to be updated. Only top level fields of Tenant are supported.

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

static::build

Parameters
NameDescription
tenant Google\Cloud\Talent\V4\Tenant

Required. The tenant 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 tenant are updated. Otherwise all the fields are updated.

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

Returns
TypeDescription
Google\Cloud\Talent\V4\UpdateTenantRequest