Class Google::Cloud::Container::V1::NetworkConfig (v0.7.3)

NetworkConfig reports the relative names of network & subnetwork.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#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.

#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.

#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

#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