Class: OpenAI::Models::Realtime::RealtimeSessionCreateResponse::Tracing::TracingConfiguration

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/realtime/realtime_session_create_response.rb,
sig/openai/models/realtime/realtime_session_create_response.rbs

Instance Attribute Summary collapse

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize ⇒ TracingConfiguration

Returns a new instance of TracingConfiguration.

Parameters:

  • group_id —

    The group id to attach to this trace to enable filtering and grouping in the Traces Dashboard.

  • metadata —

    The arbitrary metadata to attach to this trace to enable filtering in the Traces Dashboard.

  • workflow_name —

    The name of the workflow to attach to this trace. This is used to name the trace in the Traces Dashboard.

  • group_id: (String)
  • metadata: (top)
  • workflow_name: (String)


1411
1412
1413
1414
1415
# File 'sig/openai/models/realtime/realtime_session_create_response.rbs', line 1411

def initialize: (
  ?group_id: String,
  ?metadata: top,
  ?workflow_name: String
) -> void

Instance Attribute Details

#group_id ⇒ String?

The group id to attach to this trace to enable filtering and grouping in the Traces Dashboard.

Returns:

  • (String, nil)


1397
# File 'lib/openai/models/realtime/realtime_session_create_response.rb', line 1397

optional :group_id, String

#metadata ⇒ top?

The arbitrary metadata to attach to this trace to enable filtering in the Traces Dashboard.

Returns:

  • (top, nil)


1404
# File 'lib/openai/models/realtime/realtime_session_create_response.rb', line 1404

optional :metadata, OpenAI::Internal::Type::Unknown

#workflow_name ⇒ String?

The name of the workflow to attach to this trace. This is used to name the trace in the Traces Dashboard.

Returns:

  • (String, nil)


1411
# File 'lib/openai/models/realtime/realtime_session_create_response.rb', line 1411

optional :workflow_name, String

Instance Method Details

#to_hash ⇒ { ?group_id: String, ?metadata: top, ?workflow_name: String }

Returns:

  • ({ ?group_id: String, ?metadata: top, ?workflow_name: String })


1417
1418
1419
1420
1421
# File 'sig/openai/models/realtime/realtime_session_create_response.rbs', line 1417

def to_hash: -> {
  ?group_id: String,
  ?metadata: top,
  ?workflow_name: String
}