tencentcloud-sdk-cdn 3.0.517 → 3.0.518

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: 09ee9fc97b5e4878dcd1d960c81b41670bb8c1e7
4
- data.tar.gz: 4e673a190260cf8225485ae0c42bb0e63db3558f
3
+ metadata.gz: d94f8062e8a95ae6e3e64639f341f99aeec45d8d
4
+ data.tar.gz: b1026edf6e7cba2be252565fb10d9ae5249ef337
5
5
  SHA512:
6
- metadata.gz: fe9411ae74ffdf6bbe9d6a20e09cecb7042d34fba1b9c8cd291a4df3094699342c8518f4d4ef5f91bab2f9910944ab8fb09dbb3d4b10a0fabb1a9ccedec26256
7
- data.tar.gz: 7dcf1c57a5b559e9516f505bad1670c8f6582aa8670894c5add6c06f8437e531caa36fae898fef806e59e3ad158adde33d1c338a626072e868923016362028c2
6
+ metadata.gz: ec2ccad0f421ef8f736cd4b8fc27371a9c3f935d82ef85241822352991ac2f306f33929892c43a22526e33fb29db76521d8840cb25aee846b3ff93ef316c26a1
7
+ data.tar.gz: d9defecf2b1debb8b1f099495cbe3d218a42f26f46907f91e940f99fa4e2e87a2b6763f33fb68bc3d4f2c8a650a42ad31a821d47fa537d0a842a3d65fe50e9cf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.517
1
+ 3.0.518
@@ -667,6 +667,30 @@ module TencentCloud
667
667
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
668
668
  end
669
669
 
670
+ # DescribeHttpsPackages 用于查询 CDN HTTPS请求包详情。
671
+
672
+ # @param request: Request instance for DescribeHttpsPackages.
673
+ # @type request: :class:`Tencentcloud::cdn::V20180606::DescribeHttpsPackagesRequest`
674
+ # @rtype: :class:`Tencentcloud::cdn::V20180606::DescribeHttpsPackagesResponse`
675
+ def DescribeHttpsPackages(request)
676
+ body = send_request('DescribeHttpsPackages', request.serialize)
677
+ response = JSON.parse(body)
678
+ if response['Response'].key?('Error') == false
679
+ model = DescribeHttpsPackagesResponse.new
680
+ model.deserialize(response['Response'])
681
+ model
682
+ else
683
+ code = response['Response']['Error']['Code']
684
+ message = response['Response']['Error']['Message']
685
+ reqid = response['Response']['RequestId']
686
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
687
+ end
688
+ rescue TencentCloud::Common::TencentCloudSDKException => e
689
+ raise e
690
+ rescue StandardError => e
691
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
692
+ end
693
+
670
694
  # DescribeImageConfig 用于获取域名图片优化的当前配置,支持Webp、TPG、 Guetzli 和 Avif。
671
695
 
672
696
  # @param request: Request instance for DescribeImageConfig.
@@ -4534,6 +4534,69 @@ module TencentCloud
4534
4534
  end
4535
4535
  end
4536
4536
 
