Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableUpdateParams
- Defined in:
- lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb,
sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbs
Instance Attribute Summary collapse
-
#injection_location ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams?
Updated injection location.
-
#networking ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsUnrestrictedCredentialNetworkingParams, ...
The new networking scope, which replaces the stored one as a whole.
-
#secret_value ⇒ String?
The new secret value to replace the stored one.
- #type ⇒ Symbol, :environment_variable
Instance Method Summary collapse
-
#initialize(injection_location: nil, networking: nil, secret_value: nil, type: :environment_variable) ⇒ BetaManagedAgentsEnvironmentVariableUpdateParams
constructor
Parameters for updating an environment variable credential.
- #to_hash ⇒ { type: :environment_variable, injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams, networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params?, secret_value: String? }
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(injection_location: nil, networking: nil, secret_value: nil, type: :environment_variable) ⇒ BetaManagedAgentsEnvironmentVariableUpdateParams
Parameters for updating an environment variable credential. secret_name is
immutable.
|
|
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb', line 34
|
Instance Attribute Details
#injection_location ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams?
Updated injection location.
17 18 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb', line 17 optional :injection_location, -> { Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams } |
#networking ⇒ Anthropic::Models::Beta::Vaults::BetaManagedAgentsUnrestrictedCredentialNetworkingParams, ...
The new networking scope, which replaces the stored one as a whole.
24 25 26 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb', line 24 optional :networking, union: -> { Anthropic::Beta::Vaults::BetaManagedAgentsCredentialNetworkingParams }, nil?: true |
#secret_value ⇒ String?
The new secret value to replace the stored one.
32 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb', line 32 optional :secret_value, String, nil?: true |
#type ⇒ Symbol, :environment_variable
11 |
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb', line 11 required :type, const: :environment_variable |
Instance Method Details
#to_hash ⇒ { type: :environment_variable, injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams, networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params?, secret_value: String? }
33 34 35 36 37 38 |
# File 'sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbs', line 33
def to_hash: -> {
type: :environment_variable,
injection_location: Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationUpdateParams,
networking: Anthropic::Models::Beta::Vaults::beta_managed_agents_credential_networking_params?,
secret_value: String?
}
|