tencentcloud-sdk-tcb 1.0.239 → 1.0.243

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3590104919ed98fe9803510af3f2eacacd6b0bc1
4
- data.tar.gz: 57a3f637315c9079d7b294c0982ad3aaeff23c31
3
+ metadata.gz: bf6ac313e8b91e995ac852c7e71bc10013336d72
4
+ data.tar.gz: 283f70b1389a6bd3e87449157ea0d8538a3ee359
5
5
  SHA512:
6
- metadata.gz: a723c002a31e56c19a48831b7d55c89204df189e62126604fce120c9d7934e1f65727648e4c925a1ff76a2c7786894dd9dee1728c2463a305b2169f3f67e2438
7
- data.tar.gz: dc533b6bfc58930a081315b476f4bbb18ce1f47ce53d9c63b1dfc13cafe5e45b48c975c32c34b3a55a0b90fc2585889ffdb65a27e7f9e31fbc70036242313214
6
+ metadata.gz: bc1e65fda6e18b073b4f96b33e65c1c8a0a5eebb3be7620cf006f98771604b1499fc150f3dd6343a065e886e5b2f4bef41d239b37de6741fd5375d58477f6e4b
7
+ data.tar.gz: c7b0932651233af9acdf53280a5953c8691cbd58f50688a4cc56e694dfd69b848abaf9577f22bc2e865bc92ede2d8c391c3bd8df0bc34fa9f0e8f2a102c1cb02
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.239
1
+ 1.0.243
@@ -1784,6 +1784,30 @@ module TencentCloud
1784
1784
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1785
1785
  end
1786
1786
 
1787
+ # 搜索CLS日志,TCB角色秘钥访问
1788
+
1789
+ # @param request: Request instance for SearchClsLog.
1790
+ # @type request: :class:`Tencentcloud::tcb::V20180608::SearchClsLogRequest`
1791
+ # @rtype: :class:`Tencentcloud::tcb::V20180608::SearchClsLogResponse`
1792
+ def SearchClsLog(request)
1793
+ body = send_request('SearchClsLog', request.serialize)
1794
+ response = JSON.parse(body)
1795
+ if response['Response'].key?('Error') == false
1796
+ model = SearchClsLogResponse.new
1797
+ model.deserialize(response['Response'])
1798
+ model
1799
+ else
1800
+ code = response['Response']['Error']['Code']
1801
+ message = response['Response']['Error']['Message']
1802
+ reqid = response['Response']['RequestId']
1803
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1804
+ end
1805
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1806
+ raise e
1807
+ rescue StandardError => e
1808
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1809
+ end
1810
+
1787
1811
  # 本接口(TurnOffStandaloneGateway)用于关闭小租户网关。
1788
1812
 
1789
1813
  # @param request: Request instance for TurnOffStandaloneGateway.
@@ -2135,19 +2135,23 @@ module TencentCloud
2135
2135
  # @type EnvId: String
2136
2136
  # @param WxAppId: 微信appid
2137
2137
  # @type WxAppId: String
2138
+ # @param DbVersion: mysql内核版本,支持5.7,8.0
2139
+ # @type DbVersion: String
2138
2140
 
2139
- attr_accessor :AccountPassword, :EnvId, :WxAppId
2141
+ attr_accessor :AccountPassword, :EnvId, :WxAppId, :DbVersion
2140
2142
 
2141
- def initialize(accountpassword=nil, envid=nil, wxappid=nil)
2143
+ def initialize(accountpassword=nil, envid=nil, wxappid=nil, dbversion=nil)
2142
2144
  @AccountPassword = accountpassword
2143
2145
  @EnvId = envid
2144
2146
  @WxAppId = wxappid
2147
+ @DbVersion = dbversion
2145
2148
  end
2146
2149
 
2147
2150
  def deserialize(params)
2148
2151
  @AccountPassword = params['AccountPassword']
2149
2152
  @EnvId = params['EnvId']
2150
2153
  @WxAppId = params['WxAppId']
2154
+ @DbVersion = params['DbVersion']
2151
2155
  end
2152
2156
  end
2153
2157
 
@@ -5440,10 +5444,13 @@ module TencentCloud
5440
5444
  # @param CustomLogServices: 自定义日志服务
5441
5445
  # 注意:此字段可能返回 null,表示取不到有效值。
5442
5446
  # @type CustomLogServices: Array
5447
+ # @param EnvType: 环境类型:baas, run, hoting, weda
5448
+ # 注意:此字段可能返回 null,表示取不到有效值。
5449
+ # @type EnvType: String
5443
5450
 
5444
- attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices
5451
+ attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType
5445
5452
 
5446
- def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, databases=nil, storages=nil, functions=nil, packageid=nil, packagename=nil, logservices=nil, staticstorages=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, tags=nil, customlogservices=nil)
5453
+ def initialize(envid=nil, source=nil, _alias=nil, createtime=nil, updatetime=nil, status=nil, databases=nil, storages=nil, functions=nil, packageid=nil, packagename=nil, logservices=nil, staticstorages=nil, isautodegrade=nil, envchannel=nil, paymode=nil, isdefault=nil, region=nil, tags=nil, customlogservices=nil, envtype=nil)
5447
5454
  @EnvId = envid
5448
5455
  @Source = source
5449
5456
  @Alias = _alias
@@ -5464,6 +5471,7 @@ module TencentCloud
5464
5471
  @Region = region
5465
5472
  @Tags = tags
5466
5473
  @CustomLogServices = customlogservices
5474
+ @EnvType = envtype
5467
5475
  end
5468
5476
 
5469
5477
  def deserialize(params)
@@ -5536,6 +5544,7 @@ module TencentCloud
5536
5544
  @CustomLogServices << clsinfo_tmp
5537
5545
  end
5538
5546
  end
5547
+ @EnvType = params['EnvType']
5539
5548
  end
5540
5549
  end
5541
5550
 
@@ -5837,6 +5846,73 @@ module TencentCloud
5837
5846
  end
5838
5847
  end
5839
5848
 
5849
+ # CLS日志单条信息
5850
+ class LogObject < TencentCloud::Common::AbstractModel
5851
+ # @param TopicId: 日志属于的 topic ID
5852
+ # @type TopicId: String
5853
+ # @param TopicName: 日志主题的名字
5854
+ # @type TopicName: String
5855
+ # @param Timestamp: 日志时间
5856
+ # @type Timestamp: String
5857
+ # @param Content: 日志内容
5858
+ # @type Content: String
5859
+ # @param FileName: 采集路径
5860
+ # @type FileName: String
5861
+ # @param Source: 日志来源设备
5862
+ # @type Source: String
5863
+
5864
+ attr_accessor :TopicId, :TopicName, :Timestamp, :Content, :FileName, :Source
5865
+
5866
+ def initialize(topicid=nil, topicname=nil, timestamp=nil, content=nil, filename=nil, source=nil)
5867
+ @TopicId = topicid
5868
+ @TopicName = topicname
5869
+ @Timestamp = timestamp
5870
+ @Content = content
5871
+ @FileName = filename
5872
+ @Source = source
5873
+ end
5874
+
5875
+ def deserialize(params)
5876
+ @TopicId = params['TopicId']
5877
+ @TopicName = params['TopicName']
5878
+ @Timestamp = params['Timestamp']
5879
+ @Content = params['Content']
5880
+ @FileName = params['FileName']
5881
+ @Source = params['Source']
5882
+ end
5883
+ end
5884
+
5885
+ # CLS日志结果
5886
+ class LogResObject < TencentCloud::Common::AbstractModel
5887
+ # @param Context: 获取更多检索结果的游标
5888
+ # @type Context: String
5889
+ # @param ListOver: 搜索结果是否已经全部返回
5890
+ # @type ListOver: Boolean
5891
+ # @param Results: 日志内容信息
5892
+ # @type Results: Array
5893
+
5894
+ attr_accessor :Context, :ListOver, :Results
5895
+
5896
+ def initialize(context=nil, listover=nil, results=nil)
5897
+ @Context = context
5898
+ @ListOver = listover
5899
+ @Results = results
5900
+ end
5901
+
5902
+ def deserialize(params)
5903
+ @Context = params['Context']
5904
+ @ListOver = params['ListOver']
5905
+ unless params['Results'].nil?
5906
+ @Results = []
5907
+ params['Results'].each do |i|
5908
+ logobject_tmp = LogObject.new
5909
+ logobject_tmp.deserialize(i)
5910
+ @Results << logobject_tmp
5911
+ end
5912
+ end
5913
+ end
5914
+ end
5915
+
5840
5916
  # 云日志服务相关信息
