Class: Anthropic::Models::UserProfileEfsProgram
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::UserProfileEfsProgram
- Defined in:
- lib/anthropic/models/user_profile_efs_program.rb,
sig/anthropic/models/user_profile_efs_program.rbs
Instance Attribute Summary collapse
-
#features ⇒ Hash{Symbol=>Anthropic::Models::UserProfileEfsFeature}
The program's features, keyed by feature:
data_retention_exemption(use of models that normally require data retention, without the data being retained),cmek(customer-managed encryption keys) andstorage(customer-owned storage). -
#status ⇒ Symbol, Anthropic::Models::UserProfileProgramStatus
Anthropic's decision on the entity the profile represents:
pendingwhile it is awaited,activeonce Anthropic has approved the entity for the program, orrejectedonce Anthropic has declined or has removed the entity from the program.
Instance Method Summary collapse
-
#initialize(features:, status:) ⇒ UserProfileEfsProgram
constructor
A user profile's standing in Enterprise Frontier Safeguards, a program under which Anthropic approves the entity the profile represents and may approve any of the program's features.
- #to_hash ⇒ { features: ::Hash[Symbol, Anthropic::UserProfileEfsFeature], status: Anthropic::Models::user_profile_program_status }
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(features:, status:) ⇒ UserProfileEfsProgram
A user profile's standing in Enterprise Frontier Safeguards, a program under which Anthropic approves the entity the profile represents and may approve any of the program's features.
Some parameter documentations has been truncated, see Anthropic::Models::UserProfileEfsProgram for more details.
|
|
# File 'lib/anthropic/models/user_profile_efs_program.rb', line 27
|
Instance Attribute Details
#features ⇒ Hash{Symbol=>Anthropic::Models::UserProfileEfsFeature}
The program's features, keyed by feature: data_retention_exemption (use of
models that normally require data retention, without the data being retained),
cmek (customer-managed encryption keys) and storage (customer-owned
storage). Every feature that the caller's organization may read has a key,
whether or not it is approved; a missing key does not mean that the feature is
inactive. Anthropic may add features; ignore a key you do not recognize.
15 |
# File 'lib/anthropic/models/user_profile_efs_program.rb', line 15 required :features, -> { Anthropic::Internal::Type::HashOf[Anthropic::UserProfileEfsFeature] } |
#status ⇒ Symbol, Anthropic::Models::UserProfileProgramStatus
Anthropic's decision on the entity the profile represents: pending while it is
awaited, active once Anthropic has approved the entity for the program, or
rejected once Anthropic has declined or has removed the entity from the
program. active does not mean that any one feature is approved: read the
feature you need in features.
25 |
# File 'lib/anthropic/models/user_profile_efs_program.rb', line 25 required :status, enum: -> { Anthropic::UserProfileProgramStatus } |
Instance Method Details
#to_hash ⇒ { features: ::Hash[Symbol, Anthropic::UserProfileEfsFeature], status: Anthropic::Models::user_profile_program_status }
19 20 21 22 |
# File 'sig/anthropic/models/user_profile_efs_program.rbs', line 19
def to_hash: -> {
features: ::Hash[Symbol, Anthropic::UserProfileEfsFeature],
status: Anthropic::Models::user_profile_program_status
}
|