Struct gapi_grpc::google::container::v1alpha1::SetNetworkPolicyRequest[][src]

pub struct SetNetworkPolicyRequest {
    pub project_id: String,
    pub zone: String,
    pub cluster_id: String,
    pub network_policy: Option<NetworkPolicy>,
    pub name: String,
}

SetNetworkPolicyRequest enables/disables network policy for a cluster.

Fields

project_id: String

The Google Developers Console project ID or project number. This field is deprecated, use name instead.

zone: String

The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use name instead.

cluster_id: String

The name of the cluster. This field is deprecated, use name instead.

network_policy: Option<NetworkPolicy>

Configuration options for the NetworkPolicy feature.

name: String

The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format ‘projects//locations//clusters/*’.

Trait Implementations

impl Clone for SetNetworkPolicyRequest[src]

impl Debug for SetNetworkPolicyRequest[src]

impl Default for SetNetworkPolicyRequest[src]

impl Message for SetNetworkPolicyRequest[src]

impl PartialEq<SetNetworkPolicyRequest> for SetNetworkPolicyRequest[src]

impl StructuralPartialEq for SetNetworkPolicyRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SetNetworkPolicyRequest

impl Send for SetNetworkPolicyRequest

impl Sync for SetNetworkPolicyRequest

impl Unpin for SetNetworkPolicyRequest

impl UnwindSafe for SetNetworkPolicyRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]