| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.VpnTunnels.Insert | Compute.VpnTunnels. insert(String project,
      String region,
      VpnTunnel content)Creates a VpnTunnel resource in the specified project and region using the data included in the
 request. | 
| Constructor and Description | 
|---|
| Insert(String project,
      String region,
      VpnTunnel content)Creates a VpnTunnel resource in the specified project and region using the data included in the
 request. | 
| Modifier and Type | Method and Description | 
|---|---|
| VpnTunnel | VpnTunnel. clone() | 
| VpnTunnel | VpnTunnel. encodeLabelFingerprint(byte[] labelFingerprint)A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of
 the labels set used for optimistic locking. | 
| VpnTunnel | VpnTunnel. set(String fieldName,
   Object value) | 
| VpnTunnel | VpnTunnel. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| VpnTunnel | VpnTunnel. setDescription(String description)An optional description of this resource. | 
| VpnTunnel | VpnTunnel. setDetailedStatus(String detailedStatus)[Output Only] Detailed status message for the VPN tunnel. | 
| VpnTunnel | VpnTunnel. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| VpnTunnel | VpnTunnel. setIkeVersion(Integer ikeVersion)IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. | 
| VpnTunnel | VpnTunnel. setKind(String kind)[Output Only] Type of resource. | 
| VpnTunnel | VpnTunnel. setLabelFingerprint(String labelFingerprint)A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of
 the labels set used for optimistic locking. | 
| VpnTunnel | VpnTunnel. setLabels(Map<String,String> labels)Labels for this resource. | 
| VpnTunnel | VpnTunnel. setLocalTrafficSelector(List<String> localTrafficSelector)Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. | 
| VpnTunnel | VpnTunnel. setName(String name)Name of the resource. | 
| VpnTunnel | VpnTunnel. setPeerExternalGateway(String peerExternalGateway)URL of the peer side external VPN gateway to which this VPN tunnel is connected. | 
| VpnTunnel | VpnTunnel. setPeerExternalGatewayInterface(Integer peerExternalGatewayInterface)The interface ID of the external VPN gateway to which this VPN tunnel is connected. | 
| VpnTunnel | VpnTunnel. setPeerGcpGateway(String peerGcpGateway)URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. | 
| VpnTunnel | VpnTunnel. setPeerIp(String peerIp)IP address of the peer VPN gateway. | 
| VpnTunnel | VpnTunnel. setRegion(String region)[Output Only] URL of the region where the VPN tunnel resides. | 
| VpnTunnel | VpnTunnel. setRemoteTrafficSelector(List<String> remoteTrafficSelector)Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. | 
| VpnTunnel | VpnTunnel. setRouter(String router)URL of the router resource to be used for dynamic routing. | 
| VpnTunnel | VpnTunnel. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| VpnTunnel | VpnTunnel. setSharedSecret(String sharedSecret)Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN
 gateway. | 
| VpnTunnel | VpnTunnel. setSharedSecretHash(String sharedSecretHash)Hash of the shared secret. | 
| VpnTunnel | VpnTunnel. setStatus(String status)[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING:
 Resource is being allocated for the VPN tunnel. | 
| VpnTunnel | VpnTunnel. setTargetVpnGateway(String targetVpnGateway)URL of the Target VPN gateway with which this VPN tunnel is associated. | 
| VpnTunnel | VpnTunnel. setVpnGateway(String vpnGateway)URL of the VPN gateway with which this VPN tunnel is associated. | 
| VpnTunnel | VpnTunnel. setVpnGatewayInterface(Integer vpnGatewayInterface)The interface ID of the VPN gateway with which this VPN tunnel is associated. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<VpnTunnel> | VpnTunnelList. getItems()A list of VpnTunnel resources. | 
| List<VpnTunnel> | VpnTunnelsScopedList. getVpnTunnels()A list of VPN tunnels contained in this scope. | 
| Modifier and Type | Method and Description | 
|---|---|
| VpnTunnelList | VpnTunnelList. setItems(List<VpnTunnel> items)A list of VpnTunnel resources. | 
| VpnTunnelsScopedList | VpnTunnelsScopedList. setVpnTunnels(List<VpnTunnel> vpnTunnels)A list of VPN tunnels contained in this scope. | 
Copyright © 2011–2021 Google. All rights reserved.