| Constructor and Description | 
|---|
| NetworkFirewallPolicies() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.NetworkFirewallPolicies.AddAssociation | addAssociation(String project,
              String firewallPolicy,
              FirewallPolicyAssociation content)Inserts an association for the specified firewall policy. | 
| Compute.NetworkFirewallPolicies.AddRule | addRule(String project,
       String firewallPolicy,
       FirewallPolicyRule content)Inserts a rule into a firewall policy. | 
| Compute.NetworkFirewallPolicies.CloneRules | cloneRules(String project,
          String firewallPolicy)Copies rules to the specified firewall policy. | 
| Compute.NetworkFirewallPolicies.Delete | delete(String project,
      String firewallPolicy)Deletes the specified policy. | 
| Compute.NetworkFirewallPolicies.Get | get(String project,
   String firewallPolicy)Returns the specified network firewall policy. | 
| Compute.NetworkFirewallPolicies.GetAssociation | getAssociation(String project,
              String firewallPolicy)Gets an association with the specified name. | 
| Compute.NetworkFirewallPolicies.GetIamPolicy | getIamPolicy(String project,
            String resource)Gets the access control policy for a resource. | 
| Compute.NetworkFirewallPolicies.GetRule | getRule(String project,
       String firewallPolicy)Gets a rule of the specified priority. | 
| Compute.NetworkFirewallPolicies.Insert | insert(String project,
      FirewallPolicy content)Creates a new policy in the specified project using the data included in the request. | 
| Compute.NetworkFirewallPolicies.List | list(String project)Lists all the policies that have been configured for the specified project. | 
| Compute.NetworkFirewallPolicies.Patch | patch(String project,
     String firewallPolicy,
     FirewallPolicy content)Patches the specified policy with the data included in the request. | 
| Compute.NetworkFirewallPolicies.PatchRule | patchRule(String project,
         String firewallPolicy,
         FirewallPolicyRule content)Patches a rule of the specified priority. | 
| Compute.NetworkFirewallPolicies.RemoveAssociation | removeAssociation(String project,
                 String firewallPolicy)Removes an association for the specified firewall policy. | 
| Compute.NetworkFirewallPolicies.RemoveRule | removeRule(String project,
          String firewallPolicy)Deletes a rule of the specified priority. | 
| Compute.NetworkFirewallPolicies.SetIamPolicy | setIamPolicy(String project,
            String resource,
            GlobalSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.NetworkFirewallPolicies.TestIamPermissions | testIamPermissions(String project,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
public Compute.NetworkFirewallPolicies.AddAssociation addAssociation(String project, String firewallPolicy, FirewallPolicyAssociation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.content - the FirewallPolicyAssociationIOExceptionpublic Compute.NetworkFirewallPolicies.AddRule addRule(String project, String firewallPolicy, FirewallPolicyRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.content - the FirewallPolicyRuleIOExceptionpublic Compute.NetworkFirewallPolicies.CloneRules cloneRules(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.IOExceptionpublic Compute.NetworkFirewallPolicies.Delete delete(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to delete.IOExceptionpublic Compute.NetworkFirewallPolicies.Get get(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to get.IOExceptionpublic Compute.NetworkFirewallPolicies.GetAssociation getAssociation(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to which the queried association belongs.IOExceptionpublic Compute.NetworkFirewallPolicies.GetIamPolicy getIamPolicy(String project, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.NetworkFirewallPolicies.GetRule getRule(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to which the queried rule belongs.IOExceptionpublic Compute.NetworkFirewallPolicies.Insert insert(String project, FirewallPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the FirewallPolicyIOExceptionpublic Compute.NetworkFirewallPolicies.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.NetworkFirewallPolicies.Patch patch(String project, String firewallPolicy, FirewallPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.content - the FirewallPolicyIOExceptionpublic Compute.NetworkFirewallPolicies.PatchRule patchRule(String project, String firewallPolicy, FirewallPolicyRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.content - the FirewallPolicyRuleIOExceptionpublic Compute.NetworkFirewallPolicies.RemoveAssociation removeAssociation(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.IOExceptionpublic Compute.NetworkFirewallPolicies.RemoveRule removeRule(String project, String firewallPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.firewallPolicy - Name of the firewall policy to update.IOExceptionpublic Compute.NetworkFirewallPolicies.SetIamPolicy setIamPolicy(String project, String resource, GlobalSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the GlobalSetPolicyRequestIOExceptionpublic Compute.NetworkFirewallPolicies.TestIamPermissions testIamPermissions(String project, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2022 Google. All rights reserved.