Class: Openlayer::Models::Projects::InferencePipelineCreateParams::DataBackend::SnowflakeDataBackend

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/openlayer/models/projects/inference_pipeline_create_params.rb

Defined Under Namespace

Modules: BackendType Classes: Config

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(backend_type:, config:, database:, schema:, snowflake_connection_id:, table:) ⇒ Object

Parameters:



# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 271

Instance Attribute Details

#backend_typeSymbol, Openlayer::Models::Projects::InferencePipelineCreateParams::DataBackend::SnowflakeDataBackend::BackendType



237
238
239
240
241
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 237

required :backend_type,
enum: -> {
  Openlayer::Projects::InferencePipelineCreateParams::DataBackend::SnowflakeDataBackend::BackendType
},
api_name: :backendType

#databaseString

Returns:

  • (String)


246
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 246

required :database, String

#schemaString

Returns:

  • (String)


251
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 251

required :schema, String

#snowflake_connection_idString?

Returns:

  • (String, nil)


256
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 256

required :snowflake_connection_id, String, api_name: :snowflakeConnectionId, nil?: true

#tableString?

Returns:

  • (String, nil)


261
# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 261

required :table, String, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/projects/inference_pipeline_create_params.rb', line 285