Class: Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::ClusterUpgradeIgnoredMembership
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
IgnoredMembership represents a membership ignored by the feature. A membership can be ignored because it was manually upgraded to a newer version than RC default.
Instance Attribute Summary collapse
-
#ignored_time ⇒ String
Time when the membership was first set to ignored.
-
#reason ⇒ String
Reason why the membership is ignored.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeIgnoredMembership
constructor
A new instance of ClusterUpgradeIgnoredMembership.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeIgnoredMembership
Returns a new instance of ClusterUpgradeIgnoredMembership.
680 681 682 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 680 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ignored_time ⇒ String
Time when the membership was first set to ignored.
Corresponds to the JSON property ignoredTime
673 674 675 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 673 def ignored_time @ignored_time end |
#reason ⇒ String
Reason why the membership is ignored.
Corresponds to the JSON property reason
678 679 680 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 678 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
685 686 687 688 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 685 def update!(**args) @ignored_time = args[:ignored_time] if args.key?(:ignored_time) @reason = args[:reason] if args.key?(:reason) end |