tencentcloud-sdk-lke 3.0.1144 → 3.0.1146
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/v20231130/client.rb +0 -48
- data/lib/v20231130/models.rb +0 -86
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52233cd8c26d9a91f3dca4d1fb09e21d29d344ff
|
4
|
+
data.tar.gz: 15979621571deb3e29a005baa44a976683ad39ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc78ad057fa807646af8837fb0d5f5fe9d02bfdbea10d43019a1d1496ddb1b4e38a6af84c0eaa7fb19c6211ad6a02fe6dbb0dbf832029711c896b530fd02c6f2
|
7
|
+
data.tar.gz: 77eebafc88316f5082ec860f926c9cad5584471c7c2686d490e2fba2579b348270877bb88eb30018d06dff951847bfbd0708b26a87fe8476df8b6c7d900dd1e7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1146
|
data/lib/v20231130/client.rb
CHANGED
@@ -77,30 +77,6 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
-
# 创建一个Agent
|
81
|
-
|
82
|
-
# @param request: Request instance for CreateAgent.
|
83
|
-
# @type request: :class:`Tencentcloud::lke::V20231130::CreateAgentRequest`
|
84
|
-
# @rtype: :class:`Tencentcloud::lke::V20231130::CreateAgentResponse`
|
85
|
-
def CreateAgent(request)
|
86
|
-
body = send_request('CreateAgent', request.serialize)
|
87
|
-
response = JSON.parse(body)
|
88
|
-
if response['Response'].key?('Error') == false
|
89
|
-
model = CreateAgentResponse.new
|
90
|
-
model.deserialize(response['Response'])
|
91
|
-
model
|
92
|
-
else
|
93
|
-
code = response['Response']['Error']['Code']
|
94
|
-
message = response['Response']['Error']['Message']
|
95
|
-
reqid = response['Response']['RequestId']
|
96
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
-
end
|
98
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
-
raise e
|
100
|
-
rescue StandardError => e
|
101
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
-
end
|
103
|
-
|
104
80
|
# 创建知识引擎应用。
|
105
81
|
|
106
82
|
# @param request: Request instance for CreateApp.
|
@@ -2047,30 +2023,6 @@ module TencentCloud
|
|
2047
2023
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2048
2024
|
end
|
2049
2025
|
|
2050
|
-
# 修改Agent信息
|
2051
|
-
|
2052
|
-
# @param request: Request instance for ModifyAgent.
|
2053
|
-
# @type request: :class:`Tencentcloud::lke::V20231130::ModifyAgentRequest`
|
2054
|
-
# @rtype: :class:`Tencentcloud::lke::V20231130::ModifyAgentResponse`
|
2055
|
-
def ModifyAgent(request)
|
2056
|
-
body = send_request('ModifyAgent', request.serialize)
|
2057
|
-
response = JSON.parse(body)
|
2058
|
-
if response['Response'].key?('Error') == false
|
2059
|
-
model = ModifyAgentResponse.new
|
2060
|
-
model.deserialize(response['Response'])
|
2061
|
-
model
|
2062
|
-
else
|
2063
|
-
code = response['Response']['Error']['Code']
|
2064
|
-
message = response['Response']['Error']['Message']
|
2065
|
-
reqid = response['Response']['RequestId']
|
2066
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2067
|
-
end
|
2068
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2069
|
-
raise e
|
2070
|
-
rescue StandardError => e
|
2071
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2072
|
-
end
|
2073
|
-
|
2074
2026
|
# 修改应用请求结构体
|
2075
2027
|
|
2076
2028
|
# @param request: Request instance for ModifyApp.
|
data/lib/v20231130/models.rb
CHANGED
@@ -2160,49 +2160,6 @@ module TencentCloud
|
|
2160
2160
|
end
|
2161
2161
|
end
|
2162
2162
|
|
2163
|
-
# CreateAgent请求参数结构体
|
2164
|
-
class CreateAgentRequest < TencentCloud::Common::AbstractModel
|
2165
|
-
# @param AppBizId: 应用ID
|
2166
|
-
# @type AppBizId: String
|
2167
|
-
# @param Agent: 要增加的Agent的信息
|
2168
|
-
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.Agent`
|
2169
|
-
|
2170
|
-
attr_accessor :AppBizId, :Agent
|
2171
|
-
|
2172
|
-
def initialize(appbizid=nil, agent=nil)
|
2173
|
-
@AppBizId = appbizid
|
2174
|
-
@Agent = agent
|
2175
|
-
end
|
2176
|
-
|
2177
|
-
def deserialize(params)
|
2178
|
-
@AppBizId = params['AppBizId']
|
2179
|
-
unless params['Agent'].nil?
|
2180
|
-
@Agent = Agent.new
|
2181
|
-
@Agent.deserialize(params['Agent'])
|
2182
|
-
end
|
2183
|
-
end
|
2184
|
-
end
|
2185
|
-
|
2186
|
-
# CreateAgent返回参数结构体
|
2187
|
-
class CreateAgentResponse < TencentCloud::Common::AbstractModel
|
2188
|
-
# @param AgentId: 新建的AgentID
|
2189
|
-
# @type AgentId: String
|
2190
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2191
|
-
# @type RequestId: String
|
2192
|
-
|
2193
|
-
attr_accessor :AgentId, :RequestId
|
2194
|
-
|
2195
|
-
def initialize(agentid=nil, requestid=nil)
|
2196
|
-
@AgentId = agentid
|
2197
|
-
@RequestId = requestid
|
2198
|
-
end
|
2199
|
-
|
2200
|
-
def deserialize(params)
|
2201
|
-
@AgentId = params['AgentId']
|
2202
|
-
@RequestId = params['RequestId']
|
2203
|
-
end
|
2204
|
-
end
|
2205
|
-
|
2206
2163
|
# CreateApp请求参数结构体
|
2207
2164
|
class CreateAppRequest < TencentCloud::Common::AbstractModel
|
2208
2165
|
# @param AppType: 应用类型;knowledge_qa-知识问答管理
|
@@ -9112,49 +9069,6 @@ module TencentCloud
|
|
9112
9069
|
end
|
9113
9070
|
end
|
9114
9071
|
|
9115
|
-
# ModifyAgent请求参数结构体
|
9116
|
-
class ModifyAgentRequest < TencentCloud::Common::AbstractModel
|
9117
|
-
# @param AppBizId: 需要修改的应用ID
|
9118
|
-
# @type AppBizId: String
|
9119
|
-
# @param Agent: 修改后的Agent的信息
|
9120
|
-
# @type Agent: :class:`Tencentcloud::Lke.v20231130.models.Agent`
|
9121
|
-
|
9122
|
-
attr_accessor :AppBizId, :Agent
|
9123
|
-
|
9124
|
-
def initialize(appbizid=nil, agent=nil)
|
9125
|
-
@AppBizId = appbizid
|
9126
|
-
@Agent = agent
|
9127
|
-
end
|
9128
|
-
|
9129
|
-
def deserialize(params)
|
9130
|
-
@AppBizId = params['AppBizId']
|
9131
|
-
unless params['Agent'].nil?
|
9132
|
-
@Agent = Agent.new
|
9133
|
-
@Agent.deserialize(params['Agent'])
|
9134
|
-
end
|
9135
|
-
end
|
9136
|
-
end
|
9137
|
-
|
9138
|
-
# ModifyAgent返回参数结构体
|
9139
|
-
class ModifyAgentResponse < TencentCloud::Common::AbstractModel
|
9140
|
-
# @param AgentId: 修改的AgentId
|
9141
|
-
# @type AgentId: String
|
9142
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9143
|
-
# @type RequestId: String
|
9144
|
-
|
9145
|
-
attr_accessor :AgentId, :RequestId
|
9146
|
-
|
9147
|
-
def initialize(agentid=nil, requestid=nil)
|
9148
|
-
@AgentId = agentid
|
9149
|
-
@RequestId = requestid
|
9150
|
-
end
|
9151
|
-
|
9152
|
-
def deserialize(params)
|
9153
|
-
@AgentId = params['AgentId']
|
9154
|
-
@RequestId = params['RequestId']
|
9155
|
-
end
|
9156
|
-
end
|
9157
|
-
|
9158
9072
|
# ModifyApp请求参数结构体
|
9159
9073
|
class ModifyAppRequest < TencentCloud::Common::AbstractModel
|
9160
9074
|
# @param AppBizId: 应用 ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1146
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|