tencentcloud-sdk-es 3.0.896 → 3.0.898

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: b36f4ee9538c5fb69e937b33f7729c6ceb6b7773
4
- data.tar.gz: cec4001c67c87ff3d3eb7e5400d257f3904ebf17
3
+ metadata.gz: a9fa2012aa68c736f718985dd9d8f7fcbc87bd75
4
+ data.tar.gz: 9b00de797e24f6281a629fe68fe662627b019cac
5
5
  SHA512:
6
- metadata.gz: 641fc7a55119148f1664efc90dd3795c9109d9a9abff3b87ea0acd2a6f756ce376c37d7a00542988c047803692659e084cd7957ef8076d517ce1b9d3b15df2b1
7
- data.tar.gz: c0a4594a54cdb00c576c016a691a0d373011c764a97b4343193d3c2c02bd05b98fecba25b4ce2601bd02aea1b54b16da3a7732b14782a06339d7b630ebc1c209
6
+ metadata.gz: 33e94e16525509645309a46856b6d71bc379ef5a95e8d6f5f7e1da39c672b5c81bba5a873ed9d3cb63647cc66f4de6594480a53917c3ef9c444b351171dbe79d
7
+ data.tar.gz: 750bfbd7c7d78ff7cecc80c7ae7f6010b31339dc0feb9224da67732f7a07f3b1886b8686fbaeeca328fc7d17b8f0e475a09b1a6cf1bcea6d5bfdae713cb5b7ba
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.898
@@ -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.896
4
+ version: 3.0.898
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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common