Interface ServicePerimeterConfig.VpcAccessibleServicesOrBuilder (1.15.0)

public static interface ServicePerimeterConfig.VpcAccessibleServicesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedServices(int index)

public abstract String getAllowedServices(int index)

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedServices at the given index.

getAllowedServicesBytes(int index)

public abstract ByteString getAllowedServicesBytes(int index)

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedServices at the given index.

getAllowedServicesCount()

public abstract int getAllowedServicesCount()

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Returns
TypeDescription
int

The count of allowedServices.

getAllowedServicesList()

public abstract List<String> getAllowedServicesList()

The list of APIs usable within the Service Perimeter. Must be empty unless 'enable_restriction' is True. You can specify a list of individual services, as well as include the 'RESTRICTED-SERVICES' value, which automatically includes all of the services protected by the perimeter.

repeated string allowed_services = 2;

Returns
TypeDescription
List<String>

A list containing the allowedServices.

getEnableRestriction()

public abstract boolean getEnableRestriction()

Whether to restrict API calls within the Service Perimeter to the list of APIs specified in 'allowed_services'.

bool enable_restriction = 1;

Returns
TypeDescription
boolean

The enableRestriction.