GoogleCloudAiplatformV1Dataset.fromJson constructor

GoogleCloudAiplatformV1Dataset.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1Dataset.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dataItemCount: json_.containsKey('dataItemCount')
            ? json_['dataItemCount'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        encryptionSpec: json_.containsKey('encryptionSpec')
            ? GoogleCloudAiplatformV1EncryptionSpec.fromJson(
                json_['encryptionSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        metadata: json_.containsKey('metadata') ? json_['metadata'] : null,
        metadataArtifact: json_.containsKey('metadataArtifact')
            ? json_['metadataArtifact'] as core.String
            : null,
        metadataSchemaUri: json_.containsKey('metadataSchemaUri')
            ? json_['metadataSchemaUri'] as core.String
            : null,
        modelReference: json_.containsKey('modelReference')
            ? json_['modelReference'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        savedQueries: json_.containsKey('savedQueries')
            ? (json_['savedQueries'] as core.List)
                .map((value) => GoogleCloudAiplatformV1SavedQuery.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );