Class BetaTelemetryDestinationTraces
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationTracesA telemetry destination's settings for the traces it receives.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTelemetryDestinationTraces.BuilderA builder for BetaTelemetryDestinationTraces.
-
Method Summary
Modifier and Type Method Description final BetaTelemetryDestinationContentModecontentMode()What the exported spans contain. final Booleanenabled()Whether the destination receives traces. final Optional<String>endpointUrl()The full URL that the API posts traces to, exactly as registered, or nullif the destination doesn't have one.final Optional<Integer>maxContentBytes()The most bytes of content that one exported span can contain, or nullif only the API's maximum applies.final JsonField<BetaTelemetryDestinationContentMode>_contentMode()Returns the raw JSON value of contentMode. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<String>_endpointUrl()Returns the raw JSON value of endpointUrl. final JsonField<Integer>_maxContentBytes()Returns the raw JSON value of maxContentBytes. final Map<String, JsonValue>_additionalProperties()final BetaTelemetryDestinationTraces.BuildertoBuilder()final BetaTelemetryDestinationTracesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTelemetryDestinationTraces.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTelemetryDestinationTraces. -
-
Method Detail
-
contentMode
final BetaTelemetryDestinationContentMode contentMode()
What the exported spans contain.
-
enabled
final Boolean enabled()
Whether the destination receives traces. A destination whose
enabledis false keeps its other settings.
-
endpointUrl
final Optional<String> endpointUrl()
The full URL that the API posts traces to, exactly as registered, or
nullif the destination doesn't have one.When it is
null, the API posts traces toendpoint_urlwith/v1/tracesappended.
-
maxContentBytes
final Optional<Integer> maxContentBytes()
The most bytes of content that one exported span can contain, or
nullif only the API's maximum applies.Content means model prompts and responses, and tool inputs and outputs. The API shortens longer content to this size before it delivers the span. A destination whose
content_modeismetadata_onlykeeps this value. It applies oncecontent_modeiscontent.
-
_contentMode
final JsonField<BetaTelemetryDestinationContentMode> _contentMode()
Returns the raw JSON value of contentMode.
Unlike contentMode, this method doesn't throw if the JSON field has an unexpected type.
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_endpointUrl
final JsonField<String> _endpointUrl()
Returns the raw JSON value of endpointUrl.
Unlike endpointUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_maxContentBytes
final JsonField<Integer> _maxContentBytes()
Returns the raw JSON value of maxContentBytes.
Unlike maxContentBytes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTelemetryDestinationTraces.Builder toBuilder()
-
validate
final BetaTelemetryDestinationTraces validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaTelemetryDestinationTraces.Builder builder()
Returns a mutable builder for constructing an instance of BetaTelemetryDestinationTraces.
The following fields are required:
.contentMode() .enabled() .endpointUrl() .maxContentBytes()
-
-
-
-