|
19 | 19 |
|
20 | 20 | class PrivateEnvironmentConfig extends \Google\Model |
21 | 21 | { |
| 22 | + /** |
| 23 | + * Default networking type. |
| 24 | + */ |
| 25 | + public const NETWORKING_TYPE_NETWORKING_TYPE_UNSPECIFIED = 'NETWORKING_TYPE_UNSPECIFIED'; |
| 26 | + /** |
| 27 | + * Private IP Cloud Composer environment with no access to the internet. |
| 28 | + */ |
| 29 | + public const NETWORKING_TYPE_PRIVATE = 'PRIVATE'; |
| 30 | + /** |
| 31 | + * Cloud Composer environment with access to the internet. |
| 32 | + */ |
| 33 | + public const NETWORKING_TYPE_PUBLIC = 'PUBLIC'; |
22 | 34 | /** |
23 | 35 | * Optional. When specified, the environment will use Private Service Connect |
24 | 36 | * instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and |
@@ -86,6 +98,12 @@ class PrivateEnvironmentConfig extends \Google\Model |
86 | 98 | public $enablePrivatelyUsedPublicIps; |
87 | 99 | protected $networkingConfigType = NetworkingConfig::class; |
88 | 100 | protected $networkingConfigDataType = ''; |
| 101 | + /** |
| 102 | + * Optional. Networking type for the environment, either private or public. |
| 103 | + * |
| 104 | + * @var string |
| 105 | + */ |
| 106 | + public $networkingType; |
89 | 107 | protected $privateClusterConfigType = PrivateClusterConfig::class; |
90 | 108 | protected $privateClusterConfigDataType = ''; |
91 | 109 | /** |
@@ -259,6 +277,24 @@ public function getNetworkingConfig() |
259 | 277 | { |
260 | 278 | return $this->networkingConfig; |
261 | 279 | } |
| 280 | + /** |
| 281 | + * Optional. Networking type for the environment, either private or public. |
| 282 | + * |
| 283 | + * Accepted values: NETWORKING_TYPE_UNSPECIFIED, PRIVATE, PUBLIC |
| 284 | + * |
| 285 | + * @param self::NETWORKING_TYPE_* $networkingType |
| 286 | + */ |
| 287 | + public function setNetworkingType($networkingType) |
| 288 | + { |
| 289 | + $this->networkingType = $networkingType; |
| 290 | + } |
| 291 | + /** |
| 292 | + * @return self::NETWORKING_TYPE_* |
| 293 | + */ |
| 294 | + public function getNetworkingType() |
| 295 | + { |
| 296 | + return $this->networkingType; |
| 297 | + } |
262 | 298 | /** |
263 | 299 | * Optional. Configuration for the private GKE cluster for a Private IP Cloud |
264 | 300 | * Composer environment. |
|
0 commit comments