View Source GoogleApi.PolicySimulator.V1.Model.GoogleCloudOrgpolicyV2AlternatePolicySpec (google_api_policy_simulator v0.5.0)

Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.

Attributes

  • launch (type: String.t, default: nil) - Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.
  • spec (type: GoogleApi.PolicySimulator.V1.Model.GoogleCloudOrgpolicyV2PolicySpec.t, default: nil) - Specify constraint for configurations of Google Cloud resources.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.PolicySimulator.V1.Model.GoogleCloudOrgpolicyV2AlternatePolicySpec{
    launch: String.t() | nil,
    spec:
      GoogleApi.PolicySimulator.V1.Model.GoogleCloudOrgpolicyV2PolicySpec.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.