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\Container; 19 20class PrivateClusterConfig extends \Google\Model 21{ 22 /** 23 * @var bool 24 */ 25 public $enablePrivateEndpoint; 26 /** 27 * @var bool 28 */ 29 public $enablePrivateNodes; 30 protected $masterGlobalAccessConfigType = PrivateClusterMasterGlobalAccessConfig::class; 31 protected $masterGlobalAccessConfigDataType = ''; 32 /** 33 * @var string 34 */ 35 public $masterIpv4CidrBlock; 36 /** 37 * @var string 38 */ 39 public $peeringName; 40 /** 41 * @var string 42 */ 43 public $privateEndpoint; 44 /** 45 * @var string 46 */ 47 public $publicEndpoint; 48 49 /** 50 * @param bool 51 */ 52 public function setEnablePrivateEndpoint($enablePrivateEndpoint) 53 { 54 $this->enablePrivateEndpoint = $enablePrivateEndpoint; 55 } 56 /** 57 * @return bool 58 */ 59 public function getEnablePrivateEndpoint() 60 { 61 return $this->enablePrivateEndpoint; 62 } 63 /** 64 * @param bool 65 */ 66 public function setEnablePrivateNodes($enablePrivateNodes) 67 { 68 $this->enablePrivateNodes = $enablePrivateNodes; 69 } 70 /** 71 * @return bool 72 */ 73 public function getEnablePrivateNodes() 74 { 75 return $this->enablePrivateNodes; 76 } 77 /** 78 * @param PrivateClusterMasterGlobalAccessConfig 79 */ 80 public function setMasterGlobalAccessConfig(PrivateClusterMasterGlobalAccessConfig $masterGlobalAccessConfig) 81 { 82 $this->masterGlobalAccessConfig = $masterGlobalAccessConfig; 83 } 84 /** 85 * @return PrivateClusterMasterGlobalAccessConfig 86 */ 87 public function getMasterGlobalAccessConfig() 88 { 89 return $this->masterGlobalAccessConfig; 90 } 91 /** 92 * @param string 93 */ 94 public function setMasterIpv4CidrBlock($masterIpv4CidrBlock) 95 { 96 $this->masterIpv4CidrBlock = $masterIpv4CidrBlock; 97 } 98 /** 99 * @return string 100 */ 101 public function getMasterIpv4CidrBlock() 102 { 103 return $this->masterIpv4CidrBlock; 104 } 105 /** 106 * @param string 107 */ 108 public function setPeeringName($peeringName) 109 { 110 $this->peeringName = $peeringName; 111 } 112 /** 113 * @return string 114 */ 115 public function getPeeringName() 116 { 117 return $this->peeringName; 118 } 119 /** 120 * @param string 121 */ 122 public function setPrivateEndpoint($privateEndpoint) 123 { 124 $this->privateEndpoint = $privateEndpoint; 125 } 126 /** 127 * @return string 128 */ 129 public function getPrivateEndpoint() 130 { 131 return $this->privateEndpoint; 132 } 133 /** 134 * @param string 135 */ 136 public function setPublicEndpoint($publicEndpoint) 137 { 138 $this->publicEndpoint = $publicEndpoint; 139 } 140 /** 141 * @return string 142 */ 143 public function getPublicEndpoint() 144 { 145 return $this->publicEndpoint; 146 } 147} 148 149// Adding a class alias for backwards compatibility with the previous class name. 150class_alias(PrivateClusterConfig::class, 'Google_Service_Container_PrivateClusterConfig'); 151