Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb,
sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs

Defined Under Namespace

Modules: Networking, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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:, networking:, secret_name:, type:) ⇒ Object

Environment variable credential details. The secret value is never returned.

Parameters:



# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb', line 33

Instance Attribute Details

#injection_locationAnthropic::Models::Beta::Vaults::BetaManagedAgentsInjectionLocationResponse

Where in the outbound request the secret value is substituted.

Parameters:

  • value (Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationResponse)

Returns:



12
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb', line 12

required :injection_location, -> { Anthropic::Beta::Vaults::BetaManagedAgentsInjectionLocationResponse }

#networkingAnthropic::Models::Beta::Vaults::BetaManagedAgentsUnrestrictedCredentialNetworkingResponse, Anthropic::Models::Beta::Vaults::BetaManagedAgentsLimitedCredentialNetworkingResponse

Outbound hosts the secret value is substituted on.

Parameters:

  • value (Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse::networking)

Returns:



18
19
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb', line 18

required :networking,
union: -> { Anthropic::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse::Networking }

#secret_nameString

Name of the environment variable.

Parameters:

  • value (String)

Returns:

  • (String)


25
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb', line 25

required :secret_name, String

#typeSymbol, Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse::Type

Parameters:

  • value (Anthropic::Models::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse::type_)

Returns:



30
31
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb', line 30

required :type,
enum: -> { Anthropic::Beta::Vaults::BetaManagedAgentsEnvironmentVariableAuthResponse::Type }

Instance Method Details

#to_hash{

Returns:

  • ({)


29
# File 'sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs', line 29

def to_hash: -> {