GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions.fromJson constructor

GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssuredworkloadsV1ViolationRemediationInstructions.fromJson(
    core.Map json_)
    : this(
        consoleInstructions: json_.containsKey('consoleInstructions')
            ? GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsConsole
                .fromJson(json_['consoleInstructions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        gcloudInstructions: json_.containsKey('gcloudInstructions')
            ? GoogleCloudAssuredworkloadsV1ViolationRemediationInstructionsGcloud
                .fromJson(json_['gcloudInstructions']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );