Google Cloud Vision Ai V1 Client - Class HealthCheckResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class HealthCheckResponse.

HealthCheckResponse is the response message for Check.

Generated from protobuf message google.cloud.visionai.v1.HealthCheckResponse

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ healthy bool

Indicates whether the cluster is in healthy state or not.

↳ reason string

Reason of why the cluster is in unhealthy state.

↳ cluster_info ClusterInfo

Other information of the cluster client may be interested.

getHealthy

Indicates whether the cluster is in healthy state or not.

Returns
Type Description
bool

setHealthy

Indicates whether the cluster is in healthy state or not.

Parameter
Name Description
var bool
Returns
Type Description
$this

getReason

Reason of why the cluster is in unhealthy state.

Returns
Type Description
string

setReason

Reason of why the cluster is in unhealthy state.

Parameter
Name Description
var string
Returns
Type Description
$this

getClusterInfo

Other information of the cluster client may be interested.

Returns
Type Description
ClusterInfo|null

hasClusterInfo

clearClusterInfo

setClusterInfo

Other information of the cluster client may be interested.

Parameter
Name Description
var ClusterInfo
Returns
Type Description
$this