Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::BackendServiceHAPolicyLeader.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backend_group
def backend_group() -> ::String
Returns
-
(::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.
#backend_group=
def backend_group=(value) -> ::String
Parameter
-
value (::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.
Returns
-
(::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
def network_endpoint() -> ::Google::Cloud::Compute::V1::BackendServiceHAPolicyLeaderNetworkEndpoint
Returns
- (::Google::Cloud::Compute::V1::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.
#network_endpoint=
def network_endpoint=(value) -> ::Google::Cloud::Compute::V1::BackendServiceHAPolicyLeaderNetworkEndpoint
Parameter
- value (::Google::Cloud::Compute::V1::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.
Returns
- (::Google::Cloud::Compute::V1::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.