GoogleApi.Container.V1.Model.SetNetworkPolicyRequest (google_api_container v0.24.0) View Source
SetNetworkPolicyRequest enables/disables network policy for a cluster.
Attributes
-
clusterId
(type:String.t
, default:nil
) - Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. -
name
(type:String.t
, default:nil
) - The name (project, location, cluster id) of the cluster to set networking policy. Specified in the formatprojects/*/locations/*/clusters/*
. -
networkPolicy
(type:GoogleApi.Container.V1.Model.NetworkPolicy.t
, default:nil
) - Required. Configuration options for the NetworkPolicy feature. -
projectId
(type:String.t
, default:nil
) - Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field. -
zone
(type:String.t
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Container.V1.Model.SetNetworkPolicyRequest{ clusterId: String.t(), name: String.t(), networkPolicy: GoogleApi.Container.V1.Model.NetworkPolicy.t(), projectId: String.t(), zone: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.