Class: Google::Apis::GkehubV1alpha::CommonFeatureSpec

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

CommonFeatureSpec contains Hub-wide configuration information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CommonFeatureSpec

Returns a new instance of CommonFeatureSpec.



907
908
909
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 907

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



866
867
868
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 866

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec

Spec for App Dev Experience Feature. Corresponds to the JSON property appdevexperience



871
872
873
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 871

def appdevexperience
  @appdevexperience
end

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

Cloud Audit Logging: Spec for Audit Logging Allowlisting. Corresponds to the JSON property cloudauditlogging



876
877
878
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 876

def cloudauditlogging
  @cloudauditlogging
end

#clusterupgradeGoogle::Apis::GkehubV1alpha::ClusterUpgradeFleetSpec

ClusterUpgrade: The configuration for the fleet-level ClusterUpgrade feature. Corresponds to the JSON property clusterupgrade



882
883
884
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 882

def clusterupgrade
  @clusterupgrade
end

#fleetobservabilityGoogle::Apis::GkehubV1alpha::FleetObservabilityFeatureSpec

Fleet Observability: The Hub-wide input for the FleetObservability feature. Corresponds to the JSON property fleetobservability



887
888
889
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 887

def fleetobservability
  @fleetobservability
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

Multi-cluster Ingress: The configuration for the MultiClusterIngress feature. Corresponds to the JSON property multiclusteringress



893
894
895
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 893

def multiclusteringress
  @multiclusteringress
end

#namespaceactuationGoogle::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec

An empty spec for actuation feature. This is required since Feature proto requires a spec. Corresponds to the JSON property namespaceactuation



899
900
901
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 899

def namespaceactuation
  @namespaceactuation
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::FeatureSpec

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



905
906
907
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 905

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



912
913
914
915
916
917
918
919
920
921
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 912

def update!(**args)
  @anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
  @cloudauditlogging = args[:cloudauditlogging] if args.key?(:cloudauditlogging)
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
  @namespaceactuation = args[:namespaceactuation] if args.key?(:namespaceactuation)
  @workloadcertificate = args[:workloadcertificate] if args.key?(:workloadcertificate)
end