v20210125

package
v1.0.311 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 另一个请求正在处理中,请稍后再试。
	FAILEDOPERATION_ANOTHERREQUESTPROCESSING = "FailedOperation.AnotherRequestProcessing"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 重复的工作组名称。
	INVALIDPARAMETER_DUPLICATEGROUPNAME = "InvalidParameter.DuplicateGroupName"

	// 重复的用户名。
	INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName"

	// 无效的描述信息。
	INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription"

	// 无效的容错策略。
	INVALIDPARAMETER_INVALIDFAILURETOLERANCE = "InvalidParameter.InvalidFailureTolerance"

	// 无效的工作组Id。
	INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId"

	// 无效的Offset值。
	INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset"

	// SQL解析失败。
	INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"

	// 不支持的排序类型。
	INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"

	// 存储位置错误。
	INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"

	// 无效的用户名。
	INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName"

	// 无效的工作组名。
	INVALIDPARAMETER_INVALIDWORKGROUPNAME = "InvalidParameter.InvalidWorkGroupName"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 缺少参数错误。
	MISSINGPARAMETER = "MissingParameter"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 指定数据源连接没有找到。
	RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"

	// 无法修改主账号。
	UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"
)
View Source
const APIVersion = "2021-01-25"

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUsersToWorkGroupRequest added in v1.0.206

type AddUsersToWorkGroupRequest struct {
	*tchttp.BaseRequest

	// 要操作的工作组和用户信息
	AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"`
}

func NewAddUsersToWorkGroupRequest added in v1.0.206

func NewAddUsersToWorkGroupRequest() (request *AddUsersToWorkGroupRequest)

func (*AddUsersToWorkGroupRequest) FromJsonString added in v1.0.206

func (r *AddUsersToWorkGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUsersToWorkGroupRequest) ToJsonString added in v1.0.206

func (r *AddUsersToWorkGroupRequest) ToJsonString() string

type AddUsersToWorkGroupResponse added in v1.0.206

type AddUsersToWorkGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAddUsersToWorkGroupResponse added in v1.0.206

func NewAddUsersToWorkGroupResponse() (response *AddUsersToWorkGroupResponse)

func (*AddUsersToWorkGroupResponse) FromJsonString added in v1.0.206

func (r *AddUsersToWorkGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUsersToWorkGroupResponse) ToJsonString added in v1.0.206

func (r *AddUsersToWorkGroupResponse) ToJsonString() string

type AttachUserPolicyRequest added in v1.0.206

type AttachUserPolicyRequest struct {
	*tchttp.BaseRequest

	// 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 鉴权策略集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewAttachUserPolicyRequest added in v1.0.206

func NewAttachUserPolicyRequest() (request *AttachUserPolicyRequest)

func (*AttachUserPolicyRequest) FromJsonString added in v1.0.206

func (r *AttachUserPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachUserPolicyRequest) ToJsonString added in v1.0.206

func (r *AttachUserPolicyRequest) ToJsonString() string

type AttachUserPolicyResponse added in v1.0.206

type AttachUserPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAttachUserPolicyResponse added in v1.0.206

func NewAttachUserPolicyResponse() (response *AttachUserPolicyResponse)

func (*AttachUserPolicyResponse) FromJsonString added in v1.0.206

func (r *AttachUserPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachUserPolicyResponse) ToJsonString added in v1.0.206

func (r *AttachUserPolicyResponse) ToJsonString() string

type AttachWorkGroupPolicyRequest added in v1.0.206

type AttachWorkGroupPolicyRequest struct {
	*tchttp.BaseRequest

	// 工作组Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 要绑定的策略集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewAttachWorkGroupPolicyRequest added in v1.0.206

func NewAttachWorkGroupPolicyRequest() (request *AttachWorkGroupPolicyRequest)

func (*AttachWorkGroupPolicyRequest) FromJsonString added in v1.0.206

func (r *AttachWorkGroupPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachWorkGroupPolicyRequest) ToJsonString added in v1.0.206

func (r *AttachWorkGroupPolicyRequest) ToJsonString() string

type AttachWorkGroupPolicyResponse added in v1.0.206

type AttachWorkGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewAttachWorkGroupPolicyResponse added in v1.0.206

func NewAttachWorkGroupPolicyResponse() (response *AttachWorkGroupPolicyResponse)

func (*AttachWorkGroupPolicyResponse) FromJsonString added in v1.0.206

func (r *AttachWorkGroupPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AttachWorkGroupPolicyResponse) ToJsonString added in v1.0.206

func (r *AttachWorkGroupPolicyResponse) ToJsonString() string

type BindWorkGroupsToUserRequest added in v1.0.206

type BindWorkGroupsToUserRequest struct {
	*tchttp.BaseRequest

	// 绑定的用户和工作组信息
	AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"`
}

func NewBindWorkGroupsToUserRequest added in v1.0.206

func NewBindWorkGroupsToUserRequest() (request *BindWorkGroupsToUserRequest)

func (*BindWorkGroupsToUserRequest) FromJsonString added in v1.0.206

func (r *BindWorkGroupsToUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindWorkGroupsToUserRequest) ToJsonString added in v1.0.206

func (r *BindWorkGroupsToUserRequest) ToJsonString() string

type BindWorkGroupsToUserResponse added in v1.0.206

type BindWorkGroupsToUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewBindWorkGroupsToUserResponse added in v1.0.206

func NewBindWorkGroupsToUserResponse() (response *BindWorkGroupsToUserResponse)

func (*BindWorkGroupsToUserResponse) FromJsonString added in v1.0.206

func (r *BindWorkGroupsToUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindWorkGroupsToUserResponse) ToJsonString added in v1.0.206

func (r *BindWorkGroupsToUserResponse) ToJsonString() string

type CSV

type CSV struct {

	// 压缩格式,["Snappy", "Gzip", "None"选一]。
	CodeCompress *string `json:"CodeCompress,omitempty" name:"CodeCompress"`

	// CSV序列化及反序列化数据结构。
	CSVSerde *CSVSerde `json:"CSVSerde,omitempty" name:"CSVSerde"`

	// 标题行,默认为0。
	// 注意:此字段可能返回 null,表示取不到有效值。
	HeadLines *int64 `json:"HeadLines,omitempty" name:"HeadLines"`

	// 格式,默认值为CSV
	// 注意:此字段可能返回 null,表示取不到有效值。
	Format *string `json:"Format,omitempty" name:"Format"`
}

type CSVSerde

type CSVSerde struct {

	// CSV序列化转义符,默认为"\\",最长8个字符,如 Escape: "/\"
	Escape *string `json:"Escape,omitempty" name:"Escape"`

	// CSV序列化字段域符,默认为"'",最长8个字符, 如 Quote: "\""
	Quote *string `json:"Quote,omitempty" name:"Quote"`

	// CSV序列化分隔符,默认为"\t",最长8个字符, 如 Separator: "\t"
	Separator *string `json:"Separator,omitempty" name:"Separator"`
}

type CancelTaskRequest added in v1.0.206

type CancelTaskRequest struct {
	*tchttp.BaseRequest

	// 任务Id,全局唯一
	TaskId *string `json:"TaskId,omitempty" name:"TaskId"`
}

func NewCancelTaskRequest added in v1.0.206

func NewCancelTaskRequest() (request *CancelTaskRequest)

func (*CancelTaskRequest) FromJsonString added in v1.0.206

func (r *CancelTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelTaskRequest) ToJsonString added in v1.0.206

func (r *CancelTaskRequest) ToJsonString() string

type CancelTaskResponse added in v1.0.206

type CancelTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCancelTaskResponse added in v1.0.206

func NewCancelTaskResponse() (response *CancelTaskResponse)

func (*CancelTaskResponse) FromJsonString added in v1.0.206

func (r *CancelTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelTaskResponse) ToJsonString added in v1.0.206

func (r *CancelTaskResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddUsersToWorkGroup added in v1.0.206

func (c *Client) AddUsersToWorkGroup(request *AddUsersToWorkGroupRequest) (response *AddUsersToWorkGroupResponse, err error)

AddUsersToWorkGroup 添加用户到工作组

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId"
INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName"

func (*Client) AttachUserPolicy added in v1.0.206

func (c *Client) AttachUserPolicy(request *AttachUserPolicyRequest) (response *AttachUserPolicyResponse, err error)

AttachUserPolicy 绑定鉴权策略到用户

可能返回的错误码:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"

func (*Client) AttachWorkGroupPolicy added in v1.0.206

func (c *Client) AttachWorkGroupPolicy(request *AttachWorkGroupPolicyRequest) (response *AttachWorkGroupPolicyResponse, err error)

AttachWorkGroupPolicy 绑定鉴权策略到工作组

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) BindWorkGroupsToUser added in v1.0.206

func (c *Client) BindWorkGroupsToUser(request *BindWorkGroupsToUserRequest) (response *BindWorkGroupsToUserResponse, err error)

BindWorkGroupsToUser 绑定工作组到用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName"
UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"

func (*Client) CancelTask added in v1.0.206

func (c *Client) CancelTask(request *CancelTaskRequest) (response *CancelTaskResponse, err error)

CancelTask 取消任务执行

可能返回的错误码:

FAILEDOPERATION_ANOTHERREQUESTPROCESSING = "FailedOperation.AnotherRequestProcessing"
INTERNALERROR = "InternalError"

func (*Client) CreateDatabase

func (c *Client) CreateDatabase(request *CreateDatabaseRequest) (response *CreateDatabaseResponse, err error)

CreateDatabase 本接口(CreateDatabase)用于生成建库SQL语句。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateScript

func (c *Client) CreateScript(request *CreateScriptRequest) (response *CreateScriptResponse, err error)

CreateScript 该接口(CreateScript)用于创建sql脚本。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateStoreLocation

func (c *Client) CreateStoreLocation(request *CreateStoreLocationRequest) (response *CreateStoreLocationResponse, err error)

CreateStoreLocation 该接口(CreateStoreLocation)新增或覆盖计算结果存储位置。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"

func (*Client) CreateTable

func (c *Client) CreateTable(request *CreateTableRequest) (response *CreateTableResponse, err error)

CreateTable 本接口(CreateTable)用于生成建表SQL。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) CreateTask

func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskResponse, err error)

