GoogleCloudAiplatformV1BatchReadFeatureValuesRequest.fromJson constructor

GoogleCloudAiplatformV1BatchReadFeatureValuesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1BatchReadFeatureValuesRequest.fromJson(core.Map json_)
  : this(
      bigqueryReadInstances: json_.containsKey('bigqueryReadInstances')
          ? GoogleCloudAiplatformV1BigQuerySource.fromJson(
              json_['bigqueryReadInstances']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      csvReadInstances: json_.containsKey('csvReadInstances')
          ? GoogleCloudAiplatformV1CsvSource.fromJson(
              json_['csvReadInstances']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      destination: json_.containsKey('destination')
          ? GoogleCloudAiplatformV1FeatureValueDestination.fromJson(
              json_['destination'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      entityTypeSpecs: (json_['entityTypeSpecs'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      passThroughFields: (json_['passThroughFields'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      startTime: json_['startTime'] as core.String?,
    );