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

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

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






Compute.RegionNetworkFirewallPolicies (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute

Class Compute.RegionNetworkFirewallPolicies

  • java.lang.Object
    • com.google.api.services.compute.Compute.RegionNetworkFirewallPolicies
  • Enclosing class:
    Compute


    public class Compute.RegionNetworkFirewallPolicies
    extends Object
    The "regionNetworkFirewallPolicies" collection of methods.
    • Constructor Detail

      • RegionNetworkFirewallPolicies

        public RegionNetworkFirewallPolicies()
    • Method Detail

      • addAssociation

        public Compute.RegionNetworkFirewallPolicies.AddAssociation addAssociation(String project,
                                                                                   String region,
                                                                                   String firewallPolicy,
                                                                                   FirewallPolicyAssociation content)
                                                                            throws IOException
        Inserts an association for the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.addAssociation". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        content - the FirewallPolicyAssociation
        Returns:
        the request
        Throws:
        IOException
      • addRule

        public Compute.RegionNetworkFirewallPolicies.AddRule addRule(String project,
                                                                     String region,
                                                                     String firewallPolicy,
                                                                     FirewallPolicyRule content)
                                                              throws IOException
        Inserts a rule into a network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.addRule". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        content - the FirewallPolicyRule
        Returns:
        the request
        Throws:
        IOException
      • cloneRules

        public Compute.RegionNetworkFirewallPolicies.CloneRules cloneRules(String project,
                                                                           String region,
                                                                           String firewallPolicy)
                                                                    throws IOException
        Copies rules to the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.cloneRules". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Compute.RegionNetworkFirewallPolicies.Delete delete(String project,
                                                                   String region,
                                                                   String firewallPolicy)
                                                            throws IOException
        Deletes the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.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 scoping this request.
        firewallPolicy - Name of the firewall policy to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.RegionNetworkFirewallPolicies.Get get(String project,
                                                             String region,
                                                             String firewallPolicy)
                                                      throws IOException
        Returns the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.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 scoping this request.
        firewallPolicy - Name of the firewall policy to get.
        Returns:
        the request
        Throws:
        IOException
      • getAssociation

        public Compute.RegionNetworkFirewallPolicies.GetAssociation getAssociation(String project,
                                                                                   String region,
                                                                                   String firewallPolicy)
                                                                            throws IOException
        Gets an association with the specified name. Create a request for the method "regionNetworkFirewallPolicies.getAssociation". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to which the queried association belongs.
        Returns:
        the request
        Throws:
        IOException
      • getEffectiveFirewalls

        public Compute.RegionNetworkFirewallPolicies.GetEffectiveFirewalls getEffectiveFirewalls(String project,
                                                                                                 String region,
                                                                                                 String network)
                                                                                          throws IOException
        Returns the effective firewalls on a given network. Create a request for the method "regionNetworkFirewallPolicies.getEffectiveFirewalls". 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 scoping this request.
        network - Network reference
        Returns:
        the request
        Throws:
        IOException
      • getIamPolicy

        public Compute.RegionNetworkFirewallPolicies.GetIamPolicy getIamPolicy(String project,
                                                                               String region,
                                                                               String resource)
                                                                        throws IOException
        Gets the access control policy for a resource. May be empty if no such policy or resource exists. Create a request for the method "regionNetworkFirewallPolicies.getIamPolicy". 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 - The name of the region for this request.
        resource - Name or id of the resource for this request.
        Returns:
        the request
        Throws:
        IOException
      • getRule

        public Compute.RegionNetworkFirewallPolicies.GetRule getRule(String project,
                                                                     String region,
                                                                     String firewallPolicy)
                                                              throws IOException
        Gets a rule of the specified priority. Create a request for the method "regionNetworkFirewallPolicies.getRule". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to which the queried rule belongs.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.RegionNetworkFirewallPolicies.Insert insert(String project,
                                                                   String region,
                                                                   FirewallPolicy content)
                                                            throws IOException
        Creates a new network firewall policy in the specified project and region. Create a request for the method "regionNetworkFirewallPolicies.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 scoping this request.
        content - the FirewallPolicy
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.RegionNetworkFirewallPolicies.List list(String project,
                                                               String region)
                                                        throws IOException
        Lists all the network firewall policies that have been configured for the specified project in the given region. Create a request for the method "regionNetworkFirewallPolicies.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 scoping this request.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Compute.RegionNetworkFirewallPolicies.Patch patch(String project,
                                                                 String region,
                                                                 String firewallPolicy,
                                                                 FirewallPolicy content)
                                                          throws IOException
        Patches the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.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.
        region - Name of the region scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        content - the FirewallPolicy
        Returns:
        the request
        Throws:
        IOException
      • patchRule

        public Compute.RegionNetworkFirewallPolicies.PatchRule patchRule(String project,
                                                                         String region,
                                                                         String firewallPolicy,
                                                                         FirewallPolicyRule content)
                                                                  throws IOException
        Patches a rule of the specified priority. Create a request for the method "regionNetworkFirewallPolicies.patchRule". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        content - the FirewallPolicyRule
        Returns:
        the request
        Throws:
        IOException
      • removeAssociation

        public Compute.RegionNetworkFirewallPolicies.RemoveAssociation removeAssociation(String project,
                                                                                         String region,
                                                                                         String firewallPolicy)
                                                                                  throws IOException
        Removes an association for the specified network firewall policy. Create a request for the method "regionNetworkFirewallPolicies.removeAssociation". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        Returns:
        the request
        Throws:
        IOException
      • removeRule

        public Compute.RegionNetworkFirewallPolicies.RemoveRule removeRule(String project,
                                                                           String region,
                                                                           String firewallPolicy)
                                                                    throws IOException
        Deletes a rule of the specified priority. Create a request for the method "regionNetworkFirewallPolicies.removeRule". 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 scoping this request.
        firewallPolicy - Name of the firewall policy to update.
        Returns:
        the request
        Throws:
        IOException
      • setIamPolicy

        public Compute.RegionNetworkFirewallPolicies.SetIamPolicy setIamPolicy(String project,
                                                                               String region,
                                                                               String resource,
                                                                               RegionSetPolicyRequest content)
                                                                        throws IOException
        Sets the access control policy on the specified resource. Replaces any existing policy. Create a request for the method "regionNetworkFirewallPolicies.setIamPolicy". 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 - The name of the region for this request.
        resource - Name or id of the resource for this request.
        content - the RegionSetPolicyRequest
        Returns:
        the request
        Throws:
        IOException
      • testIamPermissions

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy