Access Context Manager V1 Client - Class VpcAccessibleServices (0.4.5)

Reference documentation and code samples for the Access Context Manager V1 Client class VpcAccessibleServices.

Specifies how APIs are allowed to communicate within the Service Perimeter.

Generated from protobuf message google.identity.accesscontextmanager.v1.ServicePerimeterConfig.VpcAccessibleServices

Namespace

Google \ Identity \ AccessContextManager \ V1 \ ServicePerimeterConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enable_restriction bool

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

↳ allowed_services array

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.

getEnableRestriction

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

Returns
TypeDescription
bool

setEnableRestriction

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAllowedServices

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAllowedServices

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this