Class ServicePerimeterConfig.Builder (1.56.0)

public static final class ServicePerimeterConfig.Builder extends GeneratedMessageV3.Builder<ServicePerimeterConfig.Builder> implements ServicePerimeterConfigOrBuilder

ServicePerimeterConfig specifies a set of Google Cloud resources that describe specific Service Perimeter configuration.

Protobuf type google.identity.accesscontextmanager.v1.ServicePerimeterConfig

Static Methods

getDescriptor()

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

Methods

addAccessLevels(String value)

public ServicePerimeterConfig.Builder addAccessLevels(String value)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameter
Name Description
value String

The accessLevels to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addAccessLevelsBytes(ByteString value)

public ServicePerimeterConfig.Builder addAccessLevelsBytes(ByteString value)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameter
Name Description
value ByteString

The bytes of the accessLevels to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addAllAccessLevels(Iterable<String> values)

public ServicePerimeterConfig.Builder addAllAccessLevels(Iterable<String> values)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameter
Name Description
values Iterable<String>

The accessLevels to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addAllEgressPolicies(Iterable<? extends ServicePerimeterConfig.EgressPolicy> values)

public ServicePerimeterConfig.Builder addAllEgressPolicies(Iterable<? extends ServicePerimeterConfig.EgressPolicy> values)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

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

addAllIngressPolicies(Iterable<? extends ServicePerimeterConfig.IngressPolicy> values)

public ServicePerimeterConfig.Builder addAllIngressPolicies(Iterable<? extends ServicePerimeterConfig.IngressPolicy> values)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

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

addAllResources(Iterable<String> values)

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

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Parameter
Name Description
values Iterable<String>

The resources to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addAllRestrictedServices(Iterable<String> values)

public ServicePerimeterConfig.Builder addAllRestrictedServices(Iterable<String> values)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameter
Name Description
values Iterable<String>

The restrictedServices to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addEgressPolicies(ServicePerimeterConfig.EgressPolicy value)

public ServicePerimeterConfig.Builder addEgressPolicies(ServicePerimeterConfig.EgressPolicy value)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameter
Name Description
value ServicePerimeterConfig.EgressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

addEgressPolicies(ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder addEgressPolicies(ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameter
Name Description
builderForValue ServicePerimeterConfig.EgressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)

public ServicePerimeterConfig.Builder addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameters
Name Description
index int
value ServicePerimeterConfig.EgressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder addEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.EgressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

addEgressPoliciesBuilder()

public ServicePerimeterConfig.EgressPolicy.Builder addEgressPoliciesBuilder()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Returns
Type Description
ServicePerimeterConfig.EgressPolicy.Builder

addEgressPoliciesBuilder(int index)

public ServicePerimeterConfig.EgressPolicy.Builder addEgressPoliciesBuilder(int index)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

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

addIngressPolicies(ServicePerimeterConfig.IngressPolicy value)

public ServicePerimeterConfig.Builder addIngressPolicies(ServicePerimeterConfig.IngressPolicy value)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameter
Name Description
value ServicePerimeterConfig.IngressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

addIngressPolicies(ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder addIngressPolicies(ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameter
Name Description
builderForValue ServicePerimeterConfig.IngressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)

public ServicePerimeterConfig.Builder addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameters
Name Description
index int
value ServicePerimeterConfig.IngressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder addIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.IngressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

addIngressPoliciesBuilder()

public ServicePerimeterConfig.IngressPolicy.Builder addIngressPoliciesBuilder()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Returns
Type Description
ServicePerimeterConfig.IngressPolicy.Builder

addIngressPoliciesBuilder(int index)

public ServicePerimeterConfig.IngressPolicy.Builder addIngressPoliciesBuilder(int index)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResources(String value)

public ServicePerimeterConfig.Builder addResources(String value)

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Parameter
Name Description
value String

The resources to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addResourcesBytes(ByteString value)

public ServicePerimeterConfig.Builder addResourcesBytes(ByteString value)

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Parameter
Name Description
value ByteString

The bytes of the resources to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addRestrictedServices(String value)

public ServicePerimeterConfig.Builder addRestrictedServices(String value)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameter
Name Description
value String

The restrictedServices to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

addRestrictedServicesBytes(ByteString value)

public ServicePerimeterConfig.Builder addRestrictedServicesBytes(ByteString value)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameter
Name Description
value ByteString

The bytes of the restrictedServices to add.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

build()

public ServicePerimeterConfig build()
Returns
Type Description
ServicePerimeterConfig

buildPartial()

public ServicePerimeterConfig buildPartial()
Returns
Type Description
ServicePerimeterConfig

clear()

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

clearAccessLevels()

public ServicePerimeterConfig.Builder clearAccessLevels()

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

clearEgressPolicies()

public ServicePerimeterConfig.Builder clearEgressPolicies()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Returns
Type Description
ServicePerimeterConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIngressPolicies()

public ServicePerimeterConfig.Builder clearIngressPolicies()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Returns
Type Description
ServicePerimeterConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResources()

public ServicePerimeterConfig.Builder clearResources()

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

clearRestrictedServices()

public ServicePerimeterConfig.Builder clearRestrictedServices()

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

clearVpcAccessibleServices()

public ServicePerimeterConfig.Builder clearVpcAccessibleServices()

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Returns
Type Description
ServicePerimeterConfig.Builder

clone()

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

getAccessLevels(int index)

public String getAccessLevels(int index)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The accessLevels at the given index.

getAccessLevelsBytes(int index)

public ByteString getAccessLevelsBytes(int index)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the accessLevels at the given index.

getAccessLevelsCount()

public int getAccessLevelsCount()

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Returns
Type Description
int

The count of accessLevels.

getAccessLevelsList()

public ProtocolStringList getAccessLevelsList()

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Returns
Type Description
ProtocolStringList

A list containing the accessLevels.

getDefaultInstanceForType()

public ServicePerimeterConfig getDefaultInstanceForType()
Returns
Type Description
ServicePerimeterConfig

getDescriptorForType()

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

getEgressPolicies(int index)

public ServicePerimeterConfig.EgressPolicy getEgressPolicies(int index)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.EgressPolicy

getEgressPoliciesBuilder(int index)

public ServicePerimeterConfig.EgressPolicy.Builder getEgressPoliciesBuilder(int index)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

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

getEgressPoliciesBuilderList()

public List<ServicePerimeterConfig.EgressPolicy.Builder> getEgressPoliciesBuilderList()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Returns
Type Description
List<Builder>

getEgressPoliciesCount()

public int getEgressPoliciesCount()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Returns
Type Description
int

getEgressPoliciesList()

public List<ServicePerimeterConfig.EgressPolicy> getEgressPoliciesList()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Returns
Type Description
List<EgressPolicy>

getEgressPoliciesOrBuilder(int index)

public ServicePerimeterConfig.EgressPolicyOrBuilder getEgressPoliciesOrBuilder(int index)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.EgressPolicyOrBuilder

getEgressPoliciesOrBuilderList()

public List<? extends ServicePerimeterConfig.EgressPolicyOrBuilder> getEgressPoliciesOrBuilderList()

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

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

getIngressPolicies(int index)

public ServicePerimeterConfig.IngressPolicy getIngressPolicies(int index)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.IngressPolicy

getIngressPoliciesBuilder(int index)

public ServicePerimeterConfig.IngressPolicy.Builder getIngressPoliciesBuilder(int index)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

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

getIngressPoliciesBuilderList()

public List<ServicePerimeterConfig.IngressPolicy.Builder> getIngressPoliciesBuilderList()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Returns
Type Description
List<Builder>

getIngressPoliciesCount()

public int getIngressPoliciesCount()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Returns
Type Description
int

getIngressPoliciesList()

public List<ServicePerimeterConfig.IngressPolicy> getIngressPoliciesList()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Returns
Type Description
List<IngressPolicy>

getIngressPoliciesOrBuilder(int index)

public ServicePerimeterConfig.IngressPolicyOrBuilder getIngressPoliciesOrBuilder(int index)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.IngressPolicyOrBuilder

getIngressPoliciesOrBuilderList()

public List<? extends ServicePerimeterConfig.IngressPolicyOrBuilder> getIngressPoliciesOrBuilderList()

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

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

getResources(int index)

public String getResources(int index)

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

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 Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

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 Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Returns
Type Description
int

The count of resources.

getResourcesList()

public ProtocolStringList getResourcesList()

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

repeated string resources = 1;

Returns
Type Description
ProtocolStringList

A list containing the resources.

getRestrictedServices(int index)

public String getRestrictedServices(int index)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The restrictedServices at the given index.

getRestrictedServicesBytes(int index)

public ByteString getRestrictedServicesBytes(int index)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the restrictedServices at the given index.

getRestrictedServicesCount()

public int getRestrictedServicesCount()

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Returns
Type Description
int

The count of restrictedServices.

getRestrictedServicesList()

public ProtocolStringList getRestrictedServicesList()

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Returns
Type Description
ProtocolStringList

A list containing the restrictedServices.

getVpcAccessibleServices()

public ServicePerimeterConfig.VpcAccessibleServices getVpcAccessibleServices()

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServices

The vpcAccessibleServices.

getVpcAccessibleServicesBuilder()

public ServicePerimeterConfig.VpcAccessibleServices.Builder getVpcAccessibleServicesBuilder()

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServices.Builder

getVpcAccessibleServicesOrBuilder()

public ServicePerimeterConfig.VpcAccessibleServicesOrBuilder getVpcAccessibleServicesOrBuilder()

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Returns
Type Description
ServicePerimeterConfig.VpcAccessibleServicesOrBuilder

hasVpcAccessibleServices()

public boolean hasVpcAccessibleServices()

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Returns
Type Description
boolean

Whether the vpcAccessibleServices field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServicePerimeterConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)

public ServicePerimeterConfig.Builder mergeVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Parameter
Name Description
value ServicePerimeterConfig.VpcAccessibleServices
Returns
Type Description
ServicePerimeterConfig.Builder

removeEgressPolicies(int index)

public ServicePerimeterConfig.Builder removeEgressPolicies(int index)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.Builder

removeIngressPolicies(int index)

public ServicePerimeterConfig.Builder removeIngressPolicies(int index)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameter
Name Description
index int
Returns
Type Description
ServicePerimeterConfig.Builder

setAccessLevels(int index, String value)

public ServicePerimeterConfig.Builder setAccessLevels(int index, String value)

A list of AccessLevel resource names that allow resources within the ServicePerimeter to be accessed from the internet. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel is a syntax error. If no AccessLevel names are listed, resources within the perimeter can only be accessed via Google Cloud calls with request origins within the perimeter. Example: "accessPolicies/MY_POLICY/accessLevels/MY_LEVEL". For Service Perimeter Bridge, must be empty.

repeated string access_levels = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The accessLevels to set.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)

public ServicePerimeterConfig.Builder setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy value)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameters
Name Description
index int
value ServicePerimeterConfig.EgressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder setEgressPolicies(int index, ServicePerimeterConfig.EgressPolicy.Builder builderForValue)

List of [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] to apply to the perimeter. A perimeter may have multiple [EgressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy], each of which is evaluated separately. Access is granted if any [EgressPolicy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy egress_policies = 9;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.EgressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)

public ServicePerimeterConfig.Builder setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy value)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameters
Name Description
index int
value ServicePerimeterConfig.IngressPolicy
Returns
Type Description
ServicePerimeterConfig.Builder

setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

public ServicePerimeterConfig.Builder setIngressPolicies(int index, ServicePerimeterConfig.IngressPolicy.Builder builderForValue)

List of [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] to apply to the perimeter. A perimeter may have multiple [IngressPolicies] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy], each of which is evaluated separately. Access is granted if any [Ingress Policy] [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy] grants it. Must be empty for a perimeter bridge.

repeated .google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy ingress_policies = 8;

Parameters
Name Description
index int
builderForValue ServicePerimeterConfig.IngressPolicy.Builder
Returns
Type Description
ServicePerimeterConfig.Builder

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

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

setResources(int index, String value)

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

A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: projects/{project_number}

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.Builder

This builder for chaining.

setRestrictedServices(int index, String value)

public ServicePerimeterConfig.Builder setRestrictedServices(int index, String value)

Google Cloud services that are subject to the Service Perimeter restrictions. For example, if storage.googleapis.com is specified, access to the storage buckets inside the perimeter must meet the perimeter's access restrictions.

repeated string restricted_services = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The restrictedServices to set.

Returns
Type Description
ServicePerimeterConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)

public ServicePerimeterConfig.Builder setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices value)

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Parameter
Name Description
value ServicePerimeterConfig.VpcAccessibleServices
Returns
Type Description
ServicePerimeterConfig.Builder

setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices.Builder builderForValue)

public ServicePerimeterConfig.Builder setVpcAccessibleServices(ServicePerimeterConfig.VpcAccessibleServices.Builder builderForValue)

Configuration for APIs allowed within Perimeter.

.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices vpc_accessible_services = 10;

Parameter
Name Description
builderForValue ServicePerimeterConfig.VpcAccessibleServices.Builder
Returns
Type Description
ServicePerimeterConfig.Builder