Class: Google::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityLoggingState

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

Feature state for logging feature.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FleetObservabilityFleetObservabilityLoggingState

Returns a new instance of FleetObservabilityFleetObservabilityLoggingState.



2685
2686
2687
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2685

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

Instance Attribute Details

#default_logGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState

Base state for fleet observability feature. Corresponds to the JSON property defaultLog



2678
2679
2680
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2678

def default_log
  @default_log
end

#scope_logGoogle::Apis::GkehubV1alpha::FleetObservabilityFleetObservabilityBaseFeatureState

Base state for fleet observability feature. Corresponds to the JSON property scopeLog



2683
2684
2685
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2683

def scope_log
  @scope_log
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2690
2691
2692
2693
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2690

def update!(**args)
  @default_log = args[:default_log] if args.key?(:default_log)
  @scope_log = args[:scope_log] if args.key?(:scope_log)
end