Reference documentation and code samples for the Google Cloud Network Management V1 Client class GkeNetworkPolicyInfo.
For display only. Metadata associated with a GKE Network Policy.
Generated from protobuf message google.cloud.networkmanagement.v1.GkeNetworkPolicyInfo
Namespace
Google \ Cloud \ NetworkManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ display_name
string
The name of the Network Policy.
↳ uri
string
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>
↳ direction
string
Possible values: INGRESS, EGRESS
↳ action
string
Possible values: ALLOW, DENY
getDisplayName
The name of the Network Policy.
string
setDisplayName
The name of the Network Policy.
var
string
$this
getUri
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>
string
setUri
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>
var
string
$this
getDirection
Possible values: INGRESS, EGRESS
string
setDirection
Possible values: INGRESS, EGRESS
var
string
$this
getAction
Possible values: ALLOW, DENY
string
setAction
Possible values: ALLOW, DENY
var
string
$this

