Sha256: b6f9304242eac42e23172308163be3801211c42ae3c908189dd67d3ffe028c13

Contents?: true

Size: 1.5 KB

Versions: 56

Compression:

Stored size: 1.5 KB

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require_relative '../base_type'

require_relative 'complex'

module GoodData
  module LCM2
    module Type
      class SegmentType < ComplexType
        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

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

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
gooddata-2.1.10-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.10 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.9-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.9 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.8-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.8 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.7-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.7 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.6-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.6 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.5-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.5 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.4-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.4 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.3-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.3 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.2-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.2 lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.1-java lib/gooddata/lcm/types/complex/segment.rb
gooddata-2.1.1 lib/gooddata/lcm/types/complex/segment.rb