GoogleCloudDataplexV1Action.fromJson constructor

GoogleCloudDataplexV1Action.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1Action.fromJson(core.Map json_)
    : this(
        asset:
            json_.containsKey('asset') ? json_['asset'] as core.String : null,
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        dataLocations: json_.containsKey('dataLocations')
            ? (json_['dataLocations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        detectTime: json_.containsKey('detectTime')
            ? json_['detectTime'] as core.String
            : null,
        failedSecurityPolicyApply: json_
                .containsKey('failedSecurityPolicyApply')
            ? GoogleCloudDataplexV1ActionFailedSecurityPolicyApply.fromJson(
                json_['failedSecurityPolicyApply']
                    as core.Map<core.String, core.dynamic>)
            : null,
        incompatibleDataSchema: json_.containsKey('incompatibleDataSchema')
            ? GoogleCloudDataplexV1ActionIncompatibleDataSchema.fromJson(
                json_['incompatibleDataSchema']
                    as core.Map<core.String, core.dynamic>)
            : null,
        invalidDataFormat: json_.containsKey('invalidDataFormat')
            ? GoogleCloudDataplexV1ActionInvalidDataFormat.fromJson(
                json_['invalidDataFormat']
                    as core.Map<core.String, core.dynamic>)
            : null,
        invalidDataOrganization: json_.containsKey('invalidDataOrganization')
            ? GoogleCloudDataplexV1ActionInvalidDataOrganization.fromJson(
                json_['invalidDataOrganization']
                    as core.Map<core.String, core.dynamic>)
            : null,
        invalidDataPartition: json_.containsKey('invalidDataPartition')
            ? GoogleCloudDataplexV1ActionInvalidDataPartition.fromJson(
                json_['invalidDataPartition']
                    as core.Map<core.String, core.dynamic>)
            : null,
        issue:
            json_.containsKey('issue') ? json_['issue'] as core.String : null,
        lake: json_.containsKey('lake') ? json_['lake'] as core.String : null,
        missingData: json_.containsKey('missingData')
            ? GoogleCloudDataplexV1ActionMissingData.fromJson(
                json_['missingData'] as core.Map<core.String, core.dynamic>)
            : null,
        missingResource: json_.containsKey('missingResource')
            ? GoogleCloudDataplexV1ActionMissingResource.fromJson(
                json_['missingResource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        unauthorizedResource: json_.containsKey('unauthorizedResource')
            ? GoogleCloudDataplexV1ActionUnauthorizedResource.fromJson(
                json_['unauthorizedResource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );