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.
1507 1508 1509 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1507 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
1487 1488 1489 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1487 def configmanagement @configmanagement end |
#metering ⇒ Google::Apis::GkehubV1alpha::MeteringMembershipState
Metering per-Membership Feature State.
Corresponds to the JSON property metering
1492 1493 1494 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1492 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
1498 1499 1500 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1498 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
1505 1506 1507 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1505 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1512 1513 1514 1515 1516 1517 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1512 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 |