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

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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
bool

setEnablePrivateEndpoint

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

Parameter
Name Description
var bool
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this