Class: FluentCommandBuilder::AppCfgPython::V17::Delete

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, backend) ⇒ Delete

Returns a new instance of Delete.



204
205
206
207
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 204

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

Instance Method Details

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

Yields:

  • (@b)


278
279
280
281
282
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 278

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

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

Yields:

  • (@b)


263
264
265
266
267
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 263

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

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

Yields:

  • (@b)


238
239
240
241
242
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 238

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

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

Yields:

  • (@b)


208
209
210
211
212
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 208

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

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

Yields:

  • (@b)


243
244
245
246
247
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 243

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

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

Yields:

  • (@b)


233
234
235
236
237
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 233

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

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

Yields:

  • (@b)


248
249
250
251
252
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 248

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

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

Yields:

  • (@b)


293
294
295
296
297
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 293

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

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

Yields:

  • (@b)


223
224
225
226
227
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 223

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

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

Yields:

  • (@b)


283
284
285
286
287
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 283

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

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

Yields:

  • (@b)


288
289
290
291
292
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 288

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)


258
259
260
261
262
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 258

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

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

Yields:

  • (@b)


213
214
215
216
217
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 213

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

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

Yields:

  • (@b)


273
274
275
276
277
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 273

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

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

Yields:

  • (@b)


228
229
230
231
232
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 228

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

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

Yields:

  • (@b)


253
254
255
256
257
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 253

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

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

Yields:

  • (@b)


218
219
220
221
222
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 218

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

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

Yields:

  • (@b)


268
269
270
271
272
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 268

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