Class: Anthropic::Models::UserProfileEfsProgram

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

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(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.

Parameters:



# 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.

Parameters:

Returns:



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.

Parameters:

  • value (Anthropic::Models::user_profile_program_status)

Returns:



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 }

Returns:



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
}