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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ServicePerimeterConfig.IngressPolicy build()
Returns
buildPartial()
public ServicePerimeterConfig.IngressPolicy buildPartial()
Returns
clear()
public ServicePerimeterConfig.IngressPolicy.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ServicePerimeterConfig.IngressPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ServicePerimeterConfig.IngressPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ServicePerimeterConfig.IngressPolicy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.IngressPolicy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ServicePerimeterConfig.IngressPolicy other)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(ServicePerimeterConfig.IngressPolicy other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServicePerimeterConfig.IngressPolicy.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.IngressPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServicePerimeterConfig.IngressPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServicePerimeterConfig.IngressPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides