Package com.google.cloud.storage
Class BucketInfo.IpFilter.VpcNetworkSource
java.lang.Object
com.google.cloud.storage.BucketInfo.IpFilter.VpcNetworkSource
- All Implemented Interfaces:
Serializable
- Enclosing class:
- BucketInfo.IpFilter
@Immutable
public static final class BucketInfo.IpFilter.VpcNetworkSource
extends Object
implements Serializable
The list of VPC networks that can access the bucket.
- Since:
- 2.54.0
- See Also:
-
Method Details
-
getNetwork
Name of the network.Format: `projects/PROJECT_ID/global/networks/NETWORK_NAME`
- Since:
- 2.54.0
- See Also:
-
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.- Since:
- 2.54.0
- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-
toBuilder
- Since:
- 2.54.0
-
newBuilder
- Since:
- 2.54.0
-