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

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

The newest version!






Compute.ExternalVpnGateways (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute

Class Compute.ExternalVpnGateways

  • Enclosing class:
    Compute


    public class Compute.ExternalVpnGateways
    extends Object
    The "externalVpnGateways" collection of methods.
    • Constructor Detail

      • ExternalVpnGateways

        public ExternalVpnGateways()
    • Method Detail

      • delete

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

        public Compute.ExternalVpnGateways.Get get(String project,
                                                   String externalVpnGateway)
                                            throws IOException
        Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request. Create a request for the method "externalVpnGateways.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.
        externalVpnGateway - Name of the externalVpnGateway to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.ExternalVpnGateways.Insert insert(String project,
                                                         ExternalVpnGateway content)
                                                  throws IOException
        Creates a ExternalVpnGateway in the specified project using the data included in the request. Create a request for the method "externalVpnGateways.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.
        content - the ExternalVpnGateway
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.ExternalVpnGateways.List list(String project)
                                              throws IOException
        Retrieves the list of ExternalVpnGateway available to the specified project. Create a request for the method "externalVpnGateways.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.
        Returns:
        the request
        Throws:
        IOException
      • setLabels

        public Compute.ExternalVpnGateways.SetLabels setLabels(String project,
                                                               String resource,
                                                               GlobalSetLabelsRequest content)
                                                        throws IOException
        Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation. Create a request for the method "externalVpnGateways.setLabels". 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.
        resource - Name or id of the resource for this request.
        content - the GlobalSetLabelsRequest
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

        public Compute.ExternalVpnGateways.TestIamPermissions testIamPermissions(String project,
                                                                                 String resource,
                                                                                 TestPermissionsRequest content)
                                                                          throws IOException
        Returns permissions that a caller has on the specified resource. Create a request for the method "externalVpnGateways.testIamPermissions". 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.
        resource - Name or id of the resource for this request.
        content - the TestPermissionsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy