| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.FirewallPolicies.AddRule | Compute.FirewallPolicies. addRule(String firewallPolicy,
       FirewallPolicyRule content)Inserts a rule into a firewall policy. | 
| Compute.FirewallPolicies.PatchRule | Compute.FirewallPolicies. patchRule(String firewallPolicy,
         FirewallPolicyRule content)Patches a rule of the specified priority. | 
| Constructor and Description | 
|---|
| AddRule(String firewallPolicy,
       FirewallPolicyRule content)Inserts a rule into a firewall policy. | 
| PatchRule(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 for this resource. | 
| FirewallPolicyRule | FirewallPolicyRule. setDirection(String direction)The direction in which this rule applies. | 
| FirewallPolicyRule | FirewallPolicyRule. setDisabled(Boolean disabled)Denotes whether the firewall policy rule is disabled. | 
| 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. 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. 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> | InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy. getRules()The rules that apply to the network. | 
| List<FirewallPolicyRule> | NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy. getRules()The rules that apply to the network. | 
| List<FirewallPolicyRule> | FirewallPolicy. getRules()A list of rules that belong to this policy. | 
| Modifier and Type | Method and Description | 
|---|---|
| InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy | InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy. setRules(List<FirewallPolicyRule> rules)The rules that apply to the network. | 
| NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy | NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy. setRules(List<FirewallPolicyRule> rules)The rules that apply to the network. | 
| FirewallPolicy | FirewallPolicy. setRules(List<FirewallPolicyRule> rules)A list of rules that belong to this policy. | 
Copyright © 2011–2021 Google. All rights reserved.