Package com.google.storage.v2
Interface Bucket.IpFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Bucket.IpFilter,Bucket.IpFilter.Builder
- Enclosing class:
- Bucket
public static interface Bucket.IpFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether or not to allow all P4SA access to the bucket.booleanOptional.getMode()The state of the IP filter configuration.com.google.protobuf.ByteStringThe state of the IP filter configuration.Public IPs allowed to operate or access the bucket.Public IPs allowed to operate or access the bucket.getVpcNetworkSources(int index) Optional.intOptional.Optional.getVpcNetworkSourcesOrBuilder(int index) Optional.List<? extends Bucket.IpFilter.VpcNetworkSourceOrBuilder>Optional.booleanWhether or not to allow all P4SA access to the bucket.booleanhasMode()The state of the IP filter configuration.booleanPublic IPs allowed to operate or access the bucket.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasMode
boolean hasMode()The state of the IP filter configuration. Valid values are `Enabled` and `Disabled`. When set to `Enabled`, IP filtering rules are applied to a bucket and all incoming requests to the bucket are evaluated against these rules. When set to `Disabled`, IP filtering rules are not applied to a bucket.".
optional string mode = 1;- Returns:
- Whether the mode field is set.
-
getMode
String getMode()The state of the IP filter configuration. Valid values are `Enabled` and `Disabled`. When set to `Enabled`, IP filtering rules are applied to a bucket and all incoming requests to the bucket are evaluated against these rules. When set to `Disabled`, IP filtering rules are not applied to a bucket.".
optional string mode = 1;- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()The state of the IP filter configuration. Valid values are `Enabled` and `Disabled`. When set to `Enabled`, IP filtering rules are applied to a bucket and all incoming requests to the bucket are evaluated against these rules. When set to `Disabled`, IP filtering rules are not applied to a bucket.".
optional string mode = 1;- Returns:
- The bytes for mode.
-
hasPublicNetworkSource
boolean hasPublicNetworkSource()Public IPs allowed to operate or access the bucket.
optional .google.storage.v2.Bucket.IpFilter.PublicNetworkSource public_network_source = 2;- Returns:
- Whether the publicNetworkSource field is set.
-
getPublicNetworkSource
Bucket.IpFilter.PublicNetworkSource getPublicNetworkSource()Public IPs allowed to operate or access the bucket.
optional .google.storage.v2.Bucket.IpFilter.PublicNetworkSource public_network_source = 2;- Returns:
- The publicNetworkSource.
-
getPublicNetworkSourceOrBuilder
Bucket.IpFilter.PublicNetworkSourceOrBuilder getPublicNetworkSourceOrBuilder()Public IPs allowed to operate or access the bucket.
optional .google.storage.v2.Bucket.IpFilter.PublicNetworkSource public_network_source = 2; -
getVpcNetworkSourcesList
List<Bucket.IpFilter.VpcNetworkSource> getVpcNetworkSourcesList()Optional. The list of network sources that are allowed to access operations on the bucket or the underlying objects.
repeated .google.storage.v2.Bucket.IpFilter.VpcNetworkSource vpc_network_sources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getVpcNetworkSources
Optional. The list of network sources that are allowed to access operations on the bucket or the underlying objects.
repeated .google.storage.v2.Bucket.IpFilter.VpcNetworkSource vpc_network_sources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getVpcNetworkSourcesCount
int getVpcNetworkSourcesCount()Optional. The list of network sources that are allowed to access operations on the bucket or the underlying objects.
repeated .google.storage.v2.Bucket.IpFilter.VpcNetworkSource vpc_network_sources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getVpcNetworkSourcesOrBuilderList
List<? extends Bucket.IpFilter.VpcNetworkSourceOrBuilder> getVpcNetworkSourcesOrBuilderList()Optional. The list of network sources that are allowed to access operations on the bucket or the underlying objects.
repeated .google.storage.v2.Bucket.IpFilter.VpcNetworkSource vpc_network_sources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getVpcNetworkSourcesOrBuilder
Optional. The list of network sources that are allowed to access operations on the bucket or the underlying objects.
repeated .google.storage.v2.Bucket.IpFilter.VpcNetworkSource vpc_network_sources = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAllowCrossOrgVpcs
boolean getAllowCrossOrgVpcs()Optional. Whether or not to allow VPCs from orgs different than the bucket's parent org to access the bucket. When set to true, validations on the existence of the VPCs won't be performed. If set to false, each VPC network source will be checked to belong to the same org as the bucket as well as validated for existence.
bool allow_cross_org_vpcs = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The allowCrossOrgVpcs.
-
hasAllowAllServiceAgentAccess
boolean hasAllowAllServiceAgentAccess()Whether or not to allow all P4SA access to the bucket. When set to true, IP filter config validation will not apply.
optional bool allow_all_service_agent_access = 5;- Returns:
- Whether the allowAllServiceAgentAccess field is set.
-
getAllowAllServiceAgentAccess
boolean getAllowAllServiceAgentAccess()Whether or not to allow all P4SA access to the bucket. When set to true, IP filter config validation will not apply.
optional bool allow_all_service_agent_access = 5;- Returns:
- The allowAllServiceAgentAccess.
-