GoogleCloudApigeeV1SecurityAssessmentResult.fromJson constructor

GoogleCloudApigeeV1SecurityAssessmentResult.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityAssessmentResult.fromJson(core.Map json_)
  : this(
      createTime: json_['createTime'] as core.String?,
      error: json_.containsKey('error')
          ? GoogleRpcStatus.fromJson(
              json_['error'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      resource: json_.containsKey('resource')
          ? GoogleCloudApigeeV1SecurityAssessmentResultResource.fromJson(
              json_['resource'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      scoringResult: json_.containsKey('scoringResult')
          ? GoogleCloudApigeeV1SecurityAssessmentResultScoringResult.fromJson(
              json_['scoringResult'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );