Class GkeNetworkPolicyInfo
For display only. Metadata associated with a GKE Network Policy.
Implements
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1.Data
Assembly: Google.Apis.NetworkManagement.v1.dll
Syntax
public class GkeNetworkPolicyInfo : IDirectResponseSchema
Properties
Action
Possible values: ALLOW, DENY
Declaration
[JsonProperty("action")]
public virtual string Action { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Direction
Possible values: INGRESS, EGRESS
Declaration
[JsonProperty("direction")]
public virtual string Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
The name of the Network Policy.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/ Format for a Network Policy
in a regional cluster: projects//locations//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |