Module: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs

Overview

See Also:

  • OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell#environment

Defined Under Namespace

Classes: ContainerAuto, ContainerReference, Local

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

Methods included from Internal::Util::SorbetRuntimeSupport

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

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

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1223

.variants ⇒ Array(OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::SkillReference, OpenAI::Models::Live::ResponsesDelegationUpdateConfig::Tool::Shell::Environment::ContainerAuto::Skill::Inline)



# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1229

Instance Method Details

#initialize(container_id:, type: :container_reference) ⇒ Object

Parameters:

  • container_id (String) —

    The ID of the referenced container.

  • type (Symbol, :container_reference) (defaults to: :container_reference) —

    References a container created with the /v1/containers endpoint



# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 1247