Struct gapi_grpc::google::container::v1::SetNetworkPolicyRequest [−][src]
SetNetworkPolicyRequest enables/disables network policy for a cluster.
Fields
project_id: String
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
zone: 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.
cluster_id: String
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
network_policy: Option<NetworkPolicy>
Required. 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][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,