1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\ServiceNetworking; 19 20class ConsumerConfig extends \Google\Collection 21{ 22 protected $collection_key = 'reservedRanges'; 23 /** 24 * @var bool 25 */ 26 public $consumerExportCustomRoutes; 27 /** 28 * @var bool 29 */ 30 public $consumerExportSubnetRoutesWithPublicIp; 31 /** 32 * @var bool 33 */ 34 public $consumerImportCustomRoutes; 35 /** 36 * @var bool 37 */ 38 public $consumerImportSubnetRoutesWithPublicIp; 39 /** 40 * @var bool 41 */ 42 public $producerExportCustomRoutes; 43 /** 44 * @var bool 45 */ 46 public $producerExportSubnetRoutesWithPublicIp; 47 /** 48 * @var bool 49 */ 50 public $producerImportCustomRoutes; 51 /** 52 * @var bool 53 */ 54 public $producerImportSubnetRoutesWithPublicIp; 55 /** 56 * @var string 57 */ 58 public $producerNetwork; 59 protected $reservedRangesType = GoogleCloudServicenetworkingV1ConsumerConfigReservedRange::class; 60 protected $reservedRangesDataType = 'array'; 61 /** 62 * @var bool 63 */ 64 public $vpcScReferenceArchitectureEnabled; 65 66 /** 67 * @param bool 68 */ 69 public function setConsumerExportCustomRoutes($consumerExportCustomRoutes) 70 { 71 $this->consumerExportCustomRoutes = $consumerExportCustomRoutes; 72 } 73 /** 74 * @return bool 75 */ 76 public function getConsumerExportCustomRoutes() 77 { 78 return $this->consumerExportCustomRoutes; 79 } 80 /** 81 * @param bool 82 */ 83 public function setConsumerExportSubnetRoutesWithPublicIp($consumerExportSubnetRoutesWithPublicIp) 84 { 85 $this->consumerExportSubnetRoutesWithPublicIp = $consumerExportSubnetRoutesWithPublicIp; 86 } 87 /** 88 * @return bool 89 */ 90 public function getConsumerExportSubnetRoutesWithPublicIp() 91 { 92 return $this->consumerExportSubnetRoutesWithPublicIp; 93 } 94 /** 95 * @param bool 96 */ 97 public function setConsumerImportCustomRoutes($consumerImportCustomRoutes) 98 { 99 $this->consumerImportCustomRoutes = $consumerImportCustomRoutes; 100 } 101 /** 102 * @return bool 103 */ 104 public function getConsumerImportCustomRoutes() 105 { 106 return $this->consumerImportCustomRoutes; 107 } 108 /** 109 * @param bool 110 */ 111 public function setConsumerImportSubnetRoutesWithPublicIp($consumerImportSubnetRoutesWithPublicIp) 112 { 113 $this->consumerImportSubnetRoutesWithPublicIp = $consumerImportSubnetRoutesWithPublicIp; 114 } 115 /** 116 * @return bool 117 */ 118 public function getConsumerImportSubnetRoutesWithPublicIp() 119 { 120 return $this->consumerImportSubnetRoutesWithPublicIp; 121 } 122 /** 123 * @param bool 124 */ 125 public function setProducerExportCustomRoutes($producerExportCustomRoutes) 126 { 127 $this->producerExportCustomRoutes = $producerExportCustomRoutes; 128 } 129 /** 130 * @return bool 131 */ 132 public function getProducerExportCustomRoutes() 133 { 134 return $this->producerExportCustomRoutes; 135 } 136 /** 137 * @param bool 138 */ 139 public function setProducerExportSubnetRoutesWithPublicIp($producerExportSubnetRoutesWithPublicIp) 140 { 141 $this->producerExportSubnetRoutesWithPublicIp = $producerExportSubnetRoutesWithPublicIp; 142 } 143 /** 144 * @return bool 145 */ 146 public function getProducerExportSubnetRoutesWithPublicIp() 147 { 148 return $this->producerExportSubnetRoutesWithPublicIp; 149 } 150 /** 151 * @param bool 152 */ 153 public function setProducerImportCustomRoutes($producerImportCustomRoutes) 154 { 155 $this->producerImportCustomRoutes = $producerImportCustomRoutes; 156 } 157 /** 158 * @return bool 159 */ 160 public function getProducerImportCustomRoutes() 161 { 162 return $this->producerImportCustomRoutes; 163 } 164 /** 165 * @param bool 166 */ 167 public function setProducerImportSubnetRoutesWithPublicIp($producerImportSubnetRoutesWithPublicIp) 168 { 169 $this->producerImportSubnetRoutesWithPublicIp = $producerImportSubnetRoutesWithPublicIp; 170 } 171 /** 172 * @return bool 173 */ 174 public function getProducerImportSubnetRoutesWithPublicIp() 175 { 176 return $this->producerImportSubnetRoutesWithPublicIp; 177 } 178 /** 179 * @param string 180 */ 181 public function setProducerNetwork($producerNetwork) 182 { 183 $this->producerNetwork = $producerNetwork; 184 } 185 /** 186 * @return string 187 */ 188 public function getProducerNetwork() 189 { 190 return $this->producerNetwork; 191 } 192 /** 193 * @param GoogleCloudServicenetworkingV1ConsumerConfigReservedRange[] 194 */ 195 public function setReservedRanges($reservedRanges) 196 { 197 $this->reservedRanges = $reservedRanges; 198 } 199 /** 200 * @return GoogleCloudServicenetworkingV1ConsumerConfigReservedRange[] 201 */ 202 public function getReservedRanges() 203 { 204 return $this->reservedRanges; 205 } 206 /** 207 * @param bool 208 */ 209 public function setVpcScReferenceArchitectureEnabled($vpcScReferenceArchitectureEnabled) 210 { 211 $this->vpcScReferenceArchitectureEnabled = $vpcScReferenceArchitectureEnabled; 212 } 213 /** 214 * @return bool 215 */ 216 public function getVpcScReferenceArchitectureEnabled() 217 { 218 return $this->vpcScReferenceArchitectureEnabled; 219 } 220} 221 222// Adding a class alias for backwards compatibility with the previous class name. 223class_alias(ConsumerConfig::class, 'Google_Service_ServiceNetworking_ConsumerConfig'); 224