GoogleCloudRecommendationengineV1beta1InputConfig.fromJson constructor

GoogleCloudRecommendationengineV1beta1InputConfig.fromJson(
  1. Map _json
)

Implementation

GoogleCloudRecommendationengineV1beta1InputConfig.fromJson(core.Map _json)
    : this(
        bigQuerySource: _json.containsKey('bigQuerySource')
            ? GoogleCloudRecommendationengineV1beta1BigQuerySource.fromJson(
                _json['bigQuerySource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        catalogInlineSource: _json.containsKey('catalogInlineSource')
            ? GoogleCloudRecommendationengineV1beta1CatalogInlineSource
                .fromJson(_json['catalogInlineSource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        gcsSource: _json.containsKey('gcsSource')
            ? GoogleCloudRecommendationengineV1beta1GcsSource.fromJson(
                _json['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        userEventInlineSource: _json.containsKey('userEventInlineSource')
            ? GoogleCloudRecommendationengineV1beta1UserEventInlineSource
                .fromJson(_json['userEventInlineSource']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );