Class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec

Inherits:
Object
  • Object
show all
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

MembershipFeatureSpec contains configuration information for a single Membership.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipFeatureSpec

Returns a new instance of MembershipFeatureSpec.



1462
1463
1464
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1462

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configmanagementGoogle::Apis::GkehubV1alpha::ConfigManagementMembershipSpec

Configuration for a single cluster. Intended to parallel the ConfigManagement CR. Corresponds to the JSON property configmanagement



1460
1461
1462
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1460

def configmanagement
  @configmanagement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1467
1468
1469
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1467

def update!(**args)
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
end