Class: Anthropic::Models::UserProfileCyberRequirements

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/user_profile_cyber_requirements.rb,
sig/anthropic/models/user_profile_cyber_requirements.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(data_retention:, human_review:) ⇒ UserProfileCyberRequirements

What a request that names the profile must allow to get the relaxed safeguards of the profile's active tiers. A field reads true when at least one of those tiers has the requirement and Anthropic has not waived it on that tier for the profile. A request that does not meet a requirement is still served, without the relaxed safeguards of the tiers that have it. The values differ between profiles and can change, so read them rather than assuming them.

Some parameter documentations has been truncated, see Anthropic::Models::UserProfileCyberRequirements for more details.

Parameters:

  • data_retention (Boolean) —

    Whether Anthropic must be able to retain the request's inference data.

  • human_review (Boolean) —

    Whether Anthropic personnel must be allowed to review the data retained from the

  • data_retention: (Boolean)
  • human_review: (Boolean)


# File 'lib/anthropic/models/user_profile_cyber_requirements.rb', line 19

Instance Attribute Details

#data_retention ⇒ Boolean

Whether Anthropic must be able to retain the request's inference data.

Parameters:

Returns:



10
# File 'lib/anthropic/models/user_profile_cyber_requirements.rb', line 10

required :data_retention, Anthropic::Internal::Type::Boolean

#human_review ⇒ Boolean

Whether Anthropic personnel must be allowed to review the data retained from the request.

Parameters:

Returns:



17
# File 'lib/anthropic/models/user_profile_cyber_requirements.rb', line 17

required :human_review, Anthropic::Internal::Type::Boolean

Instance Method Details

#to_hash ⇒ { data_retention: bool, human_review: bool }

Returns:

  • ({ data_retention: bool, human_review: bool })


13
# File 'sig/anthropic/models/user_profile_cyber_requirements.rbs', line 13

def to_hash: -> { data_retention: bool, human_review: bool }