GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2AlternatePolicySpec (google_api_org_policy v0.9.1)

View Source

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

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.OrgPolicy.V2.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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.