Class: FluentCommandBuilder::AppCfgPython::V17::VacuumIndexes

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_17.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.



2499
2500
2501
2502
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2499

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)


2573
2574
2575
2576
2577
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2573

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

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

Yields:

  • (@b)


2558
2559
2560
2561
2562
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2558

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

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

Yields:

  • (@b)


2533
2534
2535
2536
2537
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2533

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

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

Yields:

  • (@b)


2593
2594
2595
2596
2597
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2593

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

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

Yields:

  • (@b)


2503
2504
2505
2506
2507
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2503

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

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

Yields:

  • (@b)


2538
2539
2540
2541
2542
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2538

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

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

Yields:

  • (@b)


2528
2529
2530
2531
2532
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2528

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

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

Yields:

  • (@b)


2543
2544
2545
2546
2547
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2543

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

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

Yields:

  • (@b)


2588
2589
2590
2591
2592
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2588

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

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

Yields:

  • (@b)


2518
2519
2520
2521
2522
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2518

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

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

Yields:

  • (@b)


2578
2579
2580
2581
2582
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2578

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

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

Yields:

  • (@b)


2583
2584
2585
2586
2587
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2583

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)


2553
2554
2555
2556
2557
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2553

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

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

Yields:

  • (@b)


2508
2509
2510
2511
2512
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2508

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

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

Yields:

  • (@b)


2568
2569
2570
2571
2572
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2568

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

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

Yields:

  • (@b)


2523
2524
2525
2526
2527
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2523

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

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

Yields:

  • (@b)


2548
2549
2550
2551
2552
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2548

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

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

Yields:

  • (@b)


2513
2514
2515
2516
2517
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2513

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

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

Yields:

  • (@b)


2563
2564
2565
2566
2567
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2563

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