| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.RegionNetworkPolicies.Insert |
Compute.RegionNetworkPolicies.insert(String project,
String region,
NetworkPolicy content)
Creates a new policy in the specified project using the data included in the request.
|
Compute.RegionNetworkPolicies.Patch |
Compute.RegionNetworkPolicies.patch(String project,
String region,
String networkPolicy,
NetworkPolicy content)
Patches the specified policy with the data included in the request.
|
| Constructor and Description |
|---|
Insert(String project,
String region,
NetworkPolicy content)
Creates a new policy in the specified project using the data included in the request.
|
Patch(String project,
String region,
String networkPolicy,
NetworkPolicy content)
Patches the specified policy with the data included in the request.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkPolicy |
NetworkPolicy.clone() |
NetworkPolicy |
NetworkPolicy.set(String fieldName,
Object value) |
NetworkPolicy |
NetworkPolicy.setAssociations(List<NetworkPolicyAssociation> associations)
Output only.
|
NetworkPolicy |
NetworkPolicy.setCreationTimestamp(String creationTimestamp)
Output only.
|
NetworkPolicy |
NetworkPolicy.setDescription(String description)
An optional description of this resource.
|
NetworkPolicy |
NetworkPolicy.setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
NetworkPolicy |
NetworkPolicy.setKind(String kind)
Output only.
|
NetworkPolicy |
NetworkPolicy.setName(String name)
Name of the resource.
|
NetworkPolicy |
NetworkPolicy.setRegion(String region)
Output only.
|
NetworkPolicy |
NetworkPolicy.setRuleTupleCount(Integer ruleTupleCount)
Output only.
|
NetworkPolicy |
NetworkPolicy.setSelfLink(String selfLink)
Output only.
|
NetworkPolicy |
NetworkPolicy.setSelfLinkWithId(String selfLinkWithId)
Output only.
|
NetworkPolicy |
NetworkPolicy.setTrafficClassificationRules(List<NetworkPolicyTrafficClassificationRule> trafficClassificationRules)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<NetworkPolicy> |
NetworkPolicyList.getItems()
A list of NetworkPolicy resources.
|
List<NetworkPolicy> |
NetworkPoliciesScopedList.getNetworkPolicies()
A list of network policies contained in this scope.
|
| Modifier and Type | Method and Description |
|---|---|
NetworkPolicyList |
NetworkPolicyList.setItems(List<NetworkPolicy> items)
A list of NetworkPolicy resources.
|
NetworkPoliciesScopedList |
NetworkPoliciesScopedList.setNetworkPolicies(List<NetworkPolicy> networkPolicies)
A list of network policies contained in this scope.
|
Copyright © 2011–2026 Google. All rights reserved.