Task_InfrastructureSpec constructor

Implementation

factory Task_InfrastructureSpec({
  Task_InfrastructureSpec_BatchComputeResources? batch,
  Task_InfrastructureSpec_ContainerImageRuntime? containerImage,
  Task_InfrastructureSpec_VpcNetwork? vpcNetwork,
}) {
  final $result = create();
  if (batch != null) {
    $result.batch = batch;
  }
  if (containerImage != null) {
    $result.containerImage = containerImage;
  }
  if (vpcNetwork != null) {
    $result.vpcNetwork = vpcNetwork;
  }
  return $result;
}