tencentcloud-sdk-tcb 1.0.364 → 3.0.371

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: ba26af72b3192ab25518e791e2a50b2276c39aee
4
- data.tar.gz: 2f9c4748dd04f6dfe1f3ec3d5d43aa81b36acca9
3
+ metadata.gz: c079c3b7ee86446d82ccaa89be82035e0654b77e
4
+ data.tar.gz: df69c2cd66cdfd21c0bfa18ccfd053489d23d878
5
5
  SHA512:
6
- metadata.gz: d9c2a6ab9f32ce42554dd51a4cc96ed63b3859433787e60e2617918b43d3a21e3a33f23be6e4b6d33d013a7ce8a62385e9d3268ae6c2a02044e1009878083046
7
- data.tar.gz: 259a4b35ba6663c3d2b248629fce6c00851f958530fa3e6f68d7338dbe3b88ff2363c38f02066914cb8137fb950e55245332fabe88570b707d492e0c9dbb03d5
6
+ metadata.gz: 3f5a1a765c84d496ae9d8f8b6002460db81685a469b99953ebc05011619b80d2981a5fa49ce4848ea2cac24a11f7927d2c891c716f0b35f897b69c87b2632643
7
+ data.tar.gz: 97d6fb1e328c1d7604dc36e2c360b6a21f92feff8252ead015def43d986666d64c92ac26ab74a36221990ba5f8ff64a3276ac552f2d2f11b3b1f759d3e89fbf1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.364
1
+ 3.0.371
@@ -509,6 +509,30 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
+ # 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
513
+
514
+ # @param request: Request instance for DescribeBaasPackageList.
515
+ # @type request: :class:`Tencentcloud::tcb::V20180608::DescribeBaasPackageListRequest`
516
+ # @rtype: :class:`Tencentcloud::tcb::V20180608::DescribeBaasPackageListResponse`
517
+ def DescribeBaasPackageList(request)
518
+ body = send_request('DescribeBaasPackageList', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = DescribeBaasPackageListResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
512
536
  # 获取云托管代码上传url
513
537
 
514
538
  # @param request: Request instance for DescribeCloudBaseBuildService.
@@ -135,6 +135,66 @@ module TencentCloud
135
135
  end
136
136
  end
137
137
 
138
+ # 新套餐套餐详情
139
+ class BaasPackageInfo < TencentCloud::Common::AbstractModel
140
+ # @param PackageName: DAU产品套餐ID
141
+ # 注意:此字段可能返回 null,表示取不到有效值。
142
+ # @type PackageName: String
143
+ # @param PackageTitle: DAU套餐中文名称
144
+ # 注意:此字段可能返回 null,表示取不到有效值。
145
+ # @type PackageTitle: String
146
+ # @param GroupName: 套餐分组
147
+ # 注意:此字段可能返回 null,表示取不到有效值。
148
+ # @type GroupName: String
149
+ # @param GroupTitle: 套餐分组中文名
150
+ # 注意:此字段可能返回 null,表示取不到有效值。
151
+ # @type GroupTitle: String
152
+ # @param BillTags: json格式化计费标签,例如:
153
+ # {"pid":2, "cids":{"create": 2, "renew": 2, "modify": 2}, "productCode":"p_tcb_mp", "subProductCode":"sp_tcb_mp_cloudbase_dau"}
154
+ # 注意:此字段可能返回 null,表示取不到有效值。
155
+ # @type BillTags: String
156
+ # @param ResourceLimit: json格式化用户资源限制,例如:
157
+ # {"Qps":1000,"InvokeNum":{"TimeUnit":"m", "Unit":"万次", "MaxSize": 100},"Capacity":{"TimeUnit":"m", "Unit":"GB", "MaxSize": 100}, "Cdn":{"Flux":{"TimeUnit":"m", "Unit":"GB", "MaxSize": 100}, "BackFlux":{"TimeUnit":"m", "Unit":"GB", "MaxSize": 100}},"Scf":{"Concurrency":1000,"OutFlux":{"TimeUnit":"m", "Unit":"GB", "MaxSize": 100},"MemoryUse":{"TimeUnit":"m", "Unit":"WGBS", "MaxSize": 100000}}}
158
+ # 注意:此字段可能返回 null,表示取不到有效值。
159
+ # @type ResourceLimit: String
160
+ # @param AdvanceLimit: json格式化高级限制,例如:
161
+ # {"CMSEnable":false,"ProvisionedConcurrencyMem":512000, "PictureProcessing":false, "SecurityAudit":false, "RealTimePush":false, "TemplateMessageBatchPush":false, "Payment":false}
162
+ # 注意:此字段可能返回 null,表示取不到有效值。
163
+ # @type AdvanceLimit: String
164
+ # @param PackageDescription: 套餐描述
165
+ # 注意:此字段可能返回 null,表示取不到有效值。
166
+ # @type PackageDescription: String
167
+ # @param IsExternal: 是否对外展示
168
+ # 注意:此字段可能返回 null,表示取不到有效值。
169
+ # @type IsExternal: Boolean
170
+
171
+ attr_accessor :PackageName, :PackageTitle, :GroupName, :GroupTitle, :BillTags, :ResourceLimit, :AdvanceLimit, :PackageDescription, :IsExternal
172
+
173
+ def initialize(packagename=nil, packagetitle=nil, groupname=nil, grouptitle=nil, billtags=nil, resourcelimit=nil, advancelimit=nil, packagedescription=nil, isexternal=nil)
174
+ @PackageName = packagename
175
+ @PackageTitle = packagetitle
176
+ @GroupName = groupname
177
+ @GroupTitle = grouptitle
178
+ @BillTags = billtags
179
+ @ResourceLimit = resourcelimit
180
+ @AdvanceLimit = advancelimit
181
+ @PackageDescription = packagedescription
182
+ @IsExternal = isexternal
183
+ end
184
+
185
+ def deserialize(params)
186
+ @PackageName = params['PackageName']
187
+ @PackageTitle = params['PackageTitle']
188
+ @GroupName = params['GroupName']
189
+ @GroupTitle = params['GroupTitle']
190
+ @BillTags = params['BillTags']
191
+ @ResourceLimit = params['ResourceLimit']
192
+ @AdvanceLimit = params['AdvanceLimit']
193
+ @PackageDescription = params['PackageDescription']
194
+ @IsExternal = params['IsExternal']
195
+ end
196
+ end
197
+
138
198
  # 网关服务信息
139
199
  class BackendServiceInfo < TencentCloud::Common::AbstractModel
140
200
  # @param ServiceName: 服务名称
@@ -2527,6 +2587,83 @@ module TencentCloud
2527
2587
  end
2528
2588
  end
2529
2589
 
2590
+ # DescribeBaasPackageList请求参数结构体
2591
+ class DescribeBaasPackageListRequest < TencentCloud::Common::AbstractModel
2592
+ # @param PackageName: tcb产品套餐ID,不填拉取全量package信息。
2593
+ # @type PackageName: String
2594
+ # @param EnvId: 环境ID
2595
+ # @type EnvId: String
2596
+ # @param Source: 套餐归属方,填写后只返回对应的套餐 包含miniapp与qcloud两种 默认为miniapp
2597
+ # @type Source: String
2598
+ # @param EnvChannel: 套餐归属环境渠道
2599
+ # @type EnvChannel: String
2600
+ # @param TargetAction: 拉取套餐用途:
2601
+ # 1)new 新购
2602
+ # 2)modify变配
2603
+ # 3)renew续费
2604
+ # @type TargetAction: String
2605
+ # @param GroupName: 预留字段,同一商品会对应多个类型套餐,对指标有不同侧重。
2606
+ # 计算型calculation
2607
+ # 流量型flux
2608
+ # 容量型capactiy
2609
+ # @type GroupName: String
2610
+ # @param PackageTypeList: 类型分组过滤。默认为["default"]
2611
+ # @type PackageTypeList: Array
2612
+ # @param PaymentChannel: 付费渠道,与回包billTags中的计费参数相关,不填返回默认值。
2613
+ # @type PaymentChannel: String
2614
+
2615
+ attr_accessor :PackageName, :EnvId, :Source, :EnvChannel, :TargetAction, :GroupName, :PackageTypeList, :PaymentChannel
2616
+
2617
+ def initialize(packagename=nil, envid=nil, source=nil, envchannel=nil, targetaction=nil, groupname=nil, packagetypelist=nil, paymentchannel=nil)
2618
+ @PackageName = packagename
2619
+ @EnvId = envid
2620
+ @Source = source
2621
+ @EnvChannel = envchannel
2622
+ @TargetAction = targetaction
2623
+ @GroupName = groupname
2624
+ @PackageTypeList = packagetypelist
2625
+ @PaymentChannel = paymentchannel
2626
+ end
2627
+
2628
+ def deserialize(params)
2629
+ @PackageName = params['PackageName']
2630
+ @EnvId = params['EnvId']
2631
+ @Source = params['Source']
2632
+ @EnvChannel = params['EnvChannel']
2633
+ @TargetAction = params['TargetAction']
2634
+ @GroupName = params['GroupName']
2635
+ @PackageTypeList = params['PackageTypeList']
2636
+ @PaymentChannel = params['PaymentChannel']
2637
+ end
2638
+ end
2639
+
2640
+ # DescribeBaasPackageList返回参数结构体
2641
+ class DescribeBaasPackageListResponse < TencentCloud::Common::AbstractModel
2642
+ # @param PackageList: 套餐列表
2643
+ # @type PackageList: Array
2644
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2645
+ # @type RequestId: String
2646
+
2647
+ attr_accessor :PackageList, :RequestId
2648
+
2649
+ def initialize(packagelist=nil, requestid=nil)
2650
+ @PackageList = packagelist
2651
+ @RequestId = requestid
2652
+ end
2653
+
2654
+ def deserialize(params)
2655
+ unless params['PackageList'].nil?
2656
+ @PackageList = []
2657
+ params['PackageList'].each do |i|
2658
+ baaspackageinfo_tmp = BaasPackageInfo.new
2659
+ baaspackageinfo_tmp.deserialize(i)
2660
+ @PackageList << baaspackageinfo_tmp
2661
+ end
2662
+ end
2663
+ @RequestId = params['RequestId']
2664
+ end
2665
+ end
2666
+
2530
2667
  # DescribeCloudBaseBuildService请求参数结构体
2531
2668
  class DescribeCloudBaseBuildServiceRequest < TencentCloud::Common::AbstractModel
2532
2669
  # @param EnvId: 环境id
@@ -5463,10 +5600,13 @@ module TencentCloud
5463
5600
  # @param IsDauPackage: 是否是dau新套餐
5464
5601
  # 注意:此字段可能返回 null,表示取不到有效值。
5465
5602
  # @type IsDauPackage: Boolean
5603
+ # @param PackageType: 套餐类型:空\baas\tcbr
5604
+ # 注意:此字段可能返回 null,表示取不到有效值。
5605
+ # @type PackageType: String
5466
5606
 
5467
- attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType, :IsDauPackage
5607
+ attr_accessor :EnvId, :Source, :Alias, :CreateTime, :UpdateTime, :Status, :Databases, :Storages, :Functions, :PackageId, :PackageName, :LogServices, :StaticStorages, :IsAutoDegrade, :EnvChannel, :PayMode, :IsDefault, :Region, :Tags, :CustomLogServices, :EnvType, :IsDauPackage, :PackageType
5468
5608
 
5469
- 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, isdaupackage=nil)
5609
+ 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, isdaupackage=nil, packagetype=nil)
5470
5610
  @EnvId = envid
5471
5611
  @Source = source
5472
5612
  @Alias = _alias
@@ -5489,6 +5629,7 @@ module TencentCloud
5489
5629
  @CustomLogServices = customlogservices
5490
5630
  @EnvType = envtype
5491
5631
  @IsDauPackage = isdaupackage
5632
+ @PackageType = packagetype
5492
5633
  end
5493
5634
 
5494
5635
  def deserialize(params)
@@ -5563,6 +5704,7 @@ module TencentCloud
5563
5704
  end
5564
5705
  @EnvType = params['EnvType']
5565
5706
  @IsDauPackage = params['IsDauPackage']
5707
+ @PackageType = params['PackageType']
5566
5708
  end
5567
5709
  end
5568
5710
 
@@ -5994,15 +6136,19 @@ module TencentCloud
5994
6136
  # @type TopicId: String
5995
6137
  # @param Region: cls日志所属地域
5996
6138
  # @type Region: String
6139
+ # @param Period: topic保存时长 默认7天
6140
+ # 注意:此字段可能返回 null,表示取不到有效值。
6141
+ # @type Period: Integer
5997
6142
 
5998
- attr_accessor :LogsetName, :LogsetId, :TopicName, :TopicId, :Region
6143
+ attr_accessor :LogsetName, :LogsetId, :TopicName, :TopicId, :Region, :Period
5999
6144
 
6000
- def initialize(logsetname=nil, logsetid=nil, topicname=nil, topicid=nil, region=nil)
6145
+ def initialize(logsetname=nil, logsetid=nil, topicname=nil, topicid=nil, region=nil, period=nil)
6001
6146
  @LogsetName = logsetname
6002
6147
  @LogsetId = logsetid
6003
6148
  @TopicName = topicname
6004
6149
  @TopicId = topicid
6005
6150
  @Region = region
6151
+ @Period = period
6006
6152
  end
6007
6153
 
6008
6154
  def deserialize(params)
@@ -6011,6 +6157,7 @@ module TencentCloud
6011
6157
  @TopicName = params['TopicName']
6012
6158
  @TopicId = params['TopicId']
6013
6159
  @Region = params['Region']
6160
+ @Period = params['Period']
6014
6161
  end
6015
6162
  end
6016
6163
 
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.364
4
+ version: 3.0.371
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-07-27 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common