Class: FluentCommandBuilder::AppCfgPython::V17::Update

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



684
685
686
687
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 684

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)


758
759
760
761
762
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 758

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

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

Yields:

  • (@b)


743
744
745
746
747
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 743

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

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

Yields:

  • (@b)


783
784
785
786
787
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 783

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

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

Yields:

  • (@b)


718
719
720
721
722
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 718

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

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

Yields:

  • (@b)


688
689
690
691
692
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 688

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

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

Yields:

  • (@b)


723
724
725
726
727
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 723

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

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

Yields:

  • (@b)


713
714
715
716
717
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 713

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

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

Yields:

  • (@b)


728
729
730
731
732
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 728

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

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

Yields:

  • (@b)


778
779
780
781
782
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 778

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

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

Yields:

  • (@b)


773
774
775
776
777
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 773

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

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

Yields:

  • (@b)


703
704
705
706
707
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 703

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

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

Yields:

  • (@b)


763
764
765
766
767
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 763

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

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

Yields:

  • (@b)


768
769
770
771
772
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 768

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)


738
739
740
741
742
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 738

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

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

Yields:

  • (@b)


693
694
695
696
697
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 693

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

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

Yields:

  • (@b)


753
754
755
756
757
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 753

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

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

Yields:

  • (@b)


708
709
710
711
712
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 708

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

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

Yields:

  • (@b)


733
734
735
736
737
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 733

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

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

Yields:

  • (@b)


698
699
700
701
702
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 698

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

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

Yields:

  • (@b)


748
749
750
751
752
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 748

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