Class: TencentCloud::Cdn::V20180606::QnPrivateAccess
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::QnPrivateAccess
- Defined in:
- lib/v20180606/models.rb
Overview
七牛元对象存储回源鉴权配置
Instance Attribute Summary collapse
-
#AccessKey ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
-
#SecretKey ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, accesskey = nil, secretkey = nil) ⇒ QnPrivateAccess
constructor
A new instance of QnPrivateAccess.
Constructor Details
#initialize(switch = nil, accesskey = nil, secretkey = nil) ⇒ QnPrivateAccess
Returns a new instance of QnPrivateAccess.
11039 11040 11041 11042 11043 |
# File 'lib/v20180606/models.rb', line 11039 def initialize(switch=nil, accesskey=nil, secretkey=nil) @Switch = switch @AccessKey = accesskey @SecretKey = secretkey end |
Instance Attribute Details
#AccessKey ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
11037 11038 11039 |
# File 'lib/v20180606/models.rb', line 11037 def AccessKey @AccessKey end |
#SecretKey ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
11037 11038 11039 |
# File 'lib/v20180606/models.rb', line 11037 def SecretKey @SecretKey end |
#Switch ⇒ Object
on:开启 off:关闭 注意:此字段可能返回 null,表示取不到有效值。
11037 11038 11039 |
# File 'lib/v20180606/models.rb', line 11037 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
11045 11046 11047 11048 11049 |
# File 'lib/v20180606/models.rb', line 11045 def deserialize(params) @Switch = params['Switch'] @AccessKey = params['AccessKey'] @SecretKey = params['SecretKey'] end |