4537
+ # DescribeHttpsPackages请求参数结构体
4538
+ class DescribeHttpsPackagesRequest < TencentCloud::Common::AbstractModel
4539
+ # @param Offset: 分页查询起始地址,默认 0
4540
+ # @type Offset: Integer
4541
+ # @param Limit: 分页查询记录个数,默认100,最大1000
4542
+ # @type Limit: Integer
4543
+
4544
+ attr_accessor :Offset, :Limit
4545
+
4546
+ def initialize(offset=nil, limit=nil)
4547
+ @Offset = offset
4548
+ @Limit = limit
4549
+ end
4550
+
4551
+ def deserialize(params)
4552
+ @Offset = params['Offset']
4553
+ @Limit = params['Limit']
4554
+ end
4555
+ end
4556
+
4557
+ # DescribeHttpsPackages返回参数结构体
4558
+ class DescribeHttpsPackagesResponse < TencentCloud::Common::AbstractModel
4559
+ # @param TotalCount: HTTPS请求包总个数
4560
+ # @type TotalCount: Integer
4561
+ # @param HttpsPackages: HTTPS请求包详情
4562
+ # @type HttpsPackages: Array
4563
+ # @param ExpiringCount: 即将过期的HTTPS请求包个数(7天内)
4564
+ # @type ExpiringCount: Integer
4565
+ # @param EnabledCount: 有效HTTPS请求包个数
4566
+ # @type EnabledCount: Integer
4567
+ # @param PaidCount: 付费HTTPS请求包个数
4568
+ # @type PaidCount: Integer
4569
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4570
+ # @type RequestId: String
4571
+
4572
+ attr_accessor :TotalCount, :HttpsPackages, :ExpiringCount, :EnabledCount, :PaidCount, :RequestId
4573
+
4574
+ def initialize(totalcount=nil, httpspackages=nil, expiringcount=nil, enabledcount=nil, paidcount=nil, requestid=nil)
4575
+ @TotalCount = totalcount
4576
+ @HttpsPackages = httpspackages
4577
+ @ExpiringCount = expiringcount
4578
+ @EnabledCount = enabledcount
4579
+ @PaidCount = paidcount
4580
+ @RequestId = requestid
4581
+ end
4582
+
4583
+ def deserialize(params)
4584
+ @TotalCount = params['TotalCount']
4585
+ unless params['HttpsPackages'].nil?
4586
+ @HttpsPackages = []
4587
+ params['HttpsPackages'].each do |i|
4588
+ httpspackage_tmp = HttpsPackage.new
4589
+ httpspackage_tmp.deserialize(i)
4590
+ @HttpsPackages << httpspackage_tmp
4591
+ end
4592
+ end
4593
+ @ExpiringCount = params['ExpiringCount']
4594
+ @EnabledCount = params['EnabledCount']
4595
+ @PaidCount = params['PaidCount']
4596
+ @RequestId = params['RequestId']
4597
+ end
4598
+ end
4599
+
4537
4600
  # DescribeImageConfig请求参数结构体
4538
4601
  class DescribeImageConfigRequest < TencentCloud::Common::AbstractModel
4539
4602
  # @param Domain: 域名
@@ -7867,6 +7930,98 @@ module TencentCloud
7867
7930
  end
7868
7931
  end
7869
7932
 
