Package | Description |
---|---|
com.google.api.services.compute | |
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
Compute.NetworkFirewallPolicies.AddRule |
Compute.NetworkFirewallPolicies.addRule(String project,
String firewallPolicy,
FirewallPolicyRule content)
Inserts a rule into a firewall policy.
|
Compute.NetworkFirewallPolicies.PatchRule |
Compute.NetworkFirewallPolicies.patchRule(String project,
String firewallPolicy,
FirewallPolicyRule content)
Patches a rule of the specified priority.
|
Constructor and Description |
---|
AddRule(String project,
String firewallPolicy,
FirewallPolicyRule content)
Inserts a rule into a firewall policy.
|
PatchRule(String project,
String firewallPolicy,
FirewallPolicyRule content)
Patches a rule of the specified priority.
|
Modifier and Type | Method and Description |
---|---|
FirewallPolicyRule |
FirewallPolicyRule.clone() |
FirewallPolicyRule |
FirewallPolicyRule.set(String fieldName,
Object value) |
FirewallPolicyRule |
FirewallPolicyRule.setAction(String action)
The Action to perform when the client connection triggers the rule.
|
FirewallPolicyRule |
FirewallPolicyRule.setDescription(String description)
An optional description of this resource.
|
FirewallPolicyRule |
FirewallPolicyRule.setDirection(String direction)
The direction in which this rule applies.
|
FirewallPolicyRule |
FirewallPolicyRule.setEnableLogging(Boolean enableLogging)
Denotes whether to enable logging for a particular rule.
|
FirewallPolicyRule |
FirewallPolicyRule.setKind(String kind)
[Output only] Type of the resource.
|
FirewallPolicyRule |
FirewallPolicyRule.setMatch(FirewallPolicyRuleMatcher match)
A match condition that incoming traffic is evaluated against.
|
FirewallPolicyRule |
FirewallPolicyRule.setPreview(Boolean preview)
If set to true, the specified action is not enforced.
|
FirewallPolicyRule |
FirewallPolicyRule.setPriority(Integer priority)
An integer indicating the priority of a rule in the list.
|
FirewallPolicyRule |
FirewallPolicyRule.setRuleTupleCount(Integer ruleTupleCount)
[Output Only] Calculation of the complexity of a single firewall policy rule.
|
FirewallPolicyRule |
FirewallPolicyRule.setTargetResources(List<String> targetResources)
A list of network resource URLs to which this rule applies.
|
FirewallPolicyRule |
FirewallPolicyRule.setTargetSecureLabels(List<String> targetSecureLabels)
A list of secure labels that controls which instances the firewall rule applies to.
|
FirewallPolicyRule |
FirewallPolicyRule.setTargetServiceAccounts(List<String> targetServiceAccounts)
A list of service accounts indicating the sets of instances that are applied with this rule.
|
Modifier and Type | Method and Description |
---|---|
List<FirewallPolicyRule> |
FirewallPolicy.getRules()
A list of rules that belong to this policy.
|
Modifier and Type | Method and Description |
---|---|
FirewallPolicy |
FirewallPolicy.setRules(List<FirewallPolicyRule> rules)
A list of rules that belong to this policy.
|
Copyright © 2011–2020 Google. All rights reserved.