Class: Google::Container::V1::SetNetworkPolicyRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Container::V1::SetNetworkPolicyRequest
 
 
- 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
- 
  
    
      #cluster_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the cluster.
 - 
  
    
      #network_policy  ⇒ Google::Container::V1::NetworkPolicy 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration options for the NetworkPolicy feature.
 - 
  
    
      #project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Google Developers Console project ID or project number.
 - 
  
    
      #zone  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the Google Compute Engine zone in which the cluster resides.
 
Instance Attribute Details
#cluster_id ⇒ String
Returns 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_policy ⇒ Google::Container::V1::NetworkPolicy
Returns Configuration options for the NetworkPolicy feature.
      1471  | 
    
      # File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1471 class SetNetworkPolicyRequest; end  | 
  
#project_id ⇒ String
Returns The Google Developers Console project ID or project number.
      1471  | 
    
      # File 'lib/google/cloud/container/v1/doc/google/container/v1/cluster_service.rb', line 1471 class SetNetworkPolicyRequest; end  | 
  
#zone ⇒ String
Returns 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  |