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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ error |
int
Optional. Error in the dependency. |
↳ error_time |
Google\Protobuf\Timestamp
Optional. Timestamp at which the error was found. |
getError
Optional. Error in the dependency.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Error. |
setError
Optional. Error in the dependency.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Error. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorTime
Optional. Timestamp at which the error was found.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasErrorTime
clearErrorTime
setErrorTime
Optional. Timestamp at which the error was found.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|