Class: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck

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

Defined Under Namespace

Modules: Check, Role

Instance Attribute Summary collapse

Class Method 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(check:, message:, role:) ⇒ BetaExternalStorageFailedCheck

One check that an External Storage's verification failed.

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

Parameters:



# File 'lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb', line 33

Instance Attribute Details

#check ⇒ Symbol, Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::Check

Name of the check that failed, such as versioning, for code to branch on. New names may be added; other is a check this API does not name. The value is a name with no data of its own.

Parameters:

  • value (Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::check)

Returns:



14
# File 'lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb', line 14

required :check, enum: -> { Anthropic::Beta::Organization::BetaExternalStorageFailedCheck::Check }

#message ⇒ String

What failed and how to fix it, in plain words.

Parameters:

  • value (String)

Returns:

  • (String)


20
# File 'lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb', line 20

required :message, String

#role ⇒ Symbol, ...

The part of your access grant that the check is about, such as ingest: on AWS, one of the IAM roles your setup created; on Google Cloud, the grant to one of Anthropic's service accounts. null when the check is not about one. New names may be added. The value is a name with no data of its own.

Parameters:

  • value (Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::role, nil)

Returns:



29
30
31
# File 'lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb', line 29

required :role,
enum: -> { Anthropic::Beta::Organization::BetaExternalStorageFailedCheck::Role },
nil?: true

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/anthropic/models/beta/organization/beta_external_storage_failed_check.rb', line 91

Instance Method Details

#to_hash ⇒ { check: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::check, message: String, role: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::role? }

Returns:

  • ({ check: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::check, message: String, role: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::role? })


25
26
27
28
29
# File 'sig/anthropic/models/beta/organization/beta_external_storage_failed_check.rbs', line 25

def to_hash: -> {
  check: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::check,
  message: String,
  role: Anthropic::Models::Beta::Organization::BetaExternalStorageFailedCheck::role?
}