GoogleCloudRecommenderV1InsightTypeConfig.fromJson constructor

GoogleCloudRecommenderV1InsightTypeConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommenderV1InsightTypeConfig.fromJson(core.Map json_)
    : this(
        annotations: json_.containsKey('annotations')
            ? (json_['annotations'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        insightTypeGenerationConfig: json_
                .containsKey('insightTypeGenerationConfig')
            ? GoogleCloudRecommenderV1InsightTypeGenerationConfig.fromJson(
                json_['insightTypeGenerationConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );