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

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







Compute.VpnGateways (Compute Engine API beta-rev20220312-1.32.1)












com.google.api.services.compute

Class Compute.VpnGateways

  • Enclosing class:
    Compute


    public class Compute.VpnGateways
    extends Object
    The "vpnGateways" collection of methods.
    • Constructor Detail

      • VpnGateways

        public VpnGateways()
    • Method Detail

      • aggregatedList

        public Compute.VpnGateways.AggregatedList aggregatedList(String project)
                                                          throws IOException
        Retrieves an aggregated list of VPN gateways. Create a request for the method "vpnGateways.aggregatedList". 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.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Compute.VpnGateways.Delete delete(String project,
                                                 String region,
                                                 String vpnGateway)
                                          throws IOException
        Deletes the specified VPN gateway. Create a request for the method "vpnGateways.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.
        vpnGateway - Name of the VPN gateway to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.VpnGateways.Get get(String project,
                                           String region,
                                           String vpnGateway)
                                    throws IOException
        Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request. Create a request for the method "vpnGateways.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.
        vpnGateway - Name of the VPN gateway to return.
        Returns:
        the request
        Throws:
        IOException
      • getStatus

        public Compute.VpnGateways.GetStatus getStatus(String project,
                                                       String region,
                                                       String vpnGateway)
                                                throws IOException
        Returns the status for the specified VPN gateway. Create a request for the method "vpnGateways.getStatus". 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.
        vpnGateway - Name of the VPN gateway to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.VpnGateways.Insert insert(String project,
                                                 String region,
                                                 VpnGateway content)
                                          throws IOException
        Creates a VPN gateway in the specified project and region using the data included in the request. Create a request for the method "vpnGateways.insert". 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.
        content - the VpnGateway
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.VpnGateways.List list(String project,
                                             String region)
                                      throws IOException
        Retrieves a list of VPN gateways available to the specified project and region. Create a request for the method "vpnGateways.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–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy