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

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







Compute.Firewalls (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute

Class Compute.Firewalls

  • Enclosing class:
    Compute


    public class Compute.Firewalls
    extends Object
    The "firewalls" collection of methods.
    • Constructor Detail

      • Firewalls

        public Firewalls()
    • Method Detail

      • delete

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

        public Compute.Firewalls.Get get(String project,
                                         String firewall)
                                  throws IOException
        Returns the specified firewall. Create a request for the method "firewalls.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.
        firewall - Name of the firewall rule to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

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

        public Compute.Firewalls.List list(String project)
                                    throws IOException
        Retrieves the list of firewall rules available to the specified project. Create a request for the method "firewalls.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
      • patch

        public Compute.Firewalls.Patch patch(String project,
                                             String firewall,
                                             Firewall content)
                                      throws IOException
        Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Create a request for the method "firewalls.patch". 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.
        firewall - Name of the firewall rule to patch.
        content - the Firewall
        Returns:
        the request
        Throws:
        IOException
      • update

        public Compute.Firewalls.Update update(String project,
                                               String firewall,
                                               Firewall content)
                                        throws IOException
        Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. Create a request for the method "firewalls.update". 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.
        firewall - Name of the firewall rule to update.
        content - the Firewall
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy