Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableCreateParams
- Defined in:
- lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb,
sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbs
Instance Attribute Summary collapse
-
#injection_location ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsInjectionLocationParams?
Where in the outbound request the secret value may be substituted.
-
#networking ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsUnrestrictedCredentialNetworkingParams, Anthropic::Models::Beta::Vaults::BetaManagedAgentsLimitedCredentialNetworkingParams
Outbound hosts the secret value is substituted on.
-
#secret_name ⇒ String
Name of the environment variable.
-
#secret_value ⇒ String
The secret to substitute into the agent's outbound requests.
- #type ⇒ Symbol, :environment_variable
Instance Method Summary collapse
-
#initialize(networking:, secret_name:, secret_value:, injection_location: nil, type: :environment_variable) ⇒ BetaManagedAgentsEnvironmentVariableCreateParams
constructor
Parameters for creating an environment variable credential.
- #to_hash ⇒ { networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params, secret_name: String, secret_value: String, type: :environment_variable, injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationParams }
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(networking:, secret_name:, secret_value:, injection_location: nil, type: :environment_variable) ⇒ BetaManagedAgentsEnvironmentVariableCreateParams
Parameters for creating an environment variable credential.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableCreateParams for more details.
|
|
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 38
|
Instance Attribute Details
#injection_location ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsInjectionLocationParams?
Where in the outbound request the secret value may be substituted.
36 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 36 optional :injection_location, -> { Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationParams } |
#networking ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsUnrestrictedCredentialNetworkingParams, Anthropic::Models::Beta::Vaults::BetaManagedAgentsLimitedCredentialNetworkingParams
Outbound hosts the secret value is substituted on.
12 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 12 required :networking, union: -> { Anthropic::Beta::Vaults::BetaManagedAgentsCredentialNetworkingParams } |
#secret_name ⇒ String
Name of the environment variable. Immutable after create.
18 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 18 required :secret_name, String |
#secret_value ⇒ String
The secret to substitute into the agent's outbound requests. It's write-only and never returned in responses.
25 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 25 required :secret_value, String |
#type ⇒ Symbol, :environment_variable
30 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb', line 30 required :type, const: :environment_variable |
Instance Method Details
#to_hash ⇒ { networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params, secret_name: String, secret_value: String, type: :environment_variable, injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationParams }
37 38 39 40 41 42 43 |
# File 'sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbs', line 37
def to_hash: -> {
networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params,
secret_name: String,
secret_value: String,
type: :environment_variable,
injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationParams
}
|