public sealed class ReplayConfig : IMessage<ReplayConfig>, IEquatable<ReplayConfig>, IDeepCloneable<ReplayConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Simulator v1 API class ReplayConfig.
The configuration used for a [Replay][google.cloud.policysimulator.v1.Replay].
Implements
IMessageReplayConfig, IEquatableReplayConfig, IDeepCloneableReplayConfig, IBufferMessage, IMessageNamespace
Google.Cloud.PolicySimulator.V1Assembly
Google.Cloud.PolicySimulator.V1.dll
Constructors
ReplayConfig()
public ReplayConfig()
ReplayConfig(ReplayConfig)
public ReplayConfig(ReplayConfig other)
Parameter | |
---|---|
Name | Description |
other |
ReplayConfig |
Properties
LogSource
public ReplayConfig.Types.LogSource LogSource { get; set; }
The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
Property Value | |
---|---|
Type | Description |
ReplayConfigTypesLogSource |
PolicyOverlay
public MapField<string, Policy> PolicyOverlay { get; }
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][google.iam.v1.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.
Property Value | |
---|---|
Type | Description |
MapFieldstringPolicy |