Compute V1 Client - Class NetworkPeeringConnectionStatus (1.35.0)

Reference documentation and code samples for the Compute V1 Client class NetworkPeeringConnectionStatus.

[Output Only] Describes the state of a peering connection, not just the local peering. This field provides information about the effective settings for the connection as a whole, including pending delete/update requests for CONSENSUS peerings.

Generated from protobuf message google.cloud.compute.v1.NetworkPeeringConnectionStatus

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ consensus_state
NetworkPeeringConnectionStatusConsensusState

The consensus state contains information about the status of update and delete for a consensus peering connection.

↳ traffic_configuration
NetworkPeeringConnectionStatusTrafficConfiguration

The active connectivity settings for the peering connection based on the settings of the network peerings.

↳ update_strategy
string

The update strategy determines the update/delete semantics for this peering connection. Check the UpdateStrategy enum for the list of possible values.

getConsensusState

The consensus state contains information about the status of update and delete for a consensus peering connection.

Returns
Type
Description

hasConsensusState

clearConsensusState

setConsensusState

The consensus state contains information about the status of update and delete for a consensus peering connection.

Parameter
Name
Description
Returns
Type
Description
$this

getTrafficConfiguration

The active connectivity settings for the peering connection based on the settings of the network peerings.

hasTrafficConfiguration

clearTrafficConfiguration

setTrafficConfiguration

The active connectivity settings for the peering connection based on the settings of the network peerings.

Returns
Type
Description
$this

getUpdateStrategy

The update strategy determines the update/delete semantics for this peering connection.

Check the UpdateStrategy enum for the list of possible values.

Returns
Type
Description
string

hasUpdateStrategy

clearUpdateStrategy

setUpdateStrategy

The update strategy determines the update/delete semantics for this peering connection.

Check the UpdateStrategy enum for the list of possible values.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: