Class: Google::Apis::GkehubV1alpha::AnthosObservabilityFeatureSpec

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

Anthos Observability: Spec

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnthosObservabilityFeatureSpec

Returns a new instance of AnthosObservabilityFeatureSpec.



34
35
36
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 34

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

Instance Attribute Details

#default_membership_specGoogle::Apis::GkehubV1alpha::AnthosObservabilityMembershipSpec

Anthosobservability: Per-Membership Feature spec. Corresponds to the JSON property defaultMembershipSpec



32
33
34
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 32

def default_membership_spec
  @default_membership_spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 39

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