7933
+ # CDN HTTPS请求包。
7934
+ class HttpsPackage < TencentCloud::Common::AbstractModel
7935
+ # @param Id: HTTPS请求包 Id
7936
+ # @type Id: Integer
7937
+ # @param Type: HTTPS请求包类型
7938
+ # @type Type: String
7939
+ # @param Size: HTTPS请求包大小(单位为:次)
7940
+ # @type Size: Integer
7941
+ # @param SizeUsed: 已消耗HTTPS请求包(单位为:次)
7942
+ # @type SizeUsed: Integer
7943
+ # @param Status: HTTPS请求包状态
7944
+ # enabled:已启用
7945
+ # expired:已过期
7946
+ # disabled:未启用
7947
+ # @type Status: String
7948
+ # @param CreateTime: HTTPS请求包发放时间
7949
+ # @type CreateTime: String
7950
+ # @param EnableTime: HTTPS请求包生效时间
7951
+ # @type EnableTime: String
7952
+ # @param ExpireTime: HTTPS请求包过期时间
7953
+ # @type ExpireTime: String
7954
+ # @param Channel: HTTPS请求包来源
7955
+ # @type Channel: String
7956
+ # @param LifeTimeMonth: HTTPS请求包生命周期月数
7957
+ # @type LifeTimeMonth: Integer
7958
+ # @param RefundAvailable: HTTPS请求包是否支持退费
7959
+ # @type RefundAvailable: Boolean
7960
+ # @param ConfigId: HTTPS请求包类型id
7961
+ # @type ConfigId: Integer
7962
+ # @param TrueEnableTime: HTTPS请求包实际生效时间
7963
+ # @type TrueEnableTime: String
7964
+ # @param TrueExpireTime: HTTPS请求包实际过期时间
7965
+ # @type TrueExpireTime: String
7966
+ # @param Area: HTTPS请求包生效区域
7967
+ # global:全球
7968
+ # @type Area: String
7969
+ # @param ContractExtension: HTTPS请求包是否续订
7970
+ # @type ContractExtension: Boolean
7971
+ # @param ExtensionAvailable: HTTPS请求包是否支持续订
7972
+ # @type ExtensionAvailable: Boolean
7973
+ # @param ExtensionMode: HTTPS请求包当前续订模式
7974
+ # 0:未续订
7975
+ # 1:到期续订
7976
+ # 2:用完续订
7977
+ # 3:到期或用完续订
7978
+ # @type ExtensionMode: Integer
7979
+
7980
+ attr_accessor :Id, :Type, :Size, :SizeUsed, :Status, :CreateTime, :EnableTime, :ExpireTime, :Channel, :LifeTimeMonth, :RefundAvailable, :ConfigId, :TrueEnableTime, :TrueExpireTime, :Area, :ContractExtension, :ExtensionAvailable, :ExtensionMode
7981
+
7982
+ def initialize(id=nil, type=nil, size=nil, sizeused=nil, status=nil, createtime=nil, enabletime=nil, expiretime=nil, channel=nil, lifetimemonth=nil, refundavailable=nil, configid=nil, trueenabletime=nil, trueexpiretime=nil, area=nil, contractextension=nil, extensionavailable=nil, extensionmode=nil)
7983
+ @Id = id
7984
+ @Type = type
7985
+ @Size = size
7986
+ @SizeUsed = sizeused
7987
+ @Status = status
7988
+ @CreateTime = createtime
7989
+ @EnableTime = enabletime
7990
+ @ExpireTime = expiretime
7991
+ @Channel = channel
7992
+ @LifeTimeMonth = lifetimemonth
7993
+ @RefundAvailable = refundavailable
7994
+ @ConfigId = configid
7995
+ @TrueEnableTime = trueenabletime
7996
+ @TrueExpireTime = trueexpiretime
7997
+ @Area = area
7998
+ @ContractExtension = contractextension
7999
+ @ExtensionAvailable = extensionavailable
8000
+ @ExtensionMode = extensionmode
8001
+ end
8002
+
8003
+ def deserialize(params)
8004
+ @Id = params['Id']
8005
+ @Type = params['Type']
8006
+ @Size = params['Size']
8007
+ @SizeUsed = params['SizeUsed']
8008
+ @Status = params['Status']
8009
+ @CreateTime = params['CreateTime']
8010
+ @EnableTime = params['EnableTime']
8011
+ @ExpireTime = params['ExpireTime']
8012
+ @Channel = params['Channel']
8013
+ @LifeTimeMonth = params['LifeTimeMonth']
8014
+ @RefundAvailable = params['RefundAvailable']
8015
+ @ConfigId = params['ConfigId']
8016
+ @TrueEnableTime = params['TrueEnableTime']
8017
+ @TrueExpireTime = params['TrueExpireTime']
8018
+ @Area = params['Area']
8019
+ @ContractExtension = params['ContractExtension']
8020
+ @ExtensionAvailable = params['ExtensionAvailable']
8021
+ @ExtensionMode = params['ExtensionMode']
8022
+ end
8023
+ end
8024
+
7870
8025
  # 华为云对象存储回源鉴权
7871
8026
  class HwPrivateAccess < TencentCloud::Common::AbstractModel
7872
8027
  # @param Switch: 开关 on/off
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.517
4
+ version: 3.0.518
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-02-27 00:00:00.000000000 Z
11
+ date: 2023-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common