Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class ReplayConfig.
The configuration used for a Replay .
Generated from protobuf message google.cloud.policysimulator.v1.ReplayConfig
Namespace
Google \ Cloud \ PolicySimulator \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ policy_overlay
array| Google\Protobuf\Internal\MapField
A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project
. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names
. Values are Policy
objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.
↳ log_source
getPolicyOverlay
A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names
.
Values are Policy
objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
setPolicyOverlay
A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
Keys are the full resource names for the resources. For example, //cloudresourcemanager.googleapis.com/projects/my-project
.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names
.
Values are Policy
objects representing the policies
that you want to simulate.
Replays automatically take into account any IAM policies inherited through
the resource hierarchy, and any policies set on descendant resources. You
do not need to include these policies in the policy overlay.
$this
getLogSource
The logs to use as input for the Replay .
int
setLogSource
The logs to use as input for the Replay .
var
int
$this