target.apidocs.com.google.api.services.compute.model.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.html Maven / Gradle / Ivy
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
-
public final class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
extends com.google.api.client.json.GenericJson
Model definition for InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
clone()
String
getDisplayName()
[Output Only] Deprecated, please use short name instead.
String
getName()
[Output Only] The name of the firewall policy.
Integer
getPriority()
[Output only] Priority of firewall policy association.
List<FirewallPolicyRule>
getRules()
[Output Only] The rules that apply to the instance.
String
getShortName()
[Output Only] The short name of the firewall policy.
String
getType()
[Output Only] The type of the firewall policy.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
set(String fieldName,
Object value)
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setDisplayName(String displayName)
[Output Only] Deprecated, please use short name instead.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setName(String name)
[Output Only] The name of the firewall policy.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setPriority(Integer priority)
[Output only] Priority of firewall policy association.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setRules(List<FirewallPolicyRule> rules)
[Output Only] The rules that apply to the instance.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setShortName(String shortName)
[Output Only] The short name of the firewall policy.
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
setType(String type)
[Output Only] The type of the firewall policy.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy()
-
Method Detail
-
getDisplayName
public String getDisplayName()
[Output Only] Deprecated, please use short name instead. The display name of the firewall
policy.
- Returns:
- value or
null for none
-
setDisplayName
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setDisplayName(String displayName)
[Output Only] Deprecated, please use short name instead. The display name of the firewall
policy.
- Parameters:
displayName - displayName or null for none
-
getName
public String getName()
[Output Only] The name of the firewall policy.
- Returns:
- value or
null for none
-
setName
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setName(String name)
[Output Only] The name of the firewall policy.
- Parameters:
name - name or null for none
-
getPriority
public Integer getPriority()
[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
- Returns:
- value or
null for none
-
setPriority
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setPriority(Integer priority)
[Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
- Parameters:
priority - priority or null for none
-
getRules
public List<FirewallPolicyRule> getRules()
[Output Only] The rules that apply to the instance. Only rules that target the specific VM
instance are returned if target service accounts or target secure tags are specified in the
rules.
- Returns:
- value or
null for none
-
setRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setRules(List<FirewallPolicyRule> rules)
[Output Only] The rules that apply to the instance. Only rules that target the specific VM
instance are returned if target service accounts or target secure tags are specified in the
rules.
- Parameters:
rules - rules or null for none
-
getShortName
public String getShortName()
[Output Only] The short name of the firewall policy.
- Returns:
- value or
null for none
-
setShortName
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setShortName(String shortName)
[Output Only] The short name of the firewall policy.
- Parameters:
shortName - shortName or null for none
-
getType
public String getType()
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK,
NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
- Returns:
- value or
null for none
-
setType
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy setType(String type)
[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK,
NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL.
- Parameters:
type - type or null for none
-
set
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy