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.



4762
4763
4764
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4762

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

Instance Attribute Details

#cloudbuildGoogle::Apis::GkehubV1alpha::CloudBuildMembershipSpec

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



4715
4716
4717
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4715

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



4721
4722
4723
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4721

def configmanagement
  @configmanagement
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec

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



4727
4728
4729
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4727

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

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



4732
4733
4734
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4732

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



4737
4738
4739
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4737

def mesh
  @mesh
end

#namespaceactuationGoogle::Apis::GkehubV1alpha::NamespaceActuationMembershipSpec

Namespace Actuation: The membership-specific input for NamespaceActuation feature. Corresponds to the JSON property namespaceactuation



4743
4744
4745
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4743

def namespaceactuation
  @namespaceactuation
end

#originGoogle::Apis::GkehubV1alpha::Origin

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



4748
4749
4750
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4748

def origin
  @origin
end

#policycontrollerGoogle::Apis::GkehubV1alpha::PolicyControllerMembershipSpec

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



4754
4755
4756
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4754

def policycontroller
  @policycontroller
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::MembershipSpec

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



4760
4761
4762
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4760

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4767

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