Class: Anthropic::Models::Beta::DeploymentCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::DeploymentCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/deployment_create_params.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#agent ⇒ String, Anthropic::Models::Beta::BetaManagedAgentsAgentParams
Agent to deploy.
-
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#description ⇒ String?
Description of what the deployment does.
-
#environment_id ⇒ String
ID of the ‘environment` defining the container configuration for sessions created from this deployment.
-
#initial_events ⇒ Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserMessageEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSystemMessageEventParams>
Events to send to each session immediately after creation.
-
#metadata ⇒ Hash{Symbol=>String}?
Arbitrary key-value metadata.
-
#name ⇒ String
Human-readable name for the deployment.
-
#resources ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams, Anthropic::Models::Beta::BetaManagedAgentsFileResourceParams, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam>?
Resources (e.g. repositories, files) to mount into each session’s container.
-
#schedule ⇒ Anthropic::Models::Beta::BetaManagedAgentsScheduleParams?
5-field POSIX cron schedule.
-
#vault_ids ⇒ Array<String>?
Vault IDs for stored credentials the agent can use during sessions created from this deployment.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(agent:, environment_id:, initial_events:, name:, description: nil, metadata: nil, resources: nil, schedule: nil, vault_ids: nil, betas: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see DeploymentCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #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(agent:, environment_id:, initial_events:, name:, description: nil, metadata: nil, resources: nil, schedule: nil, vault_ids: nil, betas: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::DeploymentCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 81
|
Instance Attribute Details
#agent ⇒ String, Anthropic::Models::Beta::BetaManagedAgentsAgentParams
Agent to deploy. Accepts the ‘agent` ID string, which pins the latest version, or an `agent` object with both id and version specified. The agent must exist and not be archived.
17 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 17 required :agent, union: -> { Anthropic::Beta::DeploymentCreateParams::Agent } |
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
79 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 79 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#description ⇒ String?
Description of what the deployment does.
44 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 44 optional :description, String, nil?: true |
#environment_id ⇒ String
ID of the ‘environment` defining the container configuration for sessions created from this deployment.
24 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 24 required :environment_id, String |
#initial_events ⇒ Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserMessageEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSystemMessageEventParams>
Events to send to each session immediately after creation. At least 1, maximum 50.
31 32 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 31 required :initial_events, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsDeploymentInitialEventParams] } |
#metadata ⇒ Hash{Symbol=>String}?
Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
51 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 51 optional :metadata, Anthropic::Internal::Type::HashOf[String] |
#name ⇒ String
Human-readable name for the deployment.
38 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 38 required :name, String |
#resources ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams, Anthropic::Models::Beta::BetaManagedAgentsFileResourceParams, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam>?
Resources (e.g. repositories, files) to mount into each session’s container. Maximum 500.
58 59 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 58 optional :resources, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::DeploymentCreateParams::Resource] } |
#schedule ⇒ Anthropic::Models::Beta::BetaManagedAgentsScheduleParams?
5-field POSIX cron schedule. Literal wall-clock matching in the configured timezone.
66 |
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 66 optional :schedule, -> { Anthropic::Beta::BetaManagedAgentsScheduleParams }, nil?: true |
Class Method Details
.variants ⇒ Array(String, Anthropic::Models::Beta::BetaManagedAgentsAgentParams)
|
|
# File 'lib/anthropic/models/beta/deployment_create_params.rb', line 118
|