GooglePrivacyDlpV2DiscoveryOtherCloudFilter.fromJson constructor

GooglePrivacyDlpV2DiscoveryOtherCloudFilter.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2DiscoveryOtherCloudFilter.fromJson(core.Map json_)
  : this(
      collection:
          json_.containsKey('collection')
              ? GooglePrivacyDlpV2OtherCloudResourceCollection.fromJson(
                json_['collection'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      others:
          json_.containsKey('others')
              ? GooglePrivacyDlpV2AllOtherResources.fromJson(
                json_['others'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      singleResource:
          json_.containsKey('singleResource')
              ? GooglePrivacyDlpV2OtherCloudSingleResourceReference.fromJson(
                json_['singleResource']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );