Class: Anthropic::Models::Beta::Vaults::BetaManagedAgentsLimitedCredentialNetworkingParams

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb

Defined Under Namespace

Modules: Type

Instance Attribute 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(allowed_hosts:, type:) ⇒ Object

Some parameter documentations has been truncated, see Anthropic::Models::Beta::Vaults::BetaManagedAgentsLimitedCredentialNetworkingParams for more details.

Substitute the secret only on requests to the listed hosts.

Parameters:



# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb', line 23

Instance Attribute Details

#allowed_hostsArray<String>

Hostnames on which the secret will be substituted. Each entry is a bare hostname (‘api.example.com`), an IPv4 address (`192.0.2.1`), or a `*.`-prefixed wildcard (`*.example.com`). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.

Returns:

  • (Array<String>)


15
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb', line 15

required :allowed_hosts, Anthropic::Internal::Type::ArrayOf[String]

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



20
21
# File 'lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb', line 20

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