class Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig

The configuration information for configuring a Private IP Cloud Composer environment.

Attributes

cloud_composer_network_ipv4_cidr_block[RW]

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. Corresponds to the JSON property `cloudComposerNetworkIpv4CidrBlock` @return [String]

cloud_composer_network_ipv4_reserved_range[RW]

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. Corresponds to the JSON property `cloudComposerNetworkIpv4ReservedRange` @return [String]

cloud_sql_ipv4_cidr_block[RW]

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 Corresponds to the JSON property `cloudSqlIpv4CidrBlock` @return [String]

enable_private_environment[RW]

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-..*. Corresponds to the JSON property `enablePrivateEnvironment` @return [Boolean]

enable_private_environment?[RW]

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-..*. Corresponds to the JSON property `enablePrivateEnvironment` @return [Boolean]

enable_privately_used_public_ips[RW]

Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for ` IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy. service_ipv4_cidr_block`. Corresponds to the JSON property `enablePrivatelyUsedPublicIps` @return [Boolean]

enable_privately_used_public_ips?[RW]

Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for ` IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy. service_ipv4_cidr_block`. Corresponds to the JSON property `enablePrivatelyUsedPublicIps` @return [Boolean]

private_cluster_config[RW]

Configuration options for the private GKE cluster in a Cloud Composer environment. Corresponds to the JSON property `privateClusterConfig` @return [Google::Apis::ComposerV1beta1::PrivateClusterConfig]

web_server_ipv4_cidr_block[RW]

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-..*. Corresponds to the JSON property `webServerIpv4CidrBlock` @return [String]

web_server_ipv4_reserved_range[RW]

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-..*. Corresponds to the JSON property `webServerIpv4ReservedRange` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/composer_v1beta1/classes.rb, line 1028
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/composer_v1beta1/classes.rb, line 1033
def update!(**args)
  @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
  @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
  @enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
  @enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
  @web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
  @web_server_ipv4_reserved_range = args[:web_server_ipv4_reserved_range] if args.key?(:web_server_ipv4_reserved_range)
end