Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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::V1beta1::DatapathProvider
Returns
- (::Google::Cloud::Container::V1beta1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
#datapath_provider=
def datapath_provider=(value) -> ::Google::Cloud::Container::V1beta1::DatapathProvider
Parameter
- value (::Google::Cloud::Container::V1beta1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
Returns
- (::Google::Cloud::Container::V1beta1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
#default_snat_status
def default_snat_status() -> ::Google::Cloud::Container::V1beta1::DefaultSnatStatus
Returns
- (::Google::Cloud::Container::V1beta1::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::V1beta1::DefaultSnatStatus
Parameter
- value (::Google::Cloud::Container::V1beta1::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::V1beta1::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::V1beta1::DNSConfig
Returns
- (::Google::Cloud::Container::V1beta1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
#dns_config=
def dns_config=(value) -> ::Google::Cloud::Container::V1beta1::DNSConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
Returns
- (::Google::Cloud::Container::V1beta1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
#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.
#gateway_api_config
def gateway_api_config() -> ::Google::Cloud::Container::V1beta1::GatewayAPIConfig
Returns
- (::Google::Cloud::Container::V1beta1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
#gateway_api_config=
def gateway_api_config=(value) -> ::Google::Cloud::Container::V1beta1::GatewayAPIConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
Returns
- (::Google::Cloud::Container::V1beta1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
#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
#private_ipv6_google_access
def private_ipv6_google_access() -> ::Google::Cloud::Container::V1beta1::PrivateIPv6GoogleAccess
Returns
- (::Google::Cloud::Container::V1beta1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
#private_ipv6_google_access=
def private_ipv6_google_access=(value) -> ::Google::Cloud::Container::V1beta1::PrivateIPv6GoogleAccess
Parameter
- value (::Google::Cloud::Container::V1beta1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
Returns
- (::Google::Cloud::Container::V1beta1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
#service_external_ips_config
def service_external_ips_config() -> ::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig
Returns
- (::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
#service_external_ips_config=
def service_external_ips_config=(value) -> ::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
Returns
- (::Google::Cloud::Container::V1beta1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
#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