github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/yunjing/create_process_task.go (about)

     1  package yunjing
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 创建实时拉取进程任务
     8  // https://cloud.tencent.com/document/api/296/30341
     9  
    10  type CreateProcessTaskRequest struct {
    11  	// 区域
    12  	Region string `name:"Region"`
    13  	// 云镜客户端唯一Uuid。
    14  	Uuid string `name:"Uuid"`
    15  }
    16  
    17  func (req *CreateProcessTaskRequest) Invoke(client github_com_morlay_goqcloud.Client) (*CreateProcessTaskResponse, error) {
    18  	resp := &CreateProcessTaskResponse{}
    19  	err := client.Request("yunjing", "CreateProcessTask", "2018-02-28").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type CreateProcessTaskResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }