Class: Google::Cloud::Container::V1::NetworkConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

NetworkConfig reports the relative names of network & subnetwork.

Instance Attribute Summary collapse

Instance Attribute Details

#default_snat_status::Google::Cloud::Container::V1::DefaultSnatStatus

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



2880
2881
2882
2883
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2880

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enable_intra_node_visibility::Boolean

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



2880
2881
2882
2883
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2880

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#network::String

Returns 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:



2880
2881
2882
2883
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2880

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#subnetwork::String

Returns 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



2880
2881
2882
2883
# File 'proto_docs/google/container/v1/cluster_service.rb', line 2880

class NetworkConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end