Class: FluentCommandBuilder::AppCfgPython::V17::UpdateCron

Inherits:
CommandBase
  • Object
show all
Defined in:
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) ⇒ UpdateCron

Returns a new instance of UpdateCron.



1940
1941
1942
1943
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1940

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

Instance Method Details

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

Yields:

  • (@b)


2014
2015
2016
2017
2018
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2014

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

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

Yields:

  • (@b)


1999
2000
2001
2002
2003
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1999

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

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

Yields:

  • (@b)


1974
1975
1976
1977
1978
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1974

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

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

Yields:

  • (@b)


1944
1945
1946
1947
1948
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1944

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

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

Yields:

  • (@b)


1979
1980
1981
1982
1983
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1979

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

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

Yields:

  • (@b)


1969
1970
1971
1972
1973
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1969

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

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

Yields:

  • (@b)


1984
1985
1986
1987
1988
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1984

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

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

Yields:

  • (@b)


2029
2030
2031
2032
2033
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2029

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

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

Yields:

  • (@b)


1959
1960
1961
1962
1963
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1959

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

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

Yields:

  • (@b)


2019
2020
2021
2022
2023
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2019

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

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

Yields:

  • (@b)


2024
2025
2026
2027
2028
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2024

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)


1994
1995
1996
1997
1998
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1994

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

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

Yields:

  • (@b)


1949
1950
1951
1952
1953
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1949

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

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

Yields:

  • (@b)


2009
2010
2011
2012
2013
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2009

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

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

Yields:

  • (@b)


1964
1965
1966
1967
1968
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1964

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

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

Yields:

  • (@b)


1989
1990
1991
1992
1993
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1989

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

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

Yields:

  • (@b)


1954
1955
1956
1957
1958
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1954

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

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

Yields:

  • (@b)


2004
2005
2006
2007
2008
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2004

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