Class: Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminClusterOperationsConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure.
Instance Attribute Summary collapse
-
#enable_application_logs ⇒ Boolean
(also: #enable_application_logs?)
Whether collection of application logs/metrics should be enabled (in addition to system logs/metrics).
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminClusterOperationsConfig
constructor
A new instance of BareMetalAdminClusterOperationsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminClusterOperationsConfig
Returns a new instance of BareMetalAdminClusterOperationsConfig.
384 385 386 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_application_logs ⇒ Boolean Also known as: enable_application_logs?
Whether collection of application logs/metrics should be enabled (in addition
to system logs/metrics).
Corresponds to the JSON property enableApplicationLogs
381 382 383 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 381 def enable_application_logs @enable_application_logs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
389 390 391 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 389 def update!(**args) @enable_application_logs = args[:enable_application_logs] if args.key?(:enable_application_logs) end |