Class: Google::Apis::GkehubV1beta::MembershipFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::MembershipFeatureSpec
- 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
MembershipFeatureSpec contains configuration information for a single Membership.
Instance Attribute Summary collapse
-
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MembershipFeatureSpec
constructor
A new instance of MembershipFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MembershipFeatureSpec
Returns a new instance of MembershipFeatureSpec.
1439 1440 1441 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configmanagement ⇒ Google::Apis::GkehubV1beta::ConfigManagementMembershipSpec
Anthos Config Management: Configuration for a single cluster. Intended to
parallel the ConfigManagement CR.
Corresponds to the JSON property configmanagement
1437 1438 1439 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1437 def configmanagement @configmanagement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1444 1445 1446 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1444 def update!(**args) @configmanagement = args[:configmanagement] if args.key?(:configmanagement) end |