Class: TencentCloud::Cdn::V20180606::PurgePathCacheRequest

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

Overview

PurgePathCache请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paths = nil, flushtype = nil, urlencode = nil, area = nil) ⇒ PurgePathCacheRequest

Returns a new instance of PurgePathCacheRequest.


10749
10750
10751
10752
10753
10754
# File 'lib/v20180606/models.rb', line 10749

def initialize(paths=nil, flushtype=nil, urlencode=nil, area=nil)
  @Paths = paths
  @FlushType = flushtype
  @UrlEncode = urlencode
  @Area = area
end

Instance Attribute Details

#AreaObject

flush:刷新产生更新的资源delete:刷新全部资源无此参数时,默认刷新加速域名所在加速区域填充 mainland 时,仅刷新中国境内加速节点上缓存内容填充 overseas 时,仅刷新中国境外加速节点上缓存内容指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Paths:

    目录列表,需要包含协议头部 http:// 或 https://

  • FlushType:

    刷新类型

  • UrlEncode:

    是否对中文字符进行编码后刷新

  • Area:

    刷新区域


10747
10748
10749
# File 'lib/v20180606/models.rb', line 10747

def Area
  @Area
end

#FlushTypeObject

flush:刷新产生更新的资源delete:刷新全部资源无此参数时,默认刷新加速域名所在加速区域填充 mainland 时,仅刷新中国境内加速节点上缓存内容填充 overseas 时,仅刷新中国境外加速节点上缓存内容指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Paths:

    目录列表,需要包含协议头部 http:// 或 https://

  • FlushType:

    刷新类型

  • UrlEncode:

    是否对中文字符进行编码后刷新

  • Area:

    刷新区域


10747
10748
10749
# File 'lib/v20180606/models.rb', line 10747

def FlushType
  @FlushType
end

#PathsObject

flush:刷新产生更新的资源delete:刷新全部资源无此参数时,默认刷新加速域名所在加速区域填充 mainland 时,仅刷新中国境内加速节点上缓存内容填充 overseas 时,仅刷新中国境外加速节点上缓存内容指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Paths:

    目录列表,需要包含协议头部 http:// 或 https://

  • FlushType:

    刷新类型

  • UrlEncode:

    是否对中文字符进行编码后刷新

  • Area:

    刷新区域


10747
10748
10749
# File 'lib/v20180606/models.rb', line 10747

def Paths
  @Paths
end

#UrlEncodeObject

flush:刷新产生更新的资源delete:刷新全部资源无此参数时,默认刷新加速域名所在加速区域填充 mainland 时,仅刷新中国境内加速节点上缓存内容填充 overseas 时,仅刷新中国境外加速节点上缓存内容指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Paths:

    目录列表,需要包含协议头部 http:// 或 https://

  • FlushType:

    刷新类型

  • UrlEncode:

    是否对中文字符进行编码后刷新

  • Area:

    刷新区域


10747
10748
10749
# File 'lib/v20180606/models.rb', line 10747

def UrlEncode
  @UrlEncode
end

Instance Method Details

#deserialize(params) ⇒ Object


10756
10757
10758
10759
10760
10761
# File 'lib/v20180606/models.rb', line 10756

def deserialize(params)
  @Paths = params['Paths']
  @FlushType = params['FlushType']
  @UrlEncode = params['UrlEncode']
  @Area = params['Area']
end