Cloud Translation V3 Client - Class DeleteGlossaryResponse (1.13.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

The name of the deleted glossary.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubmitTime

The time when the operation was submitted to the server.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasSubmitTime

clearSubmitTime

setSubmitTime

The time when the operation was submitted to the server.

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

getEndTime

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this