Class: Google::Apis::ComposerV1beta1::PrivateClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::PrivateClusterConfig
- Defined in:
- generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb
Overview
Configuration options for the private GKE cluster in a Cloud Composer environment.
Instance Attribute Summary collapse
-
#enable_private_endpoint ⇒ Boolean
(also: #enable_private_endpoint?)
Optional.
-
#master_ipv4_cidr_block ⇒ String
The IP range in CIDR notation to use for the hosted master network.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateClusterConfig
constructor
A new instance of PrivateClusterConfig.
-
#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) ⇒ PrivateClusterConfig
Returns a new instance of PrivateClusterConfig.
657 658 659 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_private_endpoint ⇒ Boolean Also known as: enable_private_endpoint?
Optional. If true
, access to the public endpoint of the GKE cluster is
denied.
Corresponds to the JSON property enablePrivateEndpoint
644 645 646 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 644 def enable_private_endpoint @enable_private_endpoint end |
#master_ipv4_cidr_block ⇒ String
The IP range in CIDR notation to use for the hosted master network. This
range is used for assigning internal IP addresses to the 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. If left blank, the default value of
'172.16.0.0/28' is used.
Corresponds to the JSON property masterIpv4CidrBlock
655 656 657 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 655 def master_ipv4_cidr_block @master_ipv4_cidr_block end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
662 663 664 665 |
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 662 def update!(**args) @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint) @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block) end |