GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter.fromJson constructor

GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter.fromJson(
  1. Map json_
)

Implementation

GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameter.fromJson(
    core.Map json_)
    : this(
        defaultValue: json_['defaultValue'],
        item: json_['item'] as core.String?,
        metadata: json_.containsKey('metadata')
            ? GoogleCloudOrgpolicyV2ConstraintCustomConstraintDefinitionParameterMetadata
                .fromJson(
                    json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_['type'] as core.String?,
        validValuesExpr: json_['validValuesExpr'] as core.String?,
      );