Class: Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb
Overview
The configuration information for configuring a Private IP Cloud Composer environment.
Instance Attribute Summary collapse
-
#cloud_sql_ipv4_cidr_block ⇒ String
Optional.
-
#enable_private_environment ⇒ Boolean
(also: #enable_private_environment?)
Optional.
-
#private_cluster_config ⇒ Google::Apis::ComposerV1beta1::PrivateClusterConfig
Configuration options for the private GKE cluster in a Cloud Composer environment.
-
#web_server_ipv4_cidr_block ⇒ String
Optional.
-
#web_server_ipv4_reserved_range ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateEnvironmentConfig
constructor
A new instance of PrivateEnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateEnvironmentConfig
Returns a new instance of PrivateEnvironmentConfig.
870 871 872 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql_ipv4_cidr_block ⇒ String
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
842 843 844 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 842 def cloud_sql_ipv4_cidr_block @cloud_sql_ipv4_cidr_block end |
#enable_private_environment ⇒ Boolean Also known as: enable_private_environment?
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.
Corresponds to the JSON property enablePrivateEnvironment
849 850 851 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 849 def enable_private_environment @enable_private_environment end |
#private_cluster_config ⇒ Google::Apis::ComposerV1beta1::PrivateClusterConfig
Configuration options for the private GKE cluster in a Cloud Composer
environment.
Corresponds to the JSON property privateClusterConfig
856 857 858 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 856 def private_cluster_config @private_cluster_config end |
#web_server_ipv4_cidr_block ⇒ String
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.
Corresponds to the JSON property webServerIpv4CidrBlock
863 864 865 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 863 def web_server_ipv4_cidr_block @web_server_ipv4_cidr_block end |
#web_server_ipv4_reserved_range ⇒ String
Output only. The IP range reserved for the tenant project's App Engine VMs.
Corresponds to the JSON property webServerIpv4ReservedRange
868 869 870 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 868 def web_server_ipv4_reserved_range @web_server_ipv4_reserved_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
875 876 877 878 879 880 881 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 875 def update!(**args) @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) @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 |