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.



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

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

Instance Attribute Details

#anthosobservabilityGoogle::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec

Anthos Observability: Spec Corresponds to the JSON property anthosobservability



499
500
501
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 499

def anthosobservability
  @anthosobservability
end

#appdevexperienceGoogle::Apis::GkehubV1alpha::AppDevExperienceFeatureSpec

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



504
505
506
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 504

def appdevexperience
  @appdevexperience
end

#cloudauditloggingGoogle::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec

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



509
510
511
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 509

def cloudauditlogging
  @cloudauditlogging
end

#multiclusteringressGoogle::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec

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



515
516
517
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 515

def multiclusteringress
  @multiclusteringress
end

#workloadcertificateGoogle::Apis::GkehubV1alpha::FeatureSpec

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



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

def workloadcertificate
  @workloadcertificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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