All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.TargetVpnGateways.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250107-2.0.0
Show newest version






Compute.TargetVpnGateways (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute

Class Compute.TargetVpnGateways

  • Enclosing class:
    Compute


    public class Compute.TargetVpnGateways
    extends Object
    The "targetVpnGateways" collection of methods.
    • Constructor Detail

      • TargetVpnGateways

        public TargetVpnGateways()
    • Method Detail

      • delete

        public Compute.TargetVpnGateways.Delete delete(String project,
                                                       String region,
                                                       String targetVpnGateway)
                                                throws IOException
        Deletes the specified target VPN gateway. Create a request for the method "targetVpnGateways.delete". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region for this request.
        targetVpnGateway - Name of the target VPN gateway to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.TargetVpnGateways.Get get(String project,
                                                 String region,
                                                 String targetVpnGateway)
                                          throws IOException
        Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request. Create a request for the method "targetVpnGateways.get". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region for this request.
        targetVpnGateway - Name of the target VPN gateway to return.
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.TargetVpnGateways.List list(String project,
                                                   String region)
                                            throws IOException
        Retrieves a list of target VPN gateways available to the specified project and region. Create a request for the method "targetVpnGateways.list". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        region - Name of the region for this request.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy