Class: Anthropic::Models::Beta::DeploymentUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/deployment_update_params.rb

Overview

Defined Under Namespace

Modules: Agent, Resource

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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, 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.

Parameters:



# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 89

Instance Attribute Details

#agentString, ...

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 }

#betasArray<String, Symbol, Anthropic::Models::AnthropicBeta>?

Optional header to specify the beta version(s) you want to use.

Returns:



87
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 87

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#deployment_idString

Returns:

  • (String)


14
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 14

required :deployment_id, String

#descriptionString?

Description. Omit to preserve; send empty string or null to clear.

Returns:

  • (String, nil)


28
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 28

optional :description, String, nil?: true

#environment_idString?

ID of the ‘environment` where sessions run. Omit to preserve. Cannot be cleared.

Returns:

  • (String, nil)


34
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 34

optional :environment_id, String

#metadataHash{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.

Returns:

  • (Hash{Symbol=>String, nil}, nil)


50
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 50

optional :metadata, Anthropic::Internal::Type::HashOf[String, nil?: true], nil?: true

#nameString?

Human-readable name. Must be non-empty. Omit to preserve. Cannot be cleared.

Returns:

  • (String, nil)


56
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 56

optional :name, String

#resourcesArray<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.



63
64
65
66
67
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 63

optional :resources,
-> {
  Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::DeploymentUpdateParams::Resource]
},
nil?: true

#scheduleAnthropic::Models::Beta::BetaManagedAgentsScheduleParams?

5-field POSIX cron schedule. Literal wall-clock matching in the configured timezone.



74
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 74

optional :schedule, -> { Anthropic::Beta::BetaManagedAgentsScheduleParams }, nil?: true

#vault_idsArray<String>?

Vault IDs. Full replacement. Omit to preserve; send empty array or null to clear. Maximum 50.

Returns:

  • (Array<String>, nil)


81
# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 81

optional :vault_ids, Anthropic::Internal::Type::ArrayOf[String], nil?: true

Class Method Details

.variantsArray(String, Anthropic::Models::Beta::BetaManagedAgentsAgentParams)



# File 'lib/anthropic/models/beta/deployment_update_params.rb', line 128