class Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceConfig

TraceConfig defines the configurations in an environment of distributed trace.

Attributes

endpoint[RW]

Required. Endpoint of the exporter. Corresponds to the JSON property `endpoint` @return [String]

exporter[RW]

Required. Exporter that is used to view the distributed trace captured using OpenCensus. An exporter sends traces to any backend that is capable of consuming them. Recorded spans can be exported by registered exporters. Corresponds to the JSON property `exporter` @return [String]

sampling_config[RW]

TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs. Corresponds to the JSON property `samplingConfig` @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1TraceSamplingConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 7223
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 7228
def update!(**args)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @exporter = args[:exporter] if args.key?(:exporter)
  @sampling_config = args[:sampling_config] if args.key?(:sampling_config)
end