Class: FluentCommandBuilder::AppCfgPython::V16::DownloadData

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

Returns a new instance of DownloadData.



1147
1148
1149
1150
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1147

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

Instance Method Details

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

Yields:

  • (@b)


1221
1222
1223
1224
1225
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1221

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

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

Yields:

  • (@b)


1206
1207
1208
1209
1210
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1206

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)


1271
1272
1273
1274
1275
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1271

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)


1251
1252
1253
1254
1255
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1251

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)


1246
1247
1248
1249
1250
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1246

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

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

Yields:

  • (@b)


1316
1317
1318
1319
1320
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1316

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

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

Yields:

  • (@b)


1266
1267
1268
1269
1270
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1266

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)


1281
1282
1283
1284
1285
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1281

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

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

Yields:

  • (@b)


1181
1182
1183
1184
1185
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1181

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

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

Yields:

  • (@b)


1306
1307
1308
1309
1310
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1306

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

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

Yields:

  • (@b)


1296
1297
1298
1299
1300
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1296

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

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

Yields:

  • (@b)


1151
1152
1153
1154
1155
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1151

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

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

Yields:

  • (@b)


1186
1187
1188
1189
1190
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1186

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

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

Yields:

  • (@b)


1261
1262
1263
1264
1265
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1261

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)


1176
1177
1178
1179
1180
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1176

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

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

Yields:

  • (@b)


1301
1302
1303
1304
1305
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1301

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

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

Yields:

  • (@b)


1276
1277
1278
1279
1280
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1276

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)


1286
1287
1288
1289
1290
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1286

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

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

Yields:

  • (@b)


1191
1192
1193
1194
1195
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1191

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

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

Yields:

  • (@b)


1236
1237
1238
1239
1240
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1236

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

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

Yields:

  • (@b)


1166
1167
1168
1169
1170
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1166

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

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

Yields:

  • (@b)


1291
1292
1293
1294
1295
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1291

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)


1226
1227
1228
1229
1230
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1226

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

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

Yields:

  • (@b)


1231
1232
1233
1234
1235
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1231

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)


1201
1202
1203
1204
1205
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1201

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

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

Yields:

  • (@b)


1156
1157
1158
1159
1160
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1156

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

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

Yields:

  • (@b)


1311
1312
1313
1314
1315
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1311

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

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

Yields:

  • (@b)


1256
1257
1258
1259
1260
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1256

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)


1216
1217
1218
1219
1220
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1216

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

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

Yields:

  • (@b)


1171
1172
1173
1174
1175
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1171

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

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

Yields:

  • (@b)


1196
1197
1198
1199
1200
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1196

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

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

Yields:

  • (@b)


1241
1242
1243
1244
1245
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1241

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

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

Yields:

  • (@b)


1161
1162
1163
1164
1165
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1161

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

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

Yields:

  • (@b)


1211
1212
1213
1214
1215
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1211

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