Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.
Arguments
project
string
Required. Project ID for this request.
region
string
Required. Name of the region for this request.
router
string
Required. Name of the Router resource to query.
body
object ( Router
)
Required.
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of RoutersPreviewResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- preview : call : googleapis.compute.v1.routers.preview args : project : ... region : ... router : ... body : bgp : advertiseMode : ... advertisedGroups : ... advertisedIpRanges : ... asn : ... keepaliveInterval : ... bgpPeers : ... description : ... encryptedInterconnectRouter : ... interfaces : ... md5AuthenticationKeys : ... name : ... nats : ... network : ... result : previewResult
JSON
[ { "preview" : { "call" : "googleapis.compute.v1.routers.preview" , "args" : { "project" : "..." , "region" : "..." , "router" : "..." , "body" : { "bgp" : { "advertiseMode" : "..." , "advertisedGroups" : "..." , "advertisedIpRanges" : "..." , "asn" : "..." , "keepaliveInterval" : "..." }, "bgpPeers" : "..." , "description" : "..." , "encryptedInterconnectRouter" : "..." , "interfaces" : "..." , "md5AuthenticationKeys" : "..." , "name" : "..." , "nats" : "..." , "network" : "..." } }, "result" : "previewResult" } } ]

