target.apidocs.com.google.api.services.compute.Compute.RegionNetworkFirewallPolicies.html Maven / Gradle / Ivy
Compute.RegionNetworkFirewallPolicies (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute
Class Compute.RegionNetworkFirewallPolicies
- java.lang.Object
-
- com.google.api.services.compute.Compute.RegionNetworkFirewallPolicies
-
-
Nested Class Summary
-
Constructor Summary
Constructors
Constructor and Description
RegionNetworkFirewallPolicies()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Compute.RegionNetworkFirewallPolicies.AddAssociation
addAssociation(String project,
String region,
String firewallPolicy,
FirewallPolicyAssociation content)
Inserts an association for the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.AddRule
addRule(String project,
String region,
String firewallPolicy,
FirewallPolicyRule content)
Inserts a rule into a network firewall policy.
Compute.RegionNetworkFirewallPolicies.CloneRules
cloneRules(String project,
String region,
String firewallPolicy)
Copies rules to the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.Delete
delete(String project,
String region,
String firewallPolicy)
Deletes the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.Get
get(String project,
String region,
String firewallPolicy)
Returns the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.GetAssociation
getAssociation(String project,
String region,
String firewallPolicy)
Gets an association with the specified name.
Compute.RegionNetworkFirewallPolicies.GetEffectiveFirewalls
getEffectiveFirewalls(String project,
String region,
String network)
Returns the effective firewalls on a given network.
Compute.RegionNetworkFirewallPolicies.GetIamPolicy
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
Compute.RegionNetworkFirewallPolicies.GetRule
getRule(String project,
String region,
String firewallPolicy)
Gets a rule of the specified priority.
Compute.RegionNetworkFirewallPolicies.Insert
insert(String project,
String region,
FirewallPolicy content)
Creates a new network firewall policy in the specified project and region.
Compute.RegionNetworkFirewallPolicies.List
list(String project,
String region)
Lists all the network firewall policies that have been configured for the specified project in
the given region.
Compute.RegionNetworkFirewallPolicies.Patch
patch(String project,
String region,
String firewallPolicy,
FirewallPolicy content)
Patches the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.PatchRule
patchRule(String project,
String region,
String firewallPolicy,
FirewallPolicyRule content)
Patches a rule of the specified priority.
Compute.RegionNetworkFirewallPolicies.RemoveAssociation
removeAssociation(String project,
String region,
String firewallPolicy)
Removes an association for the specified network firewall policy.
Compute.RegionNetworkFirewallPolicies.RemoveRule
removeRule(String project,
String region,
String firewallPolicy)
Deletes a rule of the specified priority.
Compute.RegionNetworkFirewallPolicies.SetIamPolicy
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
Compute.RegionNetworkFirewallPolicies.TestIamPermissions
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
-
-
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–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy