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.



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

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)


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

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

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

Yields:

  • (@b)


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

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)


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

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)


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

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)


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

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)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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