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.



548
549
550
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 548

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



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

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec

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



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

def appdevexperience
  @appdevexperience
end

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

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



534
535
536
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 534

def cloudauditlogging
  @cloudauditlogging
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



540
541
542
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 540

def multiclusteringress
  @multiclusteringress
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::FeatureSpec

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



546
547
548
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 546

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



553
554
555
556
557
558
559
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 553

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