Skip to content

Commit e030957

Browse files
1 parent f634962 commit e030957

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/ServiceNetworking/ConsumerConfig.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ class ConsumerConfig extends \Google\Collection
4848
* @var bool
4949
*/
5050
public $consumerImportSubnetRoutesWithPublicIp;
51+
/**
52+
* Output only. If this is true, consumer peering is active.
53+
*
54+
* @var bool
55+
*/
56+
public $consumerPeeringActive;
5157
/**
5258
* Export custom routes flag value for peering from producer to consumer.
5359
*
@@ -181,6 +187,22 @@ public function getConsumerImportSubnetRoutesWithPublicIp()
181187
{
182188
return $this->consumerImportSubnetRoutesWithPublicIp;
183189
}
190+
/**
191+
* Output only. If this is true, consumer peering is active.
192+
*
193+
* @param bool $consumerPeeringActive
194+
*/
195+
public function setConsumerPeeringActive($consumerPeeringActive)
196+
{
197+
$this->consumerPeeringActive = $consumerPeeringActive;
198+
}
199+
/**
200+
* @return bool
201+
*/
202+
public function getConsumerPeeringActive()
203+
{
204+
return $this->consumerPeeringActive;
205+
}
184206
/**
185207
* Export custom routes flag value for peering from producer to consumer.
186208
*

0 commit comments

Comments
 (0)