tencentcloud-sdk-tcb 3.0.1189 → 3.0.1211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +247 -7
- data/lib/v20180608/models.rb +1135 -121
- metadata +3 -3
data/lib/v20180608/models.rb
CHANGED
|
@@ -1828,6 +1828,29 @@ module TencentCloud
|
|
|
1828
1828
|
end
|
|
1829
1829
|
end
|
|
1830
1830
|
|
|
1831
|
+
# 本类型用于UpdateTable接口中描述待创建索引信息
|
|
1832
|
+
class CreateIndex < TencentCloud::Common::AbstractModel
|
|
1833
|
+
# @param IndexName: 索引名称
|
|
1834
|
+
# @type IndexName: String
|
|
1835
|
+
# @param MgoKeySchema: 索引结构
|
|
1836
|
+
# @type MgoKeySchema: :class:`Tencentcloud::Tcb.v20180608.models.MgoKeySchema`
|
|
1837
|
+
|
|
1838
|
+
attr_accessor :IndexName, :MgoKeySchema
|
|
1839
|
+
|
|
1840
|
+
def initialize(indexname=nil, mgokeyschema=nil)
|
|
1841
|
+
@IndexName = indexname
|
|
1842
|
+
@MgoKeySchema = mgokeyschema
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1845
|
+
def deserialize(params)
|
|
1846
|
+
@IndexName = params['IndexName']
|
|
1847
|
+
unless params['MgoKeySchema'].nil?
|
|
1848
|
+
@MgoKeySchema = MgoKeySchema.new
|
|
1849
|
+
@MgoKeySchema.deserialize(params['MgoKeySchema'])
|
|
1850
|
+
end
|
|
1851
|
+
end
|
|
1852
|
+
end
|
|
1853
|
+
|
|
1831
1854
|
# CreatePostpayPackage请求参数结构体
|
|
1832
1855
|
class CreatePostpayPackageRequest < TencentCloud::Common::AbstractModel
|
|
1833
1856
|
# @param EnvId: 环境ID,需要系统自动创建环境时,此字段不传
|
|
@@ -1958,6 +1981,155 @@ module TencentCloud
|
|
|
1958
1981
|
end
|
|
1959
1982
|
end
|
|
1960
1983
|
|
|
1984
|
+
# CreateTable请求参数结构体
|
|
1985
|
+
class CreateTableRequest < TencentCloud::Common::AbstractModel
|
|
1986
|
+
# @param TableName: 数据表名;长度不超过96个字符,可以为英文字母、数字、下划线(_)和短横线(-)的组合,且不能以下划线开头
|
|
1987
|
+
# @type TableName: String
|
|
1988
|
+
# @param Tag: FlexDB实例ID,如:tnt-nl7hjzasw
|
|
1989
|
+
# @type Tag: String
|
|
1990
|
+
# @param PermissionInfo: FlexDB数据库权限信息
|
|
1991
|
+
# @type PermissionInfo: :class:`Tencentcloud::Tcb.v20180608.models.PermissionInfo`
|
|
1992
|
+
# @param EnvId: 云开发环境ID
|
|
1993
|
+
# @type EnvId: String
|
|
1994
|
+
# @param MongoConnector: MongoDB连接器配置
|
|
1995
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
1996
|
+
|
|
1997
|
+
attr_accessor :TableName, :Tag, :PermissionInfo, :EnvId, :MongoConnector
|
|
1998
|
+
|
|
1999
|
+
def initialize(tablename=nil, tag=nil, permissioninfo=nil, envid=nil, mongoconnector=nil)
|
|
2000
|
+
@TableName = tablename
|
|
2001
|
+
@Tag = tag
|
|
2002
|
+
@PermissionInfo = permissioninfo
|
|
2003
|
+
@EnvId = envid
|
|
2004
|
+
@MongoConnector = mongoconnector
|
|
2005
|
+
end
|
|
2006
|
+
|
|
2007
|
+
def deserialize(params)
|
|
2008
|
+
@TableName = params['TableName']
|
|
2009
|
+
@Tag = params['Tag']
|
|
2010
|
+
unless params['PermissionInfo'].nil?
|
|
2011
|
+
@PermissionInfo = PermissionInfo.new
|
|
2012
|
+
@PermissionInfo.deserialize(params['PermissionInfo'])
|
|
2013
|
+
end
|
|
2014
|
+
@EnvId = params['EnvId']
|
|
2015
|
+
unless params['MongoConnector'].nil?
|
|
2016
|
+
@MongoConnector = MongoConnector.new
|
|
2017
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
2018
|
+
end
|
|
2019
|
+
end
|
|
2020
|
+
end
|
|
2021
|
+
|
|
2022
|
+
# CreateTable返回参数结构体
|
|
2023
|
+
class CreateTableResponse < TencentCloud::Common::AbstractModel
|
|
2024
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2025
|
+
# @type RequestId: String
|
|
2026
|
+
|
|
2027
|
+
attr_accessor :RequestId
|
|
2028
|
+
|
|
2029
|
+
def initialize(requestid=nil)
|
|
2030
|
+
@RequestId = requestid
|
|
2031
|
+
end
|
|
2032
|
+
|
|
2033
|
+
def deserialize(params)
|
|
2034
|
+
@RequestId = params['RequestId']
|
|
2035
|
+
end
|
|
2036
|
+
end
|
|
2037
|
+
|
|
2038
|
+
# CreateUser请求参数结构体
|
|
2039
|
+
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
|
2040
|
+
# @param EnvId: 环境id
|
|
2041
|
+
# @type EnvId: String
|
|
2042
|
+
# @param Name: 用户名,用户名规则:1. 长度1-64字符 2. 只能包含大小写英文字母、数字和符号 . _ - 3. 只能以字母或数字开头 4. 不能重复
|
|
2043
|
+
# @type Name: String
|
|
2044
|
+
# @param Uid: 用户ID,最多64字符,如不传则系统自动生成
|
|
2045
|
+
# @type Uid: String
|
|
2046
|
+
# @param Type: 用户类型:internalUser-内部用户、externalUser-外部用户,默认internalUser(内部用户)
|
|
2047
|
+
# @type Type: String
|
|
2048
|
+
# @param Password: 密码,传入Uid时密码可不传。密码规则:1. 长度8-32字符(推荐12位以上) 2. 不能以特殊字符开头 3. 至少包含以下四项中的三项:小写字母a-z、大写字母A-Z、数字0-9、特殊字符()!@#$%^&*\|?><_-
|
|
2049
|
+
# @type Password: String
|
|
2050
|
+
# @param UserStatus: 用户状态:ACTIVE(激活)、BLOCKED(冻结),默认激活
|
|
2051
|
+
# @type UserStatus: String
|
|
2052
|
+
# @param NickName: 用户昵称,长度2-64字符
|
|
2053
|
+
# @type NickName: String
|
|
2054
|
+
# @param Phone: 手机号,不能重复
|
|
2055
|
+
# @type Phone: String
|
|
2056
|
+
# @param Email: 邮箱地址,不能重复
|
|
2057
|
+
# @type Email: String
|
|
2058
|
+
# @param AvatarUrl: 头像链接,可访问的公网URL
|
|
2059
|
+
# @type AvatarUrl: String
|
|
2060
|
+
# @param Description: 用户描述,最多200字符
|
|
2061
|
+
# @type Description: String
|
|
2062
|
+
|
|
2063
|
+
attr_accessor :EnvId, :Name, :Uid, :Type, :Password, :UserStatus, :NickName, :Phone, :Email, :AvatarUrl, :Description
|
|
2064
|
+
|
|
2065
|
+
def initialize(envid=nil, name=nil, uid=nil, type=nil, password=nil, userstatus=nil, nickname=nil, phone=nil, email=nil, avatarurl=nil, description=nil)
|
|
2066
|
+
@EnvId = envid
|
|
2067
|
+
@Name = name
|
|
2068
|
+
@Uid = uid
|
|
2069
|
+
@Type = type
|
|
2070
|
+
@Password = password
|
|
2071
|
+
@UserStatus = userstatus
|
|
2072
|
+
@NickName = nickname
|
|
2073
|
+
@Phone = phone
|
|
2074
|
+
@Email = email
|
|
2075
|
+
@AvatarUrl = avatarurl
|
|
2076
|
+
@Description = description
|
|
2077
|
+
end
|
|
2078
|
+
|
|
2079
|
+
def deserialize(params)
|
|
2080
|
+
@EnvId = params['EnvId']
|
|
2081
|
+
@Name = params['Name']
|
|
2082
|
+
@Uid = params['Uid']
|
|
2083
|
+
@Type = params['Type']
|
|
2084
|
+
@Password = params['Password']
|
|
2085
|
+
@UserStatus = params['UserStatus']
|
|
2086
|
+
@NickName = params['NickName']
|
|
2087
|
+
@Phone = params['Phone']
|
|
2088
|
+
@Email = params['Email']
|
|
2089
|
+
@AvatarUrl = params['AvatarUrl']
|
|
2090
|
+
@Description = params['Description']
|
|
2091
|
+
end
|
|
2092
|
+
end
|
|
2093
|
+
|
|
2094
|
+
# 创建用户返回结果
|
|
2095
|
+
class CreateUserResp < TencentCloud::Common::AbstractModel
|
|
2096
|
+
# @param Uid: 用户ID
|
|
2097
|
+
# @type Uid: String
|
|
2098
|
+
|
|
2099
|
+
attr_accessor :Uid
|
|
2100
|
+
|
|
2101
|
+
def initialize(uid=nil)
|
|
2102
|
+
@Uid = uid
|
|
2103
|
+
end
|
|
2104
|
+
|
|
2105
|
+
def deserialize(params)
|
|
2106
|
+
@Uid = params['Uid']
|
|
2107
|
+
end
|
|
2108
|
+
end
|
|
2109
|
+
|
|
2110
|
+
# CreateUser返回参数结构体
|
|
2111
|
+
class CreateUserResponse < TencentCloud::Common::AbstractModel
|
|
2112
|
+
# @param Data: 结果返回
|
|
2113
|
+
# @type Data: :class:`Tencentcloud::Tcb.v20180608.models.CreateUserResp`
|
|
2114
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2115
|
+
# @type RequestId: String
|
|
2116
|
+
|
|
2117
|
+
attr_accessor :Data, :RequestId
|
|
2118
|
+
|
|
2119
|
+
def initialize(data=nil, requestid=nil)
|
|
2120
|
+
@Data = data
|
|
2121
|
+
@RequestId = requestid
|
|
2122
|
+
end
|
|
2123
|
+
|
|
2124
|
+
def deserialize(params)
|
|
2125
|
+
unless params['Data'].nil?
|
|
2126
|
+
@Data = CreateUserResp.new
|
|
2127
|
+
@Data.deserialize(params['Data'])
|
|
2128
|
+
end
|
|
2129
|
+
@RequestId = params['RequestId']
|
|
2130
|
+
end
|
|
2131
|
+
end
|
|
2132
|
+
|
|
1961
2133
|
# 安全网关自定义头部
|
|
1962
2134
|
class CustomHeader < TencentCloud::Common::AbstractModel
|
|
1963
2135
|
# @param RequestToAddList: 请求添加头部配置
|
|
@@ -2074,6 +2246,30 @@ module TencentCloud
|
|
|
2074
2246
|
end
|
|
2075
2247
|
end
|
|
2076
2248
|
|
|
2249
|
+
# 数据库连接器实例信息
|
|
2250
|
+
class DbInstance < TencentCloud::Common::AbstractModel
|
|
2251
|
+
# @param EnvId: 云开发环境ID
|
|
2252
|
+
# @type EnvId: String
|
|
2253
|
+
# @param InstanceId: MySQL 连接器实例 ID;`"default"` 或为空表示使用 TCB 环境的默认连接器
|
|
2254
|
+
# @type InstanceId: String
|
|
2255
|
+
# @param Schema: 数据库名;为空时使用连接器配置的默认数据库名
|
|
2256
|
+
# @type Schema: String
|
|
2257
|
+
|
|
2258
|
+
attr_accessor :EnvId, :InstanceId, :Schema
|
|
2259
|
+
|
|
2260
|
+
def initialize(envid=nil, instanceid=nil, schema=nil)
|
|
2261
|
+
@EnvId = envid
|
|
2262
|
+
@InstanceId = instanceid
|
|
2263
|
+
@Schema = schema
|
|
2264
|
+
end
|
|
2265
|
+
|
|
2266
|
+
def deserialize(params)
|
|
2267
|
+
@EnvId = params['EnvId']
|
|
2268
|
+
@InstanceId = params['InstanceId']
|
|
2269
|
+
@Schema = params['Schema']
|
|
2270
|
+
end
|
|
2271
|
+
end
|
|
2272
|
+
|
|
2077
2273
|
# DeleteCloudBaseProjectLatestVersion请求参数结构体
|
|
2078
2274
|
class DeleteCloudBaseProjectLatestVersionRequest < TencentCloud::Common::AbstractModel
|
|
2079
2275
|
# @param EnvId: 环境id
|
|
@@ -2234,6 +2430,116 @@ module TencentCloud
|
|
|
2234
2430
|
end
|
|
2235
2431
|
end
|
|
2236
2432
|
|
|
2433
|
+
# DeleteTable请求参数结构体
|
|
2434
|
+
class DeleteTableRequest < TencentCloud::Common::AbstractModel
|
|
2435
|
+
# @param TableName: 待删除的表名
|
|
2436
|
+
# @type TableName: String
|
|
2437
|
+
# @param Tag: FlexDB实例ID
|
|
2438
|
+
# @type Tag: String
|
|
2439
|
+
# @param EnvId: 云开发环境ID
|
|
2440
|
+
# @type EnvId: String
|
|
2441
|
+
# @param MongoConnector: MongoDB连接器配置
|
|
2442
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
2443
|
+
|
|
2444
|
+
attr_accessor :TableName, :Tag, :EnvId, :MongoConnector
|
|
2445
|
+
|
|
2446
|
+
def initialize(tablename=nil, tag=nil, envid=nil, mongoconnector=nil)
|
|
2447
|
+
@TableName = tablename
|
|
2448
|
+
@Tag = tag
|
|
2449
|
+
@EnvId = envid
|
|
2450
|
+
@MongoConnector = mongoconnector
|
|
2451
|
+
end
|
|
2452
|
+
|
|
2453
|
+
def deserialize(params)
|
|
2454
|
+
@TableName = params['TableName']
|
|
2455
|
+
@Tag = params['Tag']
|
|
2456
|
+
@EnvId = params['EnvId']
|
|
2457
|
+
unless params['MongoConnector'].nil?
|
|
2458
|
+
@MongoConnector = MongoConnector.new
|
|
2459
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
2460
|
+
end
|
|
2461
|
+
end
|
|
2462
|
+
end
|
|
2463
|
+
|
|
2464
|
+
# DeleteTable返回参数结构体
|
|
2465
|
+
class DeleteTableResponse < TencentCloud::Common::AbstractModel
|
|
2466
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2467
|
+
# @type RequestId: String
|
|
2468
|
+
|
|
2469
|
+
attr_accessor :RequestId
|
|
2470
|
+
|
|
2471
|
+
def initialize(requestid=nil)
|
|
2472
|
+
@RequestId = requestid
|
|
2473
|
+
end
|
|
2474
|
+
|
|
2475
|
+
def deserialize(params)
|
|
2476
|
+
@RequestId = params['RequestId']
|
|
2477
|
+
end
|
|
2478
|
+
end
|
|
2479
|
+
|
|
2480
|
+
# DeleteUsers请求参数结构体
|
|
2481
|
+
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
|
2482
|
+
# @param EnvId: 环境id
|
|
2483
|
+
# @type EnvId: String
|
|
2484
|
+
# @param Uids: tcb用户id列表, 一次最多支持删除100个
|
|
2485
|
+
# @type Uids: Array
|
|
2486
|
+
|
|
2487
|
+
attr_accessor :EnvId, :Uids
|
|
2488
|
+
|
|
2489
|
+
def initialize(envid=nil, uids=nil)
|
|
2490
|
+
@EnvId = envid
|
|
2491
|
+
@Uids = uids
|
|
2492
|
+
end
|
|
2493
|
+
|
|
2494
|
+
def deserialize(params)
|
|
2495
|
+
@EnvId = params['EnvId']
|
|
2496
|
+
@Uids = params['Uids']
|
|
2497
|
+
end
|
|
2498
|
+
end
|
|
2499
|
+
|
|
2500
|
+
# 删除tcb用户返回值
|
|
2501
|
+
class DeleteUsersResp < TencentCloud::Common::AbstractModel
|
|
2502
|
+
# @param SuccessCount: 成功个数
|
|
2503
|
+
# @type SuccessCount: Integer
|
|
2504
|
+
# @param FailedCount: 失败个数
|
|
2505
|
+
# @type FailedCount: Integer
|
|
2506
|
+
|
|
2507
|
+
attr_accessor :SuccessCount, :FailedCount
|
|
2508
|
+
|
|
2509
|
+
def initialize(successcount=nil, failedcount=nil)
|
|
2510
|
+
@SuccessCount = successcount
|
|
2511
|
+
@FailedCount = failedcount
|
|
2512
|
+
end
|
|
2513
|
+
|
|
2514
|
+
def deserialize(params)
|
|
2515
|
+
@SuccessCount = params['SuccessCount']
|
|
2516
|
+
@FailedCount = params['FailedCount']
|
|
2517
|
+
end
|
|
2518
|
+
end
|
|
2519
|
+
|
|
2520
|
+
# DeleteUsers返回参数结构体
|
|
2521
|
+
class DeleteUsersResponse < TencentCloud::Common::AbstractModel
|
|
2522
|
+
# @param Data: 删除用户结果
|
|
2523
|
+
# @type Data: :class:`Tencentcloud::Tcb.v20180608.models.DeleteUsersResp`
|
|
2524
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2525
|
+
# @type RequestId: String
|
|
2526
|
+
|
|
2527
|
+
attr_accessor :Data, :RequestId
|
|
2528
|
+
|
|
2529
|
+
def initialize(data=nil, requestid=nil)
|
|
2530
|
+
@Data = data
|
|
2531
|
+
@RequestId = requestid
|
|
2532
|
+
end
|
|
2533
|
+
|
|
2534
|
+
def deserialize(params)
|
|
2535
|
+
unless params['Data'].nil?
|
|
2536
|
+
@Data = DeleteUsersResp.new
|
|
2537
|
+
@Data.deserialize(params['Data'])
|
|
2538
|
+
end
|
|
2539
|
+
@RequestId = params['RequestId']
|
|
2540
|
+
end
|
|
2541
|
+
end
|
|
2542
|
+
|
|
2237
2543
|
# DeleteWxGatewayRoute请求参数结构体
|
|
2238
2544
|
class DeleteWxGatewayRouteRequest < TencentCloud::Common::AbstractModel
|
|
2239
2545
|
# @param EnvId: 环境id
|
|
@@ -4733,6 +5039,139 @@ module TencentCloud
|
|
|
4733
5039
|
end
|
|
4734
5040
|
end
|
|
4735
5041
|
|
|
5042
|
+
# DescribeTable请求参数结构体
|
|
5043
|
+
class DescribeTableRequest < TencentCloud::Common::AbstractModel
|
|
5044
|
+
# @param TableName: 表名
|
|
5045
|
+
# @type TableName: String
|
|
5046
|
+
# @param Tag: FlecDB实例ID
|
|
5047
|
+
# @type Tag: String
|
|
5048
|
+
# @param EnvId: 云开发环境ID
|
|
5049
|
+
# @type EnvId: String
|
|
5050
|
+
# @param MongoConnector: MongoDB连接器配置
|
|
5051
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
5052
|
+
|
|
5053
|
+
attr_accessor :TableName, :Tag, :EnvId, :MongoConnector
|
|
5054
|
+
|
|
5055
|
+
def initialize(tablename=nil, tag=nil, envid=nil, mongoconnector=nil)
|
|
5056
|
+
@TableName = tablename
|
|
5057
|
+
@Tag = tag
|
|
5058
|
+
@EnvId = envid
|
|
5059
|
+
@MongoConnector = mongoconnector
|
|
5060
|
+
end
|
|
5061
|
+
|
|
5062
|
+
def deserialize(params)
|
|
5063
|
+
@TableName = params['TableName']
|
|
5064
|
+
@Tag = params['Tag']
|
|
5065
|
+
@EnvId = params['EnvId']
|
|
5066
|
+
unless params['MongoConnector'].nil?
|
|
5067
|
+
@MongoConnector = MongoConnector.new
|
|
5068
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
5069
|
+
end
|
|
5070
|
+
end
|
|
5071
|
+
end
|
|
5072
|
+
|
|
5073
|
+
# DescribeTable返回参数结构体
|
|
5074
|
+
class DescribeTableResponse < TencentCloud::Common::AbstractModel
|
|
5075
|
+
# @param Indexes: 索引相关信息
|
|
5076
|
+
# @type Indexes: Array
|
|
5077
|
+
# @param IndexNum: 索引个数
|
|
5078
|
+
# @type IndexNum: Integer
|
|
5079
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5080
|
+
# @type RequestId: String
|
|
5081
|
+
|
|
5082
|
+
attr_accessor :Indexes, :IndexNum, :RequestId
|
|
5083
|
+
|
|
5084
|
+
def initialize(indexes=nil, indexnum=nil, requestid=nil)
|
|
5085
|
+
@Indexes = indexes
|
|
5086
|
+
@IndexNum = indexnum
|
|
5087
|
+
@RequestId = requestid
|
|
5088
|
+
end
|
|
5089
|
+
|
|
5090
|
+
def deserialize(params)
|
|
5091
|
+
unless params['Indexes'].nil?
|
|
5092
|
+
@Indexes = []
|
|
5093
|
+
params['Indexes'].each do |i|
|
|
5094
|
+
indexinfo_tmp = IndexInfo.new
|
|
5095
|
+
indexinfo_tmp.deserialize(i)
|
|
5096
|
+
@Indexes << indexinfo_tmp
|
|
5097
|
+
end
|
|
5098
|
+
end
|
|
5099
|
+
@IndexNum = params['IndexNum']
|
|
5100
|
+
@RequestId = params['RequestId']
|
|
5101
|
+
end
|
|
5102
|
+
end
|
|
5103
|
+
|
|
5104
|
+
# DescribeTables请求参数结构体
|
|
5105
|
+
class DescribeTablesRequest < TencentCloud::Common::AbstractModel
|
|
5106
|
+
# @param MgoLimit: 分页条件
|
|
5107
|
+
# @type MgoLimit: Integer
|
|
5108
|
+
# @param Tag: 实例ID
|
|
5109
|
+
# @type Tag: String
|
|
5110
|
+
# @param MgoOffset: 分页条件
|
|
5111
|
+
# @type MgoOffset: Integer
|
|
5112
|
+
# @param EnvId: 环境id
|
|
5113
|
+
# @type EnvId: String
|
|
5114
|
+
# @param MongoConnector: MongoConnector
|
|
5115
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
5116
|
+
|
|
5117
|
+
attr_accessor :MgoLimit, :Tag, :MgoOffset, :EnvId, :MongoConnector
|
|
5118
|
+
|
|
5119
|
+
def initialize(mgolimit=nil, tag=nil, mgooffset=nil, envid=nil, mongoconnector=nil)
|
|
5120
|
+
@MgoLimit = mgolimit
|
|
5121
|
+
@Tag = tag
|
|
5122
|
+
@MgoOffset = mgooffset
|
|
5123
|
+
@EnvId = envid
|
|
5124
|
+
@MongoConnector = mongoconnector
|
|
5125
|
+
end
|
|
5126
|
+
|
|
5127
|
+
def deserialize(params)
|
|
5128
|
+
@MgoLimit = params['MgoLimit']
|
|
5129
|
+
@Tag = params['Tag']
|
|
5130
|
+
@MgoOffset = params['MgoOffset']
|
|
5131
|
+
@EnvId = params['EnvId']
|
|
5132
|
+
unless params['MongoConnector'].nil?
|
|
5133
|
+
@MongoConnector = MongoConnector.new
|
|
5134
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
5135
|
+
end
|
|
5136
|
+
end
|
|
5137
|
+
end
|
|
5138
|
+
|
|
5139
|
+
# DescribeTables返回参数结构体
|
|
5140
|
+
class DescribeTablesResponse < TencentCloud::Common::AbstractModel
|
|
5141
|
+
# @param Tables: 表信息
|
|
5142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5143
|
+
# @type Tables: Array
|
|
5144
|
+
# @param Pager: 分页信息
|
|
5145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5146
|
+
# @type Pager: :class:`Tencentcloud::Tcb.v20180608.models.Pager`
|
|
5147
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5148
|
+
# @type RequestId: String
|
|
5149
|
+
|
|
5150
|
+
attr_accessor :Tables, :Pager, :RequestId
|
|
5151
|
+
|
|
5152
|
+
def initialize(tables=nil, pager=nil, requestid=nil)
|
|
5153
|
+
@Tables = tables
|
|
5154
|
+
@Pager = pager
|
|
5155
|
+
@RequestId = requestid
|
|
5156
|
+
end
|
|
5157
|
+
|
|
5158
|
+
def deserialize(params)
|
|
5159
|
+
unless params['Tables'].nil?
|
|
5160
|
+
@Tables = []
|
|
5161
|
+
params['Tables'].each do |i|
|
|
5162
|
+
tableinfo_tmp = TableInfo.new
|
|
5163
|
+
tableinfo_tmp.deserialize(i)
|
|
5164
|
+
@Tables << tableinfo_tmp
|
|
5165
|
+
end
|
|
5166
|
+
end
|
|
5167
|
+
unless params['Pager'].nil?
|
|
5168
|
+
@Pager = Pager.new
|
|
5169
|
+
@Pager.deserialize(params['Pager'])
|
|
5170
|
+
end
|
|
5171
|
+
@RequestId = params['RequestId']
|
|
5172
|
+
end
|
|
5173
|
+
end
|
|
5174
|
+
|
|
4736
5175
|
# DescribeUserActivityInfo请求参数结构体
|
|
4737
5176
|
class DescribeUserActivityInfoRequest < TencentCloud::Common::AbstractModel
|
|
4738
5177
|
# @param ActivityId: 活动id
|
|
@@ -4797,41 +5236,131 @@ module TencentCloud
|
|
|
4797
5236
|
end
|
|
4798
5237
|
end
|
|
4799
5238
|
|
|
4800
|
-
#
|
|
4801
|
-
class
|
|
4802
|
-
# @param EnvId: 环境
|
|
5239
|
+
# DescribeUserList请求参数结构体
|
|
5240
|
+
class DescribeUserListRequest < TencentCloud::Common::AbstractModel
|
|
5241
|
+
# @param EnvId: 环境id
|
|
4803
5242
|
# @type EnvId: String
|
|
4804
|
-
# @param
|
|
4805
|
-
# @type
|
|
4806
|
-
# @param
|
|
4807
|
-
# @type
|
|
4808
|
-
# @param
|
|
4809
|
-
# @type
|
|
5243
|
+
# @param PageNo: 页码,从1开始,默认1
|
|
5244
|
+
# @type PageNo: Integer
|
|
5245
|
+
# @param PageSize: 每页数量,默认20,最大100
|
|
5246
|
+
# @type PageSize: Integer
|
|
5247
|
+
# @param Name: 用户名,模糊查询
|
|
5248
|
+
# @type Name: String
|
|
5249
|
+
# @param NickName: 用户昵称,模糊查询
|
|
5250
|
+
# @type NickName: String
|
|
5251
|
+
# @param Phone: 手机号,模糊查询
|
|
5252
|
+
# @type Phone: String
|
|
5253
|
+
# @param Email: 邮箱,模糊查询
|
|
5254
|
+
# @type Email: String
|
|
4810
5255
|
|
|
4811
|
-
attr_accessor :EnvId, :
|
|
5256
|
+
attr_accessor :EnvId, :PageNo, :PageSize, :Name, :NickName, :Phone, :Email
|
|
4812
5257
|
|
|
4813
|
-
def initialize(envid=nil,
|
|
5258
|
+
def initialize(envid=nil, pageno=nil, pagesize=nil, name=nil, nickname=nil, phone=nil, email=nil)
|
|
4814
5259
|
@EnvId = envid
|
|
4815
|
-
@
|
|
4816
|
-
@
|
|
4817
|
-
@
|
|
5260
|
+
@PageNo = pageno
|
|
5261
|
+
@PageSize = pagesize
|
|
5262
|
+
@Name = name
|
|
5263
|
+
@NickName = nickname
|
|
5264
|
+
@Phone = phone
|
|
5265
|
+
@Email = email
|
|
4818
5266
|
end
|
|
4819
5267
|
|
|
4820
5268
|
def deserialize(params)
|
|
4821
5269
|
@EnvId = params['EnvId']
|
|
4822
|
-
@
|
|
4823
|
-
@
|
|
4824
|
-
@
|
|
5270
|
+
@PageNo = params['PageNo']
|
|
5271
|
+
@PageSize = params['PageSize']
|
|
5272
|
+
@Name = params['Name']
|
|
5273
|
+
@NickName = params['NickName']
|
|
5274
|
+
@Phone = params['Phone']
|
|
5275
|
+
@Email = params['Email']
|
|
4825
5276
|
end
|
|
4826
5277
|
end
|
|
4827
5278
|
|
|
4828
|
-
#
|
|
4829
|
-
class
|
|
4830
|
-
# @param
|
|
4831
|
-
# @type
|
|
4832
|
-
# @param
|
|
4833
|
-
# @type
|
|
4834
|
-
|
|
5279
|
+
# 查询用户返回结果
|
|
5280
|
+
class DescribeUserListResp < TencentCloud::Common::AbstractModel
|
|
5281
|
+
# @param Total: 用户总数
|
|
5282
|
+
# @type Total: Integer
|
|
5283
|
+
# @param UserList: 用户列表
|
|
5284
|
+
# @type UserList: Array
|
|
5285
|
+
|
|
5286
|
+
attr_accessor :Total, :UserList
|
|
5287
|
+
|
|
5288
|
+
def initialize(total=nil, userlist=nil)
|
|
5289
|
+
@Total = total
|
|
5290
|
+
@UserList = userlist
|
|
5291
|
+
end
|
|
5292
|
+
|
|
5293
|
+
def deserialize(params)
|
|
5294
|
+
@Total = params['Total']
|
|
5295
|
+
unless params['UserList'].nil?
|
|
5296
|
+
@UserList = []
|
|
5297
|
+
params['UserList'].each do |i|
|
|
5298
|
+
user_tmp = User.new
|
|
5299
|
+
user_tmp.deserialize(i)
|
|
5300
|
+
@UserList << user_tmp
|
|
5301
|
+
end
|
|
5302
|
+
end
|
|
5303
|
+
end
|
|
5304
|
+
end
|
|
5305
|
+
|
|
5306
|
+
# DescribeUserList返回参数结构体
|
|
5307
|
+
class DescribeUserListResponse < TencentCloud::Common::AbstractModel
|
|
5308
|
+
# @param Data: 结果返回
|
|
5309
|
+
# @type Data: :class:`Tencentcloud::Tcb.v20180608.models.DescribeUserListResp`
|
|
5310
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5311
|
+
# @type RequestId: String
|
|
5312
|
+
|
|
5313
|
+
attr_accessor :Data, :RequestId
|
|
5314
|
+
|
|
5315
|
+
def initialize(data=nil, requestid=nil)
|
|
5316
|
+
@Data = data
|
|
5317
|
+
@RequestId = requestid
|
|
5318
|
+
end
|
|
5319
|
+
|
|
5320
|
+
def deserialize(params)
|
|
5321
|
+
unless params['Data'].nil?
|
|
5322
|
+
@Data = DescribeUserListResp.new
|
|
5323
|
+
@Data.deserialize(params['Data'])
|
|
5324
|
+
end
|
|
5325
|
+
@RequestId = params['RequestId']
|
|
5326
|
+
end
|
|
5327
|
+
end
|
|
5328
|
+
|
|
5329
|
+
# DescribeWxGatewayRoutes请求参数结构体
|
|
5330
|
+
class DescribeWxGatewayRoutesRequest < TencentCloud::Common::AbstractModel
|
|
5331
|
+
# @param EnvId: 环境ID
|
|
5332
|
+
# @type EnvId: String
|
|
5333
|
+
# @param GatewayId: 网关名称
|
|
5334
|
+
# @type GatewayId: String
|
|
5335
|
+
# @param GatewayRouteName: 网关路由名称
|
|
5336
|
+
# @type GatewayRouteName: String
|
|
5337
|
+
# @param GatewayVersion: 网关版本名
|
|
5338
|
+
# @type GatewayVersion: String
|
|
5339
|
+
|
|
5340
|
+
attr_accessor :EnvId, :GatewayId, :GatewayRouteName, :GatewayVersion
|
|
5341
|
+
|
|
5342
|
+
def initialize(envid=nil, gatewayid=nil, gatewayroutename=nil, gatewayversion=nil)
|
|
5343
|
+
@EnvId = envid
|
|
5344
|
+
@GatewayId = gatewayid
|
|
5345
|
+
@GatewayRouteName = gatewayroutename
|
|
5346
|
+
@GatewayVersion = gatewayversion
|
|
5347
|
+
end
|
|
5348
|
+
|
|
5349
|
+
def deserialize(params)
|
|
5350
|
+
@EnvId = params['EnvId']
|
|
5351
|
+
@GatewayId = params['GatewayId']
|
|
5352
|
+
@GatewayRouteName = params['GatewayRouteName']
|
|
5353
|
+
@GatewayVersion = params['GatewayVersion']
|
|
5354
|
+
end
|
|
5355
|
+
end
|
|
5356
|
+
|
|
5357
|
+
# DescribeWxGatewayRoutes返回参数结构体
|
|
5358
|
+
class DescribeWxGatewayRoutesResponse < TencentCloud::Common::AbstractModel
|
|
5359
|
+
# @param TotalCount: 返回的服务个数
|
|
5360
|
+
# @type TotalCount: Integer
|
|
5361
|
+
# @param WxGatewayRouteSet: 返回的服务列表
|
|
5362
|
+
# @type WxGatewayRouteSet: Array
|
|
5363
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4835
5364
|
# @type RequestId: String
|
|
4836
5365
|
|
|
4837
5366
|
attr_accessor :TotalCount, :WxGatewayRouteSet, :RequestId
|
|
@@ -4999,6 +5528,22 @@ module TencentCloud
|
|
|
4999
5528
|
end
|
|
5000
5529
|
end
|
|
5001
5530
|
|
|
5531
|
+
# 本类型用于UpdateTable接口中描述待删除索引信息
|
|
5532
|
+
class DropIndex < TencentCloud::Common::AbstractModel
|
|
5533
|
+
# @param IndexName: 索引名称
|
|
5534
|
+
# @type IndexName: String
|
|
5535
|
+
|
|
5536
|
+
attr_accessor :IndexName
|
|
5537
|
+
|
|
5538
|
+
def initialize(indexname=nil)
|
|
5539
|
+
@IndexName = indexname
|
|
5540
|
+
end
|
|
5541
|
+
|
|
5542
|
+
def deserialize(params)
|
|
5543
|
+
@IndexName = params['IndexName']
|
|
5544
|
+
end
|
|
5545
|
+
end
|
|
5546
|
+
|
|
5002
5547
|
# EditAuthConfig请求参数结构体
|
|
5003
5548
|
class EditAuthConfigRequest < TencentCloud::Common::AbstractModel
|
|
5004
5549
|
# @param EnvId: 环境id
|
|
@@ -5831,6 +6376,95 @@ module TencentCloud
|
|
|
5831
6376
|
end
|
|
5832
6377
|
end
|
|
5833
6378
|
|
|
6379
|
+
# 索引命中信息
|
|
6380
|
+
class IndexAccesses < TencentCloud::Common::AbstractModel
|
|
6381
|
+
# @param Ops: 索引命中次数
|
|
6382
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6383
|
+
# @type Ops: Integer
|
|
6384
|
+
# @param Since: 命中次数从何时开始计数
|
|
6385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6386
|
+
# @type Since: String
|
|
6387
|
+
|
|
6388
|
+
attr_accessor :Ops, :Since
|
|
6389
|
+
|
|
6390
|
+
def initialize(ops=nil, since=nil)
|
|
6391
|
+
@Ops = ops
|
|
6392
|
+
@Since = since
|
|
6393
|
+
end
|
|
6394
|
+
|
|
6395
|
+
def deserialize(params)
|
|
6396
|
+
@Ops = params['Ops']
|
|
6397
|
+
@Since = params['Since']
|
|
6398
|
+
end
|
|
6399
|
+
end
|
|
6400
|
+
|
|
6401
|
+
# 索引信息
|
|
6402
|
+
class IndexInfo < TencentCloud::Common::AbstractModel
|
|
6403
|
+
# @param Name: 索引名称
|
|
6404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6405
|
+
# @type Name: String
|
|
6406
|
+
# @param Size: 索引大小,单位: 字节
|
|
6407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6408
|
+
# @type Size: Integer
|
|
6409
|
+
# @param Keys: 索引键值
|
|
6410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6411
|
+
# @type Keys: Array
|
|
6412
|
+
# @param Accesses: 索引使用信息
|
|
6413
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6414
|
+
# @type Accesses: :class:`Tencentcloud::Tcb.v20180608.models.IndexAccesses`
|
|
6415
|
+
# @param Unique: 是否为唯一索引
|
|
6416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6417
|
+
# @type Unique: Boolean
|
|
6418
|
+
|
|
6419
|
+
attr_accessor :Name, :Size, :Keys, :Accesses, :Unique
|
|
6420
|
+
|
|
6421
|
+
def initialize(name=nil, size=nil, keys=nil, accesses=nil, unique=nil)
|
|
6422
|
+
@Name = name
|
|
6423
|
+
@Size = size
|
|
6424
|
+
@Keys = keys
|
|
6425
|
+
@Accesses = accesses
|
|
6426
|
+
@Unique = unique
|
|
6427
|
+
end
|
|
6428
|
+
|
|
6429
|
+
def deserialize(params)
|
|
6430
|
+
@Name = params['Name']
|
|
6431
|
+
@Size = params['Size']
|
|
6432
|
+
unless params['Keys'].nil?
|
|
6433
|
+
@Keys = []
|
|
6434
|
+
params['Keys'].each do |i|
|
|
6435
|
+
indexkey_tmp = Indexkey.new
|
|
6436
|
+
indexkey_tmp.deserialize(i)
|
|
6437
|
+
@Keys << indexkey_tmp
|
|
6438
|
+
end
|
|
6439
|
+
end
|
|
6440
|
+
unless params['Accesses'].nil?
|
|
6441
|
+
@Accesses = IndexAccesses.new
|
|
6442
|
+
@Accesses.deserialize(params['Accesses'])
|
|
6443
|
+
end
|
|
6444
|
+
@Unique = params['Unique']
|
|
6445
|
+
end
|
|
6446
|
+
end
|
|
6447
|
+
|
|
6448
|
+
# 索引的key值
|
|
6449
|
+
class Indexkey < TencentCloud::Common::AbstractModel
|
|
6450
|
+
# @param Name: 键名
|
|
6451
|
+
# @type Name: String
|
|
6452
|
+
# @param Direction: 方向:specify 1 for ascending or -1 for descending
|
|
6453
|
+
# @type Direction: String
|
|
6454
|
+
|
|
6455
|
+
attr_accessor :Name, :Direction
|
|
6456
|
+
|
|
6457
|
+
def initialize(name=nil, direction=nil)
|
|
6458
|
+
@Name = name
|
|
6459
|
+
@Direction = direction
|
|
6460
|
+
end
|
|
6461
|
+
|
|
6462
|
+
def deserialize(params)
|
|
6463
|
+
@Name = params['Name']
|
|
6464
|
+
@Direction = params['Direction']
|
|
6465
|
+
end
|
|
6466
|
+
end
|
|
6467
|
+
|
|
5834
6468
|
# 键值对
|
|
5835
6469
|
class KVPair < TencentCloud::Common::AbstractModel
|
|
5836
6470
|
# @param Key: 键
|
|
@@ -5851,74 +6485,86 @@ module TencentCloud
|
|
|
5851
6485
|
end
|
|
5852
6486
|
end
|
|
5853
6487
|
|
|
5854
|
-
#
|
|
5855
|
-
class
|
|
5856
|
-
# @param
|
|
5857
|
-
# @type
|
|
5858
|
-
# @param
|
|
5859
|
-
# @type
|
|
5860
|
-
# @param
|
|
5861
|
-
# @type
|
|
5862
|
-
# @param
|
|
5863
|
-
# @type
|
|
5864
|
-
# @param
|
|
5865
|
-
# @type
|
|
5866
|
-
# @param
|
|
5867
|
-
# @type
|
|
6488
|
+
# ListTables请求参数结构体
|
|
6489
|
+
class ListTablesRequest < TencentCloud::Common::AbstractModel
|
|
6490
|
+
# @param MgoLimit: 每页返回数量(0-1000)
|
|
6491
|
+
# @type MgoLimit: Integer
|
|
6492
|
+
# @param Tag: FlexDB实例ID
|
|
6493
|
+
# @type Tag: String
|
|
6494
|
+
# @param MgoOffset: 分页偏移量
|
|
6495
|
+
# @type MgoOffset: Integer
|
|
6496
|
+
# @param Filters: 过滤标签数组,用于过滤表名,可选值如:HIDDEN、WEDA、WEDA_SYSTEM
|
|
6497
|
+
# @type Filters: Array
|
|
6498
|
+
# @param SearchValue: 模糊搜索查询值
|
|
6499
|
+
# @type SearchValue: String
|
|
6500
|
+
# @param ShowHidden: 是否展示隐藏表
|
|
6501
|
+
# @type ShowHidden: Boolean
|
|
6502
|
+
# @param EnvId: 云开发环境ID
|
|
6503
|
+
# @type EnvId: String
|
|
6504
|
+
# @param MongoConnector: mongo连接器信息
|
|
6505
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
5868
6506
|
|
|
5869
|
-
attr_accessor :
|
|
6507
|
+
attr_accessor :MgoLimit, :Tag, :MgoOffset, :Filters, :SearchValue, :ShowHidden, :EnvId, :MongoConnector
|
|
5870
6508
|
|
|
5871
|
-
def initialize(
|
|
5872
|
-
@
|
|
5873
|
-
@
|
|
5874
|
-
@
|
|
5875
|
-
@
|
|
5876
|
-
@
|
|
5877
|
-
@
|
|
6509
|
+
def initialize(mgolimit=nil, tag=nil, mgooffset=nil, filters=nil, searchvalue=nil, showhidden=nil, envid=nil, mongoconnector=nil)
|
|
6510
|
+
@MgoLimit = mgolimit
|
|
6511
|
+
@Tag = tag
|
|
6512
|
+
@MgoOffset = mgooffset
|
|
6513
|
+
@Filters = filters
|
|
6514
|
+
@SearchValue = searchvalue
|
|
6515
|
+
@ShowHidden = showhidden
|
|
6516
|
+
@EnvId = envid
|
|
6517
|
+
@MongoConnector = mongoconnector
|
|
5878
6518
|
end
|
|
5879
6519
|
|
|
5880
6520
|
def deserialize(params)
|
|
5881
|
-
@
|
|
5882
|
-
@
|
|
5883
|
-
@
|
|
5884
|
-
@
|
|
5885
|
-
@
|
|
5886
|
-
@
|
|
6521
|
+
@MgoLimit = params['MgoLimit']
|
|
6522
|
+
@Tag = params['Tag']
|
|
6523
|
+
@MgoOffset = params['MgoOffset']
|
|
6524
|
+
@Filters = params['Filters']
|
|
6525
|
+
@SearchValue = params['SearchValue']
|
|
6526
|
+
@ShowHidden = params['ShowHidden']
|
|
6527
|
+
@EnvId = params['EnvId']
|
|
6528
|
+
unless params['MongoConnector'].nil?
|
|
6529
|
+
@MongoConnector = MongoConnector.new
|
|
6530
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
6531
|
+
end
|
|
5887
6532
|
end
|
|
5888
6533
|
end
|
|
5889
6534
|
|
|
5890
|
-
#
|
|
5891
|
-
class
|
|
5892
|
-
# @param
|
|
5893
|
-
#
|
|
5894
|
-
# @
|
|
5895
|
-
# @
|
|
5896
|
-
#
|
|
5897
|
-
# @type
|
|
5898
|
-
# @param
|
|
5899
|
-
# @type
|
|
6535
|
+
# ListTables返回参数结构体
|
|
6536
|
+
class ListTablesResponse < TencentCloud::Common::AbstractModel
|
|
6537
|
+
# @param Tables: 表信息
|
|
6538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6539
|
+
# @type Tables: Array
|
|
6540
|
+
# @param Pager: 分页信息
|
|
6541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
6542
|
+
# @type Pager: :class:`Tencentcloud::Tcb.v20180608.models.Pager`
|
|
6543
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6544
|
+
# @type RequestId: String
|
|
5900
6545
|
|
|
5901
|
-
attr_accessor :
|
|
6546
|
+
attr_accessor :Tables, :Pager, :RequestId
|
|
5902
6547
|
|
|
5903
|
-
def initialize(
|
|
5904
|
-
@
|
|
5905
|
-
@
|
|
5906
|
-
@
|
|
5907
|
-
@AnalysisRecords = analysisrecords
|
|
6548
|
+
def initialize(tables=nil, pager=nil, requestid=nil)
|
|
6549
|
+
@Tables = tables
|
|
6550
|
+
@Pager = pager
|
|
6551
|
+
@RequestId = requestid
|
|
5908
6552
|
end
|
|
5909
6553
|
|
|
5910
6554
|
def deserialize(params)
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
logobject_tmp.deserialize(i)
|
|
5918
|
-
@Results << logobject_tmp
|
|
6555
|
+
unless params['Tables'].nil?
|
|
6556
|
+
@Tables = []
|
|
6557
|
+
params['Tables'].each do |i|
|
|
6558
|
+
tableinfo_tmp = TableInfo.new
|
|
6559
|
+
tableinfo_tmp.deserialize(i)
|
|
6560
|
+
@Tables << tableinfo_tmp
|
|
5919
6561
|
end
|
|
5920
6562
|
end
|
|
5921
|
-
|
|
6563
|
+
unless params['Pager'].nil?
|
|
6564
|
+
@Pager = Pager.new
|
|
6565
|
+
@Pager.deserialize(params['Pager'])
|
|
6566
|
+
end
|
|
6567
|
+
@RequestId = params['RequestId']
|
|
5922
6568
|
end
|
|
5923
6569
|
end
|
|
5924
6570
|
|
|
@@ -5958,6 +6604,57 @@ module TencentCloud
|
|
|
5958
6604
|
end
|
|
5959
6605
|
end
|
|
5960
6606
|
|
|
6607
|
+
# 本类型用于UpdateTable接口中描述待创建索引信息
|
|
6608
|
+
class MgoIndexKeys < TencentCloud::Common::AbstractModel
|
|
6609
|
+
# @param Name: 无
|
|
6610
|
+
# @type Name: String
|
|
6611
|
+
# @param Direction: 无
|
|
6612
|
+
# @type Direction: String
|
|
6613
|
+
|
|
6614
|
+
attr_accessor :Name, :Direction
|
|
6615
|
+
|
|
6616
|
+
def initialize(name=nil, direction=nil)
|
|
6617
|
+
@Name = name
|
|
6618
|
+
@Direction = direction
|
|
6619
|
+
end
|
|
6620
|
+
|
|
6621
|
+
def deserialize(params)
|
|
6622
|
+
@Name = params['Name']
|
|
6623
|
+
@Direction = params['Direction']
|
|
6624
|
+
end
|
|
6625
|
+
end
|
|
6626
|
+
|
|
6627
|
+
# 本类型用于接口中描述待创建索引结构
|
|
6628
|
+
class MgoKeySchema < TencentCloud::Common::AbstractModel
|
|
6629
|
+
# @param MgoIndexKeys: 索引字段
|
|
6630
|
+
# @type MgoIndexKeys: Array
|
|
6631
|
+
# @param MgoIsUnique: 是否唯一索引
|
|
6632
|
+
# @type MgoIsUnique: Boolean
|
|
6633
|
+
# @param MgoIsSparse: 是否稀疏索引
|
|
6634
|
+
# @type MgoIsSparse: Boolean
|
|
6635
|
+
|
|
6636
|
+
attr_accessor :MgoIndexKeys, :MgoIsUnique, :MgoIsSparse
|
|
6637
|
+
|
|
6638
|
+
def initialize(mgoindexkeys=nil, mgoisunique=nil, mgoissparse=nil)
|
|
6639
|
+
@MgoIndexKeys = mgoindexkeys
|
|
6640
|
+
@MgoIsUnique = mgoisunique
|
|
6641
|
+
@MgoIsSparse = mgoissparse
|
|
6642
|
+
end
|
|
6643
|
+
|
|
6644
|
+
def deserialize(params)
|
|
6645
|
+
unless params['MgoIndexKeys'].nil?
|
|
6646
|
+
@MgoIndexKeys = []
|
|
6647
|
+
params['MgoIndexKeys'].each do |i|
|
|
6648
|
+
mgoindexkeys_tmp = MgoIndexKeys.new
|
|
6649
|
+
mgoindexkeys_tmp.deserialize(i)
|
|
6650
|
+
@MgoIndexKeys << mgoindexkeys_tmp
|
|
6651
|
+
end
|
|
6652
|
+
end
|
|
6653
|
+
@MgoIsUnique = params['MgoIsUnique']
|
|
6654
|
+
@MgoIsSparse = params['MgoIsSparse']
|
|
6655
|
+
end
|
|
6656
|
+
end
|
|
6657
|
+
|
|
5961
6658
|
# ModifyCloudBaseRunServerFlowConf请求参数结构体
|
|
5962
6659
|
class ModifyCloudBaseRunServerFlowConfRequest < TencentCloud::Common::AbstractModel
|
|
5963
6660
|
# @param EnvId: 环境ID
|
|
@@ -6260,6 +6957,122 @@ module TencentCloud
|
|
|
6260
6957
|
end
|
|
6261
6958
|
end
|
|
6262
6959
|
|
|
6960
|
+
# ModifyUser请求参数结构体
|
|
6961
|
+
class ModifyUserRequest < TencentCloud::Common::AbstractModel
|
|
6962
|
+
# @param EnvId: 环境id
|
|
6963
|
+
# @type EnvId: String
|
|
6964
|
+
# @param Uid: 用户Id, 不做修改
|
|
6965
|
+
# @type Uid: String
|
|
6966
|
+
# @param Name: 用户名,用户名规则:1. 长度1-64字符 2. 只能包含大小写英文字母、数字和符号 . _ - 3. 只能以字母或数字开头 4. 不能重复,不传该字段或传空字符不修改
|
|
6967
|
+
# @type Name: String
|
|
6968
|
+
# @param Type: 用户类型:0-内部用户、1-外部用户,默认0(内部用户),不传该字段或传空字符串不修改
|
|
6969
|
+
# @type Type: String
|
|
6970
|
+
# @param Password: 密码,传入Uid时密码可不传。密码规则:1. 长度8-32字符(推荐12位以上) 2. 不能以特殊字符开头 3. 至少包含以下四项中的三项:小写字母a-z、大写字母A-Z、数字0-9、特殊字符()!@#$%^&*\|?><_-,不传该字段或传空字符串不修改
|
|
6971
|
+
# @type Password: String
|
|
6972
|
+
# @param UserStatus: 用户状态:ACTIVE(激活)、BLOCKED(冻结),默认冻结,不传该字段或传空字符串不修改
|
|
6973
|
+
# @type UserStatus: String
|
|
6974
|
+
# @param NickName: 用户昵称,长度2-64字符,不传该字段不修改,传空字符修改为空
|
|
6975
|
+
# @type NickName: String
|
|
6976
|
+
# @param Phone: 手机号,11位数字,不传该字段不修改,传空字符串修改为空
|
|
6977
|
+
# @type Phone: String
|
|
6978
|
+
# @param Email: 邮箱地址,不传该字段不修改,传空字符修改为空
|
|
6979
|
+
# @type Email: String
|
|
6980
|
+
# @param AvatarUrl: 头像链接,可访问的公网URL,不传该字段不修改,传空字符串修改为空
|
|
6981
|
+
# @type AvatarUrl: String
|
|
6982
|
+
# @param Description: 用户描述,最多200字符,不传该字段不修改,传空字符修改为空
|
|
6983
|
+
# @type Description: String
|
|
6984
|
+
|
|
6985
|
+
attr_accessor :EnvId, :Uid, :Name, :Type, :Password, :UserStatus, :NickName, :Phone, :Email, :AvatarUrl, :Description
|
|
6986
|
+
|
|
6987
|
+
def initialize(envid=nil, uid=nil, name=nil, type=nil, password=nil, userstatus=nil, nickname=nil, phone=nil, email=nil, avatarurl=nil, description=nil)
|
|
6988
|
+
@EnvId = envid
|
|
6989
|
+
@Uid = uid
|
|
6990
|
+
@Name = name
|
|
6991
|
+
@Type = type
|
|
6992
|
+
@Password = password
|
|
6993
|
+
@UserStatus = userstatus
|
|
6994
|
+
@NickName = nickname
|
|
6995
|
+
@Phone = phone
|
|
6996
|
+
@Email = email
|
|
6997
|
+
@AvatarUrl = avatarurl
|
|
6998
|
+
@Description = description
|
|
6999
|
+
end
|
|
7000
|
+
|
|
7001
|
+
def deserialize(params)
|
|
7002
|
+
@EnvId = params['EnvId']
|
|
7003
|
+
@Uid = params['Uid']
|
|
7004
|
+
@Name = params['Name']
|
|
7005
|
+
@Type = params['Type']
|
|
7006
|
+
@Password = params['Password']
|
|
7007
|
+
@UserStatus = params['UserStatus']
|
|
7008
|
+
@NickName = params['NickName']
|
|
7009
|
+
@Phone = params['Phone']
|
|
7010
|
+
@Email = params['Email']
|
|
7011
|
+
@AvatarUrl = params['AvatarUrl']
|
|
7012
|
+
@Description = params['Description']
|
|
7013
|
+
end
|
|
7014
|
+
end
|
|
7015
|
+
|
|
7016
|
+
# 修改用户返回值
|
|
7017
|
+
class ModifyUserResp < TencentCloud::Common::AbstractModel
|
|
7018
|
+
# @param Success: 是否成功
|
|
7019
|
+
# @type Success: Boolean
|
|
7020
|
+
|
|
7021
|
+
attr_accessor :Success
|
|
7022
|
+
|
|
7023
|
+
def initialize(success=nil)
|
|
7024
|
+
@Success = success
|
|
7025
|
+
end
|
|
7026
|
+
|
|
7027
|
+
def deserialize(params)
|
|
7028
|
+
@Success = params['Success']
|
|
7029
|
+
end
|
|
7030
|
+
end
|
|
7031
|
+
|
|
7032
|
+
# ModifyUser返回参数结构体
|
|
7033
|
+
class ModifyUserResponse < TencentCloud::Common::AbstractModel
|
|
7034
|
+
# @param Data: 修改用户返回值
|
|
7035
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7036
|
+
# @type Data: :class:`Tencentcloud::Tcb.v20180608.models.ModifyUserResp`
|
|
7037
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7038
|
+
# @type RequestId: String
|
|
7039
|
+
|
|
7040
|
+
attr_accessor :Data, :RequestId
|
|
7041
|
+
|
|
7042
|
+
def initialize(data=nil, requestid=nil)
|
|
7043
|
+
@Data = data
|
|
7044
|
+
@RequestId = requestid
|
|
7045
|
+
end
|
|
7046
|
+
|
|
7047
|
+
def deserialize(params)
|
|
7048
|
+
unless params['Data'].nil?
|
|
7049
|
+
@Data = ModifyUserResp.new
|
|
7050
|
+
@Data.deserialize(params['Data'])
|
|
7051
|
+
end
|
|
7052
|
+
@RequestId = params['RequestId']
|
|
7053
|
+
end
|
|
7054
|
+
end
|
|
7055
|
+
|
|
7056
|
+
# MongoDB连接器配置
|
|
7057
|
+
class MongoConnector < TencentCloud::Common::AbstractModel
|
|
7058
|
+
# @param InstanceId: 连接器实例ID
|
|
7059
|
+
# @type InstanceId: String
|
|
7060
|
+
# @param DatabaseName: MongoDB数据库名
|
|
7061
|
+
# @type DatabaseName: String
|
|
7062
|
+
|
|
7063
|
+
attr_accessor :InstanceId, :DatabaseName
|
|
7064
|
+
|
|
7065
|
+
def initialize(instanceid=nil, databasename=nil)
|
|
7066
|
+
@InstanceId = instanceid
|
|
7067
|
+
@DatabaseName = databasename
|
|
7068
|
+
end
|
|
7069
|
+
|
|
7070
|
+
def deserialize(params)
|
|
7071
|
+
@InstanceId = params['InstanceId']
|
|
7072
|
+
@DatabaseName = params['DatabaseName']
|
|
7073
|
+
end
|
|
7074
|
+
end
|
|
7075
|
+
|
|
6263
7076
|
# Key-Value类型,模拟的 object 类型
|
|
6264
7077
|
class ObjectKV < TencentCloud::Common::AbstractModel
|
|
6265
7078
|
# @param Key: object 的 key
|
|
@@ -6395,6 +7208,61 @@ module TencentCloud
|
|
|
6395
7208
|
end
|
|
6396
7209
|
end
|
|
6397
7210
|
|
|
7211
|
+
# 分页信息
|
|
7212
|
+
class Pager < TencentCloud::Common::AbstractModel
|
|
7213
|
+
# @param Offset: 分页偏移量
|
|
7214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7215
|
+
# @type Offset: Integer
|
|
7216
|
+
# @param Limit: 每页返回记录数
|
|
7217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7218
|
+
# @type Limit: Integer
|
|
7219
|
+
# @param Total: 文档集合总数
|
|
7220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7221
|
+
# @type Total: Integer
|
|
7222
|
+
|
|
7223
|
+
attr_accessor :Offset, :Limit, :Total
|
|
7224
|
+
|
|
7225
|
+
def initialize(offset=nil, limit=nil, total=nil)
|
|
7226
|
+
@Offset = offset
|
|
7227
|
+
@Limit = limit
|
|
7228
|
+
@Total = total
|
|
7229
|
+
end
|
|
7230
|
+
|
|
7231
|
+
def deserialize(params)
|
|
7232
|
+
@Offset = params['Offset']
|
|
7233
|
+
@Limit = params['Limit']
|
|
7234
|
+
@Total = params['Total']
|
|
7235
|
+
end
|
|
7236
|
+
end
|
|
7237
|
+
|
|
7238
|
+
# FlexDB数据库权限信息
|
|
7239
|
+
class PermissionInfo < TencentCloud::Common::AbstractModel
|
|
7240
|
+
# @param AclTag: "READONLY", //公有读,私有写。所有用户可读,仅创建者及管理员可写
|
|
7241
|
+
# "PRIVATE", //私有读写,仅创建者及管理员可读写
|
|
7242
|
+
# "ADMINWRITE", //所有用户可读,仅管理员可写
|
|
7243
|
+
# "ADMINONLY", //仅管理员可操作
|
|
7244
|
+
# "CUSTOM", // 安全规则
|
|
7245
|
+
# @type AclTag: String
|
|
7246
|
+
# @param EnvId: 云开发环境ID
|
|
7247
|
+
# @type EnvId: String
|
|
7248
|
+
# @param Rule: 自定义规则
|
|
7249
|
+
# @type Rule: String
|
|
7250
|
+
|
|
7251
|
+
attr_accessor :AclTag, :EnvId, :Rule
|
|
7252
|
+
|
|
7253
|
+
def initialize(acltag=nil, envid=nil, rule=nil)
|
|
7254
|
+
@AclTag = acltag
|
|
7255
|
+
@EnvId = envid
|
|
7256
|
+
@Rule = rule
|
|
7257
|
+
end
|
|
7258
|
+
|
|
7259
|
+
def deserialize(params)
|
|
7260
|
+
@AclTag = params['AclTag']
|
|
7261
|
+
@EnvId = params['EnvId']
|
|
7262
|
+
@Rule = params['Rule']
|
|
7263
|
+
end
|
|
7264
|
+
end
|
|
7265
|
+
|
|
6398
7266
|
# 后付费计费详情
|
|
6399
7267
|
class PostPaidEnvDeductInfo < TencentCloud::Common::AbstractModel
|
|
6400
7268
|
# @param ResourceType: 资源方
|
|
@@ -6545,69 +7413,61 @@ module TencentCloud
|
|
|
6545
7413
|
end
|
|
6546
7414
|
end
|
|
6547
7415
|
|
|
6548
|
-
#
|
|
6549
|
-
class
|
|
6550
|
-
# @param
|
|
7416
|
+
# RunSql请求参数结构体
|
|
7417
|
+
class RunSqlRequest < TencentCloud::Common::AbstractModel
|
|
7418
|
+
# @param Sql: 要执行的SQL语句
|
|
7419
|
+
# @type Sql: String
|
|
7420
|
+
# @param EnvId: 云开发环境ID
|
|
6551
7421
|
# @type EnvId: String
|
|
6552
|
-
# @param
|
|
6553
|
-
# @type
|
|
6554
|
-
# @param
|
|
6555
|
-
# @type
|
|
6556
|
-
# @param QueryString: 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
|
|
6557
|
-
# @type QueryString: String
|
|
6558
|
-
# @param Limit: 单次要返回的日志条数,单次返回的最大条数为100
|
|
6559
|
-
# @type Limit: Integer
|
|
6560
|
-
# @param Context: 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
|
|
6561
|
-
# @type Context: String
|
|
6562
|
-
# @param Sort: 按时间排序 asc(升序)或者 desc(降序),默认为 desc
|
|
6563
|
-
# @type Sort: String
|
|
6564
|
-
# @param UseLucene: 是否使用Lucene语法,默认为false
|
|
6565
|
-
# @type UseLucene: Boolean
|
|
7422
|
+
# @param DbInstance: 数据库连接器实例信息
|
|
7423
|
+
# @type DbInstance: :class:`Tencentcloud::Tcb.v20180608.models.DbInstance`
|
|
7424
|
+
# @param ReadOnly: 是否只读;当 `true` 时仅允许以 `SELECT/WITH/SHOW/DESCRIBE/DESC/EXPLAIN` 开头的 SQL
|
|
7425
|
+
# @type ReadOnly: Boolean
|
|
6566
7426
|
|
|
6567
|
-
attr_accessor :
|
|
7427
|
+
attr_accessor :Sql, :EnvId, :DbInstance, :ReadOnly
|
|
6568
7428
|
|
|
6569
|
-
def initialize(
|
|
7429
|
+
def initialize(sql=nil, envid=nil, dbinstance=nil, readonly=nil)
|
|
7430
|
+
@Sql = sql
|
|
6570
7431
|
@EnvId = envid
|
|
6571
|
-
@
|
|
6572
|
-
@
|
|
6573
|
-
@QueryString = querystring
|
|
6574
|
-
@Limit = limit
|
|
6575
|
-
@Context = context
|
|
6576
|
-
@Sort = sort
|
|
6577
|
-
@UseLucene = uselucene
|
|
7432
|
+
@DbInstance = dbinstance
|
|
7433
|
+
@ReadOnly = readonly
|
|
6578
7434
|
end
|
|
6579
7435
|
|
|
6580
7436
|
def deserialize(params)
|
|
7437
|
+
@Sql = params['Sql']
|
|
6581
7438
|
@EnvId = params['EnvId']
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
@
|
|
6587
|
-
@Sort = params['Sort']
|
|
6588
|
-
@UseLucene = params['UseLucene']
|
|
7439
|
+
unless params['DbInstance'].nil?
|
|
7440
|
+
@DbInstance = DbInstance.new
|
|
7441
|
+
@DbInstance.deserialize(params['DbInstance'])
|
|
7442
|
+
end
|
|
7443
|
+
@ReadOnly = params['ReadOnly']
|
|
6589
7444
|
end
|
|
6590
7445
|
end
|
|
6591
7446
|
|
|
6592
|
-
#
|
|
6593
|
-
class
|
|
6594
|
-
# @param
|
|
6595
|
-
# @type
|
|
7447
|
+
# RunSql返回参数结构体
|
|
7448
|
+
class RunSqlResponse < TencentCloud::Common::AbstractModel
|
|
7449
|
+
# @param Items: 查询结果行,每个元素为 JSON 字符串
|
|
7450
|
+
# @type Items: Array
|
|
7451
|
+
# @param Infos: 列元数据信息,每个元素为 JSON 字符串,字段包含 `name/databaseType/nullable/length/precision/scale`
|
|
7452
|
+
# @type Infos: Array
|
|
7453
|
+
# @param RowsAffected: 受影响的行数(INSERT/UPDATE/DELETE 等语句)
|
|
7454
|
+
# @type RowsAffected: Integer
|
|
6596
7455
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6597
7456
|
# @type RequestId: String
|
|
6598
7457
|
|
|
6599
|
-
attr_accessor :
|
|
7458
|
+
attr_accessor :Items, :Infos, :RowsAffected, :RequestId
|
|
6600
7459
|
|
|
6601
|
-
def initialize(
|
|
6602
|
-
@
|
|
7460
|
+
def initialize(items=nil, infos=nil, rowsaffected=nil, requestid=nil)
|
|
7461
|
+
@Items = items
|
|
7462
|
+
@Infos = infos
|
|
7463
|
+
@RowsAffected = rowsaffected
|
|
6603
7464
|
@RequestId = requestid
|
|
6604
7465
|
end
|
|
6605
7466
|
|
|
6606
7467
|
def deserialize(params)
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
end
|
|
7468
|
+
@Items = params['Items']
|
|
7469
|
+
@Infos = params['Infos']
|
|
7470
|
+
@RowsAffected = params['RowsAffected']
|
|
6611
7471
|
@RequestId = params['RequestId']
|
|
6612
7472
|
end
|
|
6613
7473
|
end
|
|
@@ -6733,6 +7593,43 @@ module TencentCloud
|
|
|
6733
7593
|
end
|
|
6734
7594
|
end
|
|
6735
7595
|
|
|
7596
|
+
# 表信息
|
|
7597
|
+
class TableInfo < TencentCloud::Common::AbstractModel
|
|
7598
|
+
# @param TableName: 表名
|
|
7599
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7600
|
+
# @type TableName: String
|
|
7601
|
+
# @param Count: 表中文档数量
|
|
7602
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7603
|
+
# @type Count: Integer
|
|
7604
|
+
# @param Size: 表的大小(即表中文档总大小),单位:字节
|
|
7605
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7606
|
+
# @type Size: Integer
|
|
7607
|
+
# @param IndexCount: 索引数量
|
|
7608
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7609
|
+
# @type IndexCount: Integer
|
|
7610
|
+
# @param IndexSize: 索引占用空间,单位:字节
|
|
7611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
7612
|
+
# @type IndexSize: Integer
|
|
7613
|
+
|
|
7614
|
+
attr_accessor :TableName, :Count, :Size, :IndexCount, :IndexSize
|
|
7615
|
+
|
|
7616
|
+
def initialize(tablename=nil, count=nil, size=nil, indexcount=nil, indexsize=nil)
|
|
7617
|
+
@TableName = tablename
|
|
7618
|
+
@Count = count
|
|
7619
|
+
@Size = size
|
|
7620
|
+
@IndexCount = indexcount
|
|
7621
|
+
@IndexSize = indexsize
|
|
7622
|
+
end
|
|
7623
|
+
|
|
7624
|
+
def deserialize(params)
|
|
7625
|
+
@TableName = params['TableName']
|
|
7626
|
+
@Count = params['Count']
|
|
7627
|
+
@Size = params['Size']
|
|
7628
|
+
@IndexCount = params['IndexCount']
|
|
7629
|
+
@IndexSize = params['IndexSize']
|
|
7630
|
+
end
|
|
7631
|
+
end
|
|
7632
|
+
|
|
6736
7633
|
# 标签键值对
|
|
6737
7634
|
class Tag < TencentCloud::Common::AbstractModel
|
|
6738
7635
|
# @param Key: 标签键
|
|
@@ -6826,6 +7723,123 @@ module TencentCloud
|
|
|
6826
7723
|
end
|
|
6827
7724
|
end
|
|
6828
7725
|
|
|
7726
|
+
# UpdateTable请求参数结构体
|
|
7727
|
+
class UpdateTableRequest < TencentCloud::Common::AbstractModel
|
|
7728
|
+
# @param TableName: 表名
|
|
7729
|
+
# @type TableName: String
|
|
7730
|
+
# @param Tag: FlexDB实例ID
|
|
7731
|
+
# @type Tag: String
|
|
7732
|
+
# @param DropIndexes: 待删除索引信息
|
|
7733
|
+
# @type DropIndexes: Array
|
|
7734
|
+
# @param CreateIndexes: 待创建索引信息
|
|
7735
|
+
# @type CreateIndexes: Array
|
|
7736
|
+
# @param EnvId: 云开发环境ID
|
|
7737
|
+
# @type EnvId: String
|
|
7738
|
+
# @param MongoConnector: MongoDB连接器配置
|
|
7739
|
+
# @type MongoConnector: :class:`Tencentcloud::Tcb.v20180608.models.MongoConnector`
|
|
7740
|
+
|
|
7741
|
+
attr_accessor :TableName, :Tag, :DropIndexes, :CreateIndexes, :EnvId, :MongoConnector
|
|
7742
|
+
|
|
7743
|
+
def initialize(tablename=nil, tag=nil, dropindexes=nil, createindexes=nil, envid=nil, mongoconnector=nil)
|
|
7744
|
+
@TableName = tablename
|
|
7745
|
+
@Tag = tag
|
|
7746
|
+
@DropIndexes = dropindexes
|
|
7747
|
+
@CreateIndexes = createindexes
|
|
7748
|
+
@EnvId = envid
|
|
7749
|
+
@MongoConnector = mongoconnector
|
|
7750
|
+
end
|
|
7751
|
+
|
|
7752
|
+
def deserialize(params)
|
|
7753
|
+
@TableName = params['TableName']
|
|
7754
|
+
@Tag = params['Tag']
|
|
7755
|
+
unless params['DropIndexes'].nil?
|
|
7756
|
+
@DropIndexes = []
|
|
7757
|
+
params['DropIndexes'].each do |i|
|
|
7758
|
+
dropindex_tmp = DropIndex.new
|
|
7759
|
+
dropindex_tmp.deserialize(i)
|
|
7760
|
+
@DropIndexes << dropindex_tmp
|
|
7761
|
+
end
|
|
7762
|
+
end
|
|
7763
|
+
unless params['CreateIndexes'].nil?
|
|
7764
|
+
@CreateIndexes = []
|
|
7765
|
+
params['CreateIndexes'].each do |i|
|
|
7766
|
+
createindex_tmp = CreateIndex.new
|
|
7767
|
+
createindex_tmp.deserialize(i)
|
|
7768
|
+
@CreateIndexes << createindex_tmp
|
|
7769
|
+
end
|
|
7770
|
+
end
|
|
7771
|
+
@EnvId = params['EnvId']
|
|
7772
|
+
unless params['MongoConnector'].nil?
|
|
7773
|
+
@MongoConnector = MongoConnector.new
|
|
7774
|
+
@MongoConnector.deserialize(params['MongoConnector'])
|
|
7775
|
+
end
|
|
7776
|
+
end
|
|
7777
|
+
end
|
|
7778
|
+
|
|
7779
|
+
# UpdateTable返回参数结构体
|
|
7780
|
+
class UpdateTableResponse < TencentCloud::Common::AbstractModel
|
|
7781
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7782
|
+
# @type RequestId: String
|
|
7783
|
+
|
|
7784
|
+
attr_accessor :RequestId
|
|
7785
|
+
|
|
7786
|
+
def initialize(requestid=nil)
|
|
7787
|
+
@RequestId = requestid
|
|
7788
|
+
end
|
|
7789
|
+
|
|
7790
|
+
def deserialize(params)
|
|
7791
|
+
@RequestId = params['RequestId']
|
|
7792
|
+
end
|
|
7793
|
+
end
|
|
7794
|
+
|
|
7795
|
+
# 用户信息
|
|
7796
|
+
class User < TencentCloud::Common::AbstractModel
|
|
7797
|
+
# @param Uid: 用户ID
|
|
7798
|
+
# @type Uid: String
|
|
7799
|
+
# @param Name: 用户名
|
|
7800
|
+
# @type Name: String
|
|
7801
|
+
# @param Type: 用户类型:internalUser-内部用户、externalUser-外部用户
|
|
7802
|
+
# @type Type: String
|
|
7803
|
+
# @param UserStatus: 用户状态:ACTIVE(激活)、BLOCKED(冻结)
|
|
7804
|
+
# @type UserStatus: String
|
|
7805
|
+
# @param NickName: 用户昵称
|
|
7806
|
+
# @type NickName: String
|
|
7807
|
+
# @param Phone: 手机号
|
|
7808
|
+
# @type Phone: String
|
|
7809
|
+
# @param Email: 邮箱
|
|
7810
|
+
# @type Email: String
|
|
7811
|
+
# @param AvatarUrl: 头像链接
|
|
7812
|
+
# @type AvatarUrl: String
|
|
7813
|
+
# @param Description: 用户描述
|
|
7814
|
+
# @type Description: String
|
|
7815
|
+
|
|
7816
|
+
attr_accessor :Uid, :Name, :Type, :UserStatus, :NickName, :Phone, :Email, :AvatarUrl, :Description
|
|
7817
|
+
|
|
7818
|
+
def initialize(uid=nil, name=nil, type=nil, userstatus=nil, nickname=nil, phone=nil, email=nil, avatarurl=nil, description=nil)
|
|
7819
|
+
@Uid = uid
|
|
7820
|
+
@Name = name
|
|
7821
|
+
@Type = type
|
|
7822
|
+
@UserStatus = userstatus
|
|
7823
|
+
@NickName = nickname
|
|
7824
|
+
@Phone = phone
|
|
7825
|
+
@Email = email
|
|
7826
|
+
@AvatarUrl = avatarurl
|
|
7827
|
+
@Description = description
|
|
7828
|
+
end
|
|
7829
|
+
|
|
7830
|
+
def deserialize(params)
|
|
7831
|
+
@Uid = params['Uid']
|
|
7832
|
+
@Name = params['Name']
|
|
7833
|
+
@Type = params['Type']
|
|
7834
|
+
@UserStatus = params['UserStatus']
|
|
7835
|
+
@NickName = params['NickName']
|
|
7836
|
+
@Phone = params['Phone']
|
|
7837
|
+
@Email = params['Email']
|
|
7838
|
+
@AvatarUrl = params['AvatarUrl']
|
|
7839
|
+
@Description = params['Description']
|
|
7840
|
+
end
|
|
7841
|
+
end
|
|
7842
|
+
|
|
6829
7843
|
# 安全网关自定义配置
|
|
6830
7844
|
class WxGatewayCustomConfig < TencentCloud::Common::AbstractModel
|
|
6831
7845
|
# @param IsOpenXRealIp: 是否开启x-real-ip
|