Class: OpenAI::Models::Beta::Agents::Environments::TemplateUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::Environments::TemplateUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/beta/agents/environments/template_update_params.rb,
sig/openai/models/beta/agents/environments/template_update_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#capability_directories ⇒ ::Array[String]?
Directories that expose capabilities to the agent.
-
#env ⇒ ::Hash[Symbol, String]?
Replacement confidential environment values.
- #environment_template_id ⇒ String
-
#files ⇒ ::Array[OpenAI::Models::Beta::hosted_environment_file_param]?
Replacement file configuration materialized for each new session.
-
#name ⇒ String?
A replacement human-readable display name, or
nullto clear the name. -
#network ⇒ OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Network?
Network access available after setup completes.
-
#packages ⇒ OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Packages?
Packages installed before the runtime network policy applies.
-
#plugins ⇒ ::Array[OpenAI::Beta::HostedPluginParam]?
Replacement plugin configuration installed for each new session.
-
#setup_commands ⇒ ::Array[OpenAI::Beta::SetupCommandParam]?
Replacement confidential setup commands, never included in returned resources.
-
#skills ⇒ ::Array[OpenAI::Models::Beta::hosted_skill_param]?
Replacement skill configuration installed for each new session.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, 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 ⇒ Object
76 |
# File 'sig/openai/models/beta/agents/environments/template_update_params.rbs', line 76
def initialize: (
|
Instance Attribute Details
#capability_directories ⇒ ::Array[String]?
Directories that expose capabilities to the agent.
22 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 22 optional :capability_directories, OpenAI::Internal::Type::ArrayOf[String], nil?: true |
#env ⇒ ::Hash[Symbol, String]?
Replacement confidential environment values.
28 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 28 optional :env, OpenAI::Internal::Type::HashOf[String], nil?: true |
#environment_template_id ⇒ String
16 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 16 required :environment_template_id, String |
#files ⇒ ::Array[OpenAI::Models::Beta::hosted_environment_file_param]?
Replacement file configuration materialized for each new session.
34 35 36 37 38 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 34 optional( :files, -> { OpenAI::Internal::Type::ArrayOf[union: OpenAI::Beta::HostedEnvironmentFileParam] }, nil?: true ) |
#name ⇒ String?
A replacement human-readable display name, or null to clear the name.
44 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 44 optional :name, String, nil?: true |
#network ⇒ OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Network?
Network access available after setup completes. Omit to preserve the current
policy, or pass null to reset to disabled for GA requests or enabled for
alpha/beta requests.
52 53 54 55 56 57 58 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 52 optional( :network, -> { OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Network }, nil?: true ) |
#packages ⇒ OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Packages?
Packages installed before the runtime network policy applies.
64 65 66 67 68 69 70 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 64 optional( :packages, -> { OpenAI::Beta::Agents::Environments::TemplateUpdateParams::Packages }, nil?: true ) |
#plugins ⇒ ::Array[OpenAI::Beta::HostedPluginParam]?
Replacement plugin configuration installed for each new session.
76 77 78 79 80 81 82 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 76 optional( :plugins, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::HostedPluginParam] }, nil?: true ) |
#setup_commands ⇒ ::Array[OpenAI::Beta::SetupCommandParam]?
Replacement confidential setup commands, never included in returned resources.
88 89 90 91 92 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 88 optional( :setup_commands, -> { OpenAI::Internal::Type::ArrayOf[OpenAI::Beta::SetupCommandParam] }, nil?: true ) |
#skills ⇒ ::Array[OpenAI::Models::Beta::hosted_skill_param]?
Replacement skill configuration installed for each new session.
98 99 100 101 102 |
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 98 optional( :skills, -> { OpenAI::Internal::Type::ArrayOf[union: OpenAI::Beta::HostedSkillParam] }, nil?: true ) |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/agents/environments/template_update_params.rb', line 177
|
Instance Method Details
#to_hash ⇒ {
90 |
# File 'sig/openai/models/beta/agents/environments/template_update_params.rbs', line 90
def to_hash: -> {
|