Reference documentation and code samples for the Compute V1 Client class HealthSourcesGetHealthResponseSourceInfo.
Generated from protobuf message google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfo
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backends |
array<HealthSourcesGetHealthResponseSourceInfoBackendInfo>
Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE. |
↳ forwarding_rule |
string
Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service. |
↳ source |
string
Fully qualified URL of the associated source resource. This is always a backend service URL. |
getBackends
Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<HealthSourcesGetHealthResponseSourceInfoBackendInfo> |
|
setBackends
Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.
| Parameter | |
|---|---|
| Name | Description |
var |
array<HealthSourcesGetHealthResponseSourceInfoBackendInfo>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getForwardingRule
Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasForwardingRule
clearForwardingRule
setForwardingRule
Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
Fully qualified URL of the associated source resource. This is always a backend service URL.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSource
clearSource
setSource
Fully qualified URL of the associated source resource. This is always a backend service URL.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|