@Generated(value="by GAPIC") @BetaApi public final class Firewall extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
Firewall.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Allowed> |
getAllowedList()
The list of ALLOW rules specified by this firewall.
|
ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static Firewall |
getDefaultInstance() |
List<Denied> |
getDeniedList()
The list of DENY rules specified by this firewall.
|
String |
getDescription()
An optional description of this resource.
|
List<String> |
getDestinationRangesList()
If destination ranges are specified, the firewall will apply only to traffic that has
destination IP address in these ranges.
|
String |
getDirection()
Direction of traffic to which this firewall applies; default is INGRESS.
|
Boolean |
getDisabled()
Denotes whether the firewall rule is disabled, i.e not applied to the network it is associated
with.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
FirewallLogConfig |
getLogConfig()
This field denotes the logging options for a particular firewall rule.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
String |
getNetwork()
URL of the network resource for this firewall rule.
|
Integer |
getPriority()
Priority for this rule.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
List<String> |
getSourceRangesList()
If source ranges are specified, the firewall will apply only to traffic that has source IP
address in these ranges.
|
List<String> |
getSourceServiceAccountsList()
If source service accounts are specified, the firewall will apply only to traffic originating
from an instance with a service account in this list.
|
List<String> |
getSourceTagsList()
If source tags are specified, the firewall rule applies only to traffic with source IPs that
match the primary network interfaces of VM instances that have the tag and are in the same VPC
network.
|
List<String> |
getTargetServiceAccountsList()
A list of service accounts indicating sets of instances located in the network that may make
network connections as specified in allowed[].
|
List<String> |
getTargetTagsList()
A list of tags that controls which instances the firewall rule applies to.
|
int |
hashCode() |
static Firewall.Builder |
newBuilder() |
static Firewall.Builder |
newBuilder(Firewall prototype) |
Firewall.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public List<Allowed> getAllowedList()
public String getCreationTimestamp()
public List<Denied> getDeniedList()
public String getDescription()
public List<String> getDestinationRangesList()
public String getDirection()
public Boolean getDisabled()
public String getId()
public String getKind()
public FirewallLogConfig getLogConfig()
public String getName()
public String getNetwork()
public Integer getPriority()
public String getSelfLink()
public List<String> getSourceRangesList()
public List<String> getSourceServiceAccountsList()
public List<String> getSourceTagsList()
public List<String> getTargetServiceAccountsList()
public List<String> getTargetTagsList()
public static Firewall.Builder newBuilder()
public static Firewall.Builder newBuilder(Firewall prototype)
public Firewall.Builder toBuilder()
public static Firewall getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.