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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb

Overview

NetworkConfig reports the relative names of network & subnetwork.

Instance Attribute Summary collapse

Instance Attribute Details

#enable_intra_node_visibilitytrue, false

Returns Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.

Returns:

  • (true, false)

    Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.



2188
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2188

class NetworkConfig; end

#networkString

Returns Output only. The relative name of the Google Compute Engine network(/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(/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network



2188
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2188

class NetworkConfig; end

#subnetworkString

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



2188
# File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 2188

class NetworkConfig; end