Class: TencentCloud::Tse::V20201207::ModifyCloudNativeAPIGatewayServiceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::ModifyCloudNativeAPIGatewayServiceRequest
- Defined in:
- lib/v20201207/models.rb
Overview
ModifyCloudNativeAPIGatewayService请求参数结构体
Instance Attribute Summary collapse
-
#GatewayId ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#ID ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#Name ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#Path ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#Protocol ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#Retries ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#Timeout ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#UpstreamInfo ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
-
#UpstreamType ⇒ Object
-
https - http - tcp - udp - Kubernetes - Registry - IPList - HostIP - Scf.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, name = nil, protocol = nil, timeout = nil, retries = nil, upstreamtype = nil, upstreaminfo = nil, id = nil, path = nil) ⇒ ModifyCloudNativeAPIGatewayServiceRequest
constructor
A new instance of ModifyCloudNativeAPIGatewayServiceRequest.
Constructor Details
#initialize(gatewayid = nil, name = nil, protocol = nil, timeout = nil, retries = nil, upstreamtype = nil, upstreaminfo = nil, id = nil, path = nil) ⇒ ModifyCloudNativeAPIGatewayServiceRequest
Returns a new instance of ModifyCloudNativeAPIGatewayServiceRequest.
10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 |
# File 'lib/v20201207/models.rb', line 10008 def initialize(gatewayid=nil, name=nil, protocol=nil, timeout=nil, retries=nil, upstreamtype=nil, upstreaminfo=nil, id=nil, path=nil) @GatewayId = gatewayid @Name = name @Protocol = protocol @Timeout = timeout @Retries = retries @UpstreamType = upstreamtype @UpstreamInfo = upstreaminfo @ID = id @Path = path end |
Instance Attribute Details
#GatewayId ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def GatewayId @GatewayId end |
#ID ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def ID @ID end |
#Name ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def Name @Name end |
#Path ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def Path @Path end |
#Protocol ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def Protocol @Protocol end |
#Retries ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def Retries @Retries end |
#Timeout ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def Timeout @Timeout end |
#UpstreamInfo ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def UpstreamInfo @UpstreamInfo end |
#UpstreamType ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
10006 10007 10008 |
# File 'lib/v20201207/models.rb', line 10006 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 |
# File 'lib/v20201207/models.rb', line 10020 def deserialize(params) @GatewayId = params['GatewayId'] @Name = params['Name'] @Protocol = params['Protocol'] @Timeout = params['Timeout'] @Retries = params['Retries'] @UpstreamType = params['UpstreamType'] unless params['UpstreamInfo'].nil? @UpstreamInfo = KongUpstreamInfo.new @UpstreamInfo.deserialize(params['UpstreamInfo']) end @ID = params['ID'] @Path = params['Path'] end |