Module: Anthropic::Models::Beta::EnvironmentCreateParams::Scope

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/environment_create_params.rb,
sig/anthropic/models/beta/environment_create_params.rbs

Overview

The visibility scope for this environment. 'organization' makes the environment visible to all accounts. 'account' restricts visibility to the owning account only. Only applicable for self-hosted environments. If not specified, defaults based on organization type.

Constant Summary collapse

ORGANIZATION =

Returns:

  • (:organization)
:organization
ACCOUNT =

Returns:

  • (:account)
:account

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/environment_create_params.rb', line 97

Instance Method Details

#self?.values::Array[Anthropic::Models::Beta::EnvironmentCreateParams::scope]

Returns:

  • (::Array[Anthropic::Models::Beta::EnvironmentCreateParams::scope])


75
# File 'sig/anthropic/models/beta/environment_create_params.rbs', line 75

def self?.values: -> ::Array[Anthropic::Models::Beta::EnvironmentCreateParams::scope]