Class: TencentCloud::Tse::V20201207::CreateCloudNativeAPIGatewayRouteRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::CreateCloudNativeAPIGatewayRouteRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20201207/models.rb
Overview
CreateCloudNativeAPIGatewayRoute请求参数结构体
Instance Attribute Summary collapse
-
#DestinationPorts ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#ForceHttps ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#GatewayId ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#Headers ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#Hosts ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#HttpsRedirectStatusCode ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#Methods ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#Paths ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#PreserveHost ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#Protocols ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#RegexPriority ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#RequestBuffering ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#ResponseBuffering ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#RouteName ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#ServiceID ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
-
#StripPath ⇒ Object
-
GET - POST - DELETE - PUT - OPTIONS - PATCH - HEAD - ANY - TRACE - COPY - MOVE - PROPFIND - PROPPATCH - MKCOL - LOCK - UNLOCK - https - http.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(gatewayid = nil, serviceid = nil, routename = nil, methods = nil, hosts = nil, paths = nil, protocols = nil, preservehost = nil, httpsredirectstatuscode = nil, strippath = nil, forcehttps = nil, destinationports = nil, headers = nil, requestbuffering = nil, responsebuffering = nil, regexpriority = nil) ⇒ CreateCloudNativeAPIGatewayRouteRequest
constructor
A new instance of CreateCloudNativeAPIGatewayRouteRequest.
Constructor Details
#initialize(gatewayid = nil, serviceid = nil, routename = nil, methods = nil, hosts = nil, paths = nil, protocols = nil, preservehost = nil, httpsredirectstatuscode = nil, strippath = nil, forcehttps = nil, destinationports = nil, headers = nil, requestbuffering = nil, responsebuffering = nil, regexpriority = nil) ⇒ CreateCloudNativeAPIGatewayRouteRequest
Returns a new instance of CreateCloudNativeAPIGatewayRouteRequest.
2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 |
# File 'lib/v20201207/models.rb', line 2181 def initialize(gatewayid=nil, serviceid=nil, routename=nil, methods=nil, hosts=nil, paths=nil, protocols=nil, preservehost=nil, httpsredirectstatuscode=nil, strippath=nil, forcehttps=nil, destinationports=nil, headers=nil, requestbuffering=nil, responsebuffering=nil, regexpriority=nil) @GatewayId = gatewayid @ServiceID = serviceid @RouteName = routename @Methods = methods @Hosts = hosts @Paths = paths @Protocols = protocols @PreserveHost = preservehost @HttpsRedirectStatusCode = httpsredirectstatuscode @StripPath = strippath @ForceHttps = forcehttps @DestinationPorts = destinationports @Headers = headers @RequestBuffering = requestbuffering @ResponseBuffering = responsebuffering @RegexPriority = regexpriority end |
Instance Attribute Details
#DestinationPorts ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def DestinationPorts @DestinationPorts end |
#ForceHttps ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def ForceHttps @ForceHttps end |
#GatewayId ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def GatewayId @GatewayId end |
#Headers ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def Headers @Headers end |
#Hosts ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def Hosts @Hosts end |
#HttpsRedirectStatusCode ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def HttpsRedirectStatusCode @HttpsRedirectStatusCode end |
#Methods ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def Methods @Methods end |
#Paths ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def Paths @Paths end |
#PreserveHost ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def PreserveHost @PreserveHost end |
#Protocols ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def Protocols @Protocols end |
#RegexPriority ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def RegexPriority @RegexPriority end |
#RequestBuffering ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def RequestBuffering @RequestBuffering end |
#ResponseBuffering ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def ResponseBuffering @ResponseBuffering end |
#RouteName ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def RouteName @RouteName end |
#ServiceID ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def ServiceID @ServiceID end |
#StripPath ⇒ Object
-
GET
-
POST
-
DELETE
-
PUT
-
OPTIONS
-
PATCH
-
HEAD
-
ANY
-
TRACE
-
COPY
-
MOVE
-
PROPFIND
-
PROPPATCH
-
MKCOL
-
LOCK
-
UNLOCK
-
https
-
http
2176 2177 2178 |
# File 'lib/v20201207/models.rb', line 2176 def StripPath @StripPath end |
Instance Method Details
#deserialize(params) ⇒ Object
2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'lib/v20201207/models.rb', line 2200 def deserialize(params) @GatewayId = params['GatewayId'] @ServiceID = params['ServiceID'] @RouteName = params['RouteName'] @Methods = params['Methods'] @Hosts = params['Hosts'] @Paths = params['Paths'] @Protocols = params['Protocols'] @PreserveHost = params['PreserveHost'] @HttpsRedirectStatusCode = params['HttpsRedirectStatusCode'] @StripPath = params['StripPath'] @ForceHttps = params['ForceHttps'] @DestinationPorts = params['DestinationPorts'] unless params['Headers'].nil? @Headers = [] params['Headers'].each do |i| kvmapping_tmp = KVMapping.new kvmapping_tmp.deserialize(i) @Headers << kvmapping_tmp end end @RequestBuffering = params['RequestBuffering'] @ResponseBuffering = params['ResponseBuffering'] @RegexPriority = params['RegexPriority'] end |