tencentcloud-sdk-cdn 3.0.598 → 3.0.600

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: f63babdb565a60ebcb84ec50cb36d86276b84dad
4
- data.tar.gz: 0f8879f69a30218ada75d10cce059c4baf5200c3
3
+ metadata.gz: 293840ec555dcf5d7fa68e0509f4518953ac4091
4
+ data.tar.gz: 7a52b2ae6ed0cc594c513771269dfc440f157df6
5
5
  SHA512:
6
- metadata.gz: 8dac550d589ac2032ff190c3fce62ea5e431cac73064b88aca1837134d96f9230842bd6a0f6236551a79cdc54400529063bcaa7c5c39f7b1102fdb6f7efc5475
7
- data.tar.gz: 5d90eee2e366a7ded5f511b69c79025ec2439d77722ff60e7fa1b89c106b369a84b60301d23e1bee4497efa659fe6d5281245b36817219a4c778cca9164fde58
6
+ metadata.gz: ab730ee4292f389f2727e03780500adbbd0082491b4c678a8fdae34c184618c478028ff3567882f9523994ce69d7d826801a19e1e72ec91e94cf8853cef424b1
7
+ data.tar.gz: 971d7c785409b04a94fb564261375586df6854a9ba7abb00797894575086501a812b37e6b20314854b7131a391a8685dadf030608db9426e029ea9691ed0fb56
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.598
1
+ 3.0.600
@@ -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.598
4
+ version: 3.0.600
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-22 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common