Cloud Translation V3 Client - Class DeleteGlossaryResponse (1.18.1)

Reference documentation and code samples for the Cloud Translation V3 Client class DeleteGlossaryResponse.

Stored in the google.longrunning.Operation.response field returned by DeleteGlossary.

Generated from protobuf message google.cloud.translation.v3.DeleteGlossaryResponse

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the deleted glossary.

↳ submit_time Google\Protobuf\Timestamp

The time when the operation was submitted to the server.

↳ end_time Google\Protobuf\Timestamp

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

getName

The name of the deleted glossary.

Returns
Type Description
string

setName

The name of the deleted glossary.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubmitTime

The time when the operation was submitted to the server.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasSubmitTime

clearSubmitTime

setSubmitTime

The time when the operation was submitted to the server.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The time when the glossary deletion is finished and google.longrunning.Operation.done is set to true.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this