Interface ReplayConfigOrBuilder (0.13.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for logSource.

getPolicyOverlay() (deprecated)

public abstract Map<String,Policy> getPolicyOverlay()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValuecom.google.iam.v1.Policy
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
com.google.iam.v1.Policy