Class BucketInfo.IpFilter.VpcNetworkSource (2.60.0)

public static final class BucketInfo.IpFilter.VpcNetworkSource implements Serializable

The list of VPC networks that can access the bucket.

Inheritance

Object > BucketInfo.IpFilter.VpcNetworkSource

Implements

Serializable

Static Methods

newBuilder()

public static BucketInfo.IpFilter.VpcNetworkSource.Builder newBuilder()
Returns
Type Description
BucketInfo.IpFilter.VpcNetworkSource.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAllowedIpCidrRanges()

public @Nullable List<String> getAllowedIpCidrRanges()

Optional. The list of public or private IPv4 and IPv6 CIDR ranges that can access the bucket. In the CIDR IP address block, the specified IP address must be properly truncated, meaning all the host bits must be zero or else the input is considered malformed. For example, 192.0.2.0/24 is accepted but 192.0.2.1/24 is not. Similarly, for IPv6, 2001:db8::/32 is accepted whereas 2001:db8::1/32 is not. See Also: Builder#setAllowedIpCidrRanges(List)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.Nullable java.util.List<String>

getNetwork()

public @Nullable String getNetwork()

Name of the network.

Format: projects/PROJECT_ID/global/networks/NETWORK_NAME See Also: Builder#setNetwork(String)

Returns
Type Description
@org.checkerframework.checker.nullness.qual.Nullable java.lang.String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public BucketInfo.IpFilter.VpcNetworkSource.Builder toBuilder()
Returns
Type Description
BucketInfo.IpFilter.VpcNetworkSource.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides