class Google::Apis::ContainerV1::PrivateClusterConfig

Configuration options for private clusters.

Attributes

enable_private_endpoint[RW]

Whether the master's internal IP address is used as the cluster endpoint. Corresponds to the JSON property `enablePrivateEndpoint` @return [Boolean]

enable_private_endpoint?[RW]

Whether the master's internal IP address is used as the cluster endpoint. Corresponds to the JSON property `enablePrivateEndpoint` @return [Boolean]

enable_private_nodes[RW]

Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Corresponds to the JSON property `enablePrivateNodes` @return [Boolean]

enable_private_nodes?[RW]

Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Corresponds to the JSON property `enablePrivateNodes` @return [Boolean]

master_global_access_config[RW]

Configuration for controlling master global access settings. Corresponds to the JSON property `masterGlobalAccessConfig` @return [Google::Apis::ContainerV1::PrivateClusterMasterGlobalAccessConfig]

master_ipv4_cidr_block[RW]

The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network. Corresponds to the JSON property `masterIpv4CidrBlock` @return [String]

peering_name[RW]

Output only. The peering name in the customer VPC used by this cluster. Corresponds to the JSON property `peeringName` @return [String]

private_endpoint[RW]

Output only. The internal IP address of this cluster's master endpoint. Corresponds to the JSON property `privateEndpoint` @return [String]

public_endpoint[RW]

Output only. The external IP address of this cluster's master endpoint. Corresponds to the JSON property `publicEndpoint` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1/classes.rb, line 3306
def update!(**args)
  @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
  @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
  @master_global_access_config = args[:master_global_access_config] if args.key?(:master_global_access_config)
  @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
  @peering_name = args[:peering_name] if args.key?(:peering_name)
  @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
  @public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
end