google_api_container v0.7.0 GoogleApi.Container.V1.Model.SetNetworkPolicyRequest View Source

SetNetworkPolicyRequest enables/disables network policy for a cluster.

Attributes

  • clusterId (String.t): Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field. Defaults to: null.
  • name (String.t): The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format 'projects//locations//clusters/*'. Defaults to: null.
  • networkPolicy (NetworkPolicy): Configuration options for the NetworkPolicy feature. Defaults to: null.
  • projectId (String.t): Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field. Defaults to: null.
  • zone (String.t): 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. Defaults to: null.

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 Source
t() :: %GoogleApi.Container.V1.Model.SetNetworkPolicyRequest{
  clusterId: any(),
  name: any(),
  networkPolicy: GoogleApi.Container.V1.Model.NetworkPolicy.t(),
  projectId: any(),
  zone: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.