Class: Google::Apis::ContainerV1::ManagedOpenTelemetryConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedOpenTelemetryConfig

Returns a new instance of ManagedOpenTelemetryConfig.



4794
4795
4796
# File 'lib/google/apis/container_v1/classes.rb', line 4794

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

Instance Attribute Details

#scopeString

Scope of the Managed OpenTelemetry pipeline. Corresponds to the JSON property scope

Returns:

  • (String)


4792
4793
4794
# File 'lib/google/apis/container_v1/classes.rb', line 4792

def scope
  @scope
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4799
4800
4801
# File 'lib/google/apis/container_v1/classes.rb', line 4799

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