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

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
Name Description
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. Deprecated and no longer populated as different load balancer backends might have different health checks.

↳ 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
Type Description
int

setLoadBalancerType

Type of the load balancer.

Parameter
Name Description
var int
Returns
Type Description
$this

getHealthCheckUri

URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.

Returns
Type Description
string

setHealthCheckUri

URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.

Parameter
Name Description
var string
Returns
Type Description
$this

getBackends

Information for the loadbalancer backends.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setBackends

Information for the loadbalancer backends.

Parameter
Name Description
var array<Google\Cloud\NetworkManagement\V1\LoadBalancerBackend>
Returns
Type Description
$this

getBackendType

Type of load balancer's backend configuration.

Returns
Type Description
int

setBackendType

Type of load balancer's backend configuration.

Parameter
Name Description
var int
Returns
Type Description
$this

getBackendUri

Backend configuration URI.

Returns
Type Description
string

setBackendUri

Backend configuration URI.

Parameter
Name Description
var string
Returns
Type Description
$this