Class: FluentCommandBuilder::AppCfgPython::V16::UpdateIndexes

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

Returns a new instance of UpdateIndexes.



2141
2142
2143
2144
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2141

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

Instance Method Details

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

Yields:

  • (@b)


2215
2216
2217
2218
2219
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2215

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

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

Yields:

  • (@b)


2200
2201
2202
2203
2204
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2200

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

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

Yields:

  • (@b)


2175
2176
2177
2178
2179
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2175

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

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

Yields:

  • (@b)


2145
2146
2147
2148
2149
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2145

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

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

Yields:

  • (@b)


2180
2181
2182
2183
2184
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2180

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

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

Yields:

  • (@b)


2170
2171
2172
2173
2174
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2170

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

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

Yields:

  • (@b)


2185
2186
2187
2188
2189
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2185

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

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

Yields:

  • (@b)


2230
2231
2232
2233
2234
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2230

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

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

Yields:

  • (@b)


2160
2161
2162
2163
2164
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2160

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

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

Yields:

  • (@b)


2220
2221
2222
2223
2224
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2220

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

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

Yields:

  • (@b)


2225
2226
2227
2228
2229
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2225

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)


2195
2196
2197
2198
2199
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2195

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

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

Yields:

  • (@b)


2150
2151
2152
2153
2154
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2150

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

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

Yields:

  • (@b)


2210
2211
2212
2213
2214
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2210

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

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

Yields:

  • (@b)


2165
2166
2167
2168
2169
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2165

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

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

Yields:

  • (@b)


2190
2191
2192
2193
2194
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2190

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

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

Yields:

  • (@b)


2155
2156
2157
2158
2159
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2155

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

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

Yields:

  • (@b)


2205
2206
2207
2208
2209
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 2205

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