SetNetworkPolicyRequest enables/disables network policy for a
cluster.
Attributes
Name
Description
project_id
str
Deprecated. The Google Developers Console `project ID or
project
number
zone
str
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
str
Deprecated. The name of the cluster.
This field has been deprecated and replaced by
the name field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]