public static final class ServicePerimeterConfig.IngressTo extends GeneratedMessageV3 implements ServicePerimeterConfig.IngressToOrBuilder
Defines the conditions under which an [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
matches a request. Conditions are based on information about the
[ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
intended to be performed on the target resource of the request. The request
must satisfy what is defined in operations
AND resources
in order to
match.
Protobuf type google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressTo
Static Fields
OPERATIONS_FIELD_NUMBER
public static final int OPERATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ServicePerimeterConfig.IngressTo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ServicePerimeterConfig.IngressTo.Builder newBuilder()
newBuilder(ServicePerimeterConfig.IngressTo prototype)
public static ServicePerimeterConfig.IngressTo.Builder newBuilder(ServicePerimeterConfig.IngressTo prototype)
parseDelimitedFrom(InputStream input)
public static ServicePerimeterConfig.IngressTo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ServicePerimeterConfig.IngressTo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ServicePerimeterConfig.IngressTo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ServicePerimeterConfig.IngressTo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ServicePerimeterConfig.IngressTo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ServicePerimeterConfig.IngressTo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ServicePerimeterConfig.IngressTo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ServicePerimeterConfig.IngressTo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ServicePerimeterConfig.IngressTo getDefaultInstanceForType()
getOperations(int index)
public ServicePerimeterConfig.ApiOperation getOperations(int index)
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
in this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
getOperationsCount()
public int getOperationsCount()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
in this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 1;
Returns |
---|
Type | Description |
int | |
getOperationsList()
public List<ServicePerimeterConfig.ApiOperation> getOperationsList()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
in this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 1;
getOperationsOrBuilder(int index)
public ServicePerimeterConfig.ApiOperationOrBuilder getOperationsOrBuilder(int index)
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
in this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
getOperationsOrBuilderList()
public List<? extends ServicePerimeterConfig.ApiOperationOrBuilder> getOperationsOrBuilderList()
A list of [ApiOperations]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
allowed to be performed by the sources specified in corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom]
in this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter].
repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation operations = 1;
Returns |
---|
Type | Description |
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperationOrBuilder> | |
getParserForType()
public Parser<ServicePerimeterConfig.IngressTo> getParserForType()
Overrides
getResources(int index)
public String getResources(int index)
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom].
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
repeated string resources = 2;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The resources at the given index.
|
getResourcesBytes(int index)
public ByteString getResourcesBytes(int index)
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom].
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
repeated string resources = 2;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the resources at the given index.
|
getResourcesCount()
public int getResourcesCount()
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom].
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
repeated string resources = 2;
Returns |
---|
Type | Description |
int | The count of resources.
|
getResourcesList()
public ProtocolStringList getResourcesList()
A list of resources, currently only projects in the form
projects/<projectnumber>
, protected by this [ServicePerimeter]
[google.identity.accesscontextmanager.v1.ServicePerimeter] that are
allowed to be accessed by sources defined in the corresponding
[IngressFrom]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressFrom].
If a single *
is specified, then access to all resources inside the
perimeter are allowed.
repeated string resources = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ServicePerimeterConfig.IngressTo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ServicePerimeterConfig.IngressTo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ServicePerimeterConfig.IngressTo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides