Class: FluentCommandBuilder::AppCfgPython::V16::Update

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_16.rb,
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) ⇒ Update

Returns a new instance of Update.



683
684
685
686
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 683

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

Instance Method Details

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

Yields:

  • (@b)


757
758
759
760
761
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 757

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

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

Yields:

  • (@b)


742
743
744
745
746
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 742

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

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

Yields:

  • (@b)


787
788
789
790
791
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 787

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

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

Yields:

  • (@b)


717
718
719
720
721
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 717

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

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

Yields:

  • (@b)


687
688
689
690
691
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 687

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

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

Yields:

  • (@b)


722
723
724
725
726
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 722

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

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

Yields:

  • (@b)


712
713
714
715
716
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 712

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

#max_size(size) {|@b| ... } ⇒ Object

Yields:

  • (@b)


777
778
779
780
781
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 777

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

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

Yields:

  • (@b)


727
728
729
730
731
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 727

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

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

Yields:

  • (@b)


782
783
784
785
786
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 782

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

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

Yields:

  • (@b)


772
773
774
775
776
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 772

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

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

Yields:

  • (@b)


702
703
704
705
706
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 702

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

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

Yields:

  • (@b)


762
763
764
765
766
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 762

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

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

Yields:

  • (@b)


767
768
769
770
771
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 767

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)


737
738
739
740
741
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 737

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

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

Yields:

  • (@b)


692
693
694
695
696
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 692

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

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

Yields:

  • (@b)


752
753
754
755
756
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 752

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

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

Yields:

  • (@b)


707
708
709
710
711
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 707

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

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

Yields:

  • (@b)


732
733
734
735
736
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 732

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

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

Yields:

  • (@b)


697
698
699
700
701
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 697

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

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

Yields:

  • (@b)


747
748
749
750
751
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 747

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