Module: Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesParams
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rb,
sig/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rbs
Overview
Which of the organization's workspaces a telemetry destination covers, as a create or update request sets it.
Defined Under Namespace
Modules: Type
Class Method Summary collapse
-
.new(type:, **args) ⇒ Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, ...
Creates a new instance of the variant class whose
typematches the given value, passing the remaining arguments to its constructor. - .values ⇒ Array<Symbol>
- .variants ⇒ Array(Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesIncludeParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams)
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Class Method Details
.new(type:) ⇒ Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams .new(type:, workspace_ids:) ⇒ Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesIncludeParams .new(type:, workspace_ids:) ⇒ Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams .new(type:, workspace_ids:) ⇒ Anthropic::Models::Beta::Organization::beta_telemetry_destination_workspaces_params
Creates a new instance of the variant class whose type matches the given
value, passing the remaining arguments to its constructor.
Some parameter documentations has been truncated, see Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesParams for more details.
54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rb', line 54 def self.new(type:, **args) case type.to_sym when :all Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams.new(**args) when :include Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesIncludeParams.new(**args) when :exclude Anthropic::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams.new(**args) else raise ArgumentError, "unknown type: #{type}" end end |
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rb', line 32
|
.variants ⇒ Array(Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesAllParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesIncludeParams, Anthropic::Models::Beta::Organization::BetaTelemetryDestinationWorkspacesExcludeParams)
|
|
# File 'lib/anthropic/models/beta/organization/beta_telemetry_destination_workspaces_params.rb', line 36
|