Class: Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::PrivateEnvironmentConfig
- 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
-
#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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateEnvironmentConfig
constructor
A new instance of PrivateEnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PrivateEnvironmentConfig
Returns a new instance of PrivateEnvironmentConfig.
686 687 688 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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 true, use_ip_aliases
must be true.
Corresponds to the JSON property enablePrivateEnvironment
677 678 679 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 677 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
684 685 686 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 684 def private_cluster_config @private_cluster_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
691 692 693 694 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 691 def update!(**args) @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) end |