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