GooglePrivacyDlpV2RedactImageRequest.fromJson constructor
GooglePrivacyDlpV2RedactImageRequest.fromJson(
- Map json_
Implementation
GooglePrivacyDlpV2RedactImageRequest.fromJson(core.Map json_)
: this(
byteItem:
json_.containsKey('byteItem')
? GooglePrivacyDlpV2ByteContentItem.fromJson(
json_['byteItem'] as core.Map<core.String, core.dynamic>,
)
: null,
imageRedactionConfigs:
(json_['imageRedactionConfigs'] as core.List?)
?.map(
(value) => GooglePrivacyDlpV2ImageRedactionConfig.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
includeFindings: json_['includeFindings'] as core.bool?,
inspectConfig:
json_.containsKey('inspectConfig')
? GooglePrivacyDlpV2InspectConfig.fromJson(
json_['inspectConfig'] as core.Map<core.String, core.dynamic>,
)
: null,
locationId: json_['locationId'] as core.String?,
);