Class ServicePerimeterConfig.EgressTo.Builder (1.56.0)

public static final class ServicePerimeterConfig.EgressTo.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.EgressTo.Builder> 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExternalResources(Iterable<String> values)

public ServicePerimeterConfig.EgressTo.Builder addAllExternalResources(Iterable<String> values)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameter
Name Description
values Iterable<String>

The externalResources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

addAllOperations(Iterable<? extends ServicePerimeterConfig.ApiOperation> values)

public ServicePerimeterConfig.EgressTo.Builder addAllOperations(Iterable<? extends ServicePerimeterConfig.ApiOperation> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation>
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

addAllResources(Iterable<String> values)

public ServicePerimeterConfig.EgressTo.Builder addAllResources(Iterable<String> values)

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;

Parameter
Name Description
values Iterable<String>

The resources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

addExternalResources(String value)

public ServicePerimeterConfig.EgressTo.Builder addExternalResources(String value)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameter
Name Description
value String

The externalResources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

addExternalResourcesBytes(ByteString value)

public ServicePerimeterConfig.EgressTo.Builder addExternalResourcesBytes(ByteString value)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameter
Name Description
value ByteString

The bytes of the externalResources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

addOperations(ServicePerimeterConfig.ApiOperation value)

public ServicePerimeterConfig.EgressTo.Builder addOperations(ServicePerimeterConfig.ApiOperation value)

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;

Parameter
Name Description
value ServicePerimeterConfig.ApiOperation
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

addOperations(ServicePerimeterConfig.ApiOperation.Builder builderForValue)

public ServicePerimeterConfig.EgressTo.Builder addOperations(ServicePerimeterConfig.ApiOperation.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ServicePerimeterConfig.ApiOperation.Builder
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

addOperations(int index, ServicePerimeterConfig.ApiOperation value)

public ServicePerimeterConfig.EgressTo.Builder addOperations(int index, ServicePerimeterConfig.ApiOperation value)

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;

Parameters
Name Description
index int
value ServicePerimeterConfig.ApiOperation
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

addOperations(int index, ServicePerimeterConfig.ApiOperation.Builder builderForValue)

public ServicePerimeterConfig.EgressTo.Builder addOperations(int index, ServicePerimeterConfig.ApiOperation.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.ApiOperation.Builder
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

addOperationsBuilder()

public ServicePerimeterConfig.ApiOperation.Builder addOperationsBuilder()

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;

Returns
Type Description
ServicePerimeterConfig.ApiOperation.Builder

addOperationsBuilder(int index)

public ServicePerimeterConfig.ApiOperation.Builder addOperationsBuilder(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;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.ApiOperation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServicePerimeterConfig.EgressTo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

addResources(String value)

public ServicePerimeterConfig.EgressTo.Builder addResources(String value)

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;

Parameter
Name Description
value String

The resources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

addResourcesBytes(ByteString value)

public ServicePerimeterConfig.EgressTo.Builder addResourcesBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes of the resources to add.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

build()

public ServicePerimeterConfig.EgressTo build()
Returns
Type Description
ServicePerimeterConfig.EgressTo

buildPartial()

public ServicePerimeterConfig.EgressTo buildPartial()
Returns
Type Description
ServicePerimeterConfig.EgressTo

clear()

public ServicePerimeterConfig.EgressTo.Builder clear()
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

clearExternalResources()

public ServicePerimeterConfig.EgressTo.Builder clearExternalResources()

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ServicePerimeterConfig.EgressTo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ServicePerimeterConfig.EgressTo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

clearOperations()

public ServicePerimeterConfig.EgressTo.Builder clearOperations()

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;

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

clearResources()

public ServicePerimeterConfig.EgressTo.Builder clearResources()

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;

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

clone()

public ServicePerimeterConfig.EgressTo.Builder clone()
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

getDefaultInstanceForType()

public ServicePerimeterConfig.EgressTo getDefaultInstanceForType()
Returns
Type Description
ServicePerimeterConfig.EgressTo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalResources(int index)

public String getExternalResources(int index)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The externalResources at the given index.

getExternalResourcesBytes(int index)

public ByteString getExternalResourcesBytes(int index)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the externalResources at the given index.

getExternalResourcesCount()

public int getExternalResourcesCount()

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Returns
Type Description
int

The count of externalResources.

getExternalResourcesList()

public ProtocolStringList getExternalResourcesList()

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Returns
Type Description
ProtocolStringList

A list containing the externalResources.

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 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;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.ApiOperation

getOperationsBuilder(int index)

public ServicePerimeterConfig.ApiOperation.Builder getOperationsBuilder(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;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.ApiOperation.Builder

getOperationsBuilderList()

public List<ServicePerimeterConfig.ApiOperation.Builder> getOperationsBuilderList()

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;

Returns
Type Description
List<Builder>

getOperationsCount()

public 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;

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 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;

Returns
Type Description
List<ApiOperation>

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 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;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.ApiOperationOrBuilder

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 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;

Returns
Type Description
List<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperationOrBuilder>

getResources(int index)

public 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;

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>, 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;

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>, 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;

Returns
Type Description
int

The count of resources.

getResourcesList()

public 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;

Returns
Type Description
ProtocolStringList

A list containing the resources.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServicePerimeterConfig.EgressTo other)

public ServicePerimeterConfig.EgressTo.Builder mergeFrom(ServicePerimeterConfig.EgressTo other)
Parameter
Name Description
other ServicePerimeterConfig.EgressTo
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServicePerimeterConfig.EgressTo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ServicePerimeterConfig.EgressTo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServicePerimeterConfig.EgressTo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

removeOperations(int index)

public ServicePerimeterConfig.EgressTo.Builder removeOperations(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;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

setExternalResources(int index, String value)

public ServicePerimeterConfig.EgressTo.Builder setExternalResources(int index, String value)

A list of external resources that are allowed to be accessed. Only AWS and Azure resources are supported. For Amazon S3, the supported format is s3://BUCKET_NAME. For Azure Storage, the supported format is azure://myaccount.blob.core.windows.net/CONTAINER_NAME. A request matches if it contains an external resource in this list (Example: s3://bucket/path). Currently '*' is not allowed.

repeated string external_resources = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The externalResources to set.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ServicePerimeterConfig.EgressTo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

setOperations(int index, ServicePerimeterConfig.ApiOperation value)

public ServicePerimeterConfig.EgressTo.Builder setOperations(int index, ServicePerimeterConfig.ApiOperation value)

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;

Parameters
Name Description
index int
value ServicePerimeterConfig.ApiOperation
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

setOperations(int index, ServicePerimeterConfig.ApiOperation.Builder builderForValue)

public ServicePerimeterConfig.EgressTo.Builder setOperations(int index, ServicePerimeterConfig.ApiOperation.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.ApiOperation.Builder
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ServicePerimeterConfig.EgressTo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides

setResources(int index, String value)

public ServicePerimeterConfig.EgressTo.Builder setResources(int index, String value)

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;

Parameters
Name Description
index int

The index to set the value at.

value String

The resources to set.

Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServicePerimeterConfig.EgressTo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ServicePerimeterConfig.EgressTo.Builder
Overrides