| Constructor and Description | 
|---|
| OrganizationSecurityPolicies() | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.OrganizationSecurityPolicies.AddAssociation | addAssociation(String securityPolicy,
              SecurityPolicyAssociation content)Inserts an association for the specified security policy. | 
| Compute.OrganizationSecurityPolicies.AddRule | addRule(String securityPolicy,
       SecurityPolicyRule content)Inserts a rule into a security policy. | 
| Compute.OrganizationSecurityPolicies.CopyRules | copyRules(String securityPolicy)Copies rules to the specified security policy. | 
| Compute.OrganizationSecurityPolicies.Delete | delete(String securityPolicy)Deletes the specified policy. | 
| Compute.OrganizationSecurityPolicies.Get | get(String securityPolicy)List all of the ordered rules present in a single specified policy. | 
| Compute.OrganizationSecurityPolicies.GetAssociation | getAssociation(String securityPolicy)Gets an association with the specified name. | 
| Compute.OrganizationSecurityPolicies.GetRule | getRule(String securityPolicy)Gets a rule at the specified priority. | 
| Compute.OrganizationSecurityPolicies.Insert | insert(SecurityPolicy content)Creates a new policy in the specified project using the data included in the request. | 
| Compute.OrganizationSecurityPolicies.List | list()List all the policies that have been configured for the specified project. | 
| Compute.OrganizationSecurityPolicies.ListAssociations | listAssociations()Lists associations of a specified target, i.e., organization or folder. | 
| Compute.OrganizationSecurityPolicies.Move | move(String securityPolicy)Moves the specified security policy. | 
| Compute.OrganizationSecurityPolicies.Patch | patch(String securityPolicy,
     SecurityPolicy content)Patches the specified policy with the data included in the request. | 
| Compute.OrganizationSecurityPolicies.PatchRule | patchRule(String securityPolicy,
         SecurityPolicyRule content)Patches a rule at the specified priority. | 
| Compute.OrganizationSecurityPolicies.RemoveAssociation | removeAssociation(String securityPolicy)Removes an association for the specified security policy. | 
| Compute.OrganizationSecurityPolicies.RemoveRule | removeRule(String securityPolicy)Deletes a rule at the specified priority. | 
public Compute.OrganizationSecurityPolicies.AddAssociation addAssociation(String securityPolicy, SecurityPolicyAssociation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.content - the SecurityPolicyAssociationIOExceptionpublic Compute.OrganizationSecurityPolicies.AddRule addRule(String securityPolicy, SecurityPolicyRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.content - the SecurityPolicyRuleIOExceptionpublic Compute.OrganizationSecurityPolicies.CopyRules copyRules(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.IOExceptionpublic Compute.OrganizationSecurityPolicies.Delete delete(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to delete.IOExceptionpublic Compute.OrganizationSecurityPolicies.Get get(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to get.IOExceptionpublic Compute.OrganizationSecurityPolicies.GetAssociation getAssociation(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to which the queried rule belongs.IOExceptionpublic Compute.OrganizationSecurityPolicies.GetRule getRule(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to which the queried rule belongs.IOExceptionpublic Compute.OrganizationSecurityPolicies.Insert insert(SecurityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the SecurityPolicyIOExceptionpublic Compute.OrganizationSecurityPolicies.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Compute.OrganizationSecurityPolicies.ListAssociations listAssociations() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic Compute.OrganizationSecurityPolicies.Move move(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.IOExceptionpublic Compute.OrganizationSecurityPolicies.Patch patch(String securityPolicy, SecurityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.content - the SecurityPolicyIOExceptionpublic Compute.OrganizationSecurityPolicies.PatchRule patchRule(String securityPolicy, SecurityPolicyRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.content - the SecurityPolicyRuleIOExceptionpublic Compute.OrganizationSecurityPolicies.RemoveAssociation removeAssociation(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.IOExceptionpublic Compute.OrganizationSecurityPolicies.RemoveRule removeRule(String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.securityPolicy - Name of the security policy to update.IOExceptionCopyright © 2011–2022 Google. All rights reserved.