Class ServicePerimeterConfig.Builder (1.35.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
TypeDescription
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
NameDescription
valueString

The accessLevels to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the accessLevels to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The accessLevels to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The resources to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The restrictedServices to add.

Returns
TypeDescription
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
NameDescription
valueServicePerimeterConfig.EgressPolicy
Returns
TypeDescription
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
NameDescription
builderForValueServicePerimeterConfig.EgressPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServicePerimeterConfig.EgressPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServicePerimeterConfig.EgressPolicy.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueServicePerimeterConfig.IngressPolicy
Returns
TypeDescription
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
NameDescription
builderForValueServicePerimeterConfig.IngressPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueServicePerimeterConfig.IngressPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServicePerimeterConfig.IngressPolicy.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ServicePerimeterConfig.IngressPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ServicePerimeterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resources to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the resources to add.

Returns
TypeDescription
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
NameDescription
valueString

The restrictedServices to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the restrictedServices to add.

Returns
TypeDescription
ServicePerimeterConfig.Builder

This builder for chaining.

build()

public ServicePerimeterConfig build()
Returns
TypeDescription
ServicePerimeterConfig

buildPartial()

public ServicePerimeterConfig buildPartial()
Returns
TypeDescription
ServicePerimeterConfig

clear()

public ServicePerimeterConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ServicePerimeterConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ServicePerimeterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ServicePerimeterConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ServicePerimeterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ServicePerimeterConfig.Builder

clone()

public ServicePerimeterConfig.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the accessLevels.

getDefaultInstanceForType()

public ServicePerimeterConfig getDefaultInstanceForType()
Returns
TypeDescription
ServicePerimeterConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ServicePerimeterConfig.VpcAccessibleServicesOrBuilder

hasVpcAccessibleServices()

public boolean hasVpcAccessibleServices()

Configuration for APIs allowed within Perimeter.

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

Returns
TypeDescription
boolean

Whether the vpcAccessibleServices field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ServicePerimeterConfig other)

public ServicePerimeterConfig.Builder mergeFrom(ServicePerimeterConfig other)
Parameter
NameDescription
otherServicePerimeterConfig
Returns
TypeDescription
ServicePerimeterConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ServicePerimeterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServicePerimeterConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ServicePerimeterConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ServicePerimeterConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ServicePerimeterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueServicePerimeterConfig.VpcAccessibleServices
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The accessLevels to set.

Returns
TypeDescription
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
NameDescription
indexint
valueServicePerimeterConfig.EgressPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServicePerimeterConfig.EgressPolicy.Builder
Returns
TypeDescription
ServicePerimeterConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ServicePerimeterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueServicePerimeterConfig.IngressPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueServicePerimeterConfig.IngressPolicy.Builder
Returns
TypeDescription
ServicePerimeterConfig.Builder

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

public ServicePerimeterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The resources to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The restrictedServices to set.

Returns
TypeDescription
ServicePerimeterConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ServicePerimeterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueServicePerimeterConfig.VpcAccessibleServices
Returns
TypeDescription
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
NameDescription
builderForValueServicePerimeterConfig.VpcAccessibleServices.Builder
Returns
TypeDescription
ServicePerimeterConfig.Builder