Class: Anthropic::Models::Beta::DeploymentUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::DeploymentUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/deployment_update_params.rb,
sig/anthropic/models/beta/deployment_update_params.rbs
Overview
Defined Under Namespace
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#agent ⇒ String, ...
Agent to deploy.
-
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
-
#budget ⇒ Anthropic::Models::Beta::BetaManagedAgentsBudgetLimit?
A hard spend ceiling.
- #deployment_id ⇒ String
-
#description ⇒ String?
Description.
-
#environment_id ⇒ String?
ID of the
environmentwhere sessions run. -
#initial_events ⇒ Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserMessageEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSystemMessageEventParams>?
Initial events.
-
#metadata ⇒ Hash{Symbol=>String, nil}?
Metadata patch.
-
#name ⇒ String?
Human-readable name.
-
#resources ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams, Anthropic::Models::Beta::BetaManagedAgentsFileResourceParams, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam>?
Session resources.
-
#schedule ⇒ Anthropic::Models::Beta::BetaManagedAgentsScheduleParams?
5-field POSIX cron schedule.
-
#vault_ids ⇒ Array<String>?
Vault IDs.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(deployment_id:, agent: nil, budget: nil, description: nil, environment_id: nil, initial_events: nil, metadata: nil, name: nil, resources: nil, schedule: nil, vault_ids: nil, betas: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see DeploymentUpdateParams for more details.
- #to_hash ⇒ {
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(deployment_id:, agent: nil, budget: nil, description: nil, environment_id: nil, initial_events: nil, metadata: nil, name: nil, resources: nil, schedule: nil, vault_ids: nil, betas: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::DeploymentUpdateParams for more details.
|
|
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 96
|
Instance Attribute Details
#agent ⇒ String, ...
Agent to deploy. Accepts the agent ID string, which re-pins to the latest
version, or an agent object with both id and version specified. Omit to
preserve. Cannot be cleared.
22 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 22 optional :agent, union: -> { Anthropic::Beta::DeploymentUpdateParams::Agent } |
#betas ⇒ Array<String, Symbol, Anthropic::Models::AnthropicBeta>?
Optional header to specify the beta version(s) you want to use.
94 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 94 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#budget ⇒ Anthropic::Models::Beta::BetaManagedAgentsBudgetLimit?
A hard spend ceiling. The session stops issuing new model requests once the
tracked list cost reaches max_list_cost.
29 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 29 optional :budget, -> { Anthropic::Beta::BetaManagedAgentsBudgetLimit }, nil?: true |
#deployment_id ⇒ String
14 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 14 required :deployment_id, String |
#description ⇒ String?
Description. Omit to preserve; send empty string or null to clear.
35 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 35 optional :description, String, nil?: true |
#environment_id ⇒ String?
ID of the environment where sessions run. Omit to preserve. Cannot be cleared.
41 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 41 optional :environment_id, String |
#initial_events ⇒ Array<Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserMessageEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsUserDefineOutcomeEventParams, Anthropic::Models::Beta::Sessions::BetaManagedAgentsSystemMessageEventParams>?
Initial events. Full replacement. Omit to preserve. Cannot be cleared. At least 1, maximum 50.
48 49 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 48 optional :initial_events, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaManagedAgentsDeploymentInitialEventParams] } |
#metadata ⇒ Hash{Symbol=>String, nil}?
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
57 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 57 optional :metadata, Anthropic::Internal::Type::HashOf[String, nil?: true], nil?: true |
#name ⇒ String?
Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.
63 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 63 optional :name, String |
#resources ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams, Anthropic::Models::Beta::BetaManagedAgentsFileResourceParams, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreResourceParam>?
Session resources. Full replacement. Omit to preserve; send empty array or null to clear. Maximum 500.
70 71 72 73 74 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 70 optional :resources, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::DeploymentUpdateParams::Resource] }, nil?: true |
#schedule ⇒ Anthropic::Models::Beta::BetaManagedAgentsScheduleParams?
5-field POSIX cron schedule. Literal wall-clock matching in the configured timezone.
81 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 81 optional :schedule, -> { Anthropic::Beta::BetaManagedAgentsScheduleParams }, nil?: true |
#vault_ids ⇒ Array<String>?
Vault IDs. Full replacement. Omit to preserve; send empty array or null to clear. Maximum 50.
88 |
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 88 optional :vault_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true |
Class Method Details
.variants ⇒ Array(String, Anthropic::Models::Beta::BetaManagedAgentsAgentParams)
|
|
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 137
|
Instance Method Details
#to_hash ⇒ {
81 |
# File 'sig/anthropic/models/beta/deployment_update_params.rbs', line 81
def to_hash: -> {
|