Class: Google::Apis::ComposerV1::PrivateClusterConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::PrivateClusterConfig
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #master_ipv4_reserved_range  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PrivateClusterConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PrivateClusterConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ PrivateClusterConfig
Returns a new instance of PrivateClusterConfig.
| 959 960 961 | # File 'lib/google/apis/composer_v1/classes.rb', line 959 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
| 941 942 943 | # File 'lib/google/apis/composer_v1/classes.rb', line 941 def enable_private_endpoint @enable_private_endpoint end | 
#master_ipv4_cidr_block ⇒ String
Optional. The CIDR block from which IPv4 range for GKE master will be reserved.
If left blank, the default value of '172.16.0.0/23' is used.
Corresponds to the JSON property masterIpv4CidrBlock
| 948 949 950 | # File 'lib/google/apis/composer_v1/classes.rb', line 948 def master_ipv4_cidr_block @master_ipv4_cidr_block end | 
#master_ipv4_reserved_range ⇒ String
Output only. The IP range in CIDR notation to use for the hosted master
network. This range is used for assigning internal IP addresses to the GKE
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.
Corresponds to the JSON property masterIpv4ReservedRange
| 957 958 959 | # File 'lib/google/apis/composer_v1/classes.rb', line 957 def master_ipv4_reserved_range @master_ipv4_reserved_range end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 964 965 966 967 968 | # File 'lib/google/apis/composer_v1/classes.rb', line 964 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) @master_ipv4_reserved_range = args[:master_ipv4_reserved_range] if args.key?(:master_ipv4_reserved_range) end |