GoogleCloudDatacatalogV1VertexModelSpec.fromJson constructor

GoogleCloudDatacatalogV1VertexModelSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogV1VertexModelSpec.fromJson(core.Map json_)
    : this(
        containerImageUri: json_.containsKey('containerImageUri')
            ? json_['containerImageUri'] as core.String
            : null,
        versionAliases: json_.containsKey('versionAliases')
            ? (json_['versionAliases'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        versionDescription: json_.containsKey('versionDescription')
            ? json_['versionDescription'] as core.String
            : null,
        versionId: json_.containsKey('versionId')
            ? json_['versionId'] as core.String
            : null,
        vertexModelSourceInfo: json_.containsKey('vertexModelSourceInfo')
            ? GoogleCloudDatacatalogV1VertexModelSourceInfo.fromJson(
                json_['vertexModelSourceInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );