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.



2512
2513
2514
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2512

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

Instance Attribute Details

#anthosvmGoogle::Apis::GkehubV1::AnthosVmMembershipSpec

AnthosVMMembershipSpec contains the AnthosVM feature configuration for a membership/cluster. Corresponds to the JSON property anthosvm



2488
2489
2490
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2488

def anthosvm
  @anthosvm
end

#configmanagementGoogle::Apis::GkehubV1::ConfigManagementMembershipSpec

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



2494
2495
2496
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2494

def configmanagement
  @configmanagement
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityMembershipSpec

FleetObservability: The membership-specific input for FleetObservability feature. Corresponds to the JSON property fleetobservability



2500
2501
2502
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2500

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1::IdentityServiceMembershipSpec

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



2505
2506
2507
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2505

def identityservice
  @identityservice
end

#meshGoogle::Apis::GkehubV1::ServiceMeshMembershipSpec

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



2510
2511
2512
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2510

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2517
2518
2519
2520
2521
2522
2523
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2517

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