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.



544
545
546
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 544

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



520
521
522
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 520

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec

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



525
526
527
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 525

def appdevexperience
  @appdevexperience
end

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

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



530
531
532
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 530

def cloudauditlogging
  @cloudauditlogging
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



536
537
538
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 536

def multiclusteringress
  @multiclusteringress
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::FeatureSpec

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



542
543
544
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 542

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



549
550
551
552
553
554
555
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 549

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