Class: Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb,
sig/anthropic/models/beta/organization/plugins/installation_setting_set_params.rbs
Overview
Defined Under Namespace
Modules: InstallationPreference
Constant Summary
Constants included from Internal::Type::RequestParameters
Internal::Type::RequestParameters::Anthropic
Instance Attribute Summary collapse
-
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header. -
#installation_preference ⇒ Symbol, Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams::InstallationPreference
The installation setting the target is to hold for this Plugin: one of
required,auto_install,available,not_available. -
#plugin_id ⇒ String
ID of the Plugin (prefixed
plugin_). -
#target ⇒ String
The target whose setting is written: the literal
organizationfor the Plugin's organization-wide setting, or an RBAC Group's ID (prefixedrbac_group_) for that group's own setting.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(plugin_id:, target:, installation_preference:, betas: nil, request_options: {}) ⇒ void
constructor
Some parameter documentations has been truncated, see InstallationSettingSetParams for more details.
- #to_hash ⇒ {
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(plugin_id:, target:, installation_preference:, betas: nil, request_options: {}) ⇒ void
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb', line 44
|
Instance Attribute Details
#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?
This endpoint is in beta: requests must send ce-plugins-2026-09-01 in this
header.
42 |
# File 'lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb', line 42 optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] } |
#installation_preference ⇒ Symbol, Anthropic::Models::Beta::Organization::Plugins::InstallationSettingSetParams::InstallationPreference
The installation setting the target is to hold for this Plugin: one of
required, auto_install, available, not_available.
34 35 |
# File 'lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb', line 34 required :installation_preference, enum: -> { Anthropic::Beta::Organization::Plugins::InstallationSettingSetParams::InstallationPreference } |
#plugin_id ⇒ String
ID of the Plugin (prefixed plugin_).
17 |
# File 'lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb', line 17 required :plugin_id, String |
#target ⇒ String
The target whose setting is written: the literal organization for the Plugin's
organization-wide setting, or an RBAC Group's ID (prefixed rbac_group_) for
that group's own setting. Writing the organization target stops the Plugin
from inheriting its marketplace's default, even when the value written equals
that default.
27 |
# File 'lib/anthropic/models/beta/organization/plugins/installation_setting_set_params.rb', line 27 required :target, String |
Instance Method Details
#to_hash ⇒ {
39 |
# File 'sig/anthropic/models/beta/organization/plugins/installation_setting_set_params.rbs', line 39
def to_hash: -> {
|