Class: FluentCommandBuilder::AppCfgPython::V16::CreateBulkloadConfig

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, directory) ⇒ CreateBulkloadConfig

Returns a new instance of CreateBulkloadConfig.



795
796
797
798
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 795

def initialize(underlying_builder, directory)
  super underlying_builder
  @b.append " create_bulkload_config #{@b.format directory}"
end

Instance Method Details

#allow_any_runtime {|@b| ... } ⇒ Object

Yields:

  • (@b)


869
870
871
872
873
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 869

def allow_any_runtime
  @b.append ' --allow_any_runtime'
  yield @b if block_given?
  self
end

#application(app_id) {|@b| ... } ⇒ Object

Yields:

  • (@b)


854
855
856
857
858
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 854

def application(app_id)
  @b.append " --application=#{@b.format app_id}"
  yield @b if block_given?
  self
end

#auth_domain(auth_domain) {|@b| ... } ⇒ Object

Yields:

  • (@b)


919
920
921
922
923
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 919

def auth_domain(auth_domain)
  @b.append " --auth_domain=#{@b.format auth_domain}"
  yield @b if block_given?
  self
end

#bandwidth_limit(bandwidth_limit) {|@b| ... } ⇒ Object

Yields:

  • (@b)


899
900
901
902
903
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 899

def bandwidth_limit(bandwidth_limit)
  @b.append " --bandwidth_limit=#{@b.format bandwidth_limit}"
  yield @b if block_given?
  self
end

#batch_size(batch_size) {|@b| ... } ⇒ Object

Yields:

  • (@b)


894
895
896
897
898
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 894

def batch_size(batch_size)
  @b.append " --batch_size=#{@b.format batch_size}"
  yield @b if block_given?
  self
end

#db_filename(db_filename) {|@b| ... } ⇒ Object

Yields:

  • (@b)


914
915
916
917
918
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 914

def db_filename(db_filename)
  @b.append " --db_filename=#{@b.format db_filename}"
  yield @b if block_given?
  self
end

#dry_run {|@b| ... } ⇒ Object

Yields:

  • (@b)


929
930
931
932
933
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 929

def dry_run
  @b.append ' --dry_run'
  yield @b if block_given?
  self
end

#email(email) {|@b| ... } ⇒ Object

Yields:

  • (@b)


829
830
831
832
833
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 829

def email(email)
  @b.append " --email=#{@b.format email}"
  yield @b if block_given?
  self
end

#filename(filename) {|@b| ... } ⇒ Object

Yields:

  • (@b)


944
945
946
947
948
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 944

def filename(filename)
  @b.append " --filename=#{@b.format filename}"
  yield @b if block_given?
  self
end

#help {|@b| ... } ⇒ Object

Yields:

  • (@b)


799
800
801
802
803
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 799

def help
  @b.append ' --help'
  yield @b if block_given?
  self
end

#host(host) {|@b| ... } ⇒ Object

Yields:

  • (@b)


834
835
836
837
838
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 834

def host(host)
  @b.append " --host=#{@b.format host}"
  yield @b if block_given?
  self
end

#http_limit(http_limit) {|@b| ... } ⇒ Object

Yields:

  • (@b)


909
910
911
912
913
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 909

def http_limit(http_limit)
  @b.append " --http_limit=#{@b.format http_limit}"
  yield @b if block_given?
  self
end

#insecure {|@b| ... } ⇒ Object

Yields:

  • (@b)


824
825
826
827
828
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 824

def insecure
  @b.append ' --insecure'
  yield @b if block_given?
  self
end

#log_file(log_file) {|@b| ... } ⇒ Object

Yields:

  • (@b)


924
925
926
927
928
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 924

def log_file(log_file)
  @b.append " --log_file=#{@b.format log_file}"
  yield @b if block_given?
  self
end

#namespace(namespace) {|@b| ... } ⇒ Object

Yields:

  • (@b)


934
935
936
937
938
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 934

def namespace(namespace)
  @b.append " --namespace=#{@b.format namespace}"
  yield @b if block_given?
  self
end

#no_cookies {|@b| ... } ⇒ Object

Yields:

  • (@b)


839
840
841
842
843
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 839

def no_cookies
  @b.append ' --no_cookies'
  yield @b if block_given?
  self
end

#noauth_local_webserver {|@b| ... } ⇒ Object

Yields:

  • (@b)


884
885
886
887
888
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 884

def noauth_local_webserver
  @b.append ' --noauth_local_webserver'
  yield @b if block_given?
  self
end

#noisy {|@b| ... } ⇒ Object

Yields:

  • (@b)


814
815
816
817
818
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 814

def noisy
  @b.append ' --noisy'
  yield @b if block_given?
  self
end

#num_threads(num_threads) {|@b| ... } ⇒ Object

Yields:

  • (@b)


939
940
941
942
943
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 939

def num_threads(num_threads)
  @b.append " --num_threads=#{@b.format num_threads}"
  yield @b if block_given?
  self
end

#oauth2 {|@b| ... } ⇒ Object

Yields:

  • (@b)


874
875
876
877
878
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 874

def oauth2
  @b.append ' --oauth2'
  yield @b if block_given?
  self
end

#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object

Yields:

  • (@b)


879
880
881
882
883
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 879

def oauth2_refresh_token(oauth2_refresh_token)
  @b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
  yield @b if block_given?
  self
end

#passin {|@b| ... } ⇒ Object

Yields:

  • (@b)


849
850
851
852
853
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 849

def passin
  @b.append ' --passin'
  yield @b if block_given?
  self
end

#quiet {|@b| ... } ⇒ Object

Yields:

  • (@b)


804
805
806
807
808
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 804

def quiet
  @b.append ' --quiet'
  yield @b if block_given?
  self
end

#rps_limit(rps_limit) {|@b| ... } ⇒ Object

Yields:

  • (@b)


904
905
906
907
908
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 904

def rps_limit(rps_limit)
  @b.append " --rps_limit=#{@b.format rps_limit}"
  yield @b if block_given?
  self
end

#runtime(runtime) {|@b| ... } ⇒ Object

Yields:

  • (@b)


864
865
866
867
868
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 864

def runtime(runtime)
  @b.append " --runtime=#{@b.format runtime}"
  yield @b if block_given?
  self
end

#server(server) {|@b| ... } ⇒ Object

Yields:

  • (@b)


819
820
821
822
823
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 819

def server(server)
  @b.append " --server=#{@b.format server}"
  yield @b if block_given?
  self
end

#skip_sdk_update_check {|@b| ... } ⇒ Object

Yields:

  • (@b)


844
845
846
847
848
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 844

def skip_sdk_update_check
  @b.append ' --skip_sdk_update_check'
  yield @b if block_given?
  self
end

#url(url) {|@b| ... } ⇒ Object

Yields:

  • (@b)


889
890
891
892
893
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 889

def url(url)
  @b.append " --url=#{@b.format url}"
  yield @b if block_given?
  self
end

#verbose {|@b| ... } ⇒ Object

Yields:

  • (@b)


809
810
811
812
813
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 809

def verbose
  @b.append ' --verbose'
  yield @b if block_given?
  self
end

#version(version) {|@b| ... } ⇒ Object

Yields:

  • (@b)


859
860
861
862
863
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 859

def version(version)
  @b.append " --version=#{@b.format version}"
  yield @b if block_given?
  self
end