Service Client: Google::Cloud::Visionai::V1::HealthService::HealthCheckServiceClient
Client stub representing the remote HealthCheckService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to visionai.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Visionai::V1::HealthService - Compiled Protocol Buffers messages for google/cloud/visionai/v1/health_service.proto
SYNOPSIS
use Google::Cloud::Visionai::V1::HealthService;
my $msg = Google::Cloud::Visionai::V1::HealthService::HealthCheckRequest->new({
cluster => $cluster,
});
# Read or update a field
my $val = $msg->cluster();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Visionai::V1::HealthService::HealthCheckRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/visionai/v1/health_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Visionai::V1::HealthService::HealthCheckRequest
HealthCheckRequest is the request message for Check.
Inherits from Protobuf::Message.
Accessors
$msg->cluster()/$msg->cluster($value)Type:
StringThe parent of the resource.
Google::Cloud::Visionai::V1::HealthService::HealthCheckResponse
HealthCheckResponse is the response message for Check.
Inherits from Protobuf::Message.
Accessors
$msg->healthy()/$msg->healthy($value)Type:
BoolIndicates whether the cluster is in healthy state or not.
$msg->reason()/$msg->reason($value)Type:
StringReason of why the cluster is in unhealthy state.
$msg->cluster_info()/$msg->cluster_info($value)Type:
Message(Google::Cloud::Visionai::V1::HealthService::ClusterInfo)Other information of the cluster client may be interested.
Google::Cloud::Visionai::V1::HealthService::ClusterInfo
Inherits from Protobuf::Message.
Accessors
$msg->streams_count()/$msg->streams_count($value)Type:
Int32The number of active streams in the cluster.
$msg->processes_count()/$msg->processes_count($value)Type:
Int32The number of active processes in the cluster.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Visionai::V1::HealthService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.