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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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