Class: FluentCommandBuilder::AppCfgPython::V16::RequestLogs

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, output_file) ⇒ RequestLogs



1419
1420
1421
1422
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1419

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

Instance Method Details

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

Yields:

  • (@b)


1493
1494
1495
1496
1497
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1493

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

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

Yields:

  • (@b)


1518
1519
1520
1521
1522
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1518

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

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

Yields:

  • (@b)


1478
1479
1480
1481
1482
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1478

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

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

Yields:

  • (@b)


1453
1454
1455
1456
1457
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1453

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

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

Yields:

  • (@b)


1543
1544
1545
1546
1547
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1543

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

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

Yields:

  • (@b)


1423
1424
1425
1426
1427
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1423

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

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

Yields:

  • (@b)


1458
1459
1460
1461
1462
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1458

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

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

Yields:

  • (@b)


1538
1539
1540
1541
1542
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1538

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

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

Yields:

  • (@b)


1533
1534
1535
1536
1537
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1533

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

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

Yields:

  • (@b)


1448
1449
1450
1451
1452
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1448

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

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

Yields:

  • (@b)


1463
1464
1465
1466
1467
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1463

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

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

Yields:

  • (@b)


1508
1509
1510
1511
1512
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1508

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

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

Yields:

  • (@b)


1438
1439
1440
1441
1442
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1438

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

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

Yields:

  • (@b)


1513
1514
1515
1516
1517
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1513

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

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

Yields:

  • (@b)


1498
1499
1500
1501
1502
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1498

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

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

Yields:

  • (@b)


1503
1504
1505
1506
1507
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1503

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)


1473
1474
1475
1476
1477
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1473

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

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

Yields:

  • (@b)


1428
1429
1430
1431
1432
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1428

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

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

Yields:

  • (@b)


1488
1489
1490
1491
1492
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1488

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

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

Yields:

  • (@b)


1443
1444
1445
1446
1447
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1443

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

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

Yields:

  • (@b)


1523
1524
1525
1526
1527
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1523

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

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

Yields:

  • (@b)


1468
1469
1470
1471
1472
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1468

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

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

Yields:

  • (@b)


1433
1434
1435
1436
1437
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1433

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

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

Yields:

  • (@b)


1483
1484
1485
1486
1487
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1483

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

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

Yields:

  • (@b)


1528
1529
1530
1531
1532
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1528

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