google_api_container v0.9.0 GoogleApi.Container.V1.Model.SetNetworkPolicyRequest View Source
SetNetworkPolicyRequest enables/disables network policy for a cluster.
Attributes
clusterId
(type:String.t
, default:nil
) - Required. 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 format 'projects//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
) - Required. 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
) - Required. 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
Link to this type
t()
View Sourcet() :: %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
Unwrap a decoded JSON object into its complex fields.