Interface ReplayConfigOrBuilder (0.31.0)

public interface ReplayConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsPolicyOverlay(String key)

public abstract boolean containsPolicyOverlay(String key)

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.

map<string, .google.iam.v1.Policy> policy_overlay = 1;

Parameter
Name Description
key String
Returns
Type Description
boolean

getLogSource()

public abstract ReplayConfig.LogSource getLogSource()

The logs to use as input for the Replay.

.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;

Returns
Type Description
ReplayConfig.LogSource

The logSource.

getLogSourceValue()

public abstract int getLogSourceValue()

The logs to use as input for the Replay.

.google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;

Returns
Type Description
int

The enum numeric value on the wire for logSource.

getPolicyOverlay() (deprecated)

public abstract Map<String,Policy> getPolicyOverlay()
Returns
Type Description
Map<String,com.google.iam.v1.Policy>

getPolicyOverlayCount()

public abstract int getPolicyOverlayCount()

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.

map<string, .google.iam.v1.Policy> policy_overlay = 1;

Returns
Type Description
int

getPolicyOverlayMap()

public abstract Map<String,Policy> getPolicyOverlayMap()

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.

map<string, .google.iam.v1.Policy> policy_overlay = 1;

Returns
Type Description
Map<String,com.google.iam.v1.Policy>

getPolicyOverlayOrDefault(String key, Policy defaultValue)

public abstract Policy getPolicyOverlayOrDefault(String key, Policy defaultValue)

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.

map<string, .google.iam.v1.Policy> policy_overlay = 1;

Parameters
Name Description
key String
defaultValue com.google.iam.v1.Policy
Returns
Type Description
com.google.iam.v1.Policy

getPolicyOverlayOrThrow(String key)

public abstract Policy getPolicyOverlayOrThrow(String key)

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.

map<string, .google.iam.v1.Policy> policy_overlay = 1;

Parameter
Name Description
key String
Returns
Type Description
com.google.iam.v1.Policy