public static final class ServicePerimeterConfig.EgressTo extends GeneratedMessageV3 implements ServicePerimeterConfig.EgressToOrBuilder
Defines the conditions under which an [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] matches a request. Conditions are based on information about the [ApiOperation] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] intended to be performed on the `resources` specified. Note that if the destination of the request is also protected by a [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter], then that [ServicePerimeter] [google.identity.accesscontextmanager.v1.ServicePerimeter] must have an [IngressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] which allows access in order for this request to succeed. The request must match `operations` AND `resources` fields in order to be allowed egress out of the perimeter.Protobuf type
google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo| Modifier and Type | Class and Description |
|---|---|
static class |
ServicePerimeterConfig.EgressTo.Builder
Defines the conditions under which an [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
matches a request.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
OPERATIONS_FIELD_NUMBER |
static int |
RESOURCES_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ServicePerimeterConfig.EgressTo |
getDefaultInstance() |
ServicePerimeterConfig.EgressTo |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
ServicePerimeterConfig.ApiOperation |
getOperations(int index)
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in the corresponding
[EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
int |
getOperationsCount()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in the corresponding
[EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
List<ServicePerimeterConfig.ApiOperation> |
getOperationsList()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in the corresponding
[EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
ServicePerimeterConfig.ApiOperationOrBuilder |
getOperationsOrBuilder(int index)
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in the corresponding
[EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
List<? extends ServicePerimeterConfig.ApiOperationOrBuilder> |
getOperationsOrBuilderList()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in the corresponding
[EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
Parser<ServicePerimeterConfig.EgressTo> |
getParserForType() |
String |
getResources(int index)
A list of resources, currently only projects in the form
`projects/<projectnumber>`, that are allowed to be accessed by sources
defined in the corresponding [EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
ByteString |
getResourcesBytes(int index)
A list of resources, currently only projects in the form
`projects/<projectnumber>`, that are allowed to be accessed by sources
defined in the corresponding [EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
int |
getResourcesCount()
A list of resources, currently only projects in the form
`projects/<projectnumber>`, that are allowed to be accessed by sources
defined in the corresponding [EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
ProtocolStringList |
getResourcesList()
A list of resources, currently only projects in the form
`projects/<projectnumber>`, that are allowed to be accessed by sources
defined in the corresponding [EgressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom].
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ServicePerimeterConfig.EgressTo.Builder |
newBuilder() |
static ServicePerimeterConfig.EgressTo.Builder |
newBuilder(ServicePerimeterConfig.EgressTo prototype) |
ServicePerimeterConfig.EgressTo.Builder |
newBuilderForType() |
protected ServicePerimeterConfig.EgressTo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static ServicePerimeterConfig.EgressTo |
parseDelimitedFrom(InputStream input) |
static ServicePerimeterConfig.EgressTo |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ServicePerimeterConfig.EgressTo |
parseFrom(byte[] data) |
static ServicePerimeterConfig.EgressTo |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ServicePerimeterConfig.EgressTo |
parseFrom(ByteBuffer data) |
static ServicePerimeterConfig.EgressTo |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ServicePerimeterConfig.EgressTo |
parseFrom(ByteString data) |
static ServicePerimeterConfig.EgressTo |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ServicePerimeterConfig.EgressTo |
parseFrom(CodedInputStream input) |
static ServicePerimeterConfig.EgressTo |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ServicePerimeterConfig.EgressTo |
parseFrom(InputStream input) |
static ServicePerimeterConfig.EgressTo |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ServicePerimeterConfig.EgressTo> |
parser() |
ServicePerimeterConfig.EgressTo.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int RESOURCES_FIELD_NUMBER
public static final int OPERATIONS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public ProtocolStringList getResourcesList()
A list of resources, currently only projects in the form `projects/<projectnumber>`, that are allowed to be accessed by sources defined in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this [EgressTo] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo] rule will authorize access to all resources outside the perimeter.
repeated string resources = 1;getResourcesList in interface ServicePerimeterConfig.EgressToOrBuilderpublic int getResourcesCount()
A list of resources, currently only projects in the form `projects/<projectnumber>`, that are allowed to be accessed by sources defined in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this [EgressTo] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo] rule will authorize access to all resources outside the perimeter.
repeated string resources = 1;getResourcesCount in interface ServicePerimeterConfig.EgressToOrBuilderpublic String getResources(int index)
A list of resources, currently only projects in the form `projects/<projectnumber>`, that are allowed to be accessed by sources defined in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this [EgressTo] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo] rule will authorize access to all resources outside the perimeter.
repeated string resources = 1;getResources in interface ServicePerimeterConfig.EgressToOrBuilderindex - The index of the element to return.public ByteString getResourcesBytes(int index)
A list of resources, currently only projects in the form `projects/<projectnumber>`, that are allowed to be accessed by sources defined in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it contains a resource in this list. If `*` is specified for `resources`, then this [EgressTo] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressTo] rule will authorize access to all resources outside the perimeter.
repeated string resources = 1;getResourcesBytes in interface ServicePerimeterConfig.EgressToOrBuilderindex - The index of the value to return.public List<ServicePerimeterConfig.ApiOperation> getOperationsList()
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it uses an operation/service in this list.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 2;
getOperationsList in interface ServicePerimeterConfig.EgressToOrBuilderpublic List<? extends ServicePerimeterConfig.ApiOperationOrBuilder> getOperationsOrBuilderList()
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it uses an operation/service in this list.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 2;
getOperationsOrBuilderList in interface ServicePerimeterConfig.EgressToOrBuilderpublic int getOperationsCount()
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it uses an operation/service in this list.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 2;
getOperationsCount in interface ServicePerimeterConfig.EgressToOrBuilderpublic ServicePerimeterConfig.ApiOperation getOperations(int index)
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it uses an operation/service in this list.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 2;
getOperations in interface ServicePerimeterConfig.EgressToOrBuilderpublic ServicePerimeterConfig.ApiOperationOrBuilder getOperationsOrBuilder(int index)
A list of [ApiOperations] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation] allowed to be performed by the sources specified in the corresponding [EgressFrom] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressFrom]. A request matches if it uses an operation/service in this list.
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 2;
getOperationsOrBuilder in interface ServicePerimeterConfig.EgressToOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ServicePerimeterConfig.EgressTo parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServicePerimeterConfig.EgressTo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServicePerimeterConfig.EgressTo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ServicePerimeterConfig.EgressTo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServicePerimeterConfig.EgressTo.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ServicePerimeterConfig.EgressTo.Builder newBuilder()
public static ServicePerimeterConfig.EgressTo.Builder newBuilder(ServicePerimeterConfig.EgressTo prototype)
public ServicePerimeterConfig.EgressTo.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ServicePerimeterConfig.EgressTo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ServicePerimeterConfig.EgressTo getDefaultInstance()
public static Parser<ServicePerimeterConfig.EgressTo> parser()
public Parser<ServicePerimeterConfig.EgressTo> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ServicePerimeterConfig.EgressTo getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2021 Google LLC. All rights reserved.