Class: TencentCloud::Vod::V20180717::UrlSignatureAuthPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::UrlSignatureAuthPolicy
- Defined in:
- lib/v20180717/models.rb
Overview
基于签名的 Key 防盗链信息
Instance Attribute Summary collapse
-
#EncryptedKey ⇒ Object
<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。.
-
#Status ⇒ Object
<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, encryptedkey = nil) ⇒ UrlSignatureAuthPolicy
constructor
A new instance of UrlSignatureAuthPolicy.
Constructor Details
#initialize(status = nil, encryptedkey = nil) ⇒ UrlSignatureAuthPolicy
Returns a new instance of UrlSignatureAuthPolicy.
28708 28709 28710 28711 |
# File 'lib/v20180717/models.rb', line 28708 def initialize(status=nil, encryptedkey=nil) @Status = status @EncryptedKey = encryptedkey end |
Instance Attribute Details
#EncryptedKey ⇒ Object
<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。
28706 28707 28708 |
# File 'lib/v20180717/models.rb', line 28706 def EncryptedKey @EncryptedKey end |
#Status ⇒ Object
<li>Enabled: 启用。</li> <li>Disabled: 禁用。</li> EncryptedKey 字符串的长度为8~40个字节,不能包含不可见字符。
28706 28707 28708 |
# File 'lib/v20180717/models.rb', line 28706 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
28713 28714 28715 28716 |
# File 'lib/v20180717/models.rb', line 28713 def deserialize(params) @Status = params['Status'] @EncryptedKey = params['EncryptedKey'] end |