tencentcloud-sdk-apigateway 1.0.236 → 1.0.240

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180808/models.rb +42 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4850c7fbf8ae2fe0c7f440362687ccfc8e73ba3a
4
- data.tar.gz: fdbd008703709650a1150feb8395a1200e7ab8f6
3
+ metadata.gz: 84f982ea8a4b8cc882d7e2c31a4c3635655e14c2
4
+ data.tar.gz: cde156d110412aab8c1f6a7168fefa9f7ad4ab29
5
5
  SHA512:
6
- metadata.gz: e307197fb9d0e754934d0f5edcd7ee944d96d76fbd3d627cf7e6d7a2c48ab176c1e39dfa7672c831ee2c4058e9e39f3077917433ade092663a9272f8dea4a190
7
- data.tar.gz: 9307e782b16b4849f4b6124b26260afcaae83a0a2d139b1354d91bf288bc33b34a7a250441cadc5e3d7390381c689f4a6cbcf38bf01b51131a9c702685750378
6
+ metadata.gz: 6ee5feb1430f02ff23d6843d19c75598d3e9490b1be6b8051b74cb4694cad05be69f71399daddf4ecd6b449162c95c0f1762f76a1b367df6f88a22a996d871a0
7
+ data.tar.gz: d9eb0f3f28a23708e6e646e125a2b3b846f6e529fba49bba845aa8f88736af42481d47c381efbe519f01b446ddfbb7514cf0b9e20d309f464c95d8b51b1cea1f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.236
1
+ 1.0.240
@@ -1567,6 +1567,38 @@ module TencentCloud
1567
1567
  end
1568
1568
  end
1569
1569
 
1570
+ # cos类型的api配置
1571
+ class CosConfig < TencentCloud::Common::AbstractModel
1572
+ # @param Action: API调用后端COS的方式,前端请求方法与Action的可选值为:
1573
+ # GET:GetObject
1574
+ # PUT:PutObject
1575
+ # POST:PostObject、AppendObject
1576
+ # HEAD: HeadObject
1577
+ # DELETE: DeleteObject。
1578
+ # 注意:此字段可能返回 null,表示取不到有效值。
1579
+ # @type Action: String
1580
+ # @param BucketName: API后端COS的存储桶名。
1581
+ # 注意:此字段可能返回 null,表示取不到有效值。
1582
+ # @type BucketName: String
1583
+ # @param Authorization: API调用后端COS的签名开关,默认为false。
1584
+ # 注意:此字段可能返回 null,表示取不到有效值。
1585
+ # @type Authorization: Boolean
1586
+
1587
+ attr_accessor :Action, :BucketName, :Authorization
1588
+
1589
+ def initialize(action=nil, bucketname=nil, authorization=nil)
1590
+ @Action = action
1591
+ @BucketName = bucketname
1592
+ @Authorization = authorization
1593
+ end
1594
+
1595
+ def deserialize(params)
1596
+ @Action = params['Action']
1597
+ @BucketName = params['BucketName']
1598
+ @Authorization = params['Authorization']
1599
+ end
1600
+ end
1601
+
1570
1602
  # CreateAPIDoc请求参数结构体
1571
1603
  class CreateAPIDocRequest < TencentCloud::Common::AbstractModel
1572
1604
  # @param ApiDocName: API文档名称
@@ -7216,15 +7248,19 @@ module TencentCloud
7216
7248
  # @type Path: String
7217
7249
  # @param Method: API的后端服务请求方法,如 GET。如果 ServiceType 是 HTTP,则此参数必传。前后端方法可不同。
7218
7250
  # @type Method: String
7251
+ # @param CosConfig: API后端COS配置。如果 ServiceType 是 COS,则此参数必传。
7252
+ # 注意:此字段可能返回 null,表示取不到有效值。
7253
+ # @type CosConfig: :class:`Tencentcloud::Apigateway.v20180808.models.CosConfig`
7219
7254
 
7220
- attr_accessor :Product, :UniqVpcId, :Url, :Path, :Method
7255
+ attr_accessor :Product, :UniqVpcId, :Url, :Path, :Method, :CosConfig
7221
7256
 
7222
- def initialize(product=nil, uniqvpcid=nil, url=nil, path=nil, method=nil)
7257
+ def initialize(product=nil, uniqvpcid=nil, url=nil, path=nil, method=nil, cosconfig=nil)
7223
7258
  @Product = product
7224
7259
  @UniqVpcId = uniqvpcid
7225
7260
  @Url = url
7226
7261
  @Path = path
7227
7262
  @Method = method
7263
+ @CosConfig = cosconfig
7228
7264
  end
7229
7265
 
7230
7266
  def deserialize(params)
@@ -7233,6 +7269,10 @@ module TencentCloud
7233
7269
  @Url = params['Url']
7234
7270
  @Path = params['Path']
7235
7271
  @Method = params['Method']
7272
+ unless params['CosConfig'].nil?
7273
+ @CosConfig = CosConfig.new
7274
+ @CosConfig.deserialize(params['CosConfig'])
7275
+ end
7236
7276
  end
7237
7277
  end
7238
7278
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-apigateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.236
4
+ version: 1.0.240
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-06 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common