GoogleCloudDatapipelinesV1Workload.fromJson constructor

GoogleCloudDatapipelinesV1Workload.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatapipelinesV1Workload.fromJson(core.Map json_)
    : this(
        dataflowFlexTemplateRequest: json_
                .containsKey('dataflowFlexTemplateRequest')
            ? GoogleCloudDatapipelinesV1LaunchFlexTemplateRequest.fromJson(
                json_['dataflowFlexTemplateRequest']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataflowLaunchTemplateRequest:
            json_.containsKey('dataflowLaunchTemplateRequest')
                ? GoogleCloudDatapipelinesV1LaunchTemplateRequest.fromJson(
                    json_['dataflowLaunchTemplateRequest']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );