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.



2468
2469
2470
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2468

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



2444
2445
2446
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2444

def configmanagement
  @configmanagement
end

#fleet_inheritedBoolean Also known as: fleet_inherited?

True if value of feature_spec was inherited from a fleet-level default. Corresponds to the JSON property fleetInherited

Returns:

  • (Boolean)


2449
2450
2451
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2449

def fleet_inherited
  @fleet_inherited
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityMembershipSpec

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



2456
2457
2458
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2456

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1::IdentityServiceMembershipSpec

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



2461
2462
2463
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2461

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



2466
2467
2468
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2466

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2473
2474
2475
2476
2477
2478
2479
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2473

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