GoogleCloudRecommenderV1InsightTypeConfig.fromJson constructor

GoogleCloudRecommenderV1InsightTypeConfig.fromJson(
  1. Map json_
)

Implementation

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