Google Cloud Orchestration Airflow V1 Client - Class PrivateClusterConfig (1.1.0)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class PrivateClusterConfig.

Configuration options for the private GKE cluster in a Cloud Composer environment.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_private_endpoint bool

Optional. If true, access to the public endpoint of the GKE cluster is denied.

↳ master_ipv4_cidr_block string

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.

↳ master_ipv4_reserved_range string

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.

getEnablePrivateEndpoint

Optional. If true, access to the public endpoint of the GKE cluster is denied.

Returns
TypeDescription
bool

setEnablePrivateEndpoint

Optional. If true, access to the public endpoint of the GKE cluster is denied.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMasterIpv4CidrBlock

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.

Returns
TypeDescription
string

setMasterIpv4CidrBlock

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMasterIpv4ReservedRange

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.

Returns
TypeDescription
string

setMasterIpv4ReservedRange

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this