Cloud Speech V2 Client - Class UpdateConfigRequest (1.8.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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ config Google\Cloud\Speech\V2\Config

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_mask Google\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.

Generated from protobuf field .google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\Speech\V2\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.

Generated from protobuf field .google.cloud.speech.v2.Config config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\Speech\V2\Config
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

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