class PolicySimulator extends Service (View source)

Service definition for PolicySimulator (v1).

Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$folders_locations_orgPolicyViolationsPreviews_operations
$folders_locations_replays
$folders_locations_replays_operations
$folders_locations_replays_results
$operations
$organizations_locations_orgPolicyViolationsPreviews_operations
$organizations_locations_replays
$organizations_locations_replays_operations
$organizations_locations_replays_results
$projects_locations_orgPolicyViolationsPreviews_operations
$projects_locations_replays
$projects_locations_replays_operations
$projects_locations_replays_results
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the PolicySimulator service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the PolicySimulator service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.