lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.664 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.665

- old
+ new

@@ -5288,38 +5288,51 @@ end end # CreateRefreshTask请求参数结构体 class CreateRefreshTaskRequest < TencentCloud::Common::AbstractModel + # @param ClusterIDs: 指定集群列表,若为空则标识同步所有集群 + # @type ClusterIDs: Array + # @param IsSyncListOnly: 是否只同步列表 + # @type IsSyncListOnly: Boolean + attr_accessor :ClusterIDs, :IsSyncListOnly - def initialize() + def initialize(clusterids=nil, issynclistonly=nil) + @ClusterIDs = clusterids + @IsSyncListOnly = issynclistonly end def deserialize(params) + @ClusterIDs = params['ClusterIDs'] + @IsSyncListOnly = params['IsSyncListOnly'] end end # CreateRefreshTask返回参数结构体 class CreateRefreshTaskResponse < TencentCloud::Common::AbstractModel # @param TaskId: 返回创建的集群检查任务的ID,为0表示创建失败。 # @type TaskId: Integer # @param CreateResult: 创建检查任务的结果,"Succ"为成功,"Failed"为失败 # @type CreateResult: String + # @param NewTaskID: 返回创建的新集群检查任务ID + # @type NewTaskID: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :TaskId, :CreateResult, :RequestId + attr_accessor :TaskId, :CreateResult, :NewTaskID, :RequestId - def initialize(taskid=nil, createresult=nil, requestid=nil) + def initialize(taskid=nil, createresult=nil, newtaskid=nil, requestid=nil) @TaskId = taskid @CreateResult = createresult + @NewTaskID = newtaskid @RequestId = requestid end def deserialize(params) @TaskId = params['TaskId'] @CreateResult = params['CreateResult'] + @NewTaskID = params['NewTaskID'] @RequestId = params['RequestId'] end end # CreateRiskDnsEventExportJob请求参数结构体