Class: GoodData::LCM2::Type::SegmentType

Inherits:
ComplexType show all
Defined in:
lib/gooddata/lcm/types/complex/segment.rb

Constant Summary collapse

CATEGORY =
:complex
PARAMS =
define_type(self) do
  description 'Segment ID'
  param :segment_id, instance_of(Type::StringType), required: true

  description 'PID of Development Project'
  param :development_pid, instance_of(Type::StringType), required: true

  description 'Storage Driver'
  param :driver, instance_of(Type::StringType), required: false, default: 'pg'

  description 'Master Project Name'
  param :master_name, instance_of(Type::StringType), required: true

  description 'Production Tag Names'
  param :production_tags, array_of(instance_of(Type::StringType)), required: false

  description 'Uri of the source output stage. It must be in the same domain as the target project.'
  param :ads_output_stage_uri, instance_of(Type::StringType), required: false

  description 'Custom prefix for the target output stage.'
  param :ads_output_stage_prefix, instance_of(Type::StringType), required: false
end

Constants included from Dsl::Dsl

Dsl::Dsl::DEFAULT_OPTS, Dsl::Dsl::TYPES

Instance Method Summary collapse

Methods inherited from ComplexType

#to_s

Methods inherited from BaseType

check_params, #to_s

Methods included from Dsl::Dsl

#define_params, #define_type, #process

Instance Method Details

#check(value) ⇒ Object



40
41
42
# File 'lib/gooddata/lcm/types/complex/segment.rb', line 40

def check(value)
  BaseType.check_params(PARAMS, value)
end