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.



2753
2754
2755
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2753

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

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



2712
2713
2714
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2712

def anthosobservability
  @anthosobservability
end

#anthosvmGoogle::Apis::GkehubV1alpha::AnthosVmMembershipSpec

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



2718
2719
2720
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2718

def anthosvm
  @anthosvm
end

#cloudbuildGoogle::Apis::GkehubV1alpha::CloudBuildMembershipSpec

Cloud Build: Configurations for each Cloud Build enabled cluster. Corresponds to the JSON property cloudbuild



2723
2724
2725
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2723

def cloudbuild
  @cloudbuild
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



2729
2730
2731
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2729

def configmanagement
  @configmanagement
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

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



2734
2735
2736
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2734

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



2739
2740
2741
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2739

def mesh
  @mesh
end

#policycontrollerGoogle::Apis::GkehubV1alpha::PolicyControllerMembershipSpec

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



2745
2746
2747
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2745

def policycontroller
  @policycontroller
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::MembershipSpec

Workload Certificate: The membership-specific input for WorkloadCertificate feature. Corresponds to the JSON property workloadcertificate



2751
2752
2753
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2751

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2758

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