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.



2307
2308
2309
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2307

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

Anthosobservability: Per-Membership Feature spec. Corresponds to the JSON property anthosobservability



2289
2290
2291
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2289

def anthosobservability
  @anthosobservability
end

#configmanagementGoogle::Apis::GkehubV1alpha::ConfigManagementMembershipSpec

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



2295
2296
2297
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2295

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

Anthos Identity Service: Configuration for a single Membership. Corresponds to the JSON property identityservice



2300
2301
2302
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2300

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1alpha::ServiceMeshMembershipSpec

Service Mesh: Spec for a single Membership for the servicemesh feature Corresponds to the JSON property mesh



2305
2306
2307
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2305

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2312
2313
2314
2315
2316
2317
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2312

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