lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.941 vs lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.942
- old
+ new
@@ -11547,10 +11547,11 @@
# <li> VideoCover: 视频智能封面</li>
# <li> VideoSegment: 视频智能拆条</li>
# <li> VideoProduce: 视频制作</li>
# <li> MediaCast: 媒体转推</li>
# <li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
+ # <li>VoiceTranslation: 语音翻译</li>
# @type Type: String
attr_accessor :StartTime, :EndTime, :SubAppId, :Type
def initialize(starttime=nil, endtime=nil, subappid=nil, type=nil)
@@ -13227,22 +13228,26 @@
# <li>格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。</li>
# @type CreateTime: String
# @param QUICConfig: 域名 QUIC 配置信息。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type QUICConfig: :class:`Tencentcloud::Vod.v20180717.models.DomainQUICConfig`
+ # @param IPFilterPolicy: IP 访问限制配置信息。
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type IPFilterPolicy: :class:`Tencentcloud::Vod.v20180717.models.IPFilterPolicy`
- attr_accessor :Domain, :AccelerateAreaInfos, :DeployStatus, :HTTPSConfig, :UrlSignatureAuthPolicy, :RefererAuthPolicy, :CreateTime, :QUICConfig
+ attr_accessor :Domain, :AccelerateAreaInfos, :DeployStatus, :HTTPSConfig, :UrlSignatureAuthPolicy, :RefererAuthPolicy, :CreateTime, :QUICConfig, :IPFilterPolicy
- def initialize(domain=nil, accelerateareainfos=nil, deploystatus=nil, httpsconfig=nil, urlsignatureauthpolicy=nil, refererauthpolicy=nil, createtime=nil, quicconfig=nil)
+ def initialize(domain=nil, accelerateareainfos=nil, deploystatus=nil, httpsconfig=nil, urlsignatureauthpolicy=nil, refererauthpolicy=nil, createtime=nil, quicconfig=nil, ipfilterpolicy=nil)
@Domain = domain
@AccelerateAreaInfos = accelerateareainfos
@DeployStatus = deploystatus
@HTTPSConfig = httpsconfig
@UrlSignatureAuthPolicy = urlsignatureauthpolicy
@RefererAuthPolicy = refererauthpolicy
@CreateTime = createtime
@QUICConfig = quicconfig
+ @IPFilterPolicy = ipfilterpolicy
end
def deserialize(params)
@Domain = params['Domain']
unless params['AccelerateAreaInfos'].nil?
@@ -13269,10 +13274,14 @@
@CreateTime = params['CreateTime']
unless params['QUICConfig'].nil?
@QUICConfig = DomainQUICConfig.new
@QUICConfig.deserialize(params['QUICConfig'])
end
+ unless params['IPFilterPolicy'].nil?
+ @IPFilterPolicy = IPFilterPolicy.new
+ @IPFilterPolicy.deserialize(params['IPFilterPolicy'])
+ end
end
end
# 域名 HTTPS 配置信息
class DomainHTTPSConfig < TencentCloud::Common::AbstractModel
@@ -15297,10 +15306,37 @@
def deserialize(params)
@Switch = params['Switch']
end
end
+ # IP 访问限制规则,当前支持配置 IP 黑名单和白名单。
+ class IPFilterPolicy < TencentCloud::Common::AbstractModel
+ # @param Status: IP 访问限制状态,可选值:
+ # <li>Enabled:启用;</li>
+ # <li>Disabled:禁用。</li>
+ # @type Status: String
+ # @param FilterType: IP 访问限制类型: <li>Black:黑名单方式校验。只有来自 IPList 列表中的 IP 请求会被拦截。</li>
+ # <li>White:白名单方式校验。只有来自 IPList 列表中的 IP 请求会被放行。</li>当 Status 取值为 Enabled 时,FilterType 必须赋值。
+ # @type FilterType: String
+ # @param IPList: IP 列表,支持 X.X.X.X 格式 IPV4 地址,或 X:X:X:X:X:X:X:X 格式 IPV6 地址,或网段格式 /N(IPV4:1≤N≤32;IPV6:1≤N≤128);最多可填充 200 个 IP 或网段。当 Status 取值为 Enabled 时,IPList 必须赋值。
+ # @type IPList: Array
+
+ attr_accessor :Status, :FilterType, :IPList
+
+ def initialize(status=nil, filtertype=nil, iplist=nil)
+ @Status = status
+ @FilterType = filtertype
+ @IPList = iplist
+ end
+
+ def deserialize(params)
+ @Status = params['Status']
+ @FilterType = params['FilterType']
+ @IPList = params['IPList']
+ end
+ end
+
# 图片模糊处理。
class ImageBlur < TencentCloud::Common::AbstractModel
# @param Type: 图片模糊的操作类型。可选模式有:
# <li>Gaussian : 高斯模糊。</li>
# @type Type: String
@@ -20477,19 +20513,22 @@
# @type RefererAuthPolicy: :class:`Tencentcloud::Vod.v20180717.models.RefererAuthPolicy`
# @param UrlSignatureAuthPolicy: [Key 防盗链](/document/product/266/14047)规则。
# @type UrlSignatureAuthPolicy: :class:`Tencentcloud::Vod.v20180717.models.UrlSignatureAuthPolicy`
# @param QUICConfig: QUIC 配置。
# @type QUICConfig: :class:`Tencentcloud::Vod.v20180717.models.DomainQUICConfig`
+ # @param IPFilterPolicy: IP 访问限制规则。
+ # @type IPFilterPolicy: :class:`Tencentcloud::Vod.v20180717.models.IPFilterPolicy`
- attr_accessor :Domain, :SubAppId, :RefererAuthPolicy, :UrlSignatureAuthPolicy, :QUICConfig
+ attr_accessor :Domain, :SubAppId, :RefererAuthPolicy, :UrlSignatureAuthPolicy, :QUICConfig, :IPFilterPolicy
- def initialize(domain=nil, subappid=nil, refererauthpolicy=nil, urlsignatureauthpolicy=nil, quicconfig=nil)
+ def initialize(domain=nil, subappid=nil, refererauthpolicy=nil, urlsignatureauthpolicy=nil, quicconfig=nil, ipfilterpolicy=nil)
@Domain = domain
@SubAppId = subappid
@RefererAuthPolicy = refererauthpolicy
@UrlSignatureAuthPolicy = urlsignatureauthpolicy
@QUICConfig = quicconfig
+ @IPFilterPolicy = ipfilterpolicy
end
def deserialize(params)
@Domain = params['Domain']
@SubAppId = params['SubAppId']
@@ -20503,10 +20542,14 @@
end
unless params['QUICConfig'].nil?
@QUICConfig = DomainQUICConfig.new
@QUICConfig.deserialize(params['QUICConfig'])
end
+ unless params['IPFilterPolicy'].nil?
+ @IPFilterPolicy = IPFilterPolicy.new
+ @IPFilterPolicy.deserialize(params['IPFilterPolicy'])
+ end
end
end
# ModifyVodDomainConfig返回参数结构体
class ModifyVodDomainConfigResponse < TencentCloud::Common::AbstractModel
@@ -27377,9 +27420,10 @@
# <li> ExtractTraceWatermark: 提取水印</li>
# <li> AddTraceWatermark: 添加水印</li>
# <li> RebuildMedia: 音画质重生</li>
# <li> QualityInspect: 音画质检测</li>
# <li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
+ # <li>VoiceTranslation: 语音翻译</li>
# @type TaskType: String
# @param Summary: 任务数统计数据概览,用量单位为秒。
# @type Summary: Array
# @param Details: 不同规格任务统计数据详情。
# 转码规格: