tencentcloud-sdk-tem 3.0.1074 → 3.0.1076

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddc7f88f8bbb003180f40a0354ed26cd729d4d95
4
- data.tar.gz: 09306970c40b18afb1b9a3add12bb3b7992fae20
3
+ metadata.gz: dc0a6168b284d81e7be047230b9436e938eac61f
4
+ data.tar.gz: 81048dea896648fb67456a9627020f68bf332c5c
5
5
  SHA512:
6
- metadata.gz: aee3d4cd0173a49c1881fea8e8e2f458a0dece6568a73bc341397e8c31fdf515407386c8144ae4e545303f2b08c18bf7b3d31d94abab8574c4e0139e9bf15765
7
- data.tar.gz: b1fbb1e7fd49e912df19f48bfaa08fbd8abe4464a6e48f3da4247b0e74427d9769d39231c249533d8bb0c6ae15eb46e5016a838f39478e3f61aa33fb4a85a6d3
6
+ metadata.gz: b394d06efb89203c4ed6c8601090063f8a0ec34a054787cb9ef2969cb014d44d16bdd4303b707b48d1c363276489326628794ac8b31b8cb5d8ebfd554551082b
7
+ data.tar.gz: 35e884010a4e6667504e206db8bf4215fa5118847151c6dda10bdf1f22bf3f70614fea0f09fc33e23dc43a14458a3b0042a76a0e4b2c61311d40df9fecafe288
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1074
1
+ 3.0.1076
@@ -1040,6 +1040,30 @@ module TencentCloud
1040
1040
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1041
1041
  end
1042
1042
 
1043
+ # 修改网关的转发配置
1044
+
1045
+ # @param request: Request instance for ModifyGatewayIngress.
1046
+ # @type request: :class:`Tencentcloud::tem::V20210701::ModifyGatewayIngressRequest`
1047
+ # @rtype: :class:`Tencentcloud::tem::V20210701::ModifyGatewayIngressResponse`
1048
+ def ModifyGatewayIngress(request)
1049
+ body = send_request('ModifyGatewayIngress', request.serialize)
1050
+ response = JSON.parse(body)
1051
+ if response['Response'].key?('Error') == false
1052
+ model = ModifyGatewayIngressResponse.new
1053
+ model.deserialize(response['Response'])
1054
+ model
1055
+ else
1056
+ code = response['Response']['Error']['Code']
1057
+ message = response['Response']['Error']['Message']
1058
+ reqid = response['Response']['RequestId']
1059
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1060
+ end
1061
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1062
+ raise e
1063
+ rescue StandardError => e
1064
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1065
+ end
1066
+
1043
1067
  # 此接口没有被使用了
1044
1068
 
1045
1069
  # 创建或者更新 Ingress 规则
@@ -3626,6 +3626,87 @@ module TencentCloud
3626
3626
  end
3627
3627
  end
3628
3628
 
3629
+ # ModifyGatewayIngress请求参数结构体
3630
+ class ModifyGatewayIngressRequest < TencentCloud::Common::AbstractModel
3631
+ # @param EnvironmentId: 环境 ID
3632
+ # @type EnvironmentId: String
3633
+ # @param GatewayName: 网关名称
3634
+ # @type GatewayName: String
3635
+ # @param GatewayType: 网关类型,如 clb
3636
+ # @type GatewayType: String
3637
+ # @param Name: 转发配置名称
3638
+ # @type Name: String
3639
+ # @param Rules: rules 配置
3640
+ # @type Rules: Array
3641
+ # @param Mixed: 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
3642
+ # @type Mixed: Boolean
3643
+ # @param Tls: tls 配置
3644
+ # @type Tls: Array
3645
+ # @param RewriteType: 重定向模式,可选值:
3646
+ # - AUTO(自动重定向http到https)
3647
+ # - NONE(不使用重定向)
3648
+ # @type RewriteType: String
3649
+
3650
+ attr_accessor :EnvironmentId, :GatewayName, :GatewayType, :Name, :Rules, :Mixed, :Tls, :RewriteType
3651
+
3652
+ def initialize(environmentid=nil, gatewayname=nil, gatewaytype=nil, name=nil, rules=nil, mixed=nil, tls=nil, rewritetype=nil)
3653
+ @EnvironmentId = environmentid
3654
+ @GatewayName = gatewayname
3655
+ @GatewayType = gatewaytype
3656
+ @Name = name
3657
+ @Rules = rules
3658
+ @Mixed = mixed
3659
+ @Tls = tls
3660
+ @RewriteType = rewritetype
3661
+ end
3662
+
3663
+ def deserialize(params)
3664
+ @EnvironmentId = params['EnvironmentId']
3665
+ @GatewayName = params['GatewayName']
3666
+ @GatewayType = params['GatewayType']
3667
+ @Name = params['Name']
3668
+ unless params['Rules'].nil?
3669
+ @Rules = []
3670
+ params['Rules'].each do |i|
3671
+ ingressrule_tmp = IngressRule.new
3672
+ ingressrule_tmp.deserialize(i)
3673
+ @Rules << ingressrule_tmp
3674
+ end
3675
+ end
3676
+ @Mixed = params['Mixed']
3677
+ unless params['Tls'].nil?
3678
+ @Tls = []
3679
+ params['Tls'].each do |i|
3680
+ ingresstls_tmp = IngressTls.new
3681
+ ingresstls_tmp.deserialize(i)
3682
+ @Tls << ingresstls_tmp
3683
+ end
3684
+ end
3685
+ @RewriteType = params['RewriteType']
3686
+ end
3687
+ end
3688
+
3689
+ # ModifyGatewayIngress返回参数结构体
3690
+ class ModifyGatewayIngressResponse < TencentCloud::Common::AbstractModel
3691
+ # @param Result: 是否成功
3692
+ # 注意:此字段可能返回 null,表示取不到有效值。
3693
+ # @type Result: Boolean
3694
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3695
+ # @type RequestId: String
3696
+
3697
+ attr_accessor :Result, :RequestId
3698
+
3699
+ def initialize(result=nil, requestid=nil)
3700
+ @Result = result
3701
+ @RequestId = requestid
3702
+ end
3703
+
3704
+ def deserialize(params)
3705
+ @Result = params['Result']
3706
+ @RequestId = params['RequestId']
3707
+ end
3708
+ end
3709
+
3629
3710
  # ModifyIngress请求参数结构体
3630
3711
  class ModifyIngressRequest < TencentCloud::Common::AbstractModel
3631
3712
  # @param Ingress: Ingress 规则配置
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tem
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1074
4
+ version: 3.0.1076
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-04 00:00:00.000000000 Z
11
+ date: 2025-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common