Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
Firewall.Builder |
Firewall.Builder.addAllAllowed(List<Allowed> allowed)
The list of ALLOW rules specified by this firewall.
|
Firewall.Builder |
Firewall.Builder.addAllDenied(List<Denied> denied)
The list of DENY rules specified by this firewall.
|
Firewall.Builder |
Firewall.Builder.addAllDestinationRanges(List<String> destinationRanges)
If destination ranges are specified, the firewall rule applies only to traffic that has
destination IP address in these ranges.
|
Firewall.Builder |
Firewall.Builder.addAllowed(Allowed allowed)
The list of ALLOW rules specified by this firewall.
|
Firewall.Builder |
Firewall.Builder.addAllSourceRanges(List<String> sourceRanges)
If source ranges are specified, the firewall rule applies only to traffic that has a source
IP address in these ranges.
|
Firewall.Builder |
Firewall.Builder.addAllSourceServiceAccounts(List<String> sourceServiceAccounts)
If source service accounts are specified, the firewall rules apply only to traffic
originating from an instance with a service account in this list.
|
Firewall.Builder |
Firewall.Builder.addAllSourceTags(List<String> sourceTags)
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.
|
Firewall.Builder |
Firewall.Builder.addAllTargetServiceAccounts(List<String> targetServiceAccounts)
A list of service accounts indicating sets of instances located in the network that may make
network connections as specified in allowed[].
|
Firewall.Builder |
Firewall.Builder.addAllTargetTags(List<String> targetTags)
A list of tags that controls which instances the firewall rule applies to.
|
Firewall.Builder |
Firewall.Builder.addDenied(Denied denied)
The list of DENY rules specified by this firewall.
|
Firewall.Builder |
Firewall.Builder.addDestinationRanges(String destinationRanges)
If destination ranges are specified, the firewall rule applies only to traffic that has
destination IP address in these ranges.
|
Firewall.Builder |
Firewall.Builder.addSourceRanges(String sourceRanges)
If source ranges are specified, the firewall rule applies only to traffic that has a source
IP address in these ranges.
|
Firewall.Builder |
Firewall.Builder.addSourceServiceAccounts(String sourceServiceAccounts)
If source service accounts are specified, the firewall rules apply only to traffic
originating from an instance with a service account in this list.
|
Firewall.Builder |
Firewall.Builder.addSourceTags(String sourceTags)
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.
|
Firewall.Builder |
Firewall.Builder.addTargetServiceAccounts(String targetServiceAccounts)
A list of service accounts indicating sets of instances located in the network that may make
network connections as specified in allowed[].
|
Firewall.Builder |
Firewall.Builder.addTargetTags(String targetTags)
A list of tags that controls which instances the firewall rule applies to.
|
Firewall.Builder |
Firewall.Builder.clone() |
Firewall.Builder |
Firewall.Builder.mergeFrom(Firewall other) |
static Firewall.Builder |
Firewall.newBuilder() |
static Firewall.Builder |
Firewall.newBuilder(Firewall prototype) |
Firewall.Builder |
Firewall.Builder.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Firewall.Builder |
Firewall.Builder.setDescription(String description)
An optional description of this resource.
|
Firewall.Builder |
Firewall.Builder.setDirection(String direction)
Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`.
|
Firewall.Builder |
Firewall.Builder.setDisabled(Boolean disabled)
Denotes whether the firewall rule is disabled.
|
Firewall.Builder |
Firewall.Builder.setId(String id)
[Output Only] The unique identifier for the resource.
|
Firewall.Builder |
Firewall.Builder.setKind(String kind)
[Output Only] Type of the resource.
|
Firewall.Builder |
Firewall.Builder.setLogConfig(FirewallLogConfig logConfig)
This field denotes the logging options for a particular firewall rule.
|
Firewall.Builder |
Firewall.Builder.setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Firewall.Builder |
Firewall.Builder.setNetwork(String network)
URL of the network resource for this firewall rule.
|
Firewall.Builder |
Firewall.Builder.setPriority(Integer priority)
Priority for this rule.
|
Firewall.Builder |
Firewall.Builder.setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Firewall.Builder |
Firewall.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.