Class: FluentCommandBuilder::AppCfgPython::V16::VacuumIndexes

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

Returns a new instance of VacuumIndexes.



2510
2511
2512
2513
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2510

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

Instance Method Details

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

Yields:

  • (@b)


2584
2585
2586
2587
2588
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2584

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

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

Yields:

  • (@b)


2569
2570
2571
2572
2573
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2569

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

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

Yields:

  • (@b)


2544
2545
2546
2547
2548
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2544

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

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

Yields:

  • (@b)


2604
2605
2606
2607
2608
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2604

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

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

Yields:

  • (@b)


2514
2515
2516
2517
2518
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2514

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

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

Yields:

  • (@b)


2549
2550
2551
2552
2553
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2549

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

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

Yields:

  • (@b)


2539
2540
2541
2542
2543
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2539

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

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

Yields:

  • (@b)


2554
2555
2556
2557
2558
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2554

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

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

Yields:

  • (@b)


2599
2600
2601
2602
2603
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2599

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

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

Yields:

  • (@b)


2529
2530
2531
2532
2533
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2529

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

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

Yields:

  • (@b)


2589
2590
2591
2592
2593
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2589

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

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

Yields:

  • (@b)


2594
2595
2596
2597
2598
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2594

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)


2564
2565
2566
2567
2568
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2564

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

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

Yields:

  • (@b)


2519
2520
2521
2522
2523
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2519

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

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

Yields:

  • (@b)


2579
2580
2581
2582
2583
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2579

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

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

Yields:

  • (@b)


2534
2535
2536
2537
2538
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2534

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

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

Yields:

  • (@b)


2559
2560
2561
2562
2563
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2559

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

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

Yields:

  • (@b)


2524
2525
2526
2527
2528
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2524

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

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

Yields:

  • (@b)


2574
2575
2576
2577
2578
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2574

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