lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.702 vs lib/v20170312/models.rb in tencentcloud-sdk-vpc-3.0.703

- old
+ new

@@ -15555,20 +15555,24 @@ class ModifyCustomerGatewayAttributeRequest < TencentCloud::Common::AbstractModel # @param CustomerGatewayId: 对端网关ID,例如:cgw-2wqq41m9,可通过[DescribeCustomerGateways](https://cloud.tencent.com/document/api/215/17516)接口查询对端网关。 # @type CustomerGatewayId: String # @param CustomerGatewayName: 对端网关名称,可任意命名,但不得超过60个字符。 # @type CustomerGatewayName: String + # @param BgpAsn: BGP ASN。只有开启BGP白名单才可以修改此参数。 + # @type BgpAsn: Integer - attr_accessor :CustomerGatewayId, :CustomerGatewayName + attr_accessor :CustomerGatewayId, :CustomerGatewayName, :BgpAsn - def initialize(customergatewayid=nil, customergatewayname=nil) + def initialize(customergatewayid=nil, customergatewayname=nil, bgpasn=nil) @CustomerGatewayId = customergatewayid @CustomerGatewayName = customergatewayname + @BgpAsn = bgpasn end def deserialize(params) @CustomerGatewayId = params['CustomerGatewayId'] @CustomerGatewayName = params['CustomerGatewayName'] + @BgpAsn = params['BgpAsn'] end end # ModifyCustomerGatewayAttribute返回参数结构体 class ModifyCustomerGatewayAttributeResponse < TencentCloud::Common::AbstractModel