Reference documentation and code samples for the Compute V1 Client class BackendServiceHAPolicyLeader.
Generated from protobuf message google.cloud.compute.v1.BackendServiceHAPolicyLeader
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ backend_group
string
A fully-qualified URL (starting with https://www.googleapis.com/
) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP
endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.
↳ network_endpoint
BackendServiceHAPolicyLeaderNetworkEndpoint
The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.
getBackendGroup
A fully-qualified URL (starting with https://www.googleapis.com/
) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP
endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.
string
hasBackendGroup
clearBackendGroup
setBackendGroup
A fully-qualified URL (starting with https://www.googleapis.com/
) of the zonal Network Endpoint Group (NEG) with GCE_VM_IP
endpoints that the leader is attached to. The leader's backendGroup must already be specified as a backend of this backend service. Removing a backend that is designated as the leader's backendGroup is not permitted.
var
string
$this
getNetworkEndpoint
The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.
hasNetworkEndpoint
clearNetworkEndpoint
setNetworkEndpoint
The network endpoint within the leader.backendGroup that is designated as the leader. This network endpoint cannot be detached from the NEG specified in the haPolicy.leader.backendGroup until the leader is updated with another network endpoint, or the leader is removed from the haPolicy.
$this