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. 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.



3854
3855
3856
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3854

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

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



3808
3809
3810
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3808

def anthosobservability
  @anthosobservability
end

#cloudbuildGoogle::Apis::GkehubV1alpha::CloudBuildMembershipSpec

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



3813
3814
3815
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3813

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



3819
3820
3821
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3819

def configmanagement
  @configmanagement
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityMembershipSpec

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



3825
3826
3827
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3825

def fleetobservability
  @fleetobservability
end

#identityserviceGoogle::Apis::GkehubV1alpha::IdentityServiceMembershipSpec

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



3830
3831
3832
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3830

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



3835
3836
3837
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3835

def mesh
  @mesh
end

#originGoogle::Apis::GkehubV1alpha::Origin

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



3840
3841
3842
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3840

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



3846
3847
3848
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3846

def policycontroller
  @policycontroller
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::MembershipSpec

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



3852
3853
3854
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3852

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3859

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