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.



8141
8142
8143
8144
8145
8146
# File 'lib/v20180606/models.rb', line 8141

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



8139
8140
8141
# File 'lib/v20180606/models.rb', line 8139

def AccessKey
  @AccessKey
end

#BucketObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



8139
8140
8141
# File 'lib/v20180606/models.rb', line 8139

def Bucket
  @Bucket
end

#SecretKeyObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



8139
8140
8141
# File 'lib/v20180606/models.rb', line 8139

def SecretKey
  @SecretKey
end

#SwitchObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问 ID

  • SecretKey:

    密钥,字段为脱敏返回。

  • Bucket:

    bucketname



8139
8140
8141
# File 'lib/v20180606/models.rb', line 8139

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



8148
8149
8150
8151
8152
8153
# File 'lib/v20180606/models.rb', line 8148

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