public class Compute.SecurityPolicies
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.SecurityPolicies.AddRule |
class |
Compute.SecurityPolicies.Delete |
class |
Compute.SecurityPolicies.Get |
class |
Compute.SecurityPolicies.GetRule |
class |
Compute.SecurityPolicies.Insert |
class |
Compute.SecurityPolicies.List |
class |
Compute.SecurityPolicies.Patch |
class |
Compute.SecurityPolicies.PatchRule |
class |
Compute.SecurityPolicies.RemoveRule |
| Constructor and Description |
|---|
SecurityPolicies() |
| Modifier and Type | Method and Description |
|---|---|
Compute.SecurityPolicies.AddRule |
addRule(java.lang.String project,
java.lang.String securityPolicy,
SecurityPolicyRule content)
Inserts a rule into a security policy.
|
Compute.SecurityPolicies.Delete |
delete(java.lang.String project,
java.lang.String securityPolicy)
Deletes the specified policy.
|
Compute.SecurityPolicies.Get |
get(java.lang.String project,
java.lang.String securityPolicy)
List all of the ordered rules present in a single specified policy.
|
Compute.SecurityPolicies.GetRule |
getRule(java.lang.String project,
java.lang.String securityPolicy)
Gets a rule at the specified priority.
|
Compute.SecurityPolicies.Insert |
insert(java.lang.String project,
SecurityPolicy content)
Creates a new policy in the specified project using the data included in the request.
|
Compute.SecurityPolicies.List |
list(java.lang.String project)
List all the policies that have been configured for the specified project.
|
Compute.SecurityPolicies.Patch |
patch(java.lang.String project,
java.lang.String securityPolicy,
SecurityPolicy content)
Patches the specified policy with the data included in the request.
|
Compute.SecurityPolicies.PatchRule |
patchRule(java.lang.String project,
java.lang.String securityPolicy,
SecurityPolicyRule content)
Patches a rule at the specified priority.
|
Compute.SecurityPolicies.RemoveRule |
removeRule(java.lang.String project,
java.lang.String securityPolicy)
Deletes a rule at the specified priority.
|
public Compute.SecurityPolicies.AddRule addRule(java.lang.String project, java.lang.String securityPolicy, SecurityPolicyRule content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to update.content - the SecurityPolicyRulejava.io.IOExceptionpublic Compute.SecurityPolicies.Delete delete(java.lang.String project, java.lang.String securityPolicy) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to delete.java.io.IOExceptionpublic Compute.SecurityPolicies.Get get(java.lang.String project, java.lang.String securityPolicy) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to get.java.io.IOExceptionpublic Compute.SecurityPolicies.GetRule getRule(java.lang.String project, java.lang.String securityPolicy) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to which the queried rule belongs.java.io.IOExceptionpublic Compute.SecurityPolicies.Insert insert(java.lang.String project, SecurityPolicy content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the SecurityPolicyjava.io.IOExceptionpublic Compute.SecurityPolicies.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.SecurityPolicies.Patch patch(java.lang.String project, java.lang.String securityPolicy, SecurityPolicy content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to update.content - the SecurityPolicyjava.io.IOExceptionpublic Compute.SecurityPolicies.PatchRule patchRule(java.lang.String project, java.lang.String securityPolicy, SecurityPolicyRule content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to update.content - the SecurityPolicyRulejava.io.IOExceptionpublic Compute.SecurityPolicies.RemoveRule removeRule(java.lang.String project, java.lang.String securityPolicy) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.securityPolicy - Name of the security policy to update.java.io.IOException