Class: Google::Container::V1::SetNetworkPolicyRequest

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

Overview

SetNetworkPolicyRequest enables/disables network policy for a cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

Returns The name of the cluster.

Returns:

  • (String)

    The name of the cluster.



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

class SetNetworkPolicyRequest; end

#network_policyGoogle::Container::V1::NetworkPolicy

Returns Configuration options for the NetworkPolicy feature.

Returns:



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

class SetNetworkPolicyRequest; end

#project_idString

Returns The Google Developers Console project ID or project number.

Returns:



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

class SetNetworkPolicyRequest; end

#zoneString

Returns The name of the Google Compute Engine zone in which the cluster resides.

Returns:

  • (String)

    The name of the Google Compute Engine zone in which the cluster resides.



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

class SetNetworkPolicyRequest; end