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.



2413
2414
2415
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2413

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



2395
2396
2397
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2395

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



2401
2402
2403
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2401

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1::IdentityServiceMembershipSpec

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



2406
2407
2408
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2406

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



2411
2412
2413
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2411

def mesh
  @mesh
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2418
2419
2420
2421
2422
2423
# File 'lib/google/apis/gkehub_v1/classes.rb', line 2418

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