Class: TencentCloud::Cdn::V20180606::AuthenticationTypeC
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::AuthenticationTypeC
- Defined in:
- lib/v20180606/models.rb
Overview
时间戳防盗链模式 C 配置时间戳防盗链模式 C 的访问 URL 格式为:DomainName/md5hash/timestamp/FileName 其中 timestamp 为十六进制 UNIX 时间戳;md5hash:MD5(自定义密钥 + 文件路径 + timestamp)
Instance Attribute Summary collapse
-
#BackupSecretKey ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
-
#ExpireTime ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
-
#FileExtensions ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
-
#FilterType ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
-
#SecretKey ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
-
#TimeFormat ⇒ Object
仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。 单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件 blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权 dec:十进制 hex:十六进制 注意:此字段可能返回 null,表示取不到有效值。 仅允许大小写字母与数字,长度 6~32 位 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(secretkey = nil, expiretime = nil, fileextensions = nil, filtertype = nil, timeformat = nil, backupsecretkey = nil) ⇒ AuthenticationTypeC
constructor
A new instance of AuthenticationTypeC.
Constructor Details
#initialize(secretkey = nil, expiretime = nil, fileextensions = nil, filtertype = nil, timeformat = nil, backupsecretkey = nil) ⇒ AuthenticationTypeC
Returns a new instance of AuthenticationTypeC.
1091 1092 1093 1094 1095 1096 1097 1098 |
# File 'lib/v20180606/models.rb', line 1091 def initialize(secretkey=nil, expiretime=nil, fileextensions=nil, filtertype=nil, timeformat=nil, backupsecretkey=nil) @SecretKey = secretkey @ExpireTime = expiretime @FileExtensions = fileextensions @FilterType = filtertype @TimeFormat = timeformat @BackupSecretKey = backupsecretkey end |
Instance Attribute Details
#BackupSecretKey ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def BackupSecretKey @BackupSecretKey end |
#ExpireTime ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def ExpireTime @ExpireTime end |
#FileExtensions ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def FileExtensions @FileExtensions end |
#FilterType ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def FilterType @FilterType end |
#SecretKey ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def SecretKey @SecretKey end |
#TimeFormat ⇒ Object
仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。单位为秒,最大可设置为 630720000 如果包含字符 * 则表示所有文件blacklist:黑名单,表示仅对 FileExtensions 中的类型进行鉴权dec:十进制hex:十六进制注意:此字段可能返回 null,表示取不到有效值。仅允许大小写字母与数字,长度 6~32 位注意:此字段可能返回 null,表示取不到有效值。
1089 1090 1091 |
# File 'lib/v20180606/models.rb', line 1089 def TimeFormat @TimeFormat end |
Instance Method Details
#deserialize(params) ⇒ Object
1100 1101 1102 1103 1104 1105 1106 1107 |
# File 'lib/v20180606/models.rb', line 1100 def deserialize(params) @SecretKey = params['SecretKey'] @ExpireTime = params['ExpireTime'] @FileExtensions = params['FileExtensions'] @FilterType = params['FilterType'] @TimeFormat = params['TimeFormat'] @BackupSecretKey = params['BackupSecretKey'] end |