GoogleCloudSecuritycenterV1ResourceValueConfig.fromJson constructor

GoogleCloudSecuritycenterV1ResourceValueConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudSecuritycenterV1ResourceValueConfig.fromJson(core.Map json_)
    : this(
        cloudProvider: json_['cloudProvider'] as core.String?,
        createTime: json_['createTime'] as core.String?,
        description: json_['description'] as core.String?,
        name: json_['name'] as core.String?,
        resourceLabelsSelector: (json_['resourceLabelsSelector']
                as core.Map<core.String, core.dynamic>?)
            ?.map(
          (key, value) => core.MapEntry(
            key,
            value as core.String,
          ),
        ),
        resourceType: json_['resourceType'] as core.String?,
        resourceValue: json_['resourceValue'] as core.String?,
        scope: json_['scope'] as core.String?,
        sensitiveDataProtectionMapping:
            json_.containsKey('sensitiveDataProtectionMapping')
                ? GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping
                    .fromJson(json_['sensitiveDataProtectionMapping']
                        as core.Map<core.String, core.dynamic>)
                : null,
        tagValues: (json_['tagValues'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        updateTime: json_['updateTime'] as core.String?,
      );