Class: Cerca::Models::ToolUpdateParams::Body::UpdateHTTPToolSourceRequest

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cerca/models/tool_update_params.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Cerca::Internal::Type::BaseModel

Instance Attribute Details

#approvalSymbol, ...

Returns:



66
# File 'lib/cerca/models/tool_update_params.rb', line 66

optional :approval, enum: -> { Cerca::ToolApprovalMode }

#authCerca::Models::NoToolSourceAuth, ...

Tool source authentication configuration. The ‘kind` field selects one of `none`, `api_key`, `oauth_exchange`, or `oauth_connection`.



46
# File 'lib/cerca/models/tool_update_params.rb', line 46

required :auth, union: -> { Cerca::ToolSourceAuth }

#enabledBoolean?

Returns:

  • (Boolean, nil)


71
# File 'lib/cerca/models/tool_update_params.rb', line 71

optional :enabled, Cerca::Internal::Type::Boolean

#executionCerca::Models::HTTPToolExecutionPolicy?

HTTP tool execution retry and timeout policy.



77
# File 'lib/cerca/models/tool_update_params.rb', line 77

optional :execution, -> { Cerca::HTTPToolExecutionPolicy }

#namespaceString

Returns:

  • (String)


51
# File 'lib/cerca/models/tool_update_params.rb', line 51

required :namespace, String

#toolsArray<Cerca::Models::HTTPToolDefinition>



56
# File 'lib/cerca/models/tool_update_params.rb', line 56

required :tools, -> { Cerca::Internal::Type::ArrayOf[Cerca::HTTPToolDefinition] }

#typeSymbol, :http

Returns:

  • (Symbol, :http)


61
# File 'lib/cerca/models/tool_update_params.rb', line 61

required :type, const: :http