Google Cloud Redis V1 Client - Class OperationMetadata (1.6.12)

Reference documentation and code samples for the Google Cloud Redis V1 Client class OperationMetadata.

Represents the v1 metadata of the long-running operation.

Generated from protobuf message google.cloud.redis.v1.OperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Creation timestamp.

↳ end_time Google\Protobuf\Timestamp

End timestamp.

↳ target string

Operation target.

↳ verb string

Operation verb.

↳ status_detail string

Operation status details.

↳ cancel_requested bool

Specifies if cancellation was requested for the operation.

↳ api_version string

API version.

getCreateTime

Creation timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Creation timestamp.

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

getEndTime

End timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End timestamp.

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

getTarget

Operation target.

Returns
TypeDescription
string

setTarget

Operation target.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVerb

Operation verb.

Returns
TypeDescription
string

setVerb

Operation verb.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatusDetail

Operation status details.

Returns
TypeDescription
string

setStatusDetail

Operation status details.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCancelRequested

Specifies if cancellation was requested for the operation.

Returns
TypeDescription
bool

setCancelRequested

Specifies if cancellation was requested for the operation.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getApiVersion

API version.

Returns
TypeDescription
string

setApiVersion

API version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this