Google Cloud Api Hub V1 Client - Class DependencyErrorDetail (0.2.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class DependencyErrorDetail.

Details describing error condition of a dependency.

Generated from protobuf message google.cloud.apihub.v1.DependencyErrorDetail

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ errorint

Optional. Error in the dependency.

↳ error_timeGoogle\Protobuf\Timestamp

Optional. Timestamp at which the error was found.

getError

Optional. Error in the dependency.

Returns
TypeDescription
int

setError

Optional. Error in the dependency.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getErrorTime

Optional. Timestamp at which the error was found.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasErrorTime

clearErrorTime

setErrorTime

Optional. Timestamp at which the error was found.

Parameter
NameDescription
varGoogle\Protobuf\Timestamp
Returns
TypeDescription
$this