Class: Google::Apis::NetworkmanagementV1beta1::GkeNetworkPolicySkippedInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GkeNetworkPolicySkippedInfo

Returns a new instance of GkeNetworkPolicySkippedInfo.



1462
1463
1464
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1462

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#reasonString

Reason why Network Policy evaluation was skipped. Corresponds to the JSON property reason

Returns:

  • (String)


1460
1461
1462
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1460

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1467
1468
1469
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1467

def update!(**args)
  @reason = args[:reason] if args.key?(:reason)
end