CreateTask 本接口(CreateTask)用于创建sql查询任务。(推荐使用CreateTasks接口)

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"
INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateTasks added in v1.0.217

func (c *Client) CreateTasks(request *CreateTasksRequest) (response *CreateTasksResponse, err error)

CreateTasks 批量创建任务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDFAILURETOLERANCE = "InvalidParameter.InvalidFailureTolerance"
INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"
INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"

func (*Client) CreateTasksInOrder added in v1.0.216

func (c *Client) CreateTasksInOrder(request *CreateTasksInOrderRequest) (response *CreateTasksInOrderResponse, err error)

CreateTasksInOrder 按顺序创建任务(已经废弃,后期不再维护,请使用接口CreateTasks)

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDSQL = "InvalidParameter.InvalidSQL"
INVALIDPARAMETER_INVALIDSTORELOCATION = "InvalidParameter.InvalidStoreLocation"

func (*Client) CreateUser added in v1.0.206

func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser 创建用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName"
INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription"
INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName"

func (*Client) CreateWorkGroup added in v1.0.206

func (c *Client) CreateWorkGroup(request *CreateWorkGroupRequest) (response *CreateWorkGroupResponse, err error)

CreateWorkGroup 创建工作组

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_DUPLICATEGROUPNAME = "InvalidParameter.DuplicateGroupName"
INVALIDPARAMETER_INVALIDDESCRIPTION = "InvalidParameter.InvalidDescription"
INVALIDPARAMETER_INVALIDWORKGROUPNAME = "InvalidParameter.InvalidWorkGroupName"

func (*Client) DeleteScript

func (c *Client) DeleteScript(request *DeleteScriptRequest) (response *DeleteScriptResponse, err error)

DeleteScript 该接口(DeleteScript)用于删除sql脚本。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DeleteUser added in v1.0.206

func (c *Client) DeleteUser(request *DeleteUserRequest) (response *DeleteUserResponse, err error)

DeleteUser 删除用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDUSERNAME = "InvalidParameter.InvalidUserName"
UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"

func (*Client) DeleteUsersFromWorkGroup added in v1.0.206

func (c *Client) DeleteUsersFromWorkGroup(request *DeleteUsersFromWorkGroupRequest) (response *DeleteUsersFromWorkGroupResponse, err error)

DeleteUsersFromWorkGroup 从工作组中删除用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDGROUPID = "InvalidParameter.InvalidGroupId"

func (*Client) DeleteWorkGroup added in v1.0.206

func (c *Client) DeleteWorkGroup(request *DeleteWorkGroupRequest) (response *DeleteWorkGroupResponse, err error)

DeleteWorkGroup 删除工作组

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeDatabases

func (c *Client) DescribeDatabases(request *DescribeDatabasesRequest) (response *DescribeDatabasesResponse, err error)

DescribeDatabases 本接口(DescribeDatabases)用于查询数据库列表。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"

func (*Client) DescribeScripts

func (c *Client) DescribeScripts(request *DescribeScriptsRequest) (response *DescribeScriptsResponse, err error)

DescribeScripts 该接口(DescribeScripts)用于获取所有SQL查询。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeStoreLocation added in v1.0.206

func (c *Client) DescribeStoreLocation(request *DescribeStoreLocationRequest) (response *DescribeStoreLocationResponse, err error)

DescribeStoreLocation 查询计算结果存储位置。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeTable

func (c *Client) DescribeTable(request *DescribeTableRequest) (response *DescribeTableResponse, err error)

DescribeTable 查询单个表的详细信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"

func (*Client) DescribeTables

func (c *Client) DescribeTables(request *DescribeTablesRequest) (response *DescribeTablesResponse, err error)

DescribeTables 本接口(DescribleTables)用于查询数据表列表。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"

func (*Client) DescribeTasks

func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)

DescribeTasks 该接口(DescribleTasks)用于查询任务列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeUsers added in v1.0.206

func (c *Client) DescribeUsers(request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)

DescribeUsers 获取用户列表信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset"
INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"

func (*Client) DescribeViews

func (c *Client) DescribeViews(request *DescribeViewsRequest) (response *DescribeViewsResponse, err error)

DescribeViews 本接口(DescribeViews)用于查询数据视图列表。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DATASOURCENOTFOUND = "ResourceNotFound.DatasourceNotFound"

func (*Client) DescribeWorkGroups added in v1.0.206

func (c *Client) DescribeWorkGroups(request *DescribeWorkGroupsRequest) (response *DescribeWorkGroupsResponse, err error)

DescribeWorkGroups 获取工作组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDOFFSET = "InvalidParameter.InvalidOffset"
INVALIDPARAMETER_INVALIDSORTBYTYPE = "InvalidParameter.InvalidSortByType"

func (*Client) DetachUserPolicy added in v1.0.206

func (c *Client) DetachUserPolicy(request *DetachUserPolicyRequest) (response *DetachUserPolicyResponse, err error)

DetachUserPolicy 解绑用户鉴权策略

可能返回的错误码:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"

func (*Client) DetachWorkGroupPolicy added in v1.0.206

func (c *Client) DetachWorkGroupPolicy(request *DetachWorkGroupPolicyRequest) (response *DetachWorkGroupPolicyResponse, err error)

DetachWorkGroupPolicy 解绑工作组鉴权策略

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) ModifyUser added in v1.0.206

func (c *Client) ModifyUser(request *ModifyUserRequest) (response *ModifyUserResponse, err error)

ModifyUser 修改用户信息

