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, path = nil, timeout = nil, retries = nil, upstreamtype = nil, upstreaminfo = nil) ⇒ CreateCloudNativeAPIGatewayServiceRequest
constructor
A new instance of CreateCloudNativeAPIGatewayServiceRequest.
Constructor Details
#initialize(gatewayid = nil, name = nil, protocol = nil, path = nil, timeout = nil, retries = nil, upstreamtype = nil, upstreaminfo = nil) ⇒ CreateCloudNativeAPIGatewayServiceRequest
Returns a new instance of CreateCloudNativeAPIGatewayServiceRequest.
1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 |
# File 'lib/v20201207/models.rb', line 1529 def initialize(gatewayid=nil, name=nil, protocol=nil, path=nil, timeout=nil, retries=nil, upstreamtype=nil, upstreaminfo=nil) @GatewayId = gatewayid @Name = name @Protocol = protocol @Path = path @Timeout = timeout @Retries = retries @UpstreamType = upstreamtype @UpstreamInfo = upstreaminfo end |
Instance Attribute Details
#GatewayId ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def GatewayId @GatewayId end |
#Name ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def Name @Name end |
#Path ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def Path @Path end |
#Protocol ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def Protocol @Protocol end |
#Retries ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def Retries @Retries end |
#Timeout ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def Timeout @Timeout end |
#UpstreamInfo ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def UpstreamInfo @UpstreamInfo end |
#UpstreamType ⇒ Object
-
https
-
http
-
tcp
-
udp
-
Kubernetes
-
Registry
-
IPList
-
HostIP
-
Scf
1527 1528 1529 |
# File 'lib/v20201207/models.rb', line 1527 def UpstreamType @UpstreamType end |
Instance Method Details
#deserialize(params) ⇒ Object
1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 |
# File 'lib/v20201207/models.rb', line 1540 def deserialize(params) @GatewayId = params['GatewayId'] @Name = params['Name'] @Protocol = params['Protocol'] @Path = params['Path'] @Timeout = params['Timeout'] @Retries = params['Retries'] @UpstreamType = params['UpstreamType'] unless params['UpstreamInfo'].nil? @UpstreamInfo = KongUpstreamInfo.new @UpstreamInfo.deserialize(params['UpstreamInfo']) end end |