tencentcloud-sdk-cdn 3.0.597 → 3.0.599

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df5b4653230e13b68d52c0240ed1810d75859041
4
- data.tar.gz: 4a471c3d12c216c685ee50abf1669bca79b2d65f
3
+ metadata.gz: 9fe38eb0e7fb5e6cd503095ef529b9fa6a6353b4
4
+ data.tar.gz: 94f7032dbbb79be20e7bd659eae6c63ff686c98a
5
5
  SHA512:
6
- metadata.gz: 5acbd5e33197790534c2d3007e72157fb5d2bb7b5b4e30cad267af959746251a461d3042396f683dc29de1a617e0cdc69967e83c6bb6e41d96874027e5578703
7
- data.tar.gz: 5172d0f027d3541cbf9a73365c5b36e06bf29212eba87481fdff7db1a8226b484d5ab3814a80ff179c228b4b50211a3e9a94834572d954e38ea463dd82ce98f7
6
+ metadata.gz: ae995055826be96b37eae2d5df82334e59d69d86f9a5ef9563308bad4c9e88d63238f626cb604713ee4601925e272ede9d57e48a666eb3ef8e4e82ecaf55872c
7
+ data.tar.gz: e36db319045abc68b9e10588c0c0375cc3ab6ee97bb00ba3cffefc06faeafec50ece843bbd1391e3bc5a3f27ee3e05c499b9ead819bdb6e502101a0854e71a7c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.597
1
+ 3.0.599
@@ -1664,6 +1664,34 @@ module TencentCloud
1664
1664
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1665
1665
  end
1666
1666
 
1667
+ # ModifyDomainConfig 用于修改内容分发网络加速域名配置信息
1668
+ # 注意:
1669
+ # Route 字段,使用点分隔,最后一段称为叶子节点,非叶子节点配置保持不变;
1670
+ # Value 字段,使用 json 进行序列化,其中固定 update 作为 key,配置路径值参考 https://cloud.tencent.com/document/product/228/41116 接口各配置项复杂类型,为配置路径对应复杂类型下的节点。
1671
+ # 云审计相关:接口的入参可能包含密钥等敏感信息,所以此接口的入参不会上报到云审计。
1672
+
1673
+ # @param request: Request instance for ModifyDomainConfig.
1674
+ # @type request: :class:`Tencentcloud::cdn::V20180606::ModifyDomainConfigRequest`
1675
+ # @rtype: :class:`Tencentcloud::cdn::V20180606::ModifyDomainConfigResponse`
1676
+ def ModifyDomainConfig(request)
1677
+ body = send_request('ModifyDomainConfig', request.serialize)
1678
+ response = JSON.parse(body)
1679
+ if response['Response'].key?('Error') == false
1680
+ model = ModifyDomainConfigResponse.new
1681
+ model.deserialize(response['Response'])
1682
+ model
1683
+ else
1684
+ code = response['Response']['Error']['Code']
1685
+ message = response['Response']['Error']['Message']
1686
+ reqid = response['Response']['RequestId']
1687
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1688
+ end
1689
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1690
+ raise e
1691
+ rescue StandardError => e
1692
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1693
+ end
1694
+
1667
1695
  # ModifyPurgeFetchTaskStatus 用于上报定时刷新预热任务执行状态
1668
1696
 
1669
1697
  # @param request: Request instance for ModifyPurgeFetchTaskStatus.
@@ -9805,6 +9805,46 @@ module TencentCloud
9805
9805
  end
9806
9806
  end
9807
9807
 
9808
+ # ModifyDomainConfig请求参数结构体
9809
+ class ModifyDomainConfigRequest < TencentCloud::Common::AbstractModel
9810
+ # @param Domain: 域名
9811
+ # @type Domain: String
9812
+ # @param Route: 配置路径
9813
+ # @type Route: String
9814
+ # @param Value: 配置路径值,使用 json 进行序列化,其中固定 update 作为 key
9815
+ # @type Value: String
9816
+
9817
+ attr_accessor :Domain, :Route, :Value
9818
+
9819
+ def initialize(domain=nil, route=nil, value=nil)
9820
+ @Domain = domain
9821
+ @Route = route
9822
+ @Value = value
9823
+ end
9824
+
9825
+ def deserialize(params)
9826
+ @Domain = params['Domain']
9827
+ @Route = params['Route']
9828
+ @Value = params['Value']
9829
+ end
9830
+ end
9831
+
9832
+ # ModifyDomainConfig返回参数结构体
9833
+ class ModifyDomainConfigResponse < TencentCloud::Common::AbstractModel
9834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9835
+ # @type RequestId: String
9836
+
9837
+ attr_accessor :RequestId
9838
+
9839
+ def initialize(requestid=nil)
9840
+ @RequestId = requestid
9841
+ end
9842
+
9843
+ def deserialize(params)
9844
+ @RequestId = params['RequestId']
9845
+ end
9846
+ end
9847
+
9808
9848
  # ModifyPurgeFetchTaskStatus请求参数结构体
9809
9849
  class ModifyPurgeFetchTaskStatusRequest < TencentCloud::Common::AbstractModel
9810
9850
  # @param ExecutionTime: 执行时间
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdn
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.597
4
+ version: 3.0.599
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-21 00:00:00.000000000 Z
11
+ date: 2023-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common