Class: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rbs
Instance Attribute Summary collapse
- #type ⇒ Symbol, :exclude
-
#workspace_ids ⇒ Array<String>?
The IDs of the workspaces on the destination's list (
wrkspc_...).
Instance Method Summary collapse
-
#initialize(workspace_ids: nil, type: :exclude) ⇒ BetaTelemetryDestinationWorkspacesExcludeParams
constructor
Cover every workspace of the organization except the workspaces on the list.
- #to_hash ⇒ { type: :exclude, workspace_ids: ::Array[String] }
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(workspace_ids: nil, type: :exclude) ⇒ BetaTelemetryDestinationWorkspacesExcludeParams
Cover every workspace of the organization except the workspaces on the list.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams for more details.
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rb', line 35
|
Instance Attribute Details
#type ⇒ Symbol, :exclude
11 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rb', line 11 required :type, const: :exclude |
#workspace_ids ⇒ Array<String>?
The IDs of the workspaces on the destination's list (wrkspc_...). At most 100
per request.
On create, these workspaces become the destination's list. If you leave
workspace_ids out, the list starts empty. If the API refuses one of the IDs,
it doesn't create the destination.
On update, workspace_ids replaces the whole list. A workspace that stays on
the list keeps its entry and its created_at. An empty array empties the list.
If you leave workspace_ids out and the type stays the same, the list doesn't
change. If you leave it out and the type changes, the new list starts empty.
After a change to include without workspace_ids, the destination doesn't
cover any workspace until one is added. After a change to exclude without
workspace_ids, it covers every workspace.
An ID sent more than once is added once. An archived workspace can't be added to a list. An update can keep an archived workspace that is already on the list.
33 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rb', line 33 optional :workspace_ids, Anthropic::Internal::Type::ArrayOf[String] |
Instance Method Details
#to_hash ⇒ { type: :exclude, workspace_ids: ::Array[String] }
20 |
# File 'sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_exclude_params.rbs', line 20
def to_hash: -> { type: :exclude, workspace_ids: ::Array[String] }
|