Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::NetworkConfig (v0.33.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NetworkConfig.

NetworkConfig reports the relative names of network & subnetwork.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#datapath_provider

def datapath_provider() -> ::Google::Cloud::Container::V1::DatapathProvider
Returns

#datapath_provider=

def datapath_provider=(value) -> ::Google::Cloud::Container::V1::DatapathProvider
Parameter
Returns

#default_snat_status

def default_snat_status() -> ::Google::Cloud::Container::V1::DefaultSnatStatus
Returns
  • (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.

#default_snat_status=

def default_snat_status=(value) -> ::Google::Cloud::Container::V1::DefaultSnatStatus
Parameter
  • value (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
Returns
  • (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.

#dns_config

def dns_config() -> ::Google::Cloud::Container::V1::DNSConfig
Returns

#dns_config=

def dns_config=(value) -> ::Google::Cloud::Container::V1::DNSConfig
Parameter
Returns

#enable_fqdn_network_policy

def enable_fqdn_network_policy() -> ::Boolean
Returns
  • (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.

#enable_fqdn_network_policy=

def enable_fqdn_network_policy=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.
Returns
  • (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.

#enable_intra_node_visibility

def enable_intra_node_visibility() -> ::Boolean
Returns
  • (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

#enable_intra_node_visibility=

def enable_intra_node_visibility=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
Returns
  • (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

#enable_l4ilb_subsetting

def enable_l4ilb_subsetting() -> ::Boolean
Returns
  • (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.

#enable_l4ilb_subsetting=

def enable_l4ilb_subsetting=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.
Returns
  • (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.

#enable_multi_networking

def enable_multi_networking() -> ::Boolean
Returns
  • (::Boolean) — Whether multi-networking is enabled for this cluster.

#enable_multi_networking=

def enable_multi_networking=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether multi-networking is enabled for this cluster.
Returns
  • (::Boolean) — Whether multi-networking is enabled for this cluster.

#gateway_api_config

def gateway_api_config() -> ::Google::Cloud::Container::V1::GatewayAPIConfig
Returns

#gateway_api_config=

def gateway_api_config=(value) -> ::Google::Cloud::Container::V1::GatewayAPIConfig
Parameter
Returns

#network

def network() -> ::String
Returns
  • (::String) — Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
Returns
  • (::String) — Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network

#network_performance_config

def network_performance_config() -> ::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig
Returns

#network_performance_config=

def network_performance_config=(value) -> ::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig
Parameter
Returns

#private_ipv6_google_access

def private_ipv6_google_access() -> ::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess
Returns

#private_ipv6_google_access=

def private_ipv6_google_access=(value) -> ::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess
Parameter
Returns

#service_external_ips_config

def service_external_ips_config() -> ::Google::Cloud::Container::V1::ServiceExternalIPsConfig
Returns

#service_external_ips_config=

def service_external_ips_config=(value) -> ::Google::Cloud::Container::V1::ServiceExternalIPsConfig
Parameter
Returns

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
Returns
  • (::String) — Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet