Cloud Translation V3 Client - Class UpdateGlossaryRequest (2.0.3)

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 \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ glossary
Glossary

Required. The glossary entry to update.

↳ update_mask
Google\Protobuf\FieldMask

The list of fields to be updated. Currently only display_name and 'input_config'

getGlossary

Required. The glossary entry to update.

Returns
Type
Description
Glossary |null

hasGlossary

clearGlossary

setGlossary

Required. The glossary entry to update.

Parameter
Name
Description
var
Returns
Type
Description
$this

getUpdateMask

The list of fields to be updated. Currently only display_name and 'input_config'

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated. Currently only display_name and 'input_config'

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
glossary
Glossary

Required. The glossary entry to update.

updateMask
Google\Protobuf\FieldMask

The list of fields to be updated. Currently only display_name and 'input_config'

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: