|
30 | 30 | @SuppressWarnings("javadoc")
|
31 | 31 | public final class RouteInfo extends com.google.api.client.json.GenericJson {
|
32 | 32 |
|
| 33 | + /** |
| 34 | + * For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN |
| 35 | + * tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised |
| 36 | + * through, or URI of the source peered network. |
| 37 | + * The value may be {@code null}. |
| 38 | + */ |
| 39 | + @com.google.api.client.util.Key |
| 40 | + private java.lang.String advertisedRouteNextHopUri; |
| 41 | + |
| 42 | + /** |
| 43 | + * For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP |
| 44 | + * prefix. |
| 45 | + * The value may be {@code null}. |
| 46 | + */ |
| 47 | + @com.google.api.client.util.Key |
| 48 | + private java.lang.String advertisedRouteSourceRouterUri; |
| 49 | + |
33 | 50 | /**
|
34 | 51 | * Destination IP range of the route.
|
35 | 52 | * The value may be {@code null}.
|
@@ -107,6 +124,13 @@ public final class RouteInfo extends com.google.api.client.json.GenericJson {
|
107 | 124 | @com.google.api.client.util.Key
|
108 | 125 | private java.util.List<java.lang.String> protocols;
|
109 | 126 |
|
| 127 | + /** |
| 128 | + * Region of the route (if applicable). |
| 129 | + * The value may be {@code null}. |
| 130 | + */ |
| 131 | + @com.google.api.client.util.Key |
| 132 | + private java.lang.String region; |
| 133 | + |
110 | 134 | /**
|
111 | 135 | * Indicates where route is applicable.
|
112 | 136 | * The value may be {@code null}.
|
@@ -136,13 +160,52 @@ public final class RouteInfo extends com.google.api.client.json.GenericJson {
|
136 | 160 | private java.util.List<java.lang.String> srcPortRanges;
|
137 | 161 |
|
138 | 162 | /**
|
139 |
| - * URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. |
140 |
| - * Advertised route from Google Cloud VPC to on-premises network also does not have an URI. |
| 163 | + * URI of a route (if applicable). |
141 | 164 | * The value may be {@code null}.
|
142 | 165 | */
|
143 | 166 | @com.google.api.client.util.Key
|
144 | 167 | private java.lang.String uri;
|
145 | 168 |
|
| 169 | + /** |
| 170 | + * For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN |
| 171 | + * tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised |
| 172 | + * through, or URI of the source peered network. |
| 173 | + * @return value or {@code null} for none |
| 174 | + */ |
| 175 | + public java.lang.String getAdvertisedRouteNextHopUri() { |
| 176 | + return advertisedRouteNextHopUri; |
| 177 | + } |
| 178 | + |
| 179 | + /** |
| 180 | + * For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN |
| 181 | + * tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised |
| 182 | + * through, or URI of the source peered network. |
| 183 | + * @param advertisedRouteNextHopUri advertisedRouteNextHopUri or {@code null} for none |
| 184 | + */ |
| 185 | + public RouteInfo setAdvertisedRouteNextHopUri(java.lang.String advertisedRouteNextHopUri) { |
| 186 | + this.advertisedRouteNextHopUri = advertisedRouteNextHopUri; |
| 187 | + return this; |
| 188 | + } |
| 189 | + |
| 190 | + /** |
| 191 | + * For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP |
| 192 | + * prefix. |
| 193 | + * @return value or {@code null} for none |
| 194 | + */ |
| 195 | + public java.lang.String getAdvertisedRouteSourceRouterUri() { |
| 196 | + return advertisedRouteSourceRouterUri; |
| 197 | + } |
| 198 | + |
| 199 | + /** |
| 200 | + * For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP |
| 201 | + * prefix. |
| 202 | + * @param advertisedRouteSourceRouterUri advertisedRouteSourceRouterUri or {@code null} for none |
| 203 | + */ |
| 204 | + public RouteInfo setAdvertisedRouteSourceRouterUri(java.lang.String advertisedRouteSourceRouterUri) { |
| 205 | + this.advertisedRouteSourceRouterUri = advertisedRouteSourceRouterUri; |
| 206 | + return this; |
| 207 | + } |
| 208 | + |
146 | 209 | /**
|
147 | 210 | * Destination IP range of the route.
|
148 | 211 | * @return value or {@code null} for none
|
@@ -330,6 +393,23 @@ public RouteInfo setProtocols(java.util.List<java.lang.String> protocols) {
|
330 | 393 | return this;
|
331 | 394 | }
|
332 | 395 |
|
| 396 | + /** |
| 397 | + * Region of the route (if applicable). |
| 398 | + * @return value or {@code null} for none |
| 399 | + */ |
| 400 | + public java.lang.String getRegion() { |
| 401 | + return region; |
| 402 | + } |
| 403 | + |
| 404 | + /** |
| 405 | + * Region of the route (if applicable). |
| 406 | + * @param region region or {@code null} for none |
| 407 | + */ |
| 408 | + public RouteInfo setRegion(java.lang.String region) { |
| 409 | + this.region = region; |
| 410 | + return this; |
| 411 | + } |
| 412 | + |
333 | 413 | /**
|
334 | 414 | * Indicates where route is applicable.
|
335 | 415 | * @return value or {@code null} for none
|
@@ -399,17 +479,15 @@ public RouteInfo setSrcPortRanges(java.util.List<java.lang.String> srcPortRanges
|
399 | 479 | }
|
400 | 480 |
|
401 | 481 | /**
|
402 |
| - * URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. |
403 |
| - * Advertised route from Google Cloud VPC to on-premises network also does not have an URI. |
| 482 | + * URI of a route (if applicable). |
404 | 483 | * @return value or {@code null} for none
|
405 | 484 | */
|
406 | 485 | public java.lang.String getUri() {
|
407 | 486 | return uri;
|
408 | 487 | }
|
409 | 488 |
|
410 | 489 | /**
|
411 |
| - * URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. |
412 |
| - * Advertised route from Google Cloud VPC to on-premises network also does not have an URI. |
| 490 | + * URI of a route (if applicable). |
413 | 491 | * @param uri uri or {@code null} for none
|
414 | 492 | */
|
415 | 493 | public RouteInfo setUri(java.lang.String uri) {
|
|
0 commit comments