Class SetNetworkPolicyRequest (2.11.2)

Stay organized with collections Save and categorize content based on your preferences.
SetNetworkPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

SetNetworkPolicyRequest enables/disables network policy for a cluster.


project_id str
Required. Deprecated. The Google Developers Console `project ID or project number
zone str
Required. Deprecated. The name of the Google Compute Engine `zone
cluster_id str
Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
Required. Configuration options for the NetworkPolicy feature.
name str
The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format ``projects/*/locations/*/clusters/*``.


builtins.object > proto.message.Message > SetNetworkPolicyRequest