| Modifier and Type | Class and Description |
|---|---|
class |
Compute.RegionSecurityPolicies.Delete |
class |
Compute.RegionSecurityPolicies.Get |
class |
Compute.RegionSecurityPolicies.Insert |
class |
Compute.RegionSecurityPolicies.List |
class |
Compute.RegionSecurityPolicies.Patch |
| Constructor and Description |
|---|
RegionSecurityPolicies() |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionSecurityPolicies.Delete |
delete(String project,
String region,
String securityPolicy)
Deletes the specified policy.
|
Compute.RegionSecurityPolicies.Get |
get(String project,
String region,
String securityPolicy)
List all of the ordered rules present in a single specified policy.
|
Compute.RegionSecurityPolicies.Insert |
insert(String project,
String region,
SecurityPolicy content)
Creates a new policy in the specified project using the data included in the request.
|
Compute.RegionSecurityPolicies.List |
list(String project,
String region)
List all the policies that have been configured for the specified project and region.
|
Compute.RegionSecurityPolicies.Patch |
patch(String project,
String region,
String securityPolicy,
SecurityPolicy content)
Patches the specified policy with the data included in the request.
|
public Compute.RegionSecurityPolicies.Delete delete(String project, String region, String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.securityPolicy - Name of the security policy to delete.IOExceptionpublic Compute.RegionSecurityPolicies.Get get(String project, String region, String securityPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.securityPolicy - Name of the security policy to get.IOExceptionpublic Compute.RegionSecurityPolicies.Insert insert(String project, String region, SecurityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.content - the SecurityPolicyIOExceptionpublic Compute.RegionSecurityPolicies.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.IOExceptionpublic Compute.RegionSecurityPolicies.Patch patch(String project, String region, String securityPolicy, SecurityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.securityPolicy - Name of the security policy to update.content - the SecurityPolicyIOExceptionCopyright © 2011–2023 Google. All rights reserved.