可能返回的错误码:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION_MODIFYOWNERUNSUPPORTED = "UnsupportedOperation.ModifyOwnerUnsupported"

func (*Client) ModifyWorkGroup added in v1.0.206

func (c *Client) ModifyWorkGroup(request *ModifyWorkGroupRequest) (response *ModifyWorkGroupResponse, err error)

ModifyWorkGroup 修改工作组信息

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) UnbindWorkGroupsFromUser added in v1.0.206

func (c *Client) UnbindWorkGroupsFromUser(request *UnbindWorkGroupsFromUserRequest) (response *UnbindWorkGroupsFromUserResponse, err error)

UnbindWorkGroupsFromUser 解绑用户上的用户组

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_DUPLICATEUSERNAME = "InvalidParameter.DuplicateUserName"

type Column

type Column struct {

	// 列名称,不区分大小写,最大支持25个字符。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 列类型,支持如下类型定义:
	// string|tinyint|smallint|int|bigint|boolean|float|double|decimal|timestamp|date|binary|array<data_type>|map<primitive_type, data_type>|struct<col_name : data_type [COMMENT col_comment], ...>|uniontype<data_type, data_type, ...>。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 对该类的注释。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 表示整个 numeric 的长度
	// 注意:此字段可能返回 null,表示取不到有效值。
	Precision *int64 `json:"Precision,omitempty" name:"Precision"`

	// 表示小数部分的长度
	// 注意:此字段可能返回 null,表示取不到有效值。
	Scale *int64 `json:"Scale,omitempty" name:"Scale"`

	// 是否为null
	// 注意:此字段可能返回 null,表示取不到有效值。
	Nullable *string `json:"Nullable,omitempty" name:"Nullable"`
}

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	*tchttp.BaseRequest

	// 数据库基础信息
	DatabaseInfo *DatabaseInfo `json:"DatabaseInfo,omitempty" name:"DatabaseInfo"`

	// 数据源名称,默认为CosDataCatalog
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewCreateDatabaseRequest

func NewCreateDatabaseRequest() (request *CreateDatabaseRequest)

func (*CreateDatabaseRequest) FromJsonString

func (r *CreateDatabaseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDatabaseRequest) ToJsonString

func (r *CreateDatabaseRequest) ToJsonString() string

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 生成的建库执行语句对象。
		Execution *Execution `json:"Execution,omitempty" name:"Execution"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateDatabaseResponse

func NewCreateDatabaseResponse() (response *CreateDatabaseResponse)

func (*CreateDatabaseResponse) FromJsonString

func (r *CreateDatabaseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDatabaseResponse) ToJsonString

func (r *CreateDatabaseResponse) ToJsonString() string

type CreateScriptRequest

type CreateScriptRequest struct {
	*tchttp.BaseRequest

	// 脚本名称,最大不能超过255个字符。
	ScriptName *string `json:"ScriptName,omitempty" name:"ScriptName"`

	// base64编码后的sql语句
	SQLStatement *string `json:"SQLStatement,omitempty" name:"SQLStatement"`

	// 脚本描述, 不能超过50个字符
	ScriptDesc *string `json:"ScriptDesc,omitempty" name:"ScriptDesc"`

	// 数据库名称
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`
}

func NewCreateScriptRequest

func NewCreateScriptRequest() (request *CreateScriptRequest)

func (*CreateScriptRequest) FromJsonString

func (r *CreateScriptRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateScriptRequest) ToJsonString

func (r *CreateScriptRequest) ToJsonString() string

type CreateScriptResponse

type CreateScriptResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateScriptResponse

func NewCreateScriptResponse() (response *CreateScriptResponse)

func (*CreateScriptResponse) FromJsonString

func (r *CreateScriptResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateScriptResponse) ToJsonString

func (r *CreateScriptResponse) ToJsonString() string

type CreateStoreLocationRequest

type CreateStoreLocationRequest struct {
	*tchttp.BaseRequest

	// 计算结果存储cos路径,如:cosn://bucketname/
	StoreLocation *string `json:"StoreLocation,omitempty" name:"StoreLocation"`
}

func NewCreateStoreLocationRequest

func NewCreateStoreLocationRequest() (request *CreateStoreLocationRequest)

func (*CreateStoreLocationRequest) FromJsonString

func (r *CreateStoreLocationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStoreLocationRequest) ToJsonString

func (r *CreateStoreLocationRequest) ToJsonString() string

type CreateStoreLocationResponse

type CreateStoreLocationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateStoreLocationResponse

func NewCreateStoreLocationResponse() (response *CreateStoreLocationResponse)

func (*CreateStoreLocationResponse) FromJsonString

func (r *CreateStoreLocationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStoreLocationResponse) ToJsonString

func (r *CreateStoreLocationResponse) ToJsonString() string

type CreateTableRequest

type CreateTableRequest struct {
	*tchttp.BaseRequest

	// 数据表配置信息
	TableInfo *TableInfo `json:"TableInfo,omitempty" name:"TableInfo"`
}

func NewCreateTableRequest

func NewCreateTableRequest() (request *CreateTableRequest)

func (*CreateTableRequest) FromJsonString

func (r *CreateTableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTableRequest) ToJsonString

func (r *CreateTableRequest) ToJsonString() string

type CreateTableResponse

type CreateTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 生成的建表执行语句对象。
		Execution *Execution `json:"Execution,omitempty" name:"Execution"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTableResponse

func NewCreateTableResponse() (response *CreateTableResponse)

func (*CreateTableResponse) FromJsonString

func (r *CreateTableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTableResponse) ToJsonString

func (r *CreateTableResponse) ToJsonString() string

type CreateTaskRequest

type CreateTaskRequest struct {
	*tchttp.BaseRequest

	// 计算任务,该参数中包含任务类型及其相关配置信息
	Task *Task `json:"Task,omitempty" name:"Task"`

	// 数据库名称。任务在执行前均会USE该数据库, 除了首次建库时,其他情况建议均添加上。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 默认数据源名称。
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewCreateTaskRequest

func NewCreateTaskRequest() (request *CreateTaskRequest)

func (*CreateTaskRequest) FromJsonString

func (r *CreateTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTaskRequest) ToJsonString

func (r *CreateTaskRequest) ToJsonString() string

type CreateTaskResponse

type CreateTaskResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务ID
		// 注意:此字段可能返回 null,表示取不到有效值。
		TaskId *string `json:"TaskId,omitempty" name:"TaskId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTaskResponse

func NewCreateTaskResponse() (response *CreateTaskResponse)

func (*CreateTaskResponse) FromJsonString

func (r *CreateTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTaskResponse) ToJsonString

func (r *CreateTaskResponse) ToJsonString() string

type CreateTasksInOrderRequest added in v1.0.216

