Google Cloud Talent Solution V4 Client - Class UpdateTenantRequest (2.0.0-RC1)

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
Name Description
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
Type Description
Google\Cloud\Talent\V4\Tenant|null

hasTenant

clearTenant

setTenant

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

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

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\Talent\V4\UpdateTenantRequest