Class: TencentCloud::Cdn::V20180606::HwPrivateAccess

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

华为云对象存储回源鉴权

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(switch = nil, accesskey = nil, secretkey = nil, bucket = nil) ⇒ HwPrivateAccess

Returns a new instance of HwPrivateAccess.



5994
5995
5996
5997
5998
5999
# File 'lib/v20180606/models.rb', line 5994

def initialize(switch=nil, accesskey=nil, secretkey=nil, bucket=nil)
  @Switch = switch
  @AccessKey = accesskey
  @SecretKey = secretkey
  @Bucket = bucket
end

Instance Attribute Details

#AccessKeyObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    华为云对象存储回源鉴权配置开关,取值有:

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



5992
5993
5994
# File 'lib/v20180606/models.rb', line 5992

def AccessKey
  @AccessKey
end

#BucketObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    华为云对象存储回源鉴权配置开关,取值有:

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



5992
5993
5994
# File 'lib/v20180606/models.rb', line 5992

def Bucket
  @Bucket
end

#SecretKeyObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    华为云对象存储回源鉴权配置开关,取值有:

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



5992
5993
5994
# File 'lib/v20180606/models.rb', line 5992

def SecretKey
  @SecretKey
end

#SwitchObject

on:开启off:关闭注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Switch:

    华为云对象存储回源鉴权配置开关,取值有:

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



5992
5993
5994
# File 'lib/v20180606/models.rb', line 5992

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



6001
6002
6003
6004
6005
6006
# File 'lib/v20180606/models.rb', line 6001

def deserialize(params)
  @Switch = params['Switch']
  @AccessKey = params['AccessKey']
  @SecretKey = params['SecretKey']
  @Bucket = params['Bucket']
end