Class: OdpsDatahub::OdpsConfig
- Inherits:
-
Object
- Object
- OdpsDatahub::OdpsConfig
- Defined in:
- lib/fluent/plugin/conf/config.rb
Instance Attribute Summary collapse
-
#accessId ⇒ Object
Returns the value of attribute accessId.
-
#accessKey ⇒ Object
Returns the value of attribute accessKey.
-
#datahubEndpoint ⇒ Object
Returns the value of attribute datahubEndpoint.
-
#defaultProjectName ⇒ Object
Returns the value of attribute defaultProjectName.
-
#odpsEndpoint ⇒ Object
Returns the value of attribute odpsEndpoint.
-
#userAgent ⇒ Object
Returns the value of attribute userAgent.
Instance Method Summary collapse
-
#initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") ⇒ OdpsConfig
constructor
A new instance of OdpsConfig.
Constructor Details
#initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") ⇒ OdpsConfig
Returns a new instance of OdpsConfig.
23 24 25 26 27 28 29 30 |
# File 'lib/fluent/plugin/conf/config.rb', line 23 def initialize(accessId, accessKey, odpsEndpoint, datahubEndpoint, defaultProjectName = "") @accessId = accessId @accessKey = accessKey @odpsEndpoint = odpsEndpoint @datahubEndpoint = datahubEndpoint @defaultProject = defaultProjectName @userAgent = "" end |
Instance Attribute Details
#accessId ⇒ Object
Returns the value of attribute accessId.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def accessId @accessId end |
#accessKey ⇒ Object
Returns the value of attribute accessKey.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def accessKey @accessKey end |
#datahubEndpoint ⇒ Object
Returns the value of attribute datahubEndpoint.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def datahubEndpoint @datahubEndpoint end |
#defaultProjectName ⇒ Object
Returns the value of attribute defaultProjectName.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def defaultProjectName @defaultProjectName end |
#odpsEndpoint ⇒ Object
Returns the value of attribute odpsEndpoint.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def odpsEndpoint @odpsEndpoint end |
#userAgent ⇒ Object
Returns the value of attribute userAgent.
21 22 23 |
# File 'lib/fluent/plugin/conf/config.rb', line 21 def userAgent @userAgent end |