Class: FluentCommandBuilder::AppCfgPython::V17::DownloadData
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::AppCfgPython::V17::DownloadData
- Defined in:
- lib/fluent_command_builder/command_builders/appcfg_python_17.rb
Instance Method Summary collapse
- #allow_any_runtime {|@b| ... } ⇒ Object
- #application(app_id) {|@b| ... } ⇒ Object
- #auth_domain(auth_domain) {|@b| ... } ⇒ Object
- #bandwidth_limit(bandwidth_limit) {|@b| ... } ⇒ Object
- #batch_size(batch_size) {|@b| ... } ⇒ Object
- #config_file(config_file) {|@b| ... } ⇒ Object
- #db_filename(db_filename) {|@b| ... } ⇒ Object
- #dry_run {|@b| ... } ⇒ Object
- #email(email) {|@b| ... } ⇒ Object
- #exporter_opts(exporter_opts) {|@b| ... } ⇒ Object
- #filename(filename) {|@b| ... } ⇒ Object
- #help {|@b| ... } ⇒ Object
- #host(host) {|@b| ... } ⇒ Object
- #http_limit(http_limit) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder, directory) ⇒ DownloadData
constructor
A new instance of DownloadData.
- #insecure {|@b| ... } ⇒ Object
- #kind(kind) {|@b| ... } ⇒ Object
- #log_file(log_file) {|@b| ... } ⇒ Object
- #namespace(namespace) {|@b| ... } ⇒ Object
- #no_cookies {|@b| ... } ⇒ Object
- #noauth_local_webserver {|@b| ... } ⇒ Object
- #noisy {|@b| ... } ⇒ Object
- #num_threads(num_threads) {|@b| ... } ⇒ Object
- #oauth2 {|@b| ... } ⇒ Object
- #oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object
- #passin {|@b| ... } ⇒ Object
- #quiet {|@b| ... } ⇒ Object
- #result_db_filename(result_db_filename) {|@b| ... } ⇒ Object
- #rps_limit(rps_limit) {|@b| ... } ⇒ Object
- #runtime(runtime) {|@b| ... } ⇒ Object
- #server(server) {|@b| ... } ⇒ Object
- #skip_sdk_update_check {|@b| ... } ⇒ Object
- #url(url) {|@b| ... } ⇒ Object
- #verbose {|@b| ... } ⇒ Object
- #version(version) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, directory) ⇒ DownloadData
Returns a new instance of DownloadData.
1143 1144 1145 1146 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1143 def initialize(, directory) super @b.append " download_data #{@b.format directory}" end |
Instance Method Details
#allow_any_runtime {|@b| ... } ⇒ Object
1217 1218 1219 1220 1221 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1217 def allow_any_runtime @b.append ' --allow_any_runtime' yield @b if block_given? self end |
#application(app_id) {|@b| ... } ⇒ Object
1202 1203 1204 1205 1206 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1202 def application(app_id) @b.append " --application=#{@b.format app_id}" yield @b if block_given? self end |
#auth_domain(auth_domain) {|@b| ... } ⇒ Object
1267 1268 1269 1270 1271 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1267 def auth_domain(auth_domain) @b.append " --auth_domain=#{@b.format auth_domain}" yield @b if block_given? self end |
#bandwidth_limit(bandwidth_limit) {|@b| ... } ⇒ Object
1247 1248 1249 1250 1251 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1247 def bandwidth_limit(bandwidth_limit) @b.append " --bandwidth_limit=#{@b.format bandwidth_limit}" yield @b if block_given? self end |
#batch_size(batch_size) {|@b| ... } ⇒ Object
1242 1243 1244 1245 1246 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1242 def batch_size(batch_size) @b.append " --batch_size=#{@b.format batch_size}" yield @b if block_given? self end |
#config_file(config_file) {|@b| ... } ⇒ Object
1312 1313 1314 1315 1316 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1312 def config_file(config_file) @b.append " --config_file=#{@b.format config_file}" yield @b if block_given? self end |
#db_filename(db_filename) {|@b| ... } ⇒ Object
1262 1263 1264 1265 1266 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1262 def db_filename(db_filename) @b.append " --db_filename=#{@b.format db_filename}" yield @b if block_given? self end |
#dry_run {|@b| ... } ⇒ Object
1277 1278 1279 1280 1281 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1277 def dry_run @b.append ' --dry_run' yield @b if block_given? self end |
#email(email) {|@b| ... } ⇒ Object
1177 1178 1179 1180 1181 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1177 def email(email) @b.append " --email=#{@b.format email}" yield @b if block_given? self end |
#exporter_opts(exporter_opts) {|@b| ... } ⇒ Object
1302 1303 1304 1305 1306 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1302 def exporter_opts(exporter_opts) @b.append " --exporter_opts=#{@b.format exporter_opts}" yield @b if block_given? self end |
#filename(filename) {|@b| ... } ⇒ Object
1292 1293 1294 1295 1296 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1292 def filename(filename) @b.append " --filename=#{@b.format filename}" yield @b if block_given? self end |
#help {|@b| ... } ⇒ Object
1147 1148 1149 1150 1151 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1147 def help @b.append ' --help' yield @b if block_given? self end |
#host(host) {|@b| ... } ⇒ Object
1182 1183 1184 1185 1186 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1182 def host(host) @b.append " --host=#{@b.format host}" yield @b if block_given? self end |
#http_limit(http_limit) {|@b| ... } ⇒ Object
1257 1258 1259 1260 1261 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1257 def http_limit(http_limit) @b.append " --http_limit=#{@b.format http_limit}" yield @b if block_given? self end |
#insecure {|@b| ... } ⇒ Object
1172 1173 1174 1175 1176 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1172 def insecure @b.append ' --insecure' yield @b if block_given? self end |
#kind(kind) {|@b| ... } ⇒ Object
1297 1298 1299 1300 1301 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1297 def kind(kind) @b.append " --kind=#{@b.format kind}" yield @b if block_given? self end |
#log_file(log_file) {|@b| ... } ⇒ Object
1272 1273 1274 1275 1276 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1272 def log_file(log_file) @b.append " --log_file=#{@b.format log_file}" yield @b if block_given? self end |
#namespace(namespace) {|@b| ... } ⇒ Object
1282 1283 1284 1285 1286 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1282 def namespace(namespace) @b.append " --namespace=#{@b.format namespace}" yield @b if block_given? self end |
#no_cookies {|@b| ... } ⇒ Object
1187 1188 1189 1190 1191 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1187 def @b.append ' --no_cookies' yield @b if block_given? self end |
#noauth_local_webserver {|@b| ... } ⇒ Object
1232 1233 1234 1235 1236 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1232 def noauth_local_webserver @b.append ' --noauth_local_webserver' yield @b if block_given? self end |
#noisy {|@b| ... } ⇒ Object
1162 1163 1164 1165 1166 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1162 def noisy @b.append ' --noisy' yield @b if block_given? self end |
#num_threads(num_threads) {|@b| ... } ⇒ Object
1287 1288 1289 1290 1291 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1287 def num_threads(num_threads) @b.append " --num_threads=#{@b.format num_threads}" yield @b if block_given? self end |
#oauth2 {|@b| ... } ⇒ Object
1222 1223 1224 1225 1226 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1222 def oauth2 @b.append ' --oauth2' yield @b if block_given? self end |
#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object
1227 1228 1229 1230 1231 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1227 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
1197 1198 1199 1200 1201 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1197 def passin @b.append ' --passin' yield @b if block_given? self end |
#quiet {|@b| ... } ⇒ Object
1152 1153 1154 1155 1156 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1152 def quiet @b.append ' --quiet' yield @b if block_given? self end |
#result_db_filename(result_db_filename) {|@b| ... } ⇒ Object
1307 1308 1309 1310 1311 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1307 def result_db_filename(result_db_filename) @b.append " --result_db_filename=#{@b.format result_db_filename}" yield @b if block_given? self end |
#rps_limit(rps_limit) {|@b| ... } ⇒ Object
1252 1253 1254 1255 1256 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1252 def rps_limit(rps_limit) @b.append " --rps_limit=#{@b.format rps_limit}" yield @b if block_given? self end |
#runtime(runtime) {|@b| ... } ⇒ Object
1212 1213 1214 1215 1216 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1212 def runtime(runtime) @b.append " --runtime=#{@b.format runtime}" yield @b if block_given? self end |
#server(server) {|@b| ... } ⇒ Object
1167 1168 1169 1170 1171 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1167 def server(server) @b.append " --server=#{@b.format server}" yield @b if block_given? self end |
#skip_sdk_update_check {|@b| ... } ⇒ Object
1192 1193 1194 1195 1196 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1192 def skip_sdk_update_check @b.append ' --skip_sdk_update_check' yield @b if block_given? self end |
#url(url) {|@b| ... } ⇒ Object
1237 1238 1239 1240 1241 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1237 def url(url) @b.append " --url=#{@b.format url}" yield @b if block_given? self end |
#verbose {|@b| ... } ⇒ Object
1157 1158 1159 1160 1161 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1157 def verbose @b.append ' --verbose' yield @b if block_given? self end |
#version(version) {|@b| ... } ⇒ Object
1207 1208 1209 1210 1211 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 1207 def version(version) @b.append " --version=#{@b.format version}" yield @b if block_given? self end |