Class: Google::Apis::NetworkmanagementV1beta1::GkeNetworkPolicySkippedInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::GkeNetworkPolicySkippedInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Contains information about why GKE Network Policy evaluation was skipped.
Instance Attribute Summary collapse
-
#reason ⇒ String
Reason why Network Policy evaluation was skipped.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GkeNetworkPolicySkippedInfo
constructor
A new instance of GkeNetworkPolicySkippedInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GkeNetworkPolicySkippedInfo
Returns a new instance of GkeNetworkPolicySkippedInfo.
1471 1472 1473 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
Reason why Network Policy evaluation was skipped.
Corresponds to the JSON property reason
1469 1470 1471 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1469 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1476 1477 1478 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1476 def update!(**args) @reason = args[:reason] if args.key?(:reason) end |