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.



10260
10261
10262
10263
10264
10265
10266
# File 'lib/v20180606/models.rb', line 10260

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



10258
10259
10260
# File 'lib/v20180606/models.rb', line 10258

def AccessKey
  @AccessKey
end

#BucketObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



10258
10259
10260
# File 'lib/v20180606/models.rb', line 10258

def Bucket
  @Bucket
end

#RegionObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



10258
10259
10260
# File 'lib/v20180606/models.rb', line 10258

def Region
  @Region
end

#SecretKeyObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



10258
10259
10260
# File 'lib/v20180606/models.rb', line 10258

def SecretKey
  @SecretKey
end

#SwitchObject

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

Parameters:

  • Switch:

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

  • AccessKey:

    访问ID。

  • SecretKey:

    密钥,字段为脱敏返回。

  • Region:

    地域

  • Bucket:

    Bucketname



10258
10259
10260
# File 'lib/v20180606/models.rb', line 10258

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



10268
10269
10270
10271
10272
10273
10274
# File 'lib/v20180606/models.rb', line 10268

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