Interface ReplayConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReplayConfig, ReplayConfig.Builder

@Generated public interface ReplayConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
    The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
    int
    The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
    Deprecated.
    int
    A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
    A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
    A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
    A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPolicyOverlayCount

      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][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.
       
      map<string, .google.iam.v1.Policy> policy_overlay = 1;
    • containsPolicyOverlay

      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][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.
       
      map<string, .google.iam.v1.Policy> policy_overlay = 1;
    • getPolicyOverlay

      @Deprecated Map<String,Policy> getPolicyOverlay()
      Deprecated.
    • getPolicyOverlayMap

      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][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.
       
      map<string, .google.iam.v1.Policy> policy_overlay = 1;
    • getPolicyOverlayOrDefault

      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][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.
       
      map<string, .google.iam.v1.Policy> policy_overlay = 1;
    • getPolicyOverlayOrThrow

      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][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.
       
      map<string, .google.iam.v1.Policy> policy_overlay = 1;
    • getLogSourceValue

      int getLogSourceValue()
       The logs to use as input for the
       [Replay][google.cloud.policysimulator.v1.Replay].
       
      .google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
      Returns:
      The enum numeric value on the wire for logSource.
    • getLogSource

      ReplayConfig.LogSource getLogSource()
       The logs to use as input for the
       [Replay][google.cloud.policysimulator.v1.Replay].
       
      .google.cloud.policysimulator.v1.ReplayConfig.LogSource log_source = 2;
      Returns:
      The logSource.