GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig.fromJson constructor

GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig.fromJson(
    core.Map json_)
    : this(
        bigqueryDestination: json_.containsKey('bigqueryDestination')
            ? GoogleCloudAiplatformV1BigQueryDestination.fromJson(
                json_['bigqueryDestination']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        samplingRate: json_.containsKey('samplingRate')
            ? (json_['samplingRate'] as core.num).toDouble()
            : null,
      );