tencentcloud-sdk-apigateway 1.0.237 → 1.0.238

Sign up to get free protection for your applications and to get access to all the features.
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: ba06565594764e498fd4e48ea1d8a238b4aef817
4
- data.tar.gz: fd906ee646e4adfe1b0101c54815ea5747f27bfc
3
+ metadata.gz: 27e5f089820e3765177270f18c900c58fdfe8da9
4
+ data.tar.gz: 58a30107be789bc8ade5c91208edfc0d08d4433b
5
5
  SHA512:
6
- metadata.gz: 713f9fc087e6097614dc9da3050c48dfa56040674cbe26001b001b7c6175b2b5bee888118927f548b5d1639448eee6220496ed8f7c30436d8c3d106edb605b08
7
- data.tar.gz: 9af296cfdb6610c8ec99b1b2b34fd99ab98bbc21c15b13dc0296833b918a821ea37d06cbefb940dce3885a6441fddbf296672e86a9237b01b61f62a80923dffc
6
+ metadata.gz: 84c8f3b31e26afbdeaf34cf26b1036a1f19497321d45f61d4b553ba8c4613cd5fa8a446fc0f7283894bdf299948ed2fa8d9aed9bc51324fb3d71bb3ea8d17067
7
+ data.tar.gz: 48280492b74b5130ac82d7b939457e0e6d947d0984828b3bfa6133b6bf5c48ef2be53e6df005f9c9ef2200065f14819a66d0044a0b72bc430763de563c1d0156
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.237
1
+ 1.0.238
@@ -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.237
4
+ version: 1.0.238
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-07 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common