Access Context Manager V1 Client - Class VpcAccessibleServices (1.0.2)

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
Name Description
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
Type Description
bool

setEnableRestriction

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

Parameter
Name Description
var bool
Returns
Type Description
$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
Type Description
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
Name Description
var string[]
Returns
Type Description
$this