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

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.

Configuration options for the NetworkPolicy feature.

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.

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]

Returns the "default value" for a type. Read more

impl Clone for SetNetworkPolicyRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SetNetworkPolicyRequest
[src]

Formats the value using the given formatter. Read more

impl RequestValue for SetNetworkPolicyRequest
[src]

Auto Trait Implementations