Class: TencentCloud::Tse::V20201207::CreateCloudNativeAPIGatewayServiceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::CreateCloudNativeAPIGatewayServiceRequest
- Defined in:
- lib/v20201207/models.rb
Overview
CreateCloudNativeAPIGatewayService请求参数结构体
Instance Attribute Summary collapse
-
#GatewayId ⇒ 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, path = nil) ⇒ CreateCloudNativeAPIGatewayServiceRequest
constructor
A new instance of CreateCloudNativeAPIGatewayServiceRequest.
Constructor Details
#initialize(gatewayid = nil, name = nil, protocol = nil, timeout = nil, retries = nil, upstreamtype = nil, upstreaminfo = nil, path = nil) ⇒ CreateCloudNativeAPIGatewayServiceRequest
Returns a new instance of CreateCloudNativeAPIGatewayServiceRequest.
2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 |
# File 'lib/v20201207/models.rb', line 2344 def initialize(gatewayid=nil, name=nil, protocol=nil, timeout=nil, retries=nil, upstreamtype=nil, upstreaminfo=nil, path=nil) @GatewayId = gatewayid @Name = name @Protocol = protocol @Timeout = timeout @Retries = retries @UpstreamType = upstreamtype @UpstreamInfo = upstreaminfo @Path = path end |
Instance Attribute Details
#GatewayId ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def GatewayId @GatewayId end |
#Name ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def Name @Name end |
#Path ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def Path @Path end |
#Protocol ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def Protocol @Protocol end |
#Retries ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def Retries @Retries end |
#Timeout ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def Timeout @Timeout end |
#UpstreamInfo ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def UpstreamInfo @UpstreamInfo end |
#UpstreamType ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
2342 2343 2344 |
# File 'lib/v20201207/models.rb', line 2342 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 |
# File 'lib/v20201207/models.rb', line 2355 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 @Path = params['Path'] end |