GoogleCloudAiplatformV1ImportDataConfig.fromJson constructor

GoogleCloudAiplatformV1ImportDataConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ImportDataConfig.fromJson(core.Map json_)
    : this(
        annotationLabels: json_.containsKey('annotationLabels')
            ? (json_['annotationLabels']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        dataItemLabels: json_.containsKey('dataItemLabels')
            ? (json_['dataItemLabels'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        gcsSource: json_.containsKey('gcsSource')
            ? GoogleCloudAiplatformV1GcsSource.fromJson(
                json_['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        importSchemaUri: json_.containsKey('importSchemaUri')
            ? json_['importSchemaUri'] as core.String
            : null,
      );