Class: Anthropic::Models::Beta::Organization::ClaudeCode::ManagedSettings::RBACGroupSetParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb,
sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbs

Overview

See Also:

  • Anthropic::Resources::Beta::Organization::ClaudeCode::ManagedSettings::RBACGroups#set

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(rbac_group_id:, settings:, betas: nil, request_options: {}) ⇒ RBACGroupSetParams

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

Parameters:

  • rbac_group_id (String) —

    The RBAC Group's ID, prefixed rbac_group_.

  • settings (Hash{Symbol=>Object}) —

    The whole settings document, a JSON object of Claude Code managed settings. It r

  • betas (Array<Symbol, String, Anthropic::Models::AnthropicBeta>) (defaults to: nil) —

    This endpoint is in beta: requests must send

  • request_options (Anthropic::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})
  • rbac_group_id: (String)
  • settings: (::Hash[Symbol, top])
  • betas: (::Array[Anthropic::Models::anthropic_beta]) (defaults to: nil)
  • request_options: (Anthropic::request_opts) (defaults to: {})


# File 'lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb', line 35

Instance Attribute Details

#betas ⇒ Array<Symbol, String, Anthropic::Models::AnthropicBeta>?

This endpoint is in beta: requests must send ce-claude-code-managed-settings-2026-10-06 in this header.

Parameters:

  • (::Array[Anthropic::Models::anthropic_beta])

Returns:



33
# File 'lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb', line 33

optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }

#rbac_group_id ⇒ String

The RBAC Group's ID, prefixed rbac_group_.

Parameters:

  • value (String)

Returns:

  • (String)


18
# File 'lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb', line 18

required :rbac_group_id, String

#settings ⇒ Hash{Symbol=>Object}

The whole settings document, a JSON object of Claude Code managed settings. It replaces any stored document. At most 1 MiB as the server stores it, which can be larger than the request body.

Parameters:

  • value (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object})


26
# File 'lib/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rb', line 26

required :settings, Anthropic::Internal::Type::HashOf[Anthropic::Internal::Type::Unknown]

Instance Method Details

#to_hash ⇒ { rbac_group_id: String, settings: ::Hash[Symbol, top], betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions }

Returns:

  • ({ rbac_group_id: String, settings: ::Hash[Symbol, top], betas: ::Array[Anthropic::Models::anthropic_beta], request_options: Anthropic::RequestOptions })


36
37
38
39
40
41
# File 'sig/anthropic/models/beta/organization/claude_code/managed_settings/rbac_group_set_params.rbs', line 36

def to_hash: -> {
  rbac_group_id: String,
  settings: ::Hash[Symbol, top],
  betas: ::Array[Anthropic::Models::anthropic_beta],
  request_options: Anthropic::RequestOptions
}