5841
5917
  class LogServiceInfo < TencentCloud::Common::AbstractModel
5842
5918
  # @param LogsetName: log名
@@ -6728,6 +6804,73 @@ module TencentCloud
6728
6804
  end
6729
6805
  end
6730
6806
 
6807
+ # SearchClsLog请求参数结构体
6808
+ class SearchClsLogRequest < TencentCloud::Common::AbstractModel
6809
+ # @param EnvId: 环境唯一ID
6810
+ # @type EnvId: String
6811
+ # @param StartTime: 查询起始时间条件
6812
+ # @type StartTime: String
6813
+ # @param EndTime: 查询结束时间条件
6814
+ # @type EndTime: String
6815
+ # @param QueryString: 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
6816
+ # @type QueryString: String
6817
+ # @param Limit: 单次要返回的日志条数,单次返回的最大条数为100
6818
+ # @type Limit: Integer
6819
+ # @param Context: 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
6820
+ # @type Context: String
6821
+ # @param Sort: 按时间排序 asc(升序)或者 desc(降序),默认为 desc
6822
+ # @type Sort: String
6823
+ # @param UseLucene: 是否使用Lucene语法,默认为false
6824
+ # @type UseLucene: Boolean
6825
+
6826
+ attr_accessor :EnvId, :StartTime, :EndTime, :QueryString, :Limit, :Context, :Sort, :UseLucene
6827
+
6828
+ def initialize(envid=nil, starttime=nil, endtime=nil, querystring=nil, limit=nil, context=nil, sort=nil, uselucene=nil)
6829
+ @EnvId = envid
6830
+ @StartTime = starttime
6831
+ @EndTime = endtime
6832
+ @QueryString = querystring
6833
+ @Limit = limit
6834
+ @Context = context
6835
+ @Sort = sort
6836
+ @UseLucene = uselucene
6837
+ end
6838
+
6839
+ def deserialize(params)
6840
+ @EnvId = params['EnvId']
6841
+ @StartTime = params['StartTime']
6842
+ @EndTime = params['EndTime']
6843
+ @QueryString = params['QueryString']
6844
+ @Limit = params['Limit']
6845
+ @Context = params['Context']
6846
+ @Sort = params['Sort']
6847
+ @UseLucene = params['UseLucene']
6848
+ end
6849
+ end
6850
+
6851
+ # SearchClsLog返回参数结构体
6852
+ class SearchClsLogResponse < TencentCloud::Common::AbstractModel
6853
+ # @param LogResults: 日志内容结果
6854
+ # @type LogResults: :class:`Tencentcloud::Tcb.v20180608.models.LogResObject`
6855
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6856
+ # @type RequestId: String
6857
+
6858
+ attr_accessor :LogResults, :RequestId
6859
+
6860
+ def initialize(logresults=nil, requestid=nil)
6861
+ @LogResults = logresults
6862
+ @RequestId = requestid
6863
+ end
6864
+
6865
+ def deserialize(params)
6866
+ unless params['LogResults'].nil?
6867
+ @LogResults = LogResObject.new
6868
+ @LogResults.deserialize(params['LogResults'])
6869
+ end
6870
+ @RequestId = params['RequestId']
6871
+ end
6872
+ end
6873
+
6731
6874
  # 短信免费量
6732
6875
  class SmsFreeQuota < TencentCloud::Common::AbstractModel
6733
6876
  # @param FreeQuota: 免费量总条数
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.239
4
+ version: 1.0.243
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common