📄 Source: PrivateClusterConfig.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudComposer;
class PrivateClusterConfig extends \Google\Model
{
/**
* Optional. If `true`, access to the public endpoint of the GKE cluster is
* denied.
*
* @var bool
*/
public $enablePrivateEndpoint;
/**
* Optional. The CIDR block from which IPv4 range for GKE master will be
* reserved. If left blank, the default value of '172.16.0.0/23' is used.
*
* @var string
*/
public $masterIpv4CidrBlock;
/**
* Output only. The IP range in CIDR notation to use for the hosted master
* network. This range is used for assigning internal IP addresses to the GKE
* cluster master or set of masters and to the internal load balancer virtual
* IP. This range must not overlap with any other ranges in use within the
* cluster's network.
*
* @var string
*/
public $masterIpv4ReservedRange;
/**
* Optional. If `true`, access to the public endpoint of the GKE cluster is
* denied.
*
* @param bool $enablePrivateEndpoint
*/
public function setEnablePrivateEndpoint($enablePrivateEndpoint)
{
$this->enablePrivateEndpoint = $enablePrivateEndpoint;
}
/**
* @return bool
*/
public function getEnablePrivateEndpoint()
{
return $this->enablePrivateEndpoint;
}
/**
* Optional. The CIDR block from which IPv4 range for GKE master will be
* reserved. If left blank, the default value of '172.16.0.0/23' is used.
*
* @param string $masterIpv4CidrBlock
*/
public function setMasterIpv4CidrBlock($masterIpv4CidrBlock)
{
$this->masterIpv4CidrBlock = $masterIpv4CidrBlock;
}
/**
* @return string
*/
public function getMasterIpv4CidrBlock()
{
return $this->masterIpv4CidrBlock;
}
/**
* Output only. The IP range in CIDR notation to use for the hosted master
* network. This range is used for assigning internal IP addresses to the GKE
* cluster master or set of masters and to the internal load balancer virtual
* IP. This range must not overlap with any other ranges in use within the
* cluster's network.
*
* @param string $masterIpv4ReservedRange
*/
public function setMasterIpv4ReservedRange($masterIpv4ReservedRange)
{
$this->masterIpv4ReservedRange = $masterIpv4ReservedRange;
}
/**
* @return string
*/
public function getMasterIpv4ReservedRange()
{
return $this->masterIpv4ReservedRange;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(PrivateClusterConfig::class, 'Google_Service_CloudComposer_PrivateClusterConfig');
← Back