Class: AliyunSlsSdk::PutLogsRequest
- Inherits:
-
LogRequest
- Object
- LogRequest
- AliyunSlsSdk::PutLogsRequest
- Defined in:
- lib/aliyun_sls_sdk/put_logs_request.rb
Instance Attribute Summary collapse
-
#compress ⇒ Object
Returns the value of attribute compress.
-
#hashkey ⇒ Object
Returns the value of attribute hashkey.
-
#logitems ⇒ Object
Returns the value of attribute logitems.
-
#logstore ⇒ Object
Returns the value of attribute logstore.
-
#project ⇒ Object
Returns the value of attribute project.
-
#source ⇒ Object
Returns the value of attribute source.
-
#topic ⇒ Object
Returns the value of attribute topic.
Instance Method Summary collapse
-
#initialize(project = nil, logstore = nil, topic = nil, source = nil, logitems = nil, hashKey = nil, compress = false) ⇒ PutLogsRequest
constructor
A new instance of PutLogsRequest.
Constructor Details
#initialize(project = nil, logstore = nil, topic = nil, source = nil, logitems = nil, hashKey = nil, compress = false) ⇒ PutLogsRequest
Returns a new instance of PutLogsRequest.
5 6 7 8 9 10 11 12 13 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 5 def initialize(project=nil, logstore=nil, topic=nil, source=nil, logitems=nil, hashKey = nil, compress = false) @project = project @logstore = logstore @topic = topic @source = source @logitems = logitems @hashkey = hashKey @compress = compress end |
Instance Attribute Details
#compress ⇒ Object
Returns the value of attribute compress.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def compress @compress end |
#hashkey ⇒ Object
Returns the value of attribute hashkey.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def hashkey @hashkey end |
#logitems ⇒ Object
Returns the value of attribute logitems.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def logitems @logitems end |
#logstore ⇒ Object
Returns the value of attribute logstore.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def logstore @logstore end |
#project ⇒ Object
Returns the value of attribute project.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def project @project end |
#source ⇒ Object
Returns the value of attribute source.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def source @source end |
#topic ⇒ Object
Returns the value of attribute topic.
4 5 6 |
# File 'lib/aliyun_sls_sdk/put_logs_request.rb', line 4 def topic @topic end |