| Constructor and Description |
|---|
RegionNetworkPolicies() |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionNetworkPolicies.AddAssociation |
addAssociation(String project,
String region,
String networkPolicy,
NetworkPolicyAssociation content)
Inserts an association for the specified network policy.
|
Compute.RegionNetworkPolicies.AddTrafficClassificationRule |
addTrafficClassificationRule(String project,
String region,
String networkPolicy,
NetworkPolicyTrafficClassificationRule content)
Inserts a rule into a network policy.
|
Compute.RegionNetworkPolicies.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of network policies.
|
Compute.RegionNetworkPolicies.Delete |
delete(String project,
String region,
String networkPolicy)
Deletes the specified policy.
|
Compute.RegionNetworkPolicies.Get |
get(String project,
String region,
String networkPolicy)
Returns the specified network policy.
|
Compute.RegionNetworkPolicies.GetAssociation |
getAssociation(String project,
String region,
String networkPolicy)
Gets an association with the specified name.
|
Compute.RegionNetworkPolicies.GetTrafficClassificationRule |
getTrafficClassificationRule(String project,
String region,
String networkPolicy)
Gets a rule of the specified priority.
|
Compute.RegionNetworkPolicies.Insert |
insert(String project,
String region,
NetworkPolicy content)
Creates a new policy in the specified project using the data included in the request.
|
Compute.RegionNetworkPolicies.List |
list(String project,
String region)
Lists all the policies that have been configured for the specified project in the given region.
|
Compute.RegionNetworkPolicies.Patch |
patch(String project,
String region,
String networkPolicy,
NetworkPolicy content)
Patches the specified policy with the data included in the request.
|
Compute.RegionNetworkPolicies.PatchTrafficClassificationRule |
patchTrafficClassificationRule(String project,
String region,
String networkPolicy,
NetworkPolicyTrafficClassificationRule content)
Patches a rule of the specified priority.
|
Compute.RegionNetworkPolicies.RemoveAssociation |
removeAssociation(String project,
String region,
String networkPolicy)
Removes an association for the specified network policy.
|
Compute.RegionNetworkPolicies.RemoveTrafficClassificationRule |
removeTrafficClassificationRule(String project,
String region,
String networkPolicy)
Deletes a rule of the specified priority.
|
public Compute.RegionNetworkPolicies.AddAssociation addAssociation(String project, String region, String networkPolicy, NetworkPolicyAssociation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.content - the NetworkPolicyAssociationIOExceptionpublic Compute.RegionNetworkPolicies.AddTrafficClassificationRule addTrafficClassificationRule(String project, String region, String networkPolicy, NetworkPolicyTrafficClassificationRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.content - the NetworkPolicyTrafficClassificationRuleIOExceptionpublic Compute.RegionNetworkPolicies.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.RegionNetworkPolicies.Delete delete(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to delete.IOExceptionpublic Compute.RegionNetworkPolicies.Get get(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to return.IOExceptionpublic Compute.RegionNetworkPolicies.GetAssociation getAssociation(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy to which the queried association belongs.IOExceptionpublic Compute.RegionNetworkPolicies.GetTrafficClassificationRule getTrafficClassificationRule(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy to which the queried rule belongs.IOExceptionpublic Compute.RegionNetworkPolicies.Insert insert(String project, String region, NetworkPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.content - the NetworkPolicyIOExceptionpublic Compute.RegionNetworkPolicies.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 of this request.IOExceptionpublic Compute.RegionNetworkPolicies.Patch patch(String project, String region, String networkPolicy, NetworkPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.content - the NetworkPolicyIOExceptionpublic Compute.RegionNetworkPolicies.PatchTrafficClassificationRule patchTrafficClassificationRule(String project, String region, String networkPolicy, NetworkPolicyTrafficClassificationRule content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.content - the NetworkPolicyTrafficClassificationRuleIOExceptionpublic Compute.RegionNetworkPolicies.RemoveAssociation removeAssociation(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.IOExceptionpublic Compute.RegionNetworkPolicies.RemoveTrafficClassificationRule removeTrafficClassificationRule(String project, String region, String networkPolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the
remote operation.project - Project ID for this request.region - Name of the region of this request.networkPolicy - Name of the network policy resource to update.IOExceptionCopyright © 2011–2026 Google. All rights reserved.