Class: TencentCloud::Apigateway::V20180808::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Apigateway::V20180808::Client
- Defined in:
- lib/v20180808/client.rb
Instance Method Summary collapse
-
#AttachPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::AttachPluginResponse`.
-
#BindApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindApiAppResponse`.
-
#BindEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindEnvironmentResponse`.
-
#BindIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindIPStrategyResponse`.
-
#BindSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindSecretIdsResponse`.
-
#BindSubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindSubDomainResponse`.
-
#BuildAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BuildAPIDocResponse`.
-
#CreateApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiResponse`.
-
#CreateApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiAppResponse`.
-
#CreateAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateAPIDocResponse`.
-
#CreateApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiKeyResponse`.
-
#CreateExclusiveInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateExclusiveInstancesResponse`.
-
#CreateIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateIPStrategyResponse`.
-
#CreatePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreatePluginResponse`.
-
#CreateService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateServiceResponse`.
-
#CreateUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateUpstreamResponse`.
-
#CreateUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateUsagePlanResponse`.
-
#DeleteApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiResponse`.
-
#DeleteApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiAppResponse`.
-
#DeleteAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteAPIDocResponse`.
-
#DeleteApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiKeyResponse`.
-
#DeleteIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteIPStrategyResponse`.
-
#DeletePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeletePluginResponse`.
-
#DeleteService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteServiceResponse`.
-
#DeleteServiceSubDomainMapping(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteServiceSubDomainMappingResponse`.
-
#DeleteUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteUpstreamResponse`.
-
#DeleteUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteUsagePlanResponse`.
-
#DemoteServiceUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DemoteServiceUsagePlanResponse`.
-
#DescribeAllPluginApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAllPluginApisResponse`.
-
#DescribeApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiResponse`.
-
#DescribeApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppResponse`.
-
#DescribeApiAppBindApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppBindApisStatusResponse`.
-
#DescribeApiAppsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppsStatusResponse`.
-
#DescribeApiBindApiAppsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiBindApiAppsStatusResponse`.
-
#DescribeAPIDocDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAPIDocDetailResponse`.
-
#DescribeAPIDocs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAPIDocsResponse`.
-
#DescribeApiEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiEnvironmentStrategyResponse`.
-
#DescribeApiForApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiForApiAppResponse`.
-
#DescribeApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiKeyResponse`.
-
#DescribeApiKeysStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiKeysStatusResponse`.
-
#DescribeApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApisStatusResponse`.
-
#DescribeApiUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiUsagePlanResponse`.
-
#DescribeExclusiveInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceDetailResponse`.
-
#DescribeExclusiveInstanceRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceRegionsResponse`.
-
#DescribeExclusiveInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesResponse`.
-
#DescribeExclusiveInstancesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesStatusResponse`.
-
#DescribeInstancesNetworkConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeInstancesNetworkConfigResponse`.
-
#DescribeIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategyResponse`.
-
#DescribeIPStrategyApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategyApisStatusResponse`.
-
#DescribeIPStrategysStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategysStatusResponse`.
-
#DescribeLogSearch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeLogSearchResponse`.
-
#DescribePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginResponse`.
-
#DescribePluginApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginApisResponse`.
-
#DescribePlugins(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginsResponse`.
-
#DescribePluginsByApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginsByApiResponse`.
-
#DescribeService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceResponse`.
-
#DescribeServiceEnvironmentList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentListResponse`.
-
#DescribeServiceEnvironmentReleaseHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentReleaseHistoryResponse`.
-
#DescribeServiceEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentStrategyResponse`.
-
#DescribeServiceForApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceForApiAppResponse`.
-
#DescribeServiceReleaseVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceReleaseVersionResponse`.
-
#DescribeServicesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServicesStatusResponse`.
-
#DescribeServiceSubDomainMappings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceSubDomainMappingsResponse`.
-
#DescribeServiceSubDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceSubDomainsResponse`.
-
#DescribeServiceUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceUsagePlanResponse`.
-
#DescribeUpstreamBindApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUpstreamBindApisResponse`.
-
#DescribeUpstreams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUpstreamsResponse`.
-
#DescribeUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanResponse`.
-
#DescribeUsagePlanEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanEnvironmentsResponse`.
-
#DescribeUsagePlanSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanSecretIdsResponse`.
-
#DescribeUsagePlansStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlansStatusResponse`.
-
#DetachPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DetachPluginResponse`.
-
#DisableApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DisableApiKeyResponse`.
-
#EnableApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::EnableApiKeyResponse`.
-
#ImportOpenApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ImportOpenApiResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiResponse`.
-
#ModifyApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiAppResponse`.
-
#ModifyAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyAPIDocResponse`.
-
#ModifyApiEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiEnvironmentStrategyResponse`.
-
#ModifyApiIncrement(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiIncrementResponse`.
-
#ModifyExclusiveInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyExclusiveInstanceResponse`.
-
#ModifyIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyIPStrategyResponse`.
-
#ModifyPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyPluginResponse`.
-
#ModifyService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyServiceResponse`.
-
#ModifyServiceEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyServiceEnvironmentStrategyResponse`.
-
#ModifySubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifySubDomainResponse`.
-
#ModifyUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyUpstreamResponse`.
-
#ModifyUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyUsagePlanResponse`.
-
#ReleaseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ReleaseServiceResponse`.
-
#ResetAPIDocPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ResetAPIDocPasswordResponse`.
-
#UnbindApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnbindApiAppResponse`.
-
#UnBindEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindEnvironmentResponse`.
-
#UnBindIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindIPStrategyResponse`.
-
#UnBindSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindSecretIdsResponse`.
-
#UnBindSubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindSubDomainResponse`.
-
#UnReleaseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnReleaseServiceResponse`.
-
#UpdateApiAppKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateApiAppKeyResponse`.
-
#UpdateApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateApiKeyResponse`.
-
#UpdateService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateServiceResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20180808/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2018-08-08' api_endpoint = 'apigateway.tencentcloudapi.com' sdk_version = 'APIGATEWAY_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AttachPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::AttachPluginResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20180808/client.rb', line 37 def AttachPlugin(request) body = send_request('AttachPlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AttachPluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindApiAppResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20180808/client.rb', line 61 def BindApiApp(request) body = send_request('BindApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindEnvironmentResponse`
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/v20180808/client.rb', line 87 def BindEnvironment(request) body = send_request('BindEnvironment', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindEnvironmentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindIPStrategyResponse`
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
# File 'lib/v20180808/client.rb', line 111 def BindIPStrategy(request) body = send_request('BindIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindSecretIdsResponse`
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/v20180808/client.rb', line 136 def BindSecretIds(request) body = send_request('BindSecretIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindSecretIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BindSubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BindSubDomainResponse`
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/v20180808/client.rb', line 161 def BindSubDomain(request) body = send_request('BindSubDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BindSubDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BuildAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::BuildAPIDocResponse`
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/v20180808/client.rb', line 185 def BuildAPIDoc(request) body = send_request('BuildAPIDoc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BuildAPIDocResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiResponse`
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 |
# File 'lib/v20180808/client.rb', line 233 def CreateApi(request) body = send_request('CreateApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiAppResponse`
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/v20180808/client.rb', line 257 def CreateApiApp(request) body = send_request('CreateApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateAPIDocResponse`
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/v20180808/client.rb', line 209 def CreateAPIDoc(request) body = send_request('CreateAPIDoc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAPIDocResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateApiKeyResponse`
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/v20180808/client.rb', line 281 def CreateApiKey(request) body = send_request('CreateApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateExclusiveInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateExclusiveInstancesResponse`
305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/v20180808/client.rb', line 305 def CreateExclusiveInstances(request) body = send_request('CreateExclusiveInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateExclusiveInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateIPStrategyResponse`
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
# File 'lib/v20180808/client.rb', line 329 def CreateIPStrategy(request) body = send_request('CreateIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreatePluginResponse`
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 |
# File 'lib/v20180808/client.rb', line 353 def CreatePlugin(request) body = send_request('CreatePlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateServiceResponse`
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 |
# File 'lib/v20180808/client.rb', line 378 def CreateService(request) body = send_request('CreateService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateUpstreamResponse`
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 |
# File 'lib/v20180808/client.rb', line 402 def CreateUpstream(request) body = send_request('CreateUpstream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUpstreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::CreateUsagePlanResponse`
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 |
# File 'lib/v20180808/client.rb', line 427 def CreateUsagePlan(request) body = send_request('CreateUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiResponse`
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 |
# File 'lib/v20180808/client.rb', line 475 def DeleteApi(request) body = send_request('DeleteApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiAppResponse`
499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/v20180808/client.rb', line 499 def DeleteApiApp(request) body = send_request('DeleteApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteAPIDocResponse`
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'lib/v20180808/client.rb', line 451 def DeleteAPIDoc(request) body = send_request('DeleteAPIDoc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAPIDocResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteApiKeyResponse`
523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 |
# File 'lib/v20180808/client.rb', line 523 def DeleteApiKey(request) body = send_request('DeleteApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteIPStrategyResponse`
547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 |
# File 'lib/v20180808/client.rb', line 547 def DeleteIPStrategy(request) body = send_request('DeleteIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeletePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeletePluginResponse`
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 |
# File 'lib/v20180808/client.rb', line 571 def DeletePlugin(request) body = send_request('DeletePlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeletePluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteServiceResponse`
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 |
# File 'lib/v20180808/client.rb', line 595 def DeleteService(request) body = send_request('DeleteService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteServiceSubDomainMapping(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteServiceSubDomainMappingResponse`
620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 |
# File 'lib/v20180808/client.rb', line 620 def DeleteServiceSubDomainMapping(request) body = send_request('DeleteServiceSubDomainMapping', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteServiceSubDomainMappingResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteUpstreamResponse`
644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 |
# File 'lib/v20180808/client.rb', line 644 def DeleteUpstream(request) body = send_request('DeleteUpstream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteUpstreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DeleteUsagePlanResponse`
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 |
# File 'lib/v20180808/client.rb', line 668 def DeleteUsagePlan(request) body = send_request('DeleteUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DemoteServiceUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DemoteServiceUsagePlanResponse`
694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 |
# File 'lib/v20180808/client.rb', line 694 def DemoteServiceUsagePlan(request) body = send_request('DemoteServiceUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DemoteServiceUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAllPluginApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAllPluginApisResponse`
766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 |
# File 'lib/v20180808/client.rb', line 766 def DescribeAllPluginApis(request) body = send_request('DescribeAllPluginApis', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAllPluginApisResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiResponse`
790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/v20180808/client.rb', line 790 def DescribeApi(request) body = send_request('DescribeApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppResponse`
814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 |
# File 'lib/v20180808/client.rb', line 814 def DescribeApiApp(request) body = send_request('DescribeApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiAppBindApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppBindApisStatusResponse`
838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 |
# File 'lib/v20180808/client.rb', line 838 def DescribeApiAppBindApisStatus(request) body = send_request('DescribeApiAppBindApisStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiAppBindApisStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiAppsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiAppsStatusResponse`
862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 |
# File 'lib/v20180808/client.rb', line 862 def DescribeApiAppsStatus(request) body = send_request('DescribeApiAppsStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiAppsStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiBindApiAppsStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiBindApiAppsStatusResponse`
886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 |
# File 'lib/v20180808/client.rb', line 886 def DescribeApiBindApiAppsStatus(request) body = send_request('DescribeApiBindApiAppsStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiBindApiAppsStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAPIDocDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAPIDocDetailResponse`
718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 |
# File 'lib/v20180808/client.rb', line 718 def DescribeAPIDocDetail(request) body = send_request('DescribeAPIDocDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAPIDocDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAPIDocs(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeAPIDocsResponse`
742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 |
# File 'lib/v20180808/client.rb', line 742 def DescribeAPIDocs(request) body = send_request('DescribeAPIDocs', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAPIDocsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiEnvironmentStrategyResponse`
910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 |
# File 'lib/v20180808/client.rb', line 910 def DescribeApiEnvironmentStrategy(request) body = send_request('DescribeApiEnvironmentStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiEnvironmentStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiForApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiForApiAppResponse`
934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 |
# File 'lib/v20180808/client.rb', line 934 def DescribeApiForApiApp(request) body = send_request('DescribeApiForApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiForApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiKeyResponse`
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 |
# File 'lib/v20180808/client.rb', line 959 def DescribeApiKey(request) body = send_request('DescribeApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiKeysStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiKeysStatusResponse`
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/v20180808/client.rb', line 984 def DescribeApiKeysStatus(request) body = send_request('DescribeApiKeysStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiKeysStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApisStatusResponse`
1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 |
# File 'lib/v20180808/client.rb', line 1033 def DescribeApisStatus(request) body = send_request('DescribeApisStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApisStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeApiUsagePlanResponse`
1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/v20180808/client.rb', line 1009 def DescribeApiUsagePlan(request) body = send_request('DescribeApiUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExclusiveInstanceDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceDetailResponse`
1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 |
# File 'lib/v20180808/client.rb', line 1057 def DescribeExclusiveInstanceDetail(request) body = send_request('DescribeExclusiveInstanceDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExclusiveInstanceDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExclusiveInstanceRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstanceRegionsResponse`
1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 |
# File 'lib/v20180808/client.rb', line 1081 def DescribeExclusiveInstanceRegions(request) body = send_request('DescribeExclusiveInstanceRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExclusiveInstanceRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExclusiveInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesResponse`
1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'lib/v20180808/client.rb', line 1105 def DescribeExclusiveInstances(request) body = send_request('DescribeExclusiveInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExclusiveInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExclusiveInstancesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeExclusiveInstancesStatusResponse`
1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 |
# File 'lib/v20180808/client.rb', line 1129 def DescribeExclusiveInstancesStatus(request) body = send_request('DescribeExclusiveInstancesStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExclusiveInstancesStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeInstancesNetworkConfig(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeInstancesNetworkConfigResponse`
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 |
# File 'lib/v20180808/client.rb', line 1225 def DescribeInstancesNetworkConfig(request) body = send_request('DescribeInstancesNetworkConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstancesNetworkConfigResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategyResponse`
1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 |
# File 'lib/v20180808/client.rb', line 1153 def DescribeIPStrategy(request) body = send_request('DescribeIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIPStrategyApisStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategyApisStatusResponse`
1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 |
# File 'lib/v20180808/client.rb', line 1177 def DescribeIPStrategyApisStatus(request) body = send_request('DescribeIPStrategyApisStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIPStrategyApisStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIPStrategysStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeIPStrategysStatusResponse`
1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 |
# File 'lib/v20180808/client.rb', line 1201 def DescribeIPStrategysStatus(request) body = send_request('DescribeIPStrategysStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIPStrategysStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogSearch(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeLogSearchResponse`
1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/v20180808/client.rb', line 1249 def DescribeLogSearch(request) body = send_request('DescribeLogSearch', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogSearchResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginResponse`
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 |
# File 'lib/v20180808/client.rb', line 1273 def DescribePlugin(request) body = send_request('DescribePlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePluginApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginApisResponse`
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 |
# File 'lib/v20180808/client.rb', line 1297 def DescribePluginApis(request) body = send_request('DescribePluginApis', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePluginApisResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePlugins(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginsResponse`
1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'lib/v20180808/client.rb', line 1321 def DescribePlugins(request) body = send_request('DescribePlugins', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePluginsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePluginsByApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribePluginsByApiResponse`
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 |
# File 'lib/v20180808/client.rb', line 1345 def DescribePluginsByApi(request) body = send_request('DescribePluginsByApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePluginsByApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceResponse`
1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 |
# File 'lib/v20180808/client.rb', line 1369 def DescribeService(request) body = send_request('DescribeService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceEnvironmentList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentListResponse`
1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 |
# File 'lib/v20180808/client.rb', line 1393 def DescribeServiceEnvironmentList(request) body = send_request('DescribeServiceEnvironmentList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceEnvironmentListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceEnvironmentReleaseHistory(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentReleaseHistoryResponse`
1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 |
# File 'lib/v20180808/client.rb', line 1418 def DescribeServiceEnvironmentReleaseHistory(request) body = send_request('DescribeServiceEnvironmentReleaseHistory', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceEnvironmentReleaseHistoryResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceEnvironmentStrategyResponse`
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 |
# File 'lib/v20180808/client.rb', line 1442 def DescribeServiceEnvironmentStrategy(request) body = send_request('DescribeServiceEnvironmentStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceEnvironmentStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceForApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceForApiAppResponse`
1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 |
# File 'lib/v20180808/client.rb', line 1466 def DescribeServiceForApiApp(request) body = send_request('DescribeServiceForApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceForApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceReleaseVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceReleaseVersionResponse`
1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 |
# File 'lib/v20180808/client.rb', line 1491 def DescribeServiceReleaseVersion(request) body = send_request('DescribeServiceReleaseVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceReleaseVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServicesStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServicesStatusResponse`
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 |
# File 'lib/v20180808/client.rb', line 1590 def DescribeServicesStatus(request) body = send_request('DescribeServicesStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServicesStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceSubDomainMappings(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceSubDomainMappingsResponse`
1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 |
# File 'lib/v20180808/client.rb', line 1516 def DescribeServiceSubDomainMappings(request) body = send_request('DescribeServiceSubDomainMappings', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceSubDomainMappingsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceSubDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceSubDomainsResponse`
1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 |
# File 'lib/v20180808/client.rb', line 1541 def DescribeServiceSubDomains(request) body = send_request('DescribeServiceSubDomains', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceSubDomainsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeServiceUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeServiceUsagePlanResponse`
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 |
# File 'lib/v20180808/client.rb', line 1566 def DescribeServiceUsagePlan(request) body = send_request('DescribeServiceUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeServiceUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUpstreamBindApis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUpstreamBindApisResponse`
1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 |
# File 'lib/v20180808/client.rb', line 1614 def DescribeUpstreamBindApis(request) body = send_request('DescribeUpstreamBindApis', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUpstreamBindApisResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUpstreams(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUpstreamsResponse`
1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 |
# File 'lib/v20180808/client.rb', line 1638 def DescribeUpstreams(request) body = send_request('DescribeUpstreams', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUpstreamsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanResponse`
1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 |
# File 'lib/v20180808/client.rb', line 1662 def DescribeUsagePlan(request) body = send_request('DescribeUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUsagePlanEnvironments(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanEnvironmentsResponse`
1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 |
# File 'lib/v20180808/client.rb', line 1687 def DescribeUsagePlanEnvironments(request) body = send_request('DescribeUsagePlanEnvironments', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsagePlanEnvironmentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUsagePlanSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlanSecretIdsResponse`
1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 |
# File 'lib/v20180808/client.rb', line 1712 def DescribeUsagePlanSecretIds(request) body = send_request('DescribeUsagePlanSecretIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsagePlanSecretIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUsagePlansStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DescribeUsagePlansStatusResponse`
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 |
# File 'lib/v20180808/client.rb', line 1736 def DescribeUsagePlansStatus(request) body = send_request('DescribeUsagePlansStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsagePlansStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DetachPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DetachPluginResponse`
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 |
# File 'lib/v20180808/client.rb', line 1760 def DetachPlugin(request) body = send_request('DetachPlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DetachPluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DisableApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::DisableApiKeyResponse`
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 |
# File 'lib/v20180808/client.rb', line 1784 def DisableApiKey(request) body = send_request('DisableApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DisableApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::EnableApiKeyResponse`
1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 |
# File 'lib/v20180808/client.rb', line 1808 def EnableApiKey(request) body = send_request('EnableApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ImportOpenApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ImportOpenApiResponse`
1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/v20180808/client.rb', line 1832 def ImportOpenApi(request) body = send_request('ImportOpenApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ImportOpenApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApi(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiResponse`
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 |
# File 'lib/v20180808/client.rb', line 1880 def ModifyApi(request) body = send_request('ModifyApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiAppResponse`
1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 |
# File 'lib/v20180808/client.rb', line 1904 def ModifyApiApp(request) body = send_request('ModifyApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAPIDoc(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyAPIDocResponse`
1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 |
# File 'lib/v20180808/client.rb', line 1856 def ModifyAPIDoc(request) body = send_request('ModifyAPIDoc', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAPIDocResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiEnvironmentStrategyResponse`
1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 |
# File 'lib/v20180808/client.rb', line 1928 def ModifyApiEnvironmentStrategy(request) body = send_request('ModifyApiEnvironmentStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiEnvironmentStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiIncrement(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyApiIncrementResponse`
1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 |
# File 'lib/v20180808/client.rb', line 1952 def ModifyApiIncrement(request) body = send_request('ModifyApiIncrement', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiIncrementResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyExclusiveInstance(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyExclusiveInstanceResponse`
1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 |
# File 'lib/v20180808/client.rb', line 1976 def ModifyExclusiveInstance(request) body = send_request('ModifyExclusiveInstance', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyExclusiveInstanceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyIPStrategyResponse`
2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 |
# File 'lib/v20180808/client.rb', line 2000 def ModifyIPStrategy(request) body = send_request('ModifyIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyPlugin(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyPluginResponse`
2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 |
# File 'lib/v20180808/client.rb', line 2024 def ModifyPlugin(request) body = send_request('ModifyPlugin', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPluginResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyServiceResponse`
2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 |
# File 'lib/v20180808/client.rb', line 2048 def ModifyService(request) body = send_request('ModifyService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyServiceEnvironmentStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyServiceEnvironmentStrategyResponse`
2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 |
# File 'lib/v20180808/client.rb', line 2072 def ModifyServiceEnvironmentStrategy(request) body = send_request('ModifyServiceEnvironmentStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyServiceEnvironmentStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifySubDomainResponse`
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 |
# File 'lib/v20180808/client.rb', line 2096 def ModifySubDomain(request) body = send_request('ModifySubDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySubDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUpstream(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyUpstreamResponse`
2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 |
# File 'lib/v20180808/client.rb', line 2120 def ModifyUpstream(request) body = send_request('ModifyUpstream', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUpstreamResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUsagePlan(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ModifyUsagePlanResponse`
2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 |
# File 'lib/v20180808/client.rb', line 2144 def ModifyUsagePlan(request) body = send_request('ModifyUsagePlan', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUsagePlanResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ReleaseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ReleaseServiceResponse`
2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 |
# File 'lib/v20180808/client.rb', line 2169 def ReleaseService(request) body = send_request('ReleaseService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ReleaseServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ResetAPIDocPassword(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::ResetAPIDocPasswordResponse`
2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 |
# File 'lib/v20180808/client.rb', line 2193 def ResetAPIDocPassword(request) body = send_request('ResetAPIDocPassword', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ResetAPIDocPasswordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnbindApiApp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnbindApiAppResponse`
2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 |
# File 'lib/v20180808/client.rb', line 2339 def UnbindApiApp(request) body = send_request('UnbindApiApp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnbindApiAppResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnBindEnvironment(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindEnvironmentResponse`
2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 |
# File 'lib/v20180808/client.rb', line 2217 def UnBindEnvironment(request) body = send_request('UnBindEnvironment', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnBindEnvironmentResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnBindIPStrategy(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindIPStrategyResponse`
2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 |
# File 'lib/v20180808/client.rb', line 2241 def UnBindIPStrategy(request) body = send_request('UnBindIPStrategy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnBindIPStrategyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnBindSecretIds(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindSecretIdsResponse`
2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 |
# File 'lib/v20180808/client.rb', line 2265 def UnBindSecretIds(request) body = send_request('UnBindSecretIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnBindSecretIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnBindSubDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnBindSubDomainResponse`
2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/v20180808/client.rb', line 2290 def UnBindSubDomain(request) body = send_request('UnBindSubDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnBindSubDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UnReleaseService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UnReleaseServiceResponse`
2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/v20180808/client.rb', line 2315 def UnReleaseService(request) body = send_request('UnReleaseService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UnReleaseServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateApiAppKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateApiAppKeyResponse`
2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 |
# File 'lib/v20180808/client.rb', line 2363 def UpdateApiAppKey(request) body = send_request('UpdateApiAppKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateApiAppKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateApiKey(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateApiKeyResponse`
2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 |
# File 'lib/v20180808/client.rb', line 2387 def UpdateApiKey(request) body = send_request('UpdateApiKey', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateApiKeyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateService(request) ⇒ Object
@rtype: :class:‘Tencentcloud::apigateway::V20180808::UpdateServiceResponse`
2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 |
# File 'lib/v20180808/client.rb', line 2411 def UpdateService(request) body = send_request('UpdateService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateServiceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |