Interface ReplayConfigOrBuilder

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

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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsPolicyOverlay​(String key)
      A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
      ReplayConfig.LogSource getLogSource()
      The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
      int getLogSourceValue()
      The logs to use as input for the [Replay][google.cloud.policysimulator.v1.Replay].
      Map<String,​com.google.iam.v1.Policy> getPolicyOverlay()
      Deprecated.
      int getPolicyOverlayCount()
      A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
      Map<String,​com.google.iam.v1.Policy> getPolicyOverlayMap()
      A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
      com.google.iam.v1.Policy getPolicyOverlayOrDefault​(String key, com.google.iam.v1.Policy defaultValue)
      A mapping of the resources that you want to simulate policies for and the policies that you want to simulate.
      com.google.iam.v1.Policy getPolicyOverlayOrThrow​(String key)
      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 Detail

      • 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;
      • getPolicyOverlayMap

        Map<String,​com.google.iam.v1.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

        com.google.iam.v1.Policy getPolicyOverlayOrDefault​(String key,
                                                           com.google.iam.v1.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

        com.google.iam.v1.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.