Class: Google::Apis::GkehubV1::MembershipFeatureSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/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.



1866
1867
1868
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1866

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

Instance Attribute Details

#configmanagementGoogle::Apis::GkehubV1::ConfigManagementMembershipSpec

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



1864
1865
1866
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1864

def configmanagement
  @configmanagement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1871
1872
1873
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1871

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