Struct google_container1::SetNetworkPolicyRequest [−][src]
pub struct SetNetworkPolicyRequest { pub project_id: Option<String>, pub cluster_id: Option<String>, pub network_policy: Option<NetworkPolicy>, pub zone: Option<String>, pub name: Option<String>, }
SetNetworkPolicyRequest enables/disables network policy for a cluster.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields
project_id: Option<String>
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
cluster_id: Option<String>
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
network_policy: Option<NetworkPolicy>
Configuration options for the NetworkPolicy feature.
zone: Option<String>
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
name: Option<String>
The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects//locations//clusters/*'.
Trait Implementations
impl Default for SetNetworkPolicyRequest
[src]
impl Default for SetNetworkPolicyRequest
fn default() -> SetNetworkPolicyRequest
[src]
fn default() -> SetNetworkPolicyRequest
Returns the "default value" for a type. Read more
impl Clone for SetNetworkPolicyRequest
[src]
impl Clone for SetNetworkPolicyRequest
fn clone(&self) -> SetNetworkPolicyRequest
[src]
fn clone(&self) -> SetNetworkPolicyRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SetNetworkPolicyRequest
[src]
impl Debug for SetNetworkPolicyRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for SetNetworkPolicyRequest
[src]
impl RequestValue for SetNetworkPolicyRequest
Auto Trait Implementations
impl Send for SetNetworkPolicyRequest
impl Send for SetNetworkPolicyRequest
impl Sync for SetNetworkPolicyRequest
impl Sync for SetNetworkPolicyRequest