tencentcloud-sdk-es 3.0.895 → 3.0.897

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aca66f9d4d1dac0aa77a754654ed6098fb7abeb6
4
- data.tar.gz: 387179ecd424facf03cf402dde86d4a819601101
3
+ metadata.gz: d8edbc2d8631c02a92cc0bd784087b006e1d317b
4
+ data.tar.gz: 86ddef082336c356cdada9763a5618a60407b733
5
5
  SHA512:
6
- metadata.gz: 8600517a44406fabeb02d3ab696ae99eb20809c629f8eb2beeb0cd3b22ed6235df44ebed48edb3b49937d393d9fa519903b451d260c6010c598f72b35ce943b9
7
- data.tar.gz: d861f5c07fd4059b0eeacc8a7d1024331650c7b0e3fa93b204546d0fbf05f5f04e810588e47466a3ec84a27b09a8598f38ae0c533f5c1ee01f3d88f51fd02c97
6
+ metadata.gz: 6e62e1af20614dd9f1ccc6ecf552913ab4a085273499b3a04c90daebecf37e4b110315c8be8229aa39264ca33f538c98156154a19fad4c6ab1776ad220d4b531
7
+ data.tar.gz: 11be9634939fd08c5204e4ed38051c3bbcfad98059ec97455202609e977737084fc7dd3cb8e91c8056abb5500b43f3e5b353b3ff7983dc9a475824a72fce7391
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.895
1
+ 3.0.897
@@ -846,6 +846,30 @@ module TencentCloud
846
846
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
847
847
  end
848
848
 
849
+ # ES集群安装模型接口
850
+
851
+ # @param request: Request instance for InstallInstanceModel.
852
+ # @type request: :class:`Tencentcloud::es::V20180416::InstallInstanceModelRequest`
853
+ # @rtype: :class:`Tencentcloud::es::V20180416::InstallInstanceModelResponse`
854
+ def InstallInstanceModel(request)
855
+ body = send_request('InstallInstanceModel', request.serialize)
856
+ response = JSON.parse(body)
857
+ if response['Response'].key?('Error') == false
858
+ model = InstallInstanceModelResponse.new
859
+ model.deserialize(response['Response'])
860
+ model
861
+ else
862
+ code = response['Response']['Error']['Code']
863
+ message = response['Response']['Error']['Message']
864
+ reqid = response['Response']['RequestId']
865
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
866
+ end
867
+ rescue TencentCloud::Common::TencentCloudSDKException => e
868
+ raise e
869
+ rescue StandardError => e
870
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
871
+ end
872
+
849
873
  # 修改绑定VIP的安全组,传安全组id列表
850
874
 
851
875
  # @param request: Request instance for ModifyEsVipSecurityGroup.
@@ -3487,6 +3487,50 @@ module TencentCloud
3487
3487
  end
3488
3488
  end
3489
3489
 
3490
+ # InstallInstanceModel请求参数结构体
3491
+ class InstallInstanceModelRequest < TencentCloud::Common::AbstractModel
3492
+ # @param InstanceId: 实例ID
3493
+ # @type InstanceId: String
3494
+ # @param UsrCosModelUrlList: 客户上传到自己cos的地址列表
3495
+ # @type UsrCosModelUrlList: Array
3496
+
3497
+ attr_accessor :InstanceId, :UsrCosModelUrlList
3498
+
3499
+ def initialize(instanceid=nil, usrcosmodelurllist=nil)
3500
+ @InstanceId = instanceid
3501
+ @UsrCosModelUrlList = usrcosmodelurllist
3502
+ end
3503
+
3504
+ def deserialize(params)
3505
+ @InstanceId = params['InstanceId']
3506
+ @UsrCosModelUrlList = params['UsrCosModelUrlList']
3507
+ end
3508
+ end
3509
+
3510
+ # InstallInstanceModel返回参数结构体
3511
+ class InstallInstanceModelResponse < TencentCloud::Common::AbstractModel
3512
+ # @param FlowId: 发起异步流程的flowId
3513
+ # @type FlowId: String
3514
+ # @param ErrMsg: 调用接口的错误信息
3515
+ # @type ErrMsg: String
3516
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3517
+ # @type RequestId: String
3518
+
3519
+ attr_accessor :FlowId, :ErrMsg, :RequestId
3520
+
3521
+ def initialize(flowid=nil, errmsg=nil, requestid=nil)
3522
+ @FlowId = flowid
3523
+ @ErrMsg = errmsg
3524
+ @RequestId = requestid
3525
+ end
3526
+
3527
+ def deserialize(params)
3528
+ @FlowId = params['FlowId']
3529
+ @ErrMsg = params['ErrMsg']
3530
+ @RequestId = params['RequestId']
3531
+ end
3532
+ end
3533
+
3490
3534
  # 实例详细信息
3491
3535
  class InstanceInfo < TencentCloud::Common::AbstractModel
3492
3536
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.895
4
+ version: 3.0.897
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common