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 \ V1Methods
__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. |
↳ 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.
Returns | |
---|---|
Type | Description |
string |
setHealthCheckUri
URI of the health check for the load balancer.
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 |