Class: TencentCloud::Cdn::V20180606::OssPrivateAccess

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

Overview

oss回源鉴权

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of OssPrivateAccess.



7605
7606
7607
7608
7609
7610
7611
# File 'lib/v20180606/models.rb', line 7605

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

Instance Attribute Details

#AccessKeyObject

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

Parameters:

  • Switch:

    oss回源鉴权配置开关,取值有:

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



7603
7604
7605
# File 'lib/v20180606/models.rb', line 7603

def AccessKey
  @AccessKey
end

#BucketObject

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

Parameters:

  • Switch:

    oss回源鉴权配置开关,取值有:

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



7603
7604
7605
# File 'lib/v20180606/models.rb', line 7603

def Bucket
  @Bucket
end

#RegionObject

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

Parameters:

  • Switch:

    oss回源鉴权配置开关,取值有:

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



7603
7604
7605
# File 'lib/v20180606/models.rb', line 7603

def Region
  @Region
end

#SecretKeyObject

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

Parameters:

  • Switch:

    oss回源鉴权配置开关,取值有:

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



7603
7604
7605
# File 'lib/v20180606/models.rb', line 7603

def SecretKey
  @SecretKey
end

#SwitchObject

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

Parameters:

  • Switch:

    oss回源鉴权配置开关,取值有:

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



7603
7604
7605
# File 'lib/v20180606/models.rb', line 7603

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



7613
7614
7615
7616
7617
7618
7619
# File 'lib/v20180606/models.rb', line 7613

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