Interface PrivateEnvironmentConfigOrBuilder (1.49.0)

public interface PrivateEnvironmentConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudComposerConnectionSubnetwork()

public abstract String getCloudComposerConnectionSubnetwork()

Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.

string cloud_composer_connection_subnetwork = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cloudComposerConnectionSubnetwork.

getCloudComposerConnectionSubnetworkBytes()

public abstract ByteString getCloudComposerConnectionSubnetworkBytes()

Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork.

string cloud_composer_connection_subnetwork = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cloudComposerConnectionSubnetwork.

getCloudComposerNetworkIpv4CidrBlock()

public abstract String getCloudComposerNetworkIpv4CidrBlock()

Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cloudComposerNetworkIpv4CidrBlock.

getCloudComposerNetworkIpv4CidrBlockBytes()

public abstract ByteString getCloudComposerNetworkIpv4CidrBlockBytes()

Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

string cloud_composer_network_ipv4_cidr_block = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cloudComposerNetworkIpv4CidrBlock.

getCloudComposerNetworkIpv4ReservedRange()

public abstract String getCloudComposerNetworkIpv4ReservedRange()

Output only. The IP range reserved for the tenant project's Cloud Composer network.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The cloudComposerNetworkIpv4ReservedRange.

getCloudComposerNetworkIpv4ReservedRangeBytes()

public abstract ByteString getCloudComposerNetworkIpv4ReservedRangeBytes()

Output only. The IP range reserved for the tenant project's Cloud Composer network.

This field is supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.

string cloud_composer_network_ipv4_reserved_range = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for cloudComposerNetworkIpv4ReservedRange.

getCloudSqlIpv4CidrBlock()

public abstract String getCloudSqlIpv4CidrBlock()

Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.

string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cloudSqlIpv4CidrBlock.

getCloudSqlIpv4CidrBlockBytes()

public abstract ByteString getCloudSqlIpv4CidrBlockBytes()

Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block.

string cloud_sql_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cloudSqlIpv4CidrBlock.

getEnablePrivateBuildsOnly()

public abstract boolean getEnablePrivateBuildsOnly()

Optional. If true, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either NodeConfig.network and NodeConfig.subnetwork fields or NodeConfig.composer_network_attachment field are specified). If false, the builds also have access to the internet.

This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.

bool enable_private_builds_only = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePrivateBuildsOnly.

getEnablePrivateEnvironment()

public abstract boolean getEnablePrivateEnvironment()

Optional. If true, a Private IP Cloud Composer environment is created. If this field is set to true, IPAllocationPolicy.use_ip_aliases must be set to true for Cloud Composer environments in versions composer-1..-airflow-..*.

bool enable_private_environment = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePrivateEnvironment.

getEnablePrivatelyUsedPublicIps()

public abstract boolean getEnablePrivatelyUsedPublicIps()

Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for IPAllocationPolicy.cluster_ipv4_cidr_block and IPAllocationPolicy.service_ipv4_cidr_block.

bool enable_privately_used_public_ips = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePrivatelyUsedPublicIps.

getNetworkingConfig()

public abstract NetworkingConfig getNetworkingConfig()

Optional. Configuration for the network connections configuration in the environment.

.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkingConfig

The networkingConfig.

getNetworkingConfigOrBuilder()

public abstract NetworkingConfigOrBuilder getNetworkingConfigOrBuilder()

Optional. Configuration for the network connections configuration in the environment.

.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
NetworkingConfigOrBuilder

getPrivateClusterConfig()

public abstract PrivateClusterConfig getPrivateClusterConfig()

Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateClusterConfig

The privateClusterConfig.

getPrivateClusterConfigOrBuilder()

public abstract PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder()

Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PrivateClusterConfigOrBuilder

getWebServerIpv4CidrBlock()

public abstract String getWebServerIpv4CidrBlock()

Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The webServerIpv4CidrBlock.

getWebServerIpv4CidrBlockBytes()

public abstract ByteString getWebServerIpv4CidrBlockBytes()

Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

string web_server_ipv4_cidr_block = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for webServerIpv4CidrBlock.

getWebServerIpv4ReservedRange()

public abstract String getWebServerIpv4ReservedRange()

Output only. The IP range reserved for the tenant project's App Engine VMs.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The webServerIpv4ReservedRange.

getWebServerIpv4ReservedRangeBytes()

public abstract ByteString getWebServerIpv4ReservedRangeBytes()

Output only. The IP range reserved for the tenant project's App Engine VMs.

This field is supported for Cloud Composer environments in versions composer-1..-airflow-..*.

string web_server_ipv4_reserved_range = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for webServerIpv4ReservedRange.

hasNetworkingConfig()

public abstract boolean hasNetworkingConfig()

Optional. Configuration for the network connections configuration in the environment.

.google.cloud.orchestration.airflow.service.v1.NetworkingConfig networking_config = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the networkingConfig field is set.

hasPrivateClusterConfig()

public abstract boolean hasPrivateClusterConfig()

Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment.

.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig private_cluster_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the privateClusterConfig field is set.