tencentcloud-sdk-apigateway 1.0.235 → 1.0.239
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180808/models.rb +42 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8880a89523a75c733c7908afb7896b35e0f96433
|
4
|
+
data.tar.gz: 799f168708f70b38df597a0a92db0815118cd97a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a574d7c19983ed717e043abedcb8ec441e7ee87d3309cb5039a8bef9f0933501d9831d2b8f5e222b2802a0409c13022eb7ddf29142c2eb98210d073a5e202a86
|
7
|
+
data.tar.gz: e5c13536c1987bcf7fb2e7b740f20037a896b363f4d99ab7b3dfeb67c04a56f38101634b001baa02048cd3dfc26ade444c470ad5a3fbebf0c44d20815100da52
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.239
|
data/lib/v20180808/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 1.0.239
|
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
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|