tencentcloud-sdk-tdmq 3.0.964 → 3.0.965

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: ecfb1ceca147c12390f8f072ffdc548efdf83927
4
- data.tar.gz: bfbf41daf33134097fd02ea9e1106810e4b257c9
3
+ metadata.gz: 6e3f317f0630c026c81ee737ee9e71b04c75abd1
4
+ data.tar.gz: 43eb2ee501a5c1d0d727202af5b51b3988840811
5
5
  SHA512:
6
- metadata.gz: 1933adc2fb7fd41f4fd05fe72394f0b368ff8497f8363586ee4df4b0790b1506449da14296f0c9eac0752e837d25ea7d4dc8480b6d1083acad5d108e40b57d6b
7
- data.tar.gz: cca9a96859b2affddce8bd0b22a84492d69821838fb2d5943685ca9d827148eb73d0c1f703d2444f0b20e7977a15d214191b1a1b7fce229189d439d7f63b455d
6
+ metadata.gz: 8c0912af3ed5a543ff13244e981063db07ee10e6984b57ddac5f4b9278b0bac90eb079f49d2b014ed8c4e50e412176e9437a81bfe63e67080ce5cf834d820c95
7
+ data.tar.gz: 1dac431a4cbfcca218467a25a3bd9576f1c09595f8e5eaff9b472daf484d2c1e7d992539b99dcd8a18bfb0f68b563525fe9c0e01b74bc9e06f394a8896f05bfb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.964
1
+ 3.0.965
@@ -2867,6 +2867,30 @@ module TencentCloud
2867
2867
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2868
2868
  end
2869
2869
 
2870
+ # 修改pulsar专业版公网安全策略
2871
+
2872
+ # @param request: Request instance for ModifyPublicNetworkSecurityPolicy.
2873
+ # @type request: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkSecurityPolicyRequest`
2874
+ # @rtype: :class:`Tencentcloud::tdmq::V20200217::ModifyPublicNetworkSecurityPolicyResponse`
2875
+ def ModifyPublicNetworkSecurityPolicy(request)
2876
+ body = send_request('ModifyPublicNetworkSecurityPolicy', request.serialize)
2877
+ response = JSON.parse(body)
2878
+ if response['Response'].key?('Error') == false
2879
+ model = ModifyPublicNetworkSecurityPolicyResponse.new
2880
+ model.deserialize(response['Response'])
2881
+ model
2882
+ else
2883
+ code = response['Response']['Error']['Code']
2884
+ message = response['Response']['Error']['Message']
2885
+ reqid = response['Response']['RequestId']
2886
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2887
+ end
2888
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2889
+ raise e
2890
+ rescue StandardError => e
2891
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2892
+ end
2893
+
2870
2894
  # 修改RabbitMQ的用户
2871
2895
 
2872
2896
  # @param request: Request instance for ModifyRabbitMQUser.
@@ -8876,6 +8876,41 @@ module TencentCloud
8876
8876
  end
8877
8877
  end
8878
8878
 
8879
+ # ModifyPublicNetworkSecurityPolicy请求参数结构体
8880
+ class ModifyPublicNetworkSecurityPolicyRequest < TencentCloud::Common::AbstractModel
8881
+
8882
+
8883
+ def initialize()
8884
+ end
8885
+
8886
+ def deserialize(params)
8887
+ end
8888
+ end
8889
+
8890
+ # ModifyPublicNetworkSecurityPolicy返回参数结构体
8891
+ class ModifyPublicNetworkSecurityPolicyResponse < TencentCloud::Common::AbstractModel
8892
+ # @param ModifyResult: SUCCESS或者FAILURE
8893
+ # @type ModifyResult: String
8894
+ # @param InstanceId: 集群id
8895
+ # @type InstanceId: String
8896
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8897
+ # @type RequestId: String
8898
+
8899
+ attr_accessor :ModifyResult, :InstanceId, :RequestId
8900
+
8901
+ def initialize(modifyresult=nil, instanceid=nil, requestid=nil)
8902
+ @ModifyResult = modifyresult
8903
+ @InstanceId = instanceid
8904
+ @RequestId = requestid
8905
+ end
8906
+
8907
+ def deserialize(params)
8908
+ @ModifyResult = params['ModifyResult']
8909
+ @InstanceId = params['InstanceId']
8910
+ @RequestId = params['RequestId']
8911
+ end
8912
+ end
8913
+
8879
8914
  # ModifyRabbitMQUser请求参数结构体
8880
8915
  class ModifyRabbitMQUserRequest < TencentCloud::Common::AbstractModel
8881
8916
  # @param InstanceId: 集群实例Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tdmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.964
4
+ version: 3.0.965
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-12-18 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common