Reference documentation and code samples for the Cloud Translation V3 Client class UpdateGlossaryRequest.
Request message for the update glossary flow
Generated from protobuf message google.cloud.translation.v3.UpdateGlossaryRequest
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ glossary |
Google\Cloud\Translate\V3\Glossary
Required. The glossary entry to update. |
↳ update_mask |
Google\Protobuf\FieldMask
The list of fields to be updated. Currently only |
getGlossary
Required. The glossary entry to update.
Returns | |
---|---|
Type | Description |
Google\Cloud\Translate\V3\Glossary|null |
hasGlossary
clearGlossary
setGlossary
Required. The glossary entry to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Translate\V3\Glossary
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
The list of fields to be updated. Currently only display_name
and
'input_config'
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
The list of fields to be updated. Currently only display_name
and
'input_config'
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
glossary |
Google\Cloud\Translate\V3\Glossary
Required. The glossary entry to update. |
updateMask |
Google\Protobuf\FieldMask
The list of fields to be updated. Currently only |
Returns | |
---|---|
Type | Description |
Google\Cloud\Translate\V3\UpdateGlossaryRequest |