Class: TencentCloud::Cdn::V20180606::AwsPrivateAccess

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

Overview

s3源站回源鉴权。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AwsPrivateAccess.



1255
1256
1257
1258
1259
1260
1261
# File 'lib/v20180606/models.rb', line 1255

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:

  • s3源站回源鉴权配置项开关,取值有:

  • 访问ID。

  • 密钥,字段为脱敏返回。

  • 地域

  • Bucketname



1253
1254
1255
# File 'lib/v20180606/models.rb', line 1253

def AccessKey
  @AccessKey
end

#BucketObject

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

Parameters:

  • s3源站回源鉴权配置项开关,取值有:

  • 访问ID。

  • 密钥,字段为脱敏返回。

  • 地域

  • Bucketname



1253
1254
1255
# File 'lib/v20180606/models.rb', line 1253

def Bucket
  @Bucket
end

#RegionObject

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

Parameters:

  • s3源站回源鉴权配置项开关,取值有:

  • 访问ID。

  • 密钥,字段为脱敏返回。

  • 地域

  • Bucketname



1253
1254
1255
# File 'lib/v20180606/models.rb', line 1253

def Region
  @Region
end

#SecretKeyObject

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

Parameters:

  • s3源站回源鉴权配置项开关,取值有:

  • 访问ID。

  • 密钥,字段为脱敏返回。

  • 地域

  • Bucketname



1253
1254
1255
# File 'lib/v20180606/models.rb', line 1253

def SecretKey
  @SecretKey
end

#SwitchObject

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

Parameters:

  • s3源站回源鉴权配置项开关,取值有:

  • 访问ID。

  • 密钥,字段为脱敏返回。

  • 地域

  • Bucketname



1253
1254
1255
# File 'lib/v20180606/models.rb', line 1253

def Switch
  @Switch
end

Instance Method Details

#deserialize(params) ⇒ Object



1263
1264
1265
1266
1267
1268
1269
# File 'lib/v20180606/models.rb', line 1263

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