Google Cloud Network Management V1 Client - Class LoadBalancerInfo (1.5.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class LoadBalancerInfo.

For display only. Metadata associated with a load balancer.

Generated from protobuf message google.cloud.networkmanagement.v1.LoadBalancerInfo

Namespace

Google \ Cloud \ NetworkManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ load_balancer_type int

Type of the load balancer.

↳ health_check_uri string

URI of the health check for the load balancer.

↳ backends array<Google\Cloud\NetworkManagement\V1\LoadBalancerBackend>

Information for the loadbalancer backends.

↳ backend_type int

Type of load balancer's backend configuration.

↳ backend_uri string

Backend configuration URI.

getLoadBalancerType

Type of the load balancer.

Returns
TypeDescription
int

setLoadBalancerType

Type of the load balancer.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getHealthCheckUri

URI of the health check for the load balancer.

Returns
TypeDescription
string

setHealthCheckUri

URI of the health check for the load balancer.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBackends

Information for the loadbalancer backends.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setBackends

Information for the loadbalancer backends.

Parameter
NameDescription
var array<Google\Cloud\NetworkManagement\V1\LoadBalancerBackend>
Returns
TypeDescription
$this

getBackendType

Type of load balancer's backend configuration.

Returns
TypeDescription
int

setBackendType

Type of load balancer's backend configuration.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getBackendUri

Backend configuration URI.

Returns
TypeDescription
string

setBackendUri

Backend configuration URI.

Parameter
NameDescription
var string
Returns
TypeDescription
$this