Reference documentation and code samples for the Cloud Translation V3 Client class CreateDatasetMetadata.
Metadata of create dataset operation.
Generated from protobuf message google.cloud.translation.v3.CreateDatasetMetadata
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
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. |
getState
The current state of the operation.
Returns | |
---|---|
Type | Description |
int |
setState
The current state of the operation.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
The creation time of the operation.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
The creation time of the operation.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
The last update time of the operation.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
The last update time of the operation.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getError
Only populated when operation doesn't succeed.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasError
clearError
setError
Only populated when operation doesn't succeed.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\Status
|
Returns | |
---|---|
Type | Description |
$this |