@@ -96,7 +96,8 @@ public final class VpnTunnel extends com.google.api.client.json.GenericJson {
96
96
/**
97
97
* Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The
98
98
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be
99
- * disjoint. Only IPv4 is supported.
99
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
100
+ * tunnels.
100
101
* The value may be {@code null}.
101
102
*/
102
103
@ com .google .api .client .util .Key
@@ -143,7 +144,8 @@ public final class VpnTunnel extends com.google.api.client.json.GenericJson {
143
144
private java .lang .String peerGcpGateway ;
144
145
145
146
/**
146
- * IP address of the peer VPN gateway. Only IPv4 is supported.
147
+ * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for
148
+ * Classic VPN tunnels.
147
149
* The value may be {@code null}.
148
150
*/
149
151
@ com .google .api .client .util .Key
@@ -160,7 +162,8 @@ public final class VpnTunnel extends com.google.api.client.json.GenericJson {
160
162
/**
161
163
* Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The
162
164
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be
163
- * disjoint. Only IPv4 is supported.
165
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
166
+ * tunnels.
164
167
* The value may be {@code null}.
165
168
*/
166
169
@ com .google .api .client .util .Key
@@ -218,7 +221,7 @@ public final class VpnTunnel extends com.google.api.client.json.GenericJson {
218
221
219
222
/**
220
223
* URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client
221
- * when the VPN tunnel is created.
224
+ * when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.
222
225
* The value may be {@code null}.
223
226
*/
224
227
@ com .google .api .client .util .Key
@@ -432,7 +435,8 @@ public VpnTunnel setLabels(java.util.Map<String, java.lang.String> labels) {
432
435
/**
433
436
* Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The
434
437
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be
435
- * disjoint. Only IPv4 is supported.
438
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
439
+ * tunnels.
436
440
* @return value or {@code null} for none
437
441
*/
438
442
public java .util .List <java .lang .String > getLocalTrafficSelector () {
@@ -442,7 +446,8 @@ public java.util.List<java.lang.String> getLocalTrafficSelector() {
442
446
/**
443
447
* Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The
444
448
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be
445
- * disjoint. Only IPv4 is supported.
449
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
450
+ * tunnels.
446
451
* @param localTrafficSelector localTrafficSelector or {@code null} for none
447
452
*/
448
453
public VpnTunnel setLocalTrafficSelector (java .util .List <java .lang .String > localTrafficSelector ) {
@@ -543,15 +548,17 @@ public VpnTunnel setPeerGcpGateway(java.lang.String peerGcpGateway) {
543
548
}
544
549
545
550
/**
546
- * IP address of the peer VPN gateway. Only IPv4 is supported.
551
+ * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for
552
+ * Classic VPN tunnels.
547
553
* @return value or {@code null} for none
548
554
*/
549
555
public java .lang .String getPeerIp () {
550
556
return peerIp ;
551
557
}
552
558
553
559
/**
554
- * IP address of the peer VPN gateway. Only IPv4 is supported.
560
+ * IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for
561
+ * Classic VPN tunnels.
555
562
* @param peerIp peerIp or {@code null} for none
556
563
*/
557
564
public VpnTunnel setPeerIp (java .lang .String peerIp ) {
@@ -581,7 +588,8 @@ public VpnTunnel setRegion(java.lang.String region) {
581
588
/**
582
589
* Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The
583
590
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be
584
- * disjoint. Only IPv4 is supported.
591
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
592
+ * tunnels.
585
593
* @return value or {@code null} for none
586
594
*/
587
595
public java .util .List <java .lang .String > getRemoteTrafficSelector () {
@@ -591,7 +599,8 @@ public java.util.List<java.lang.String> getRemoteTrafficSelector() {
591
599
/**
592
600
* Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The
593
601
* value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be
594
- * disjoint. Only IPv4 is supported.
602
+ * disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN
603
+ * tunnels.
595
604
* @param remoteTrafficSelector remoteTrafficSelector or {@code null} for none
596
605
*/
597
606
public VpnTunnel setRemoteTrafficSelector (java .util .List <java .lang .String > remoteTrafficSelector ) {
@@ -716,7 +725,7 @@ public VpnTunnel setStatus(java.lang.String status) {
716
725
717
726
/**
718
727
* URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client
719
- * when the VPN tunnel is created.
728
+ * when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.
720
729
* @return value or {@code null} for none
721
730
*/
722
731
public java .lang .String getTargetVpnGateway () {
@@ -725,7 +734,7 @@ public java.lang.String getTargetVpnGateway() {
725
734
726
735
/**
727
736
* URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client
728
- * when the VPN tunnel is created.
737
+ * when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.
729
738
* @param targetVpnGateway targetVpnGateway or {@code null} for none
730
739
*/
731
740
public VpnTunnel setTargetVpnGateway (java .lang .String targetVpnGateway ) {
0 commit comments