Class: TencentCloud::Cdn::V20180606::PurgeUrlsCacheRequest

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

Overview

PurgeUrlsCache请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(urls = nil, area = nil, urlencode = nil) ⇒ PurgeUrlsCacheRequest

Returns a new instance of PurgeUrlsCacheRequest.



10861
10862
10863
10864
10865
# File 'lib/v20180606/models.rb', line 10861

def initialize(urls=nil, area=nil, urlencode=nil)
  @Urls = urls
  @Area = area
  @UrlEncode = urlencode
end

Instance Attribute Details

#AreaObject

无此参数时,默认刷新加速域名所在加速区域 填充 mainland 时,仅刷新中国境内加速节点上缓存内容 填充 overseas 时,仅刷新中国境外加速节点上缓存内容 指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Urls:

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

  • Area:

    刷新区域

  • UrlEncode:

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



10859
10860
10861
# File 'lib/v20180606/models.rb', line 10859

def Area
  @Area
end

#UrlEncodeObject

无此参数时,默认刷新加速域名所在加速区域 填充 mainland 时,仅刷新中国境内加速节点上缓存内容 填充 overseas 时,仅刷新中国境外加速节点上缓存内容 指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Urls:

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

  • Area:

    刷新区域

  • UrlEncode:

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



10859
10860
10861
# File 'lib/v20180606/models.rb', line 10859

def UrlEncode
  @UrlEncode
end

#UrlsObject

无此参数时,默认刷新加速域名所在加速区域 填充 mainland 时,仅刷新中国境内加速节点上缓存内容 填充 overseas 时,仅刷新中国境外加速节点上缓存内容 指定刷新区域时,需要与域名加速区域匹配

Parameters:

  • Urls:

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

  • Area:

    刷新区域

  • UrlEncode:

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



10859
10860
10861
# File 'lib/v20180606/models.rb', line 10859

def Urls
  @Urls
end

Instance Method Details

#deserialize(params) ⇒ Object



10867
10868
10869
10870
10871
# File 'lib/v20180606/models.rb', line 10867

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