Class: Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::FleetObservabilityLoggingConfig
- 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
LoggingConfig defines the configuration for different types of logs.
Instance Attribute Summary collapse
-
#default_config ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig
RoutingConfig configures the behaviour of fleet logging feature.
-
#fleet_scope_logs_config ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig
RoutingConfig configures the behaviour of fleet logging feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FleetObservabilityLoggingConfig
constructor
A new instance of FleetObservabilityLoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FleetObservabilityLoggingConfig
Returns a new instance of FleetObservabilityLoggingConfig.
2729 2730 2731 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_config ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig
RoutingConfig configures the behaviour of fleet logging feature.
Corresponds to the JSON property defaultConfig
2722 2723 2724 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2722 def default_config @default_config end |
#fleet_scope_logs_config ⇒ Google::Apis::GkehubV1alpha::FleetObservabilityRoutingConfig
RoutingConfig configures the behaviour of fleet logging feature.
Corresponds to the JSON property fleetScopeLogsConfig
2727 2728 2729 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2727 def fleet_scope_logs_config @fleet_scope_logs_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2734 2735 2736 2737 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2734 def update!(**args) @default_config = args[:default_config] if args.key?(:default_config) @fleet_scope_logs_config = args[:fleet_scope_logs_config] if args.key?(:fleet_scope_logs_config) end |