class Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfig

NEXT ID: 8 RuntimeTraceConfig defines the configurations for distributed trace in an environment.

Attributes

endpoint[RW]

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

exporter[RW]

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]

name[RW]

Name of the trace config in the following format: `organizations/`org`/ environment/`env`/traceConfig` Corresponds to the JSON property `name` @return [String]

overrides[RW]

List of trace configuration overrides for spicific API proxies. Corresponds to the JSON property `overrides` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeTraceConfigOverride>]

revision_create_time[RW]

The timestamp that the revision was created or updated. Corresponds to the JSON property `revisionCreateTime` @return [String]

revision_id[RW]

Revision number which can be used by the runtime to detect if the trace config has changed between two versions. Corresponds to the JSON property `revisionId` @return [String]

sampling_config[RW]

NEXT ID: 3 RuntimeTraceSamplingConfig 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::GoogleCloudApigeeV1RuntimeTraceSamplingConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 6303
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 6308
def update!(**args)
  @endpoint = args[:endpoint] if args.key?(:endpoint)
  @exporter = args[:exporter] if args.key?(:exporter)
  @name = args[:name] if args.key?(:name)
  @overrides = args[:overrides] if args.key?(:overrides)
  @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @sampling_config = args[:sampling_config] if args.key?(:sampling_config)
end