Class SetNetworkPolicyRequest

SetNetworkPolicyRequest enables/disables network policy for a cluster.

Attributes
NameDescription
strproject_id
Deprecated. The Google Developers Console `project ID or project number
strzone
Deprecated. The name of the Google Compute Engine `zone
strcluster_id
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
google.cloud.container_v1.types.NetworkPolicynetwork_policy
Required. Configuration options for the NetworkPolicy feature.
strname
The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format ``projects/*/locations/*/clusters/*``.

Inheritance

builtins.object > proto.message.Message > SetNetworkPolicyRequest