Cloud Speech V2 Client - Class UpdateConfigRequest (2.0.0)

Reference documentation and code samples for the Cloud Speech V2 Client class UpdateConfigRequest.

Request message for the UpdateConfig method.

Generated from protobuf message google.cloud.speech.v2.UpdateConfigRequest

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ configConfig

Required. The config to update. The config's name field is used to identify the config to be updated. The expected format is projects/{project}/locations/{location}/config.

↳ update_maskGoogle\Protobuf\FieldMask

The list of fields to be updated.

getConfig

Required. The config to update.

The config's name field is used to identify the config to be updated. The expected format is projects/{project}/locations/{location}/config.

Returns
TypeDescription
Config|null

hasConfig

clearConfig

setConfig

Required. The config to update.

The config's name field is used to identify the config to be updated. The expected format is projects/{project}/locations/{location}/config.

Parameter
NameDescription
varConfig
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
NameDescription
varGoogle\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
configConfig

Required. The config to update.

The config's name field is used to identify the config to be updated. The expected format is projects/{project}/locations/{location}/config.

updateMaskGoogle\Protobuf\FieldMask

The list of fields to be updated.

Returns
TypeDescription
UpdateConfigRequest