View Source GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1Constraint (google_api_cloud_asset v0.35.0)

The definition of a constraint.

Attributes

  • booleanConstraint (type: GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1BooleanConstraint.t, default: nil) - Defines this constraint as being a BooleanConstraint.
  • constraintDefault (type: String.t, default: nil) - The evaluation behavior of this constraint in the absence of 'Policy'.
  • description (type: String.t, default: nil) - Detailed description of what this Constraint controls as well as how and where it is enforced.
  • displayName (type: String.t, default: nil) - The human readable name of the constraint.
  • listConstraint (type: GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1ListConstraint.t, default: nil) - Defines this constraint as being a ListConstraint.
  • name (type: String.t, default: nil) - The unique name of the constraint. Format of the name should be * constraints/{constraint_name} For example, constraints/compute.disableSerialPortAccess.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1Constraint{
  booleanConstraint:
    GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1BooleanConstraint.t() | nil,
  constraintDefault: String.t() | nil,
  description: String.t() | nil,
  displayName: String.t() | nil,
  listConstraint:
    GoogleApi.CloudAsset.V1.Model.GoogleCloudAssetV1ListConstraint.t() | nil,
  name: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.