Class: Google::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

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

Anthosobservability: Per-Membership Feature spec.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_metricsBoolean 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

Returns:

  • (Boolean)


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_applicationsBoolean Also known as: enable_stackdriver_on_applications?

Enable collecting and reporting metrics and logs from user apps. Corresponds to the JSON property enableStackdriverOnApplications

Returns:

  • (Boolean)


59
60
61
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 59

def enable_stackdriver_on_applications
  @enable_stackdriver_on_applications
end

#versionString

the version of stackdriver operator used by this feature Corresponds to the JSON property version

Returns:

  • (String)


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