Google Cloud Ai Platform V1 Client - Class GenericOperationMetadata (0.22.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class GenericOperationMetadata.

Generic Metadata shared by all operations.

Generated from protobuf message google.cloud.aiplatform.v1.GenericOperationMetadata

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ partial_failures array<Google\Rpc\Status>

Output only. Partial failures encountered. E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard Google Cloud error details.

↳ create_time Google\Protobuf\Timestamp

Output only. Time when the operation was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Time when the operation was updated for the last time. If the operation has finished (successfully or not), this is the finish time.

getPartialFailures

Output only. Partial failures encountered.

E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard Google Cloud error details.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPartialFailures

Output only. Partial failures encountered.

E.g. single files that couldn't be read. This field should never exceed 20 entries. Status details field will contain standard Google Cloud error details.

Parameter
NameDescription
var array<Google\Rpc\Status>
Returns
TypeDescription
$this

getCreateTime

Output only. Time when the operation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Time when the operation was created.

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

getUpdateTime

Output only. Time when the operation was updated for the last time.

If the operation has finished (successfully or not), this is the finish time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Time when the operation was updated for the last time.

If the operation has finished (successfully or not), this is the finish time.

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