UpdateNotebookRuntimeTemplateRequest.fromJson constructor

UpdateNotebookRuntimeTemplateRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UpdateNotebookRuntimeTemplateRequest.fromJson(
  Map<String, dynamic> json,
) {
  return UpdateNotebookRuntimeTemplateRequest(
    notebookRuntimeTemplate: decode(
      json['notebookRuntimeTemplate'],
      NotebookRuntimeTemplate.fromJson,
    ),
    updateMask: decodeCustom(json['updateMask'], protobuf.FieldMask.fromJson),
  );
}