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