Class: Google::Apis::GkehubV1beta::MembershipFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::MembershipFeatureState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
MembershipFeatureState contains Feature status information for a single Membership.
Instance Attribute Summary collapse
-
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipState
Anthos Config Management: State for a single cluster.
-
#metering ⇒ Google::Apis::GkehubV1beta::MeteringMembershipState
Metering: Per-Membership Feature State.
-
#state ⇒ Google::Apis::GkehubV1beta::FeatureState
FeatureState describes the high-level state of a Feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipFeatureState
constructor
A new instance of MembershipFeatureState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipFeatureState
Returns a new instance of MembershipFeatureState.
1471 1472 1473 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipState
Anthos Config Management: State for a single cluster.
Corresponds to the JSON property configmanagement
1457 1458 1459 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1457 def configmanagement @configmanagement end |
#metering ⇒ Google::Apis::GkehubV1beta::MeteringMembershipState
Metering: Per-Membership Feature State.
Corresponds to the JSON property metering
1462 1463 1464 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1462 def metering @metering end |
#state ⇒ Google::Apis::GkehubV1beta::FeatureState
FeatureState describes the high-level state of a Feature. It may be used to
describe a Feature's state at the environ-level, or per-membershop, depending
on the context.
Corresponds to the JSON property state
1469 1470 1471 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1469 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1476 1477 1478 1479 1480 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1476 def update!(**args) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @metering = args[:metering] if args.key?(:metering) @state = args[:state] if args.key?(:state) end |