public static final class ServicePerimeterConfig.IngressPolicy.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.IngressPolicy.Builder> implements ServicePerimeterConfig.IngressPolicyOrBuilder
Policy for ingress into [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
[IngressPolicies]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
match requests based on ingress_from
and ingress_to
stanzas. For an
ingress policy to match, both the ingress_from
and ingress_to
stanzas
must be matched. If an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
matches a request, the request is allowed through the perimeter boundary
from outside the perimeter.
For example, access from the internet can be allowed either
based on an [AccessLevel]
[google.identity.accesscontextmanager.v1.AccessLevel] or, for traffic
hosted on Google Cloud, the project of the source network. For access from
private networks, using the project of the hosting network is required.
Individual ingress policies can be limited by restricting which
services and/or actions they match using the ingress_to
field.
Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ServicePerimeterConfig.IngressPolicy build()
buildPartial()
public ServicePerimeterConfig.IngressPolicy buildPartial()
clear()
public ServicePerimeterConfig.IngressPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.IngressPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIngressFrom()
public ServicePerimeterConfig.IngressPolicy.Builder clearIngressFrom()
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
clearIngressTo()
public ServicePerimeterConfig.IngressPolicy.Builder clearIngressTo()
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.IngressPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ServicePerimeterConfig.IngressPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.IngressPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIngressFrom()
public ServicePerimeterConfig.IngressFrom getIngressFrom()
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
getIngressFromBuilder()
public ServicePerimeterConfig.IngressFrom.Builder getIngressFromBuilder()
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
getIngressFromOrBuilder()
public ServicePerimeterConfig.IngressFromOrBuilder getIngressFromOrBuilder()
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
getIngressTo()
public ServicePerimeterConfig.IngressTo getIngressTo()
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
getIngressToBuilder()
public ServicePerimeterConfig.IngressTo.Builder getIngressToBuilder()
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
getIngressToOrBuilder()
public ServicePerimeterConfig.IngressToOrBuilder getIngressToOrBuilder()
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
hasIngressFrom()
public boolean hasIngressFrom()
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
Returns |
Type |
Description |
boolean |
Whether the ingressFrom field is set.
|
hasIngressTo()
public boolean hasIngressTo()
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
Returns |
Type |
Description |
boolean |
Whether the ingressTo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ServicePerimeterConfig.IngressPolicy other)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(ServicePerimeterConfig.IngressPolicy other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeIngressFrom(ServicePerimeterConfig.IngressFrom value)
public ServicePerimeterConfig.IngressPolicy.Builder mergeIngressFrom(ServicePerimeterConfig.IngressFrom value)
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
mergeIngressTo(ServicePerimeterConfig.IngressTo value)
public ServicePerimeterConfig.IngressPolicy.Builder mergeIngressTo(ServicePerimeterConfig.IngressTo value)
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.IngressPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIngressFrom(ServicePerimeterConfig.IngressFrom value)
public ServicePerimeterConfig.IngressPolicy.Builder setIngressFrom(ServicePerimeterConfig.IngressFrom value)
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
setIngressFrom(ServicePerimeterConfig.IngressFrom.Builder builderForValue)
public ServicePerimeterConfig.IngressPolicy.Builder setIngressFrom(ServicePerimeterConfig.IngressFrom.Builder builderForValue)
Defines the conditions on the source of a request causing this
[IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom ingress_from = 1;
setIngressTo(ServicePerimeterConfig.IngressTo value)
public ServicePerimeterConfig.IngressPolicy.Builder setIngressTo(ServicePerimeterConfig.IngressTo value)
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
setIngressTo(ServicePerimeterConfig.IngressTo.Builder builderForValue)
public ServicePerimeterConfig.IngressPolicy.Builder setIngressTo(ServicePerimeterConfig.IngressTo.Builder builderForValue)
Defines the conditions on the [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
and request destination that cause this [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
to apply.
.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo ingress_to = 2;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.IngressPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides