GooglePrivacyDlpV2BigQueryOptions.fromJson constructor

GooglePrivacyDlpV2BigQueryOptions.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2BigQueryOptions.fromJson(core.Map json_)
  : this(
      excludedFields: (json_['excludedFields'] as core.List?)
          ?.map(
            (value) => GooglePrivacyDlpV2FieldId.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      identifyingFields: (json_['identifyingFields'] as core.List?)
          ?.map(
            (value) => GooglePrivacyDlpV2FieldId.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      includedFields: (json_['includedFields'] as core.List?)
          ?.map(
            (value) => GooglePrivacyDlpV2FieldId.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      rowsLimit: json_['rowsLimit'] as core.String?,
      rowsLimitPercent: json_['rowsLimitPercent'] as core.int?,
      sampleMethod: json_['sampleMethod'] as core.String?,
      tableReference: json_.containsKey('tableReference')
          ? GooglePrivacyDlpV2BigQueryTable.fromJson(
              json_['tableReference'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );