Class: FluentCommandBuilder::AppCfgPython::V16::DownloadApp

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) ⇒ DownloadApp



1051
1052
1053
1054
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1051

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' download_app'
end

Instance Method Details

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

Yields:

  • (@b)


1125
1126
1127
1128
1129
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1125

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

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

Yields:

  • (@b)


1110
1111
1112
1113
1114
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1110

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

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

Yields:

  • (@b)


1085
1086
1087
1088
1089
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1085

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

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

Yields:

  • (@b)


1055
1056
1057
1058
1059
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1055

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

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

Yields:

  • (@b)


1090
1091
1092
1093
1094
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1090

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

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

Yields:

  • (@b)


1080
1081
1082
1083
1084
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1080

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

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

Yields:

  • (@b)


1095
1096
1097
1098
1099
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1095

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

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

Yields:

  • (@b)


1140
1141
1142
1143
1144
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1140

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

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

Yields:

  • (@b)


1070
1071
1072
1073
1074
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1070

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

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

Yields:

  • (@b)


1130
1131
1132
1133
1134
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1130

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

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

Yields:

  • (@b)


1135
1136
1137
1138
1139
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1135

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)


1105
1106
1107
1108
1109
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1105

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

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

Yields:

  • (@b)


1060
1061
1062
1063
1064
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1060

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

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

Yields:

  • (@b)


1120
1121
1122
1123
1124
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1120

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

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

Yields:

  • (@b)


1075
1076
1077
1078
1079
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1075

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

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

Yields:

  • (@b)


1100
1101
1102
1103
1104
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1100

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

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

Yields:

  • (@b)


1065
1066
1067
1068
1069
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1065

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

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

Yields:

  • (@b)


1115
1116
1117
1118
1119
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1115

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