ResourceUsageExportConfig.fromJson constructor

ResourceUsageExportConfig.fromJson(
  1. Map json_
)

Implementation

ResourceUsageExportConfig.fromJson(core.Map json_)
    : this(
        bigqueryDestination: json_.containsKey('bigqueryDestination')
            ? BigQueryDestination.fromJson(json_['bigqueryDestination']
                as core.Map<core.String, core.dynamic>)
            : null,
        consumptionMeteringConfig:
            json_.containsKey('consumptionMeteringConfig')
                ? ConsumptionMeteringConfig.fromJson(
                    json_['consumptionMeteringConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        enableNetworkEgressMetering:
            json_.containsKey('enableNetworkEgressMetering')
                ? json_['enableNetworkEgressMetering'] as core.bool
                : null,
      );