type CreateTasksInOrderRequest struct {
	*tchttp.BaseRequest

	// 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// SQL任务信息
	Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"`

	// 数据源名称,默认为COSDataCatalog
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewCreateTasksInOrderRequest added in v1.0.216

func NewCreateTasksInOrderRequest() (request *CreateTasksInOrderRequest)

func (*CreateTasksInOrderRequest) FromJsonString added in v1.0.216

func (r *CreateTasksInOrderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTasksInOrderRequest) ToJsonString added in v1.0.216

func (r *CreateTasksInOrderRequest) ToJsonString() string

type CreateTasksInOrderResponse added in v1.0.216

type CreateTasksInOrderResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 本批次提交的任务的批次Id
		BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

		// 任务Id集合,按照执行顺序排列
		TaskIdSet []*string `json:"TaskIdSet,omitempty" name:"TaskIdSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTasksInOrderResponse added in v1.0.216

func NewCreateTasksInOrderResponse() (response *CreateTasksInOrderResponse)

func (*CreateTasksInOrderResponse) FromJsonString added in v1.0.216

func (r *CreateTasksInOrderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTasksInOrderResponse) ToJsonString added in v1.0.216

func (r *CreateTasksInOrderResponse) ToJsonString() string

type CreateTasksRequest added in v1.0.217

type CreateTasksRequest struct {
	*tchttp.BaseRequest

	// 数据库名称。如果SQL语句中有数据库名称,优先使用SQL语句中的数据库,否则使用该参数指定的数据库。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// SQL任务信息
	Tasks *TasksInfo `json:"Tasks,omitempty" name:"Tasks"`

	// 数据源名称,默认为COSDataCatalog
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewCreateTasksRequest added in v1.0.217

func NewCreateTasksRequest() (request *CreateTasksRequest)

func (*CreateTasksRequest) FromJsonString added in v1.0.217

func (r *CreateTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTasksRequest) ToJsonString added in v1.0.217

func (r *CreateTasksRequest) ToJsonString() string

type CreateTasksResponse added in v1.0.217

type CreateTasksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 本批次提交的任务的批次Id
		BatchId *string `json:"BatchId,omitempty" name:"BatchId"`

		// 任务Id集合,按照执行顺序排列
		TaskIdSet []*string `json:"TaskIdSet,omitempty" name:"TaskIdSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateTasksResponse added in v1.0.217

func NewCreateTasksResponse() (response *CreateTasksResponse)

func (*CreateTasksResponse) FromJsonString added in v1.0.217

func (r *CreateTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTasksResponse) ToJsonString added in v1.0.217

func (r *CreateTasksResponse) ToJsonString() string

type CreateUserRequest added in v1.0.206

type CreateUserRequest struct {
	*tchttp.BaseRequest

	// 需要授权的子用户uin,可以通过腾讯云控制台右上角 → “账号信息” → “账号ID进行查看”。
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 用户描述信息,方便区分不同用户
	UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"`

	// 绑定到用户的权限集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewCreateUserRequest added in v1.0.206

func NewCreateUserRequest() (request *CreateUserRequest)

func (*CreateUserRequest) FromJsonString added in v1.0.206

func (r *CreateUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserRequest) ToJsonString added in v1.0.206

func (r *CreateUserRequest) ToJsonString() string

type CreateUserResponse added in v1.0.206

type CreateUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateUserResponse added in v1.0.206

func NewCreateUserResponse() (response *CreateUserResponse)

func (*CreateUserResponse) FromJsonString added in v1.0.206

func (r *CreateUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserResponse) ToJsonString added in v1.0.206

func (r *CreateUserResponse) ToJsonString() string

type CreateWorkGroupRequest added in v1.0.206

type CreateWorkGroupRequest struct {
	*tchttp.BaseRequest

	// 工作组名称
	WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"`

	// 工作组描述
	WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"`

	// 工作组绑定的鉴权策略集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewCreateWorkGroupRequest added in v1.0.206

func NewCreateWorkGroupRequest() (request *CreateWorkGroupRequest)

func (*CreateWorkGroupRequest) FromJsonString added in v1.0.206

func (r *CreateWorkGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWorkGroupRequest) ToJsonString added in v1.0.206

func (r *CreateWorkGroupRequest) ToJsonString() string

type CreateWorkGroupResponse added in v1.0.206

type CreateWorkGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 工作组Id,全局唯一
		WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewCreateWorkGroupResponse added in v1.0.206

func NewCreateWorkGroupResponse() (response *CreateWorkGroupResponse)

func (*CreateWorkGroupResponse) FromJsonString added in v1.0.206

func (r *CreateWorkGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWorkGroupResponse) ToJsonString added in v1.0.206

func (r *CreateWorkGroupResponse) ToJsonString() string

type DataFormat

type DataFormat struct {

	// 文本格式,TextFile。
	// 注意:此字段可能返回 null,表示取不到有效值。
	TextFile *TextFile `json:"TextFile,omitempty" name:"TextFile"`

	// 文本格式,CSV。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CSV *CSV `json:"CSV,omitempty" name:"CSV"`

	// 文本格式,Json。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Json *Other `json:"Json,omitempty" name:"Json"`

	// Parquet格式
	// 注意:此字段可能返回 null,表示取不到有效值。
	Parquet *Other `json:"Parquet,omitempty" name:"Parquet"`

	// ORC格式
	// 注意:此字段可能返回 null,表示取不到有效值。
	ORC *Other `json:"ORC,omitempty" name:"ORC"`

	// AVRO格式
	// 注意:此字段可能返回 null,表示取不到有效值。
	AVRO *Other `json:"AVRO,omitempty" name:"AVRO"`
}

type DatabaseInfo

type DatabaseInfo struct {

	// 数据库名称。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 数据库描述信息,长度 0~256。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 数据库属性列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Properties []*Property `json:"Properties,omitempty" name:"Properties"`
}

type DatabaseResponseInfo

type DatabaseResponseInfo struct {

	// 数据库名称。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 数据库描述信息,长度 0~256。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Comment *string `json:"Comment,omitempty" name:"Comment"`

	// 数据库属性列表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Properties []*Property `json:"Properties,omitempty" name:"Properties"`

	// 数据库创建时间戳,单位:s。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 数据库更新时间戳,单位:s。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"`
}

type DeleteScriptRequest

type DeleteScriptRequest struct {
	*tchttp.BaseRequest

	// 脚本id,其可以通过DescribeScripts接口提取
	ScriptIds []*string `json:"ScriptIds,omitempty" name:"ScriptIds"`
}

func NewDeleteScriptRequest

func NewDeleteScriptRequest() (request *DeleteScriptRequest)

func (*DeleteScriptRequest) FromJsonString

func (r *DeleteScriptRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteScriptRequest) ToJsonString

func (r *DeleteScriptRequest) ToJsonString() string

type DeleteScriptResponse

type DeleteScriptResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 删除的脚本数量
		ScriptsAffected *int64 `json:"ScriptsAffected,omitempty" name:"ScriptsAffected"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteScriptResponse

func NewDeleteScriptResponse() (response *DeleteScriptResponse)

func (*DeleteScriptResponse) FromJsonString

func (r *DeleteScriptResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteScriptResponse) ToJsonString

func (r *DeleteScriptResponse) ToJsonString() string

type DeleteUserRequest added in v1.0.206

type DeleteUserRequest struct {
	*tchttp.BaseRequest

	// 需要删除的用户的Id
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`
}

func NewDeleteUserRequest added in v1.0.206

func NewDeleteUserRequest() (request *DeleteUserRequest)

func (*DeleteUserRequest) FromJsonString added in v1.0.206

func (r *DeleteUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserRequest) ToJsonString added in v1.0.206

func (r *DeleteUserRequest) ToJsonString() string

type DeleteUserResponse added in v1.0.206

type DeleteUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteUserResponse added in v1.0.206

func NewDeleteUserResponse() (response *DeleteUserResponse)

func (*DeleteUserResponse) FromJsonString added in v1.0.206

func (r *DeleteUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserResponse) ToJsonString added in v1.0.206

func (r *DeleteUserResponse) ToJsonString() string

type DeleteUsersFromWorkGroupRequest added in v1.0.206

type DeleteUsersFromWorkGroupRequest struct {
	*tchttp.BaseRequest

	// 要删除的用户信息
	AddInfo *UserIdSetOfWorkGroupId `json:"AddInfo,omitempty" name:"AddInfo"`
}

func NewDeleteUsersFromWorkGroupRequest added in v1.0.206

func NewDeleteUsersFromWorkGroupRequest() (request *DeleteUsersFromWorkGroupRequest)

func (*DeleteUsersFromWorkGroupRequest) FromJsonString added in v1.0.206

func (r *DeleteUsersFromWorkGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersFromWorkGroupRequest) ToJsonString added in v1.0.206

func (r *DeleteUsersFromWorkGroupRequest) ToJsonString() string

type DeleteUsersFromWorkGroupResponse added in v1.0.206

type DeleteUsersFromWorkGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteUsersFromWorkGroupResponse added in v1.0.206

func NewDeleteUsersFromWorkGroupResponse() (response *DeleteUsersFromWorkGroupResponse)

func (*DeleteUsersFromWorkGroupResponse) FromJsonString added in v1.0.206

func (r *DeleteUsersFromWorkGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersFromWorkGroupResponse) ToJsonString added in v1.0.206

func (r *DeleteUsersFromWorkGroupResponse) ToJsonString() string

type DeleteWorkGroupRequest added in v1.0.206

type DeleteWorkGroupRequest struct {
	*tchttp.BaseRequest

	// 要删除的工作组Id集合
	WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"`
}

func NewDeleteWorkGroupRequest added in v1.0.206

func NewDeleteWorkGroupRequest() (request *DeleteWorkGroupRequest)

func (*DeleteWorkGroupRequest) FromJsonString added in v1.0.206

func (r *DeleteWorkGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWorkGroupRequest) ToJsonString added in v1.0.206

func (r *DeleteWorkGroupRequest) ToJsonString() string

type DeleteWorkGroupResponse added in v1.0.206

type DeleteWorkGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDeleteWorkGroupResponse added in v1.0.206

func NewDeleteWorkGroupResponse() (response *DeleteWorkGroupResponse)

func (*DeleteWorkGroupResponse) FromJsonString added in v1.0.206

func (r *DeleteWorkGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteWorkGroupResponse) ToJsonString added in v1.0.206

func (r *DeleteWorkGroupResponse) ToJsonString() string

type DescribeDatabasesRequest

type DescribeDatabasesRequest struct {
	*tchttp.BaseRequest

	// 返回数量,默认为10,最大值为100。
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// 数据偏移量,从0开始,默认为0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 模糊匹配,库名关键字。
	KeyWord *string `json:"KeyWord,omitempty" name:"KeyWord"`

	// 数据源唯名称,该名称可以通过DescribeDatasourceConnection接口查询到。默认为CosDataCatalog
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewDescribeDatabasesRequest

func NewDescribeDatabasesRequest() (request *DescribeDatabasesRequest)

func (*DescribeDatabasesRequest) FromJsonString

func (r *DescribeDatabasesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesRequest) ToJsonString

func (r *DescribeDatabasesRequest) ToJsonString() string

type DescribeDatabasesResponse

type DescribeDatabasesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据库对象列表。
		DatabaseList []*DatabaseResponseInfo `json:"DatabaseList,omitempty" name:"DatabaseList"`

		// 实例总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeDatabasesResponse

func NewDescribeDatabasesResponse() (response *DescribeDatabasesResponse)

func (*DescribeDatabasesResponse) FromJsonString

func (r *DescribeDatabasesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDatabasesResponse) ToJsonString

func (r *DescribeDatabasesResponse) ToJsonString() string

type DescribeScriptsRequest

type DescribeScriptsRequest struct {
	*tchttp.BaseRequest

	// 返回数量,默认为10,最大值为100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,默认为0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 按字段排序,支持如下字段类型,update-time
	SortBy *string `json:"SortBy,omitempty" name:"SortBy"`

	// 排序方式,desc表示正序,asc表示反序
	Sorting *string `json:"Sorting,omitempty" name:"Sorting"`

	// 过滤条件,如下支持的过滤类型,传参Name应为其一
	// script-id - String - (过滤条件)script-id取值形如:157de0d1-26b4-4df2-a2d0-b64afc406c25。
	// script-name-keyword - String - (过滤条件)数据表名称,形如:script-test。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeScriptsRequest

func NewDescribeScriptsRequest() (request *DescribeScriptsRequest)

func (*DescribeScriptsRequest) FromJsonString

func (r *DescribeScriptsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeScriptsRequest) ToJsonString

func (r *DescribeScriptsRequest) ToJsonString() string

type DescribeScriptsResponse

type DescribeScriptsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// Script列表
		// 注意:此字段可能返回 null,表示取不到有效值。
		Scripts []*Script `json:"Scripts,omitempty" name:"Scripts"`

		// 实例总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeScriptsResponse

func NewDescribeScriptsResponse() (response *DescribeScriptsResponse)

func (*DescribeScriptsResponse) FromJsonString

func (r *DescribeScriptsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeScriptsResponse) ToJsonString

func (r *DescribeScriptsResponse) ToJsonString() string

type DescribeStoreLocationRequest added in v1.0.206

type DescribeStoreLocationRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeStoreLocationRequest added in v1.0.206

func NewDescribeStoreLocationRequest() (request *DescribeStoreLocationRequest)

func (*DescribeStoreLocationRequest) FromJsonString added in v1.0.206

func (r *DescribeStoreLocationRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStoreLocationRequest) ToJsonString added in v1.0.206

func (r *DescribeStoreLocationRequest) ToJsonString() string

type DescribeStoreLocationResponse added in v1.0.206

type DescribeStoreLocationResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 返回用户设置的结果存储位置路径,如果未设置则返回空字符串:""
		// 注意:此字段可能返回 null,表示取不到有效值。
		StoreLocation *string `json:"StoreLocation,omitempty" name:"StoreLocation"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeStoreLocationResponse added in v1.0.206

func NewDescribeStoreLocationResponse() (response *DescribeStoreLocationResponse)

func (*DescribeStoreLocationResponse) FromJsonString added in v1.0.206

func (r *DescribeStoreLocationResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStoreLocationResponse) ToJsonString added in v1.0.206

func (r *DescribeStoreLocationResponse) ToJsonString() string

type DescribeTableRequest

type DescribeTableRequest struct {
	*tchttp.BaseRequest

	// 查询对象表名称
	TableName *string `json:"TableName,omitempty" name:"TableName"`

	// 查询表所在的数据库名称。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 查询表所在的数据源名称
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewDescribeTableRequest

func NewDescribeTableRequest() (request *DescribeTableRequest)

func (*DescribeTableRequest) FromJsonString

func (r *DescribeTableRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTableRequest) ToJsonString

func (r *DescribeTableRequest) ToJsonString() string

type DescribeTableResponse

type DescribeTableResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据表对象
		Table *TableResponseInfo `json:"Table,omitempty" name:"Table"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTableResponse

func NewDescribeTableResponse() (response *DescribeTableResponse)

func (*DescribeTableResponse) FromJsonString

func (r *DescribeTableResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTableResponse) ToJsonString

func (r *DescribeTableResponse) ToJsonString() string

type DescribeTablesRequest

type DescribeTablesRequest struct {
	*tchttp.BaseRequest

	// 列出该数据库下所属数据表。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 返回数量,默认为10,最大值为100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 数据偏移量,从0开始,默认为0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 过滤条件,如下支持的过滤类型,传参Name应为其一
	// table-name - String - (过滤条件)数据表名称,形如:table-001。
	// table-id - String - (过滤条件)table id形如:12342。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 指定查询的数据源名称,默认为CosDataCatalog
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewDescribeTablesRequest

func NewDescribeTablesRequest() (request *DescribeTablesRequest)

func (*DescribeTablesRequest) FromJsonString

func (r *DescribeTablesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTablesRequest) ToJsonString

func (r *DescribeTablesRequest) ToJsonString() string

type DescribeTablesResponse

type DescribeTablesResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 数据表对象列表。
		TableList []*TableResponseInfo `json:"TableList,omitempty" name:"TableList"`

		// 实例总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTablesResponse

func NewDescribeTablesResponse() (response *DescribeTablesResponse)

func (*DescribeTablesResponse) FromJsonString

func (r *DescribeTablesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTablesResponse) ToJsonString

func (r *DescribeTablesResponse) ToJsonString() string

type DescribeTasksRequest

type DescribeTasksRequest struct {
	*tchttp.BaseRequest

	// 返回数量,默认为10,最大值为100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 偏移量,默认为0。
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
	// task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
	// task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
	// task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 排序字段,支持如下字段类型,create-time
	SortBy *string `json:"SortBy,omitempty" name:"SortBy"`

	// 排序方式,desc表示正序,asc表示反序, 默认为asc。
	Sorting *string `json:"Sorting,omitempty" name:"Sorting"`

	// 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}

func NewDescribeTasksRequest

func NewDescribeTasksRequest() (request *DescribeTasksRequest)

func (*DescribeTasksRequest) FromJsonString

func (r *DescribeTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTasksRequest) ToJsonString

func (r *DescribeTasksRequest) ToJsonString() string

type DescribeTasksResponse

type DescribeTasksResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 任务对象列表。
		TaskList []*TaskResponseInfo `json:"TaskList,omitempty" name:"TaskList"`

		// 实例总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeTasksResponse

func NewDescribeTasksResponse() (response *DescribeTasksResponse)

func (*DescribeTasksResponse) FromJsonString

func (r *DescribeTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTasksResponse) ToJsonString

func (r *DescribeTasksResponse) ToJsonString() string

type DescribeUsersRequest added in v1.0.206

type DescribeUsersRequest struct {
	*tchttp.BaseRequest

	// 指定查询的子用户uin,用户需要通过CreateUser接口创建。
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 偏移量,默认为0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认20,最大值100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段,支持如下字段类型,create-time
	SortBy *string `json:"SortBy,omitempty" name:"SortBy"`

	// 排序方式,desc表示正序,asc表示反序, 默认为asc
	Sorting *string `json:"Sorting,omitempty" name:"Sorting"`
}

func NewDescribeUsersRequest added in v1.0.206

func NewDescribeUsersRequest() (request *DescribeUsersRequest)

func (*DescribeUsersRequest) FromJsonString added in v1.0.206

func (r *DescribeUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsersRequest) ToJsonString added in v1.0.206

func (r *DescribeUsersRequest) ToJsonString() string

type DescribeUsersResponse added in v1.0.206

type DescribeUsersResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 查询到的用户总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 查询到的授权用户信息集合
		UserSet []*UserInfo `json:"UserSet,omitempty" name:"UserSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeUsersResponse added in v1.0.206

func NewDescribeUsersResponse() (response *DescribeUsersResponse)

func (*DescribeUsersResponse) FromJsonString added in v1.0.206

func (r *DescribeUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsersResponse) ToJsonString added in v1.0.206

func (r *DescribeUsersResponse) ToJsonString() string

type DescribeViewsRequest

type DescribeViewsRequest struct {
	*tchttp.BaseRequest

	// 列出该数据库下所属数据表。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 返回数量,默认为10,最大值为100。
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 数据偏移量,从0开始,默认为0。
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// 过滤条件,如下支持的过滤类型,传参Name应为其一
	// view-name - String - (过滤条件)数据表名称,形如:view-001。
	// view-id - String - (过滤条件)view id形如:12342。
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 数据库所属的数据源名称
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

func NewDescribeViewsRequest

func NewDescribeViewsRequest() (request *DescribeViewsRequest)

func (*DescribeViewsRequest) FromJsonString

func (r *DescribeViewsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeViewsRequest) ToJsonString

func (r *DescribeViewsRequest) ToJsonString() string

type DescribeViewsResponse

type DescribeViewsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 视图对象列表。
		ViewList []*ViewResponseInfo `json:"ViewList,omitempty" name:"ViewList"`

		// 实例总数。
		TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeViewsResponse

func NewDescribeViewsResponse() (response *DescribeViewsResponse)

func (*DescribeViewsResponse) FromJsonString

func (r *DescribeViewsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeViewsResponse) ToJsonString

func (r *DescribeViewsResponse) ToJsonString() string

type DescribeWorkGroupsRequest added in v1.0.206

type DescribeWorkGroupsRequest struct {
	*tchttp.BaseRequest

	// 查询的工作组Id,不填或填0表示不过滤。
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 过滤条件,当前仅支持按照工作组名称进行模糊搜索。Key为workgroup-name
	Filters []*Filter `json:"Filters,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// 返回数量,默认20,最大值100
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// 排序字段,支持如下字段类型,create-time
	SortBy *string `json:"SortBy,omitempty" name:"SortBy"`

	// 排序方式,desc表示正序,asc表示反序, 默认为asc
	Sorting *string `json:"Sorting,omitempty" name:"Sorting"`
}

func NewDescribeWorkGroupsRequest added in v1.0.206

func NewDescribeWorkGroupsRequest() (request *DescribeWorkGroupsRequest)

func (*DescribeWorkGroupsRequest) FromJsonString added in v1.0.206

func (r *DescribeWorkGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWorkGroupsRequest) ToJsonString added in v1.0.206

func (r *DescribeWorkGroupsRequest) ToJsonString() string

type DescribeWorkGroupsResponse added in v1.0.206

type DescribeWorkGroupsResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 工作组总数
		TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

		// 工作组信息集合
		WorkGroupSet []*WorkGroupInfo `json:"WorkGroupSet,omitempty" name:"WorkGroupSet"`

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDescribeWorkGroupsResponse added in v1.0.206

func NewDescribeWorkGroupsResponse() (response *DescribeWorkGroupsResponse)

func (*DescribeWorkGroupsResponse) FromJsonString added in v1.0.206

func (r *DescribeWorkGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeWorkGroupsResponse) ToJsonString added in v1.0.206

func (r *DescribeWorkGroupsResponse) ToJsonString() string

type DetachUserPolicyRequest added in v1.0.206

type DetachUserPolicyRequest struct {
	*tchttp.BaseRequest

	// 用户Id,和CAM侧Uin匹配
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 解绑的权限集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewDetachUserPolicyRequest added in v1.0.206

func NewDetachUserPolicyRequest() (request *DetachUserPolicyRequest)

func (*DetachUserPolicyRequest) FromJsonString added in v1.0.206

func (r *DetachUserPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachUserPolicyRequest) ToJsonString added in v1.0.206

func (r *DetachUserPolicyRequest) ToJsonString() string

type DetachUserPolicyResponse added in v1.0.206

type DetachUserPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDetachUserPolicyResponse added in v1.0.206

func NewDetachUserPolicyResponse() (response *DetachUserPolicyResponse)

func (*DetachUserPolicyResponse) FromJsonString added in v1.0.206

func (r *DetachUserPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachUserPolicyResponse) ToJsonString added in v1.0.206

func (r *DetachUserPolicyResponse) ToJsonString() string

type DetachWorkGroupPolicyRequest added in v1.0.206

type DetachWorkGroupPolicyRequest struct {
	*tchttp.BaseRequest

	// 工作组Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 解绑的权限集合
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`
}

func NewDetachWorkGroupPolicyRequest added in v1.0.206

func NewDetachWorkGroupPolicyRequest() (request *DetachWorkGroupPolicyRequest)

func (*DetachWorkGroupPolicyRequest) FromJsonString added in v1.0.206

func (r *DetachWorkGroupPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachWorkGroupPolicyRequest) ToJsonString added in v1.0.206

func (r *DetachWorkGroupPolicyRequest) ToJsonString() string

type DetachWorkGroupPolicyResponse added in v1.0.206

type DetachWorkGroupPolicyResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewDetachWorkGroupPolicyResponse added in v1.0.206

func NewDetachWorkGroupPolicyResponse() (response *DetachWorkGroupPolicyResponse)

func (*DetachWorkGroupPolicyResponse) FromJsonString added in v1.0.206

func (r *DetachWorkGroupPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DetachWorkGroupPolicyResponse) ToJsonString added in v1.0.206

func (r *DetachWorkGroupPolicyResponse) ToJsonString() string

type Execution

type Execution struct {

	// 自动生成SQL语句。
	SQL *string `json:"SQL,omitempty" name:"SQL"`
}

type Filter

type Filter struct {

	// 属性名称, 若存在多个Filter时,Filter间的关系为逻辑或(OR)关系。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type KVPair

type KVPair struct {

	// 配置的key值
	// 注意:此字段可能返回 null,表示取不到有效值。
	Key *string `json:"Key,omitempty" name:"Key"`

	// 配置的value值
	// 注意:此字段可能返回 null,表示取不到有效值。
	Value *string `json:"Value,omitempty" name:"Value"`
}

type ModifyUserRequest added in v1.0.206

type ModifyUserRequest struct {
	*tchttp.BaseRequest

	// 用户Id,和CAM侧Uin匹配
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 用户描述
	UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"`
}

func NewModifyUserRequest added in v1.0.206

func NewModifyUserRequest() (request *ModifyUserRequest)

func (*ModifyUserRequest) FromJsonString added in v1.0.206

func (r *ModifyUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserRequest) ToJsonString added in v1.0.206

func (r *ModifyUserRequest) ToJsonString() string

type ModifyUserResponse added in v1.0.206

type ModifyUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyUserResponse added in v1.0.206

func NewModifyUserResponse() (response *ModifyUserResponse)

func (*ModifyUserResponse) FromJsonString added in v1.0.206

func (r *ModifyUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserResponse) ToJsonString added in v1.0.206

func (r *ModifyUserResponse) ToJsonString() string

type ModifyWorkGroupRequest added in v1.0.206

type ModifyWorkGroupRequest struct {
	*tchttp.BaseRequest

	// 工作组Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 工作组描述
	WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"`
}

func NewModifyWorkGroupRequest added in v1.0.206

func NewModifyWorkGroupRequest() (request *ModifyWorkGroupRequest)

func (*ModifyWorkGroupRequest) FromJsonString added in v1.0.206

func (r *ModifyWorkGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWorkGroupRequest) ToJsonString added in v1.0.206

func (r *ModifyWorkGroupRequest) ToJsonString() string

type ModifyWorkGroupResponse added in v1.0.206

type ModifyWorkGroupResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewModifyWorkGroupResponse added in v1.0.206

func NewModifyWorkGroupResponse() (response *ModifyWorkGroupResponse)

func (*ModifyWorkGroupResponse) FromJsonString added in v1.0.206

func (r *ModifyWorkGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyWorkGroupResponse) ToJsonString added in v1.0.206

func (r *ModifyWorkGroupResponse) ToJsonString() string

type Other

type Other struct {

	// 枚举类型,默认值为Json,可选值为[Json, Parquet, ORC, AVRD]之一。
	Format *string `json:"Format,omitempty" name:"Format"`
}

type Partition

type Partition struct {

	// 分区列名。
	Name *string `json:"Name,omitempty" name:"Name"`

	// 分区类型。
	Type *string `json:"Type,omitempty" name:"Type"`

	// 对分区的描述。
	Comment *string `json:"Comment,omitempty" name:"Comment"`
}

type Policy added in v1.0.206

type Policy struct {

	// 需要授权的数据库名,填*代表当前Catalog下所有数据库。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别时只允许填空,其他类型下可以任意指定数据库。
	Database *string `json:"Database,omitempty" name:"Database"`

	// 需要授权的数据源名称,管理员级别下只支持填*(代表该级别全部资源);数据源级别和数据库级别鉴权的情况下,只支持填COSDataCatalog或者*;在数据表级别鉴权下可以填写用户自定义数据源。不填情况下默认为COSDataCatalog。注意:如果是对用户自定义数据源进行鉴权,DLC能够管理的权限是用户接入数据源的时候提供的账户的子集。
	Catalog *string `json:"Catalog,omitempty" name:"Catalog"`

	// 需要授权的表名,填*代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
	Table *string `json:"Table,omitempty" name:"Table"`

	// 授权的权限操作,对于不同级别的鉴权提供不同操作。管理员权限:ALL,不填默认为ALL;数据连接级鉴权:CRETE;数据库级别鉴权:ALL、CREATE、ALTER、DROP;数据表权限:ALL、SELECT、INSERT、ALTER、DELETE、DROP、UPDATE。注意:在数据表权限下,指定的数据源不为COSDataCatalog的时候,只支持SELECT操作。
	Operation *string `json:"Operation,omitempty" name:"Operation"`

	// 授权类型,现在支持四种授权类型:ADMIN:管理员级别鉴权 DATASOURCE:数据连接级别鉴权 DATABASE:数据库级别鉴权 TABLE:表级别鉴权。不填默认为管理员级别鉴权。
	PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
}

type Property

type Property struct {

	// 属性key名称。
	Key *string `json:"Key,omitempty" name:"Key"`

	// 属性key对应的value。
	Value *string `json:"Value,omitempty" name:"Value"`
}

type SQLTask

type SQLTask struct {

	// base64加密后的SQL语句
	SQL *string `json:"SQL,omitempty" name:"SQL"`

	// 任务的配置信息
	Config []*KVPair `json:"Config,omitempty" name:"Config"`
}

type Script

type Script struct {

	// 脚本Id,长度36字节。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScriptId *string `json:"ScriptId,omitempty" name:"ScriptId"`

	// 脚本名称,长度0-25。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScriptName *string `json:"ScriptName,omitempty" name:"ScriptName"`

	// 脚本描述,长度0-50。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ScriptDesc *string `json:"ScriptDesc,omitempty" name:"ScriptDesc"`

	// 默认关联数据库。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// SQL描述,长度0-10000。
	// 注意:此字段可能返回 null,表示取不到有效值。
	SQLStatement *string `json:"SQLStatement,omitempty" name:"SQLStatement"`

	// 更新时间戳, 单位:ms。
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type TableBaseInfo

type TableBaseInfo struct {

	// 该数据表所属数据库名字
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 数据表名字
	TableName *string `json:"TableName,omitempty" name:"TableName"`

	// 该数据表所属数据源名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	DatasourceConnectionName *string `json:"DatasourceConnectionName,omitempty" name:"DatasourceConnectionName"`
}

type TableInfo

type TableInfo struct {

	// 数据表配置信息。
	TableBaseInfo *TableBaseInfo `json:"TableBaseInfo,omitempty" name:"TableBaseInfo"`

	// 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。
	DataFormat *DataFormat `json:"DataFormat,omitempty" name:"DataFormat"`

	// 数据表列信息。
	Columns []*Column `json:"Columns,omitempty" name:"Columns"`

	// 数据表分块信息。
	Partitions []*Partition `json:"Partitions,omitempty" name:"Partitions"`

	// 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。
	Location *string `json:"Location,omitempty" name:"Location"`
}

type TableResponseInfo

type TableResponseInfo struct {

	// 数据表基本信息。
	TableBaseInfo *TableBaseInfo `json:"TableBaseInfo,omitempty" name:"TableBaseInfo"`

	// 数据表列信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Columns []*Column `json:"Columns,omitempty" name:"Columns"`

	// 数据表分块信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Partitions []*Partition `json:"Partitions,omitempty" name:"Partitions"`

	// 数据存储路径。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Location *string `json:"Location,omitempty" name:"Location"`

	// 数据表属性信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Properties []*Property `json:"Properties,omitempty" name:"Properties"`

	// 数据表更新时间, 单位: ms。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"`

	// 数据表创建时间,单位: ms。
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 数据格式。
	// 注意:此字段可能返回 null,表示取不到有效值。
	InputFormat *string `json:"InputFormat,omitempty" name:"InputFormat"`
}

type Task

type Task struct {

	// SQL查询任务
	SQLTask *SQLTask `json:"SQLTask,omitempty" name:"SQLTask"`

	// Spark SQL查询任务
	SparkSQLTask *SQLTask `json:"SparkSQLTask,omitempty" name:"SparkSQLTask"`
}

type TaskResponseInfo

type TaskResponseInfo struct {

	// 任务所属Database的名称。
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 任务数据量。
	DataAmount *int64 `json:"DataAmount,omitempty" name:"DataAmount"`

	// 任务Id。
	Id *string `json:"Id,omitempty" name:"Id"`

	// 计算时长,单位: ms。
	UsedTime *int64 `json:"UsedTime,omitempty" name:"UsedTime"`

	// 任务输出路径。
	OutputPath *string `json:"OutputPath,omitempty" name:"OutputPath"`

	// 任务创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 任务状态:0 初始化, 1 执行中, 2 执行成功,-1 执行失败,-3 已取消。
	State *int64 `json:"State,omitempty" name:"State"`

	// 任务SQL类型,DDL|DML等
	SQLType *string `json:"SQLType,omitempty" name:"SQLType"`

	// 任务SQL语句
	SQL *string `json:"SQL,omitempty" name:"SQL"`

	// 结果是否过期。
	ResultExpired *bool `json:"ResultExpired,omitempty" name:"ResultExpired"`

	// 数据影响统计信息。
	RowAffectInfo *string `json:"RowAffectInfo,omitempty" name:"RowAffectInfo"`

	// 任务结果数据表。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataSet *string `json:"DataSet,omitempty" name:"DataSet"`

	// 失败信息, 例如:errorMessage。该字段已废弃。
	Error *string `json:"Error,omitempty" name:"Error"`

	// 任务执行进度num/100(%)
	Percentage *int64 `json:"Percentage,omitempty" name:"Percentage"`

	// 任务执行输出信息。
	OutputMessage *string `json:"OutputMessage,omitempty" name:"OutputMessage"`

	// 执行SQL的引擎类型
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// 任务进度明细
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProgressDetail *string `json:"ProgressDetail,omitempty" name:"ProgressDetail"`
}

type TasksInfo added in v1.0.216

type TasksInfo struct {

	// 任务类型,SQLTask:SQL查询任务。SparkSQLTask:Spark SQL查询任务
	TaskType *string `json:"TaskType,omitempty" name:"TaskType"`

	// 容错策略。Proceed:前面任务出错/取消后继续执行后面的任务。Terminate:前面的任务出错/取消之后终止后面任务的执行,后面的任务全部标记为已取消。
	FailureTolerance *string `json:"FailureTolerance,omitempty" name:"FailureTolerance"`

	// base64加密后的SQL语句,用";"号分隔每个SQL语句,一次最多提交50个任务。严格按照前后顺序执行
	SQL *string `json:"SQL,omitempty" name:"SQL"`

	// 任务的配置信息,当前仅支持SparkSQLTask任务。
	Config []*KVPair `json:"Config,omitempty" name:"Config"`
}

type TextFile

type TextFile struct {

	// 文本类型,本参数取值为TextFile。
	Format *string `json:"Format,omitempty" name:"Format"`

	// 处理文本用的正则表达式。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Regex *string `json:"Regex,omitempty" name:"Regex"`
}

type UnbindWorkGroupsFromUserRequest added in v1.0.206

type UnbindWorkGroupsFromUserRequest struct {
	*tchttp.BaseRequest

	// 解绑的工作组Id和用户Id的关联关系
	AddInfo *WorkGroupIdSetOfUserId `json:"AddInfo,omitempty" name:"AddInfo"`
}

func NewUnbindWorkGroupsFromUserRequest added in v1.0.206

func NewUnbindWorkGroupsFromUserRequest() (request *UnbindWorkGroupsFromUserRequest)

func (*UnbindWorkGroupsFromUserRequest) FromJsonString added in v1.0.206

func (r *UnbindWorkGroupsFromUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindWorkGroupsFromUserRequest) ToJsonString added in v1.0.206

func (r *UnbindWorkGroupsFromUserRequest) ToJsonString() string

type UnbindWorkGroupsFromUserResponse added in v1.0.206

type UnbindWorkGroupsFromUserResponse struct {
	*tchttp.BaseResponse
	Response *struct {

		// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
		RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
	} `json:"Response"`
}

func NewUnbindWorkGroupsFromUserResponse added in v1.0.206

func NewUnbindWorkGroupsFromUserResponse() (response *UnbindWorkGroupsFromUserResponse)

func (*UnbindWorkGroupsFromUserResponse) FromJsonString added in v1.0.206

func (r *UnbindWorkGroupsFromUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindWorkGroupsFromUserResponse) ToJsonString added in v1.0.206

func (r *UnbindWorkGroupsFromUserResponse) ToJsonString() string

type UserIdSetOfWorkGroupId added in v1.0.206

type UserIdSetOfWorkGroupId struct {

	// 工作组Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 用户Id集合,和CAM侧Uin匹配
	UserIds []*string `json:"UserIds,omitempty" name:"UserIds"`
}

type UserInfo added in v1.0.206

type UserInfo struct {

	// 用户Id,和子用户uin相同
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 用户描述信息,方便区分不同用户
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"`

	// 单独给用户绑定的权限集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`

	// 当前用户的创建者
	Creator *string `json:"Creator,omitempty" name:"Creator"`

	// 创建时间,格式如2021-07-28 16:19:32
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 关联的工作组集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	WorkGroupSet []*WorkGroupMessage `json:"WorkGroupSet,omitempty" name:"WorkGroupSet"`

	// 是否是管理员账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsOwner *bool `json:"IsOwner,omitempty" name:"IsOwner"`
}

type UserMessage added in v1.0.206

type UserMessage struct {

	// 用户Id,和CAM侧子用户Uin匹配
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 用户描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDescription *string `json:"UserDescription,omitempty" name:"UserDescription"`

	// 当前用户的创建者
	Creator *string `json:"Creator,omitempty" name:"Creator"`

	// 当前用户的创建时间,形如2021-07-28 16:19:32
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type ViewBaseInfo

type ViewBaseInfo struct {

	// 该视图所属数据库名字
	DatabaseName *string `json:"DatabaseName,omitempty" name:"DatabaseName"`

	// 视图名称
	ViewName *string `json:"ViewName,omitempty" name:"ViewName"`
}

type ViewResponseInfo

type ViewResponseInfo struct {

	// 视图基本信息。
	ViewBaseInfo *ViewBaseInfo `json:"ViewBaseInfo,omitempty" name:"ViewBaseInfo"`

	// 视图列信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Columns []*Column `json:"Columns,omitempty" name:"Columns"`

	// 视图属性信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Properties []*Property `json:"Properties,omitempty" name:"Properties"`

	// 视图创建时间。
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// 视图更新时间。
	ModifiedTime *string `json:"ModifiedTime,omitempty" name:"ModifiedTime"`
}

type WorkGroupIdSetOfUserId added in v1.0.206

type WorkGroupIdSetOfUserId struct {

	// 用户Id,和CAM侧Uin匹配
	UserId *string `json:"UserId,omitempty" name:"UserId"`

	// 工作组Id集合
	WorkGroupIds []*int64 `json:"WorkGroupIds,omitempty" name:"WorkGroupIds"`
}

type WorkGroupInfo added in v1.0.206

type WorkGroupInfo struct {

	// 查询到的工作组唯一Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 工作组名称
	WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"`

	// 工作组描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"`

	// 工作组关联的用户数量
	UserNum *int64 `json:"UserNum,omitempty" name:"UserNum"`

	// 工作组关联的用户集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserSet []*UserMessage `json:"UserSet,omitempty" name:"UserSet"`

	// 工作组绑定的权限集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	PolicySet []*Policy `json:"PolicySet,omitempty" name:"PolicySet"`

	// 工作组的创建人
	Creator *string `json:"Creator,omitempty" name:"Creator"`

	// 工作组的创建时间,形如2021-07-28 16:19:32
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

type WorkGroupMessage added in v1.0.206

type WorkGroupMessage struct {

	// 工作组唯一Id
	WorkGroupId *int64 `json:"WorkGroupId,omitempty" name:"WorkGroupId"`

	// 工作组名称
	WorkGroupName *string `json:"WorkGroupName,omitempty" name:"WorkGroupName"`

	// 工作组描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	WorkGroupDescription *string `json:"WorkGroupDescription,omitempty" name:"WorkGroupDescription"`

	// 创建者
	Creator *string `json:"Creator,omitempty" name:"Creator"`

	// 工作组创建的时间,形如2021-07-28 16:19:32
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL