View Source GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1AccessStateDiff (google_api_policy_simulator v0.3.0)

A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.

Attributes

  • accessChange (type: String.t, default: nil) - How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.
  • baseline (type: GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess.t, default: nil) - The results of evaluating the access tuple under the current (baseline) policies. If the AccessState couldn't be fully evaluated, this field explains why.
  • simulated (type: GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess.t, default: nil) - The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1AccessStateDiff{
    accessChange: String.t() | nil,
    baseline:
      GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess.t()
      | nil,
    simulated:
      GoogleApi.PolicySimulator.V1.Model.GoogleCloudPolicysimulatorV1ExplainedAccess.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.