Class: Google::Apis::GkehubV1alpha::MembershipFeatureState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::MembershipFeatureState
- 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
MembershipFeatureState contains Feature status information for a single Membership.
Instance Attribute Summary collapse
-
#configmanagement ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipState
State for Anthos Config Management Corresponds to the JSON property
configmanagement. -
#metering ⇒ Google::Apis::GkehubV1alpha::MeteringMembershipState
Metering per-Membership Feature State.
-
#servicemesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshMembershipState
MembershipState describes the state of the Service Mesh Hub Feature as analyzed by the Service Mesh Hub Controller, for single Membership.
-
#state ⇒ Google::Apis::GkehubV1alpha::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.
1500 1501 1502 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1500 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configmanagement ⇒ Google::Apis::GkehubV1alpha::ConfigManagementMembershipState
State for Anthos Config Management
Corresponds to the JSON property configmanagement
1480 1481 1482 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1480 def configmanagement @configmanagement end |
#metering ⇒ Google::Apis::GkehubV1alpha::MeteringMembershipState
Metering per-Membership Feature State.
Corresponds to the JSON property metering
1485 1486 1487 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1485 def metering @metering end |
#servicemesh ⇒ Google::Apis::GkehubV1alpha::ServiceMeshMembershipState
MembershipState describes the state of the Service Mesh Hub Feature as
analyzed by the Service Mesh Hub Controller, for single Membership.
Corresponds to the JSON property servicemesh
1491 1492 1493 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1491 def servicemesh @servicemesh end |
#state ⇒ Google::Apis::GkehubV1alpha::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
1498 1499 1500 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1498 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1505 1506 1507 1508 1509 1510 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1505 def update!(**args) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) @metering = args[:metering] if args.key?(:metering) @servicemesh = args[:servicemesh] if args.key?(:servicemesh) @state = args[:state] if args.key?(:state) end |