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. NOTE: Please use snake case in your feature name.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MembershipFeatureSpec

Returns a new instance of MembershipFeatureSpec.



3927
3928
3929
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3927

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



3898
3899
3900
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3898

def configmanagement
  @configmanagement
end

#fleetobservabilityGoogle::Apis::GkehubV1::FleetObservabilityMembershipSpec

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



3904
3905
3906
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3904

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1::IdentityServiceMembershipSpec

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



3909
3910
3911
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3909

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



3914
3915
3916
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3914

def mesh
  @mesh
end

#originGoogle::Apis::GkehubV1::Origin

Origin defines where this MembershipFeatureSpec originated from. Corresponds to the JSON property origin



3919
3920
3921
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3919

def origin
  @origin
end

#policycontrollerGoogle::Apis::GkehubV1::PolicyControllerMembershipSpec

Policy Controller: Configuration for a single cluster. Intended to parallel the PolicyController CR. Corresponds to the JSON property policycontroller



3925
3926
3927
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3925

def policycontroller
  @policycontroller
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3932
3933
3934
3935
3936
3937
3938
3939
# File 'lib/google/apis/gkehub_v1/classes.rb', line 3932

def update!(**args)
  @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)
  @origin = args[:origin] if args.key?(:origin)
  @policycontroller = args[:policycontroller] if args.key?(:policycontroller)
end