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

View Source

Defines a parameter structure.

Attributes

  • defaultValue (type: any(), default: nil) - Sets the value of the parameter in an assignment if no value is given.
  • item (type: String.t, default: nil) - Determines the parameter's value structure. For example, LIST can be specified by defining type: LIST, and item: STRING.
  • metadata (type: GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata.t, default: nil) - Defines subproperties primarily used by the UI to display user-friendly information.
  • type (type: String.t, default: nil) - Type of the parameter.
  • validValuesExpr (type: String.t, default: nil) - Provides a CEL expression to specify the acceptable parameter values during assignment. For example, parameterName in ("parameterValue1", "parameterValue2")

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter{
    defaultValue: any() | nil,
    item: String.t() | nil,
    metadata:
      GoogleApi.OrgPolicy.V2.Model.GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata.t()
      | nil,
    type: String.t() | nil,
    validValuesExpr: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.