Class: FluentCommandBuilder::AppCfgPython::V16::DownloadApp

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

Returns a new instance of DownloadApp.



1052
1053
1054
1055
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1052

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' download_app'
end

Instance Method Details

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

Yields:

  • (@b)


1126
1127
1128
1129
1130
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1126

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

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

Yields:

  • (@b)


1111
1112
1113
1114
1115
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1111

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

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

Yields:

  • (@b)


1086
1087
1088
1089
1090
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1086

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

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

Yields:

  • (@b)


1056
1057
1058
1059
1060
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1056

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

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

Yields:

  • (@b)


1091
1092
1093
1094
1095
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1091

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

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

Yields:

  • (@b)


1081
1082
1083
1084
1085
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1081

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

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

Yields:

  • (@b)


1096
1097
1098
1099
1100
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1096

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

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

Yields:

  • (@b)


1141
1142
1143
1144
1145
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1141

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

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

Yields:

  • (@b)


1071
1072
1073
1074
1075
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1071

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

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

Yields:

  • (@b)


1131
1132
1133
1134
1135
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1131

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

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

Yields:

  • (@b)


1136
1137
1138
1139
1140
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1136

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)


1106
1107
1108
1109
1110
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1106

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

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

Yields:

  • (@b)


1061
1062
1063
1064
1065
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1061

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

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

Yields:

  • (@b)


1121
1122
1123
1124
1125
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1121

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

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

Yields:

  • (@b)


1076
1077
1078
1079
1080
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1076

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

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

Yields:

  • (@b)


1101
1102
1103
1104
1105
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1101

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

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

Yields:

  • (@b)


1066
1067
1068
1069
1070
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1066

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

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

Yields:

  • (@b)


1116
1117
1118
1119
1120
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1116

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