Class: FluentCommandBuilder::AppCfgPython::V16::Delete

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

Returns a new instance of Delete.



203
204
205
206
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 203

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)


277
278
279
280
281
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 277

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

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

Yields:

  • (@b)


262
263
264
265
266
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 262

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

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

Yields:

  • (@b)


237
238
239
240
241
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 237

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

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

Yields:

  • (@b)


207
208
209
210
211
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 207

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

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

Yields:

  • (@b)


242
243
244
245
246
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 242

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

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

Yields:

  • (@b)


232
233
234
235
236
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 232

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

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

Yields:

  • (@b)


247
248
249
250
251
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 247

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

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

Yields:

  • (@b)


292
293
294
295
296
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 292

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

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

Yields:

  • (@b)


222
223
224
225
226
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 222

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

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

Yields:

  • (@b)


282
283
284
285
286
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 282

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

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

Yields:

  • (@b)


287
288
289
290
291
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 287

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)


257
258
259
260
261
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 257

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

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

Yields:

  • (@b)


212
213
214
215
216
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 212

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

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

Yields:

  • (@b)


272
273
274
275
276
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 272

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

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

Yields:

  • (@b)


227
228
229
230
231
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 227

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

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

Yields:

  • (@b)


252
253
254
255
256
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 252

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

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

Yields:

  • (@b)


217
218
219
220
221
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 217

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

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

Yields:

  • (@b)


267
268
269
270
271
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 267

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