GoogleCloudDatacatalogV1beta1UsageSignal.fromJson constructor

GoogleCloudDatacatalogV1beta1UsageSignal.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatacatalogV1beta1UsageSignal.fromJson(core.Map _json)
    : this(
        updateTime: _json.containsKey('updateTime')
            ? _json['updateTime'] as core.String
            : null,
        usageWithinTimeRange: _json.containsKey('usageWithinTimeRange')
            ? (_json['usageWithinTimeRange']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, item) => core.MapEntry(
                  key,
                  GoogleCloudDatacatalogV1beta1UsageStats.fromJson(
                      item as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
      );