GoogleCloudAiplatformV1InputDataConfig.fromJson constructor

GoogleCloudAiplatformV1InputDataConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1InputDataConfig.fromJson(core.Map json_)
    : this(
        annotationSchemaUri: json_.containsKey('annotationSchemaUri')
            ? json_['annotationSchemaUri'] as core.String
            : null,
        annotationsFilter: json_.containsKey('annotationsFilter')
            ? json_['annotationsFilter'] as core.String
            : null,
        bigqueryDestination: json_.containsKey('bigqueryDestination')
            ? GoogleCloudAiplatformV1BigQueryDestination.fromJson(
                json_['bigqueryDestination']
                    as core.Map<core.String, core.dynamic>)
            : null,
        datasetId: json_.containsKey('datasetId')
            ? json_['datasetId'] as core.String
            : null,
        filterSplit: json_.containsKey('filterSplit')
            ? GoogleCloudAiplatformV1FilterSplit.fromJson(
                json_['filterSplit'] as core.Map<core.String, core.dynamic>)
            : null,
        fractionSplit: json_.containsKey('fractionSplit')
            ? GoogleCloudAiplatformV1FractionSplit.fromJson(
                json_['fractionSplit'] as core.Map<core.String, core.dynamic>)
            : null,
        gcsDestination: json_.containsKey('gcsDestination')
            ? GoogleCloudAiplatformV1GcsDestination.fromJson(
                json_['gcsDestination']
                    as core.Map<core.String, core.dynamic>)
            : null,
        persistMlUseAssignment: json_.containsKey('persistMlUseAssignment')
            ? json_['persistMlUseAssignment'] as core.bool
            : null,
        predefinedSplit: json_.containsKey('predefinedSplit')
            ? GoogleCloudAiplatformV1PredefinedSplit.fromJson(
                json_['predefinedSplit']
                    as core.Map<core.String, core.dynamic>)
            : null,
        savedQueryId: json_.containsKey('savedQueryId')
            ? json_['savedQueryId'] as core.String
            : null,
        stratifiedSplit: json_.containsKey('stratifiedSplit')
            ? GoogleCloudAiplatformV1StratifiedSplit.fromJson(
                json_['stratifiedSplit']
                    as core.Map<core.String, core.dynamic>)
            : null,
        timestampSplit: json_.containsKey('timestampSplit')
            ? GoogleCloudAiplatformV1TimestampSplit.fromJson(
                json_['timestampSplit']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );