Cloud Translation V3 Client - Class CreateModelMetadata (2.0.3)

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

Metadata of create model operation.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ state
int

The current state of the operation.

↳ create_time
Google\Protobuf\Timestamp

The creation time of the operation.

↳ update_time
Google\Protobuf\Timestamp

The last update time of the operation.

↳ error
Google\Rpc\Status

Only populated when operation doesn't succeed.

The current state of the operation.

Returns
Type
Description
int
Enum of type OperationState .

The current state of the operation.

Parameter
Name
Description
var
int

Enum of type OperationState .

Returns
Type
Description
$this

The creation time of the operation.

Returns
Type
Description

The creation time of the operation.

Parameter
Name
Description
Returns
Type
Description
$this

The last update time of the operation.

Returns
Type
Description

The last update time of the operation.

Parameter
Name
Description
Returns
Type
Description
$this

Only populated when operation doesn't succeed.

Returns
Type
Description

Only populated when operation doesn't succeed.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: