@@ -1393,6 +1393,66 @@ def update!(**args)
13931393 end
13941394 end
13951395
1396+ # For display only. Metadata associated with a GKE Network Policy.
1397+ class GkeNetworkPolicyInfo
1398+ include Google ::Apis ::Core ::Hashable
1399+
1400+ # Possible values: ALLOW, DENY
1401+ # Corresponds to the JSON property `action`
1402+ # @return [String]
1403+ attr_accessor :action
1404+
1405+ # Possible values: INGRESS, EGRESS
1406+ # Corresponds to the JSON property `direction`
1407+ # @return [String]
1408+ attr_accessor :direction
1409+
1410+ # The name of the Network Policy.
1411+ # Corresponds to the JSON property `displayName`
1412+ # @return [String]
1413+ attr_accessor :display_name
1414+
1415+ # The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
1416+ # `projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
1417+ # Format for a Network Policy in a regional cluster: `projects//locations//
1418+ # clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
1419+ # Corresponds to the JSON property `uri`
1420+ # @return [String]
1421+ attr_accessor :uri
1422+
1423+ def initialize ( **args )
1424+ update! ( **args )
1425+ end
1426+
1427+ # Update properties of this object
1428+ def update! ( **args )
1429+ @action = args [ :action ] if args . key? ( :action )
1430+ @direction = args [ :direction ] if args . key? ( :direction )
1431+ @display_name = args [ :display_name ] if args . key? ( :display_name )
1432+ @uri = args [ :uri ] if args . key? ( :uri )
1433+ end
1434+ end
1435+
1436+ # For display only. Contains information about why GKE Network Policy evaluation
1437+ # was skipped.
1438+ class GkeNetworkPolicySkippedInfo
1439+ include Google ::Apis ::Core ::Hashable
1440+
1441+ # Reason why Network Policy evaluation was skipped.
1442+ # Corresponds to the JSON property `reason`
1443+ # @return [String]
1444+ attr_accessor :reason
1445+
1446+ def initialize ( **args )
1447+ update! ( **args )
1448+ end
1449+
1450+ # Update properties of this object
1451+ def update! ( **args )
1452+ @reason = args [ :reason ] if args . key? ( :reason )
1453+ end
1454+ end
1455+
13961456 # For display only. Metadata associated with a Google Kubernetes Engine (GKE)
13971457 # Pod.
13981458 class GkePodInfo
@@ -3239,6 +3299,17 @@ class Step
32393299 # @return [Google::Apis::NetworkmanagementV1::GkeMasterInfo]
32403300 attr_accessor :gke_master
32413301
3302+ # For display only. Metadata associated with a GKE Network Policy.
3303+ # Corresponds to the JSON property `gkeNetworkPolicy`
3304+ # @return [Google::Apis::NetworkmanagementV1::GkeNetworkPolicyInfo]
3305+ attr_accessor :gke_network_policy
3306+
3307+ # For display only. Contains information about why GKE Network Policy evaluation
3308+ # was skipped.
3309+ # Corresponds to the JSON property `gkeNetworkPolicySkipped`
3310+ # @return [Google::Apis::NetworkmanagementV1::GkeNetworkPolicySkippedInfo]
3311+ attr_accessor :gke_network_policy_skipped
3312+
32423313 # For display only. Metadata associated with a Google Kubernetes Engine (GKE)
32433314 # Pod.
32443315 # Corresponds to the JSON property `gkePod`
@@ -3383,6 +3454,8 @@ def update!(**args)
33833454 @forward = args [ :forward ] if args . key? ( :forward )
33843455 @forwarding_rule = args [ :forwarding_rule ] if args . key? ( :forwarding_rule )
33853456 @gke_master = args [ :gke_master ] if args . key? ( :gke_master )
3457+ @gke_network_policy = args [ :gke_network_policy ] if args . key? ( :gke_network_policy )
3458+ @gke_network_policy_skipped = args [ :gke_network_policy_skipped ] if args . key? ( :gke_network_policy_skipped )
33863459 @gke_pod = args [ :gke_pod ] if args . key? ( :gke_pod )
33873460 @google_service = args [ :google_service ] if args . key? ( :google_service )
33883461 @hybrid_subnet = args [ :hybrid_subnet ] if args . key? ( :hybrid_subnet )
0 commit comments