Class: FluentCommandBuilder::AppCfgPython::V16::UploadData
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::AppCfgPython::V16::UploadData
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) ⇒ UploadData
Returns a new instance of UploadData.
2333
2334
2335
2336
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2333
def initialize(underlying_builder, directory)
super underlying_builder
@b.append " upload_data #{@b.format directory}"
end
|
Instance Method Details
#allow_any_runtime {|@b| ... } ⇒ Object
2407
2408
2409
2410
2411
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2407
def allow_any_runtime
@b.append ' --allow_any_runtime'
yield @b if block_given?
self
end
|
#application(app_id) {|@b| ... } ⇒ Object
2392
2393
2394
2395
2396
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2392
def application(app_id)
@b.append " --application=#{@b.format app_id}"
yield @b if block_given?
self
end
|
#auth_domain(auth_domain) {|@b| ... } ⇒ Object
2457
2458
2459
2460
2461
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2457
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
2437
2438
2439
2440
2441
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2437
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
2432
2433
2434
2435
2436
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2432
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
2502
2503
2504
2505
2506
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2502
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
2452
2453
2454
2455
2456
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2452
def db_filename(db_filename)
@b.append " --db_filename=#{@b.format db_filename}"
yield @b if block_given?
self
end
|
#dry_run {|@b| ... } ⇒ Object
2467
2468
2469
2470
2471
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2467
def dry_run
@b.append ' --dry_run'
yield @b if block_given?
self
end
|
#email(email) {|@b| ... } ⇒ Object
2367
2368
2369
2370
2371
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2367
def email(email)
@b.append " --email=#{@b.format email}"
yield @b if block_given?
self
end
|
#filename(filename) {|@b| ... } ⇒ Object
2482
2483
2484
2485
2486
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2482
def filename(filename)
@b.append " --filename=#{@b.format filename}"
yield @b if block_given?
self
end
|
2492
2493
2494
2495
2496
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2492
def
@b.append ' --has_header'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
2337
2338
2339
2340
2341
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2337
def help
@b.append ' --help'
yield @b if block_given?
self
end
|
#host(host) {|@b| ... } ⇒ Object
2372
2373
2374
2375
2376
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2372
def host(host)
@b.append " --host=#{@b.format host}"
yield @b if block_given?
self
end
|
#http_limit(http_limit) {|@b| ... } ⇒ Object
2447
2448
2449
2450
2451
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2447
def http_limit(http_limit)
@b.append " --http_limit=#{@b.format http_limit}"
yield @b if block_given?
self
end
|
#insecure {|@b| ... } ⇒ Object
2362
2363
2364
2365
2366
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2362
def insecure
@b.append ' --insecure'
yield @b if block_given?
self
end
|
#kind(kind) {|@b| ... } ⇒ Object
2487
2488
2489
2490
2491
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2487
def kind(kind)
@b.append " --kind=#{@b.format kind}"
yield @b if block_given?
self
end
|
#loader_opts(loader_opts) {|@b| ... } ⇒ Object
2497
2498
2499
2500
2501
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2497
def loader_opts(loader_opts)
@b.append " --loader_opts=#{@b.format loader_opts}"
yield @b if block_given?
self
end
|
#log_file(log_file) {|@b| ... } ⇒ Object
2462
2463
2464
2465
2466
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2462
def log_file(log_file)
@b.append " --log_file=#{@b.format log_file}"
yield @b if block_given?
self
end
|
#namespace(namespace) {|@b| ... } ⇒ Object
2472
2473
2474
2475
2476
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2472
def namespace(namespace)
@b.append " --namespace=#{@b.format namespace}"
yield @b if block_given?
self
end
|
#no_cookies {|@b| ... } ⇒ Object
2377
2378
2379
2380
2381
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2377
def no_cookies
@b.append ' --no_cookies'
yield @b if block_given?
self
end
|
#noauth_local_webserver {|@b| ... } ⇒ Object
2422
2423
2424
2425
2426
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2422
def noauth_local_webserver
@b.append ' --noauth_local_webserver'
yield @b if block_given?
self
end
|
#noisy {|@b| ... } ⇒ Object
2352
2353
2354
2355
2356
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2352
def noisy
@b.append ' --noisy'
yield @b if block_given?
self
end
|
#num_threads(num_threads) {|@b| ... } ⇒ Object
2477
2478
2479
2480
2481
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2477
def num_threads(num_threads)
@b.append " --num_threads=#{@b.format num_threads}"
yield @b if block_given?
self
end
|
#oauth2 {|@b| ... } ⇒ Object
2412
2413
2414
2415
2416
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2412
def oauth2
@b.append ' --oauth2'
yield @b if block_given?
self
end
|
#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object
2417
2418
2419
2420
2421
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2417
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
2387
2388
2389
2390
2391
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2387
def passin
@b.append ' --passin'
yield @b if block_given?
self
end
|
#quiet {|@b| ... } ⇒ Object
2342
2343
2344
2345
2346
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2342
def quiet
@b.append ' --quiet'
yield @b if block_given?
self
end
|
#rps_limit(rps_limit) {|@b| ... } ⇒ Object
2442
2443
2444
2445
2446
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2442
def rps_limit(rps_limit)
@b.append " --rps_limit=#{@b.format rps_limit}"
yield @b if block_given?
self
end
|
#runtime(runtime) {|@b| ... } ⇒ Object
2402
2403
2404
2405
2406
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2402
def runtime(runtime)
@b.append " --runtime=#{@b.format runtime}"
yield @b if block_given?
self
end
|
#server(server) {|@b| ... } ⇒ Object
2357
2358
2359
2360
2361
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2357
def server(server)
@b.append " --server=#{@b.format server}"
yield @b if block_given?
self
end
|
#skip_sdk_update_check {|@b| ... } ⇒ Object
2382
2383
2384
2385
2386
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2382
def skip_sdk_update_check
@b.append ' --skip_sdk_update_check'
yield @b if block_given?
self
end
|
#url(url) {|@b| ... } ⇒ Object
2427
2428
2429
2430
2431
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2427
def url(url)
@b.append " --url=#{@b.format url}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
2347
2348
2349
2350
2351
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2347
def verbose
@b.append ' --verbose'
yield @b if block_given?
self
end
|
#version(version) {|@b| ... } ⇒ Object
2397
2398
2399
2400
2401
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2397
def version(version)
@b.append " --version=#{@b.format version}"
yield @b if block_given?
self
end
|