Class: Anthropic::Models::Beta::VaultListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::VaultListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/vault_list_params.rb,
sig/anthropic/models/beta/vault_list_params.rbs
Overview
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
managed-agents-2026-04-01in this header. -
#include_archived ⇒ Boolean?
Whether to include archived vaults in the results.
-
#limit ⇒ Integer?
Maximum number of vaults to return per page.
-
#page ⇒ String?
The
next_pagevalue from a previous List Vaults response, to get the next page. -
#workspace_id ⇒ String?
Optional header to select the Workspace for this request.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(include_archived: nil, limit: nil, page: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ VaultListParams
constructor
Some parameter documentations has been truncated, see VaultListParams for more details.
- #to_hash ⇒ { include_archived: bool, limit: Integer, page: String, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(include_archived: nil, limit: nil, page: nil, betas: nil, workspace_id: nil, request_options: {}) ⇒ VaultListParams
Some parameter documentations has been truncated, see Anthropic::Models::Beta::VaultListParams for more details.
|
|
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 49
|
Instance Attribute Details
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send managed-agents-2026-04-01 in this
header.
36 |
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 36 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#include_archived ⇒ Boolean?
Whether to include archived vaults in the results. Defaults to false.
15 |
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 15 optional :include_archived, Anthropic::Internal::Type::Boolean |
#limit ⇒ Integer?
Maximum number of vaults to return per page. Defaults to 20, maximum 100.
21 |
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 21 optional :limit, Integer |
#page ⇒ String?
The next_page value from a previous
List Vaults
response, to get the next page. Leave it out to get the first page.
29 |
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 29 optional :page, String |
#workspace_id ⇒ String?
Optional header to select the Workspace for this request. The value is a
Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
47 |
# File 'lib/anthropic/models/beta/vault_list_params.rb', line 47 optional :workspace_id, String |
Instance Method Details
#to_hash ⇒ { include_archived: bool, limit: Integer, page: String, betas: ::Array[Anthropic::Models::anthropic_beta], workspace_id: String, request_options: Anthropic::RequestOptions }
49 50 51 52 53 54 55 56 |
# File 'sig/anthropic/models/beta/vault_list_params.rbs', line 49
def to_hash: -> {
include_archived: bool,
limit: Integer,
page: String,
betas: ::Array[Anthropic::Models::anthropic_beta],
workspace_id: String,
request_options: Anthropic::RequestOptions
}
|