Network Management v1 API - Class GkeNetworkPolicyInfo (2.19.0)

public sealed class GkeNetworkPolicyInfo : IMessage<GkeNetworkPolicyInfo>, IEquatable<GkeNetworkPolicyInfo>, IDeepCloneable<GkeNetworkPolicyInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Management v1 API class GkeNetworkPolicyInfo.

For display only. Metadata associated with a GKE Network Policy.

Inheritance

object > GkeNetworkPolicyInfo

Namespace

Google.Cloud.NetworkManagement.V1

Assembly

Google.Cloud.NetworkManagement.V1.dll

Constructors

GkeNetworkPolicyInfo()

public GkeNetworkPolicyInfo()

GkeNetworkPolicyInfo(GkeNetworkPolicyInfo)

public GkeNetworkPolicyInfo(GkeNetworkPolicyInfo other)
Parameter
Name Description
other GkeNetworkPolicyInfo

Properties

Action

public string Action { get; set; }

Possible values: ALLOW, DENY

Property Value
Type Description
string

Direction

public string Direction { get; set; }

Possible values: INGRESS, EGRESS

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

The name of the Network Policy.

Property Value
Type Description
string

Uri

public string Uri { get; set; }

The URI of the Network Policy. Format for a Network Policy in a zonal cluster: projects/<project_id>/zones/<zone>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy> Format for a Network Policy in a regional cluster: projects/<project_id>/locations/<location>/clusters/<cluster>/k8s/namespaces/<namespace>/networking.k8s.io/networkpolicies/<networkpolicy>

Property Value
Type Description
string