Class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec
- 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
Anthosobservability: Per-Membership Feature spec.
Instance Attribute Summary collapse
-
#do_not_optimize_metrics ⇒ Boolean
(also: #do_not_optimize_metrics?)
Use full of metrics rather than optimized metrics.
-
#enable_stackdriver_on_applications ⇒ Boolean
(also: #enable_stackdriver_on_applications?)
Enable collecting and reporting metrics and logs from user apps.
-
#version ⇒ String
the version of stackdriver operator used by this feature Corresponds to the JSON property
version
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnthosObservabilityMembershipSpec
constructor
A new instance of AnthosObservabilityMembershipSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnthosObservabilityMembershipSpec
Returns a new instance of AnthosObservabilityMembershipSpec.
67 68 69 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 67 def initialize(**args) update!(**args) end |
Instance Attribute Details
#do_not_optimize_metrics ⇒ Boolean Also known as: do_not_optimize_metrics?
Use full of metrics rather than optimized metrics. See https://cloud.google.
com/anthos/clusters/docs/on-prem/1.8/concepts/logging-and-monitoring#
optimized_metrics_default_metrics
Corresponds to the JSON property doNotOptimizeMetrics
53 54 55 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 53 def do_not_optimize_metrics @do_not_optimize_metrics end |
#enable_stackdriver_on_applications ⇒ Boolean Also known as: enable_stackdriver_on_applications?
Enable collecting and reporting metrics and logs from user apps.
Corresponds to the JSON property enableStackdriverOnApplications
59 60 61 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 59 def enable_stackdriver_on_applications @enable_stackdriver_on_applications end |
#version ⇒ String
the version of stackdriver operator used by this feature
Corresponds to the JSON property version
65 66 67 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 65 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
72 73 74 75 76 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 72 def update!(**args) @do_not_optimize_metrics = args[:do_not_optimize_metrics] if args.key?(:do_not_optimize_metrics) @enable_stackdriver_on_applications = args[:enable_stackdriver_on_applications] if args.key?(:enable_stackdriver_on_applications) @version = args[:version] if args.key?